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_wxSetCursorEvent swig_types[136]
2603 #define SWIGTYPE_p_wxShowEvent swig_types[137]
2604 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[138]
2605 #define SWIGTYPE_p_wxSize swig_types[139]
2606 #define SWIGTYPE_p_wxSizeEvent swig_types[140]
2607 #define SWIGTYPE_p_wxSizer swig_types[141]
2608 #define SWIGTYPE_p_wxSizerItem swig_types[142]
2609 #define SWIGTYPE_p_wxSlider swig_types[143]
2610 #define SWIGTYPE_p_wxSpinButton swig_types[144]
2611 #define SWIGTYPE_p_wxSpinCtrl swig_types[145]
2612 #define SWIGTYPE_p_wxSpinEvent swig_types[146]
2613 #define SWIGTYPE_p_wxStaticBitmap swig_types[147]
2614 #define SWIGTYPE_p_wxStaticBox swig_types[148]
2615 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[149]
2616 #define SWIGTYPE_p_wxStaticLine swig_types[150]
2617 #define SWIGTYPE_p_wxStaticText swig_types[151]
2618 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[152]
2619 #define SWIGTYPE_p_wxString swig_types[153]
2620 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[154]
2621 #define SWIGTYPE_p_wxTGAHandler swig_types[155]
2622 #define SWIGTYPE_p_wxTIFFHandler swig_types[156]
2623 #define SWIGTYPE_p_wxTextAttr swig_types[157]
2624 #define SWIGTYPE_p_wxTextCtrl swig_types[158]
2625 #define SWIGTYPE_p_wxTextUrlEvent swig_types[159]
2626 #define SWIGTYPE_p_wxToggleButton swig_types[160]
2627 #define SWIGTYPE_p_wxToolBar swig_types[161]
2628 #define SWIGTYPE_p_wxToolBarBase swig_types[162]
2629 #define SWIGTYPE_p_wxToolBarToolBase swig_types[163]
2630 #define SWIGTYPE_p_wxToolbook swig_types[164]
2631 #define SWIGTYPE_p_wxToolbookEvent swig_types[165]
2632 #define SWIGTYPE_p_wxTreeEvent swig_types[166]
2633 #define SWIGTYPE_p_wxTreeItemId swig_types[167]
2634 #define SWIGTYPE_p_wxTreebook swig_types[168]
2635 #define SWIGTYPE_p_wxTreebookEvent swig_types[169]
2636 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[170]
2637 #define SWIGTYPE_p_wxValidator swig_types[171]
2638 #define SWIGTYPE_p_wxVisualAttributes swig_types[172]
2639 #define SWIGTYPE_p_wxWindow swig_types[173]
2640 #define SWIGTYPE_p_wxWindowBase swig_types[174]
2641 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[175]
2642 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[176]
2643 #define SWIGTYPE_p_wxXPMHandler swig_types[177]
2644 static swig_type_info
*swig_types
[179];
2645 static swig_module_info swig_module
= {swig_types
, 178, 0, 0, 0, 0};
2646 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2647 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2649 /* -------- TYPES TABLE (END) -------- */
2651 #if (PY_VERSION_HEX <= 0x02000000)
2652 # if !defined(SWIG_PYTHON_CLASSIC)
2653 # error "This python version requires to use swig with the '-classic' option"
2656 #if (PY_VERSION_HEX <= 0x02020000)
2657 # error "This python version requires to use swig with the '-nomodern' option"
2659 #if (PY_VERSION_HEX <= 0x02020000)
2660 # error "This python version requires to use swig with the '-nomodernargs' option"
2663 # error "This python version requires to use swig with the '-nofastunpack' option"
2666 /*-----------------------------------------------
2667 @(target):= _controls_.so
2668 ------------------------------------------------*/
2669 #define SWIG_init init_controls_
2671 #define SWIG_name "_controls_"
2673 #define SWIGVERSION 0x010329
2676 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2677 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2680 #include <stdexcept>
2684 class PyObject_ptr
{
2689 PyObject_ptr() :_obj(0)
2693 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2698 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2700 if (initial_ref
) Py_XINCREF(_obj
);
2703 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2705 Py_XINCREF(item
._obj
);
2716 operator PyObject
*() const
2721 PyObject
*operator->() const
2730 struct PyObject_var
: PyObject_ptr
{
2731 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2733 PyObject_var
& operator = (PyObject
* obj
)
2743 #include "wx/wxPython/wxPython.h"
2744 #include "wx/wxPython/pyclasses.h"
2746 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2747 static const wxString
wxPyEmptyString(wxEmptyString
);
2748 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2750 const wxArrayString wxPyEmptyStringArray
;
2752 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2754 #define SWIG_From_long PyInt_FromLong
2757 SWIGINTERNINLINE PyObject
*
2758 SWIG_From_int (int value
)
2760 return SWIG_From_long (value
);
2766 # define LLONG_MIN LONG_LONG_MIN
2769 # define LLONG_MAX LONG_LONG_MAX
2772 # define ULLONG_MAX ULONG_LONG_MAX
2777 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2779 if (PyNumber_Check(obj
)) {
2780 if (val
) *val
= PyInt_AsLong(obj
);
2783 return SWIG_TypeError
;
2788 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2791 int res
= SWIG_AsVal_long (obj
, &v
);
2792 if (SWIG_IsOK(res
)) {
2793 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2794 return SWIG_OverflowError
;
2796 if (val
) *val
= static_cast< int >(v
);
2802 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2805 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2807 if (obj
== Py_True
) {
2808 if (val
) *val
= true;
2810 } else if (obj
== Py_False
) {
2811 if (val
) *val
= false;
2815 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2816 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2821 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2822 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2823 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2824 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2825 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2826 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2828 #include <wx/checklst.h>
2830 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2831 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2834 wxPyClientData
* data
= new wxPyClientData(clientData
);
2835 self
->Insert(item
, pos
, data
);
2838 self
->Insert(item
, pos
);
2842 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2845 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2846 return SWIG_TypeError
;
2849 *val
= (unsigned long)v
;
2855 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2858 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2859 if (SWIG_IsOK(res
)) {
2860 if ((v
> UINT_MAX
)) {
2861 return SWIG_OverflowError
;
2863 if (val
) *val
= static_cast< unsigned int >(v
);
2869 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2870 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2872 self
->GetSelections(lst
);
2873 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2874 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2876 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2878 wxPyEndBlockThreads(blocked
);
2881 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2883 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2884 self
->GetItem(item
)->SetTextColour(c
);
2887 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2889 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2890 self
->GetItem(item
)->SetBackgroundColour(c
);
2893 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2895 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2896 self
->GetItem(item
)->SetFont(f
);
2899 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2900 SWIGINTERN
void wxTextCtrl_MacCheckSpelling(wxTextCtrl
*self
,bool check
){}
2901 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2902 self
->AppendText(text
);
2904 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2905 return self
->GetValue().Mid(from
, to
- from
);
2907 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2908 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2909 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2910 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2911 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2913 SWIGINTERNINLINE PyObject
*
2914 SWIG_From_unsigned_SS_long (unsigned long value
)
2916 return (value
> LONG_MAX
) ?
2917 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2921 SWIGINTERNINLINE PyObject
*
2922 SWIG_From_size_t (size_t value
)
2924 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2928 SWIGINTERNINLINE PyObject
*
2929 SWIG_From_unsigned_SS_int (unsigned int value
)
2931 return SWIG_From_unsigned_SS_long (value
);
2935 #include <wx/slider.h>
2938 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2939 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2941 #if !wxUSE_TOGGLEBTN
2942 // implement dummy items for platforms that don't have this class
2944 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2946 class wxToggleButton
: public wxControl
2949 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2950 const wxPoint
&, const wxSize
&, long,
2951 const wxValidator
&, const wxString
&)
2952 { wxPyRaiseNotImplemented(); }
2955 { wxPyRaiseNotImplemented(); }
2959 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2961 SWIGINTERNINLINE
int
2962 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2965 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2966 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2970 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2971 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2972 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2974 Py_INCREF(udata
->m_obj
);
2975 return udata
->m_obj
;
2981 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2982 self
->SetClientData(new wxPyUserData(clientData
));
2984 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
){
2985 wxPyUserData
* udata
= NULL
;
2986 if (clientData
&& clientData
!= Py_None
)
2987 udata
= new wxPyUserData(clientData
);
2988 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2989 shortHelp
, longHelp
, udata
);
2991 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
){
2992 wxPyUserData
* udata
= NULL
;
2993 if (clientData
&& clientData
!= Py_None
)
2994 udata
= new wxPyUserData(clientData
);
2995 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2996 shortHelp
, longHelp
, udata
);
2998 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2999 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
3001 Py_INCREF(udata
->m_obj
);
3002 return udata
->m_obj
;
3008 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3009 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3012 #include <wx/listctrl.h>
3014 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3015 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3016 // Python aware sorting function for wxPyListCtrl
3017 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3019 PyObject
* func
= (PyObject
*)funcPtr
;
3020 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3022 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3023 PyObject
* result
= PyEval_CallObject(func
, args
);
3026 retval
= PyInt_AsLong(result
);
3030 wxPyEndBlockThreads(blocked
);
3034 // C++ Version of a Python aware class
3035 class wxPyListCtrl
: public wxListCtrl
{
3036 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3038 wxPyListCtrl() : wxListCtrl() {}
3039 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3043 const wxValidator
& validator
,
3044 const wxString
& name
) :
3045 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3047 bool Create(wxWindow
* parent
, wxWindowID id
,
3051 const wxValidator
& validator
,
3052 const wxString
& name
) {
3053 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3056 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3057 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3059 // use the virtual version to avoid a confusing assert in the base class
3060 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3061 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3066 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3068 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3069 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3070 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3071 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3074 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3076 item
.SetMask( wxLIST_MASK_STATE
|
3084 if (self
->GetColumn(col
, item
))
3085 return new wxListItem(item
);
3089 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3090 wxListItem
* info
= new wxListItem
;
3091 info
->m_itemId
= itemId
;
3093 info
->m_mask
= 0xFFFF;
3094 self
->GetItem(*info
);
3097 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3099 self
->GetItemPosition(item
, pos
);
3102 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3104 self
->GetItemRect(item
, rect
, code
);
3107 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3108 if (!PyCallable_Check(func
))
3110 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3112 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3116 return (wxWindow
*)self
->m_mainWin
;
3120 #include <wx/treectrl.h>
3121 #include "wx/wxPython/pytree.h"
3123 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3124 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3125 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3126 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3128 static wxTreeItemId wxNullTreeItemId
;
3130 // C++ version of Python aware wxTreeCtrl
3131 class wxPyTreeCtrl
: public wxTreeCtrl
{
3132 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3134 wxPyTreeCtrl() : wxTreeCtrl() {}
3135 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3139 const wxValidator
& validator
,
3140 const wxString
& name
) :
3141 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3143 bool Create(wxWindow
*parent
, wxWindowID id
,
3147 const wxValidator
& validator
,
3148 const wxString
& name
) {
3149 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3153 int OnCompareItems(const wxTreeItemId
& item1
,
3154 const wxTreeItemId
& item2
) {
3157 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3158 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3159 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3160 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3161 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3165 wxPyEndBlockThreads(blocked
);
3167 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3173 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3176 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3177 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3179 data
= new wxPyTreeItemData();
3180 data
->SetId(item
); // set the id
3181 self
->SetItemData(item
, data
);
3185 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3186 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3188 data
= new wxPyTreeItemData();
3189 data
->SetId(item
); // set the id
3190 self
->SetItemData(item
, data
);
3192 return data
->GetData();
3194 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3195 data
->SetId(item
); // set the id
3196 self
->SetItemData(item
, data
);
3198 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3199 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3201 data
= new wxPyTreeItemData(obj
);
3202 data
->SetId(item
); // set the id
3203 self
->SetItemData(item
, data
);
3207 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3208 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3209 PyObject
* rval
= PyList_New(0);
3210 wxArrayTreeItemIds array
;
3212 num
= self
->GetSelections(array
);
3213 for (x
=0; x
< num
; x
++) {
3214 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3215 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3216 PyList_Append(rval
, item
);
3219 wxPyEndBlockThreads(blocked
);
3222 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3224 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3225 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3226 PyObject
* tup
= PyTuple_New(2);
3227 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3228 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3229 wxPyEndBlockThreads(blocked
);
3232 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3233 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3234 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3235 PyObject
* tup
= PyTuple_New(2);
3236 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3237 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3238 wxPyEndBlockThreads(blocked
);
3241 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3243 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3244 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3245 wxRect
* r
= new wxRect(rect
);
3246 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3247 wxPyEndBlockThreads(blocked
);
3253 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3255 SWIGINTERNINLINE PyObject
*
3256 SWIG_From_bool (bool value
)
3258 return PyBool_FromLong(value
? 1 : 0);
3261 // C++ version of Python aware wxControl
3262 class wxPyControl
: public wxControl
3264 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3266 wxPyControl() : wxControl() {}
3267 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3268 const wxPoint
& pos
= wxDefaultPosition
,
3269 const wxSize
& size
= wxDefaultSize
,
3271 const wxValidator
& validator
=wxDefaultValidator
,
3272 const wxString
& name
= wxPyControlNameStr
)
3273 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3276 bool DoEraseBackground(wxDC
* dc
) {
3278 return wxWindow::DoEraseBackground(dc
->GetHDC());
3280 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3286 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3287 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3288 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3289 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3291 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3292 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3295 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3296 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3298 DEC_PYCALLBACK__(InitDialog
);
3299 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3300 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3301 DEC_PYCALLBACK_BOOL_(Validate
);
3303 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3304 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3305 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3307 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3308 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3310 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3311 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3313 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3315 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3320 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3322 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3323 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3324 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3325 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3327 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3328 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3331 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3332 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3334 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3335 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3336 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3337 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3339 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3340 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3341 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3343 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3344 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3346 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3347 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3349 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3351 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3355 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3357 #include <wx/generic/dragimgg.h>
3359 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3360 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3362 self
->GetRange(&rv
, NULL
);
3365 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3367 self
->GetRange(NULL
, &rv
);
3370 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3371 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3372 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3373 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3374 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3375 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3376 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3377 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3378 static const wxString
wxPyCollapsiblePaneNameStr(wxCollapsiblePaneNameStr
);
3382 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3383 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3388 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3389 PyObject
*pyobj
= 0;
3393 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3395 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3402 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3403 PyObject
*resultobj
= 0;
3404 wxWindow
*arg1
= (wxWindow
*) 0 ;
3405 int arg2
= (int) -1 ;
3406 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3407 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3408 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3409 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3410 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3411 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3412 long arg6
= (long) 0 ;
3413 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3414 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3415 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3416 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3417 wxButton
*result
= 0 ;
3422 bool temp3
= false ;
3429 bool temp8
= false ;
3430 PyObject
* obj0
= 0 ;
3431 PyObject
* obj1
= 0 ;
3432 PyObject
* obj2
= 0 ;
3433 PyObject
* obj3
= 0 ;
3434 PyObject
* obj4
= 0 ;
3435 PyObject
* obj5
= 0 ;
3436 PyObject
* obj6
= 0 ;
3437 PyObject
* obj7
= 0 ;
3438 char * kwnames
[] = {
3439 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3444 if (!SWIG_IsOK(res1
)) {
3445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3447 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3450 if (!SWIG_IsOK(ecode2
)) {
3451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3453 arg2
= static_cast< int >(val2
);
3457 arg3
= wxString_in_helper(obj2
);
3458 if (arg3
== NULL
) SWIG_fail
;
3465 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3471 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3475 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3476 if (!SWIG_IsOK(ecode6
)) {
3477 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3479 arg6
= static_cast< long >(val6
);
3482 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3483 if (!SWIG_IsOK(res7
)) {
3484 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3487 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3489 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3493 arg8
= wxString_in_helper(obj7
);
3494 if (arg8
== NULL
) SWIG_fail
;
3499 if (!wxPyCheckForApp()) SWIG_fail
;
3500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3501 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3502 wxPyEndAllowThreads(__tstate
);
3503 if (PyErr_Occurred()) SWIG_fail
;
3505 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3528 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3529 PyObject
*resultobj
= 0;
3530 wxButton
*result
= 0 ;
3532 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3534 if (!wxPyCheckForApp()) SWIG_fail
;
3535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3536 result
= (wxButton
*)new wxButton();
3537 wxPyEndAllowThreads(__tstate
);
3538 if (PyErr_Occurred()) SWIG_fail
;
3540 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3547 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3548 PyObject
*resultobj
= 0;
3549 wxButton
*arg1
= (wxButton
*) 0 ;
3550 wxWindow
*arg2
= (wxWindow
*) 0 ;
3551 int arg3
= (int) -1 ;
3552 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3553 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3554 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3555 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3556 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3557 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3558 long arg7
= (long) 0 ;
3559 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3560 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3561 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3562 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3570 bool temp4
= false ;
3577 bool temp9
= false ;
3578 PyObject
* obj0
= 0 ;
3579 PyObject
* obj1
= 0 ;
3580 PyObject
* obj2
= 0 ;
3581 PyObject
* obj3
= 0 ;
3582 PyObject
* obj4
= 0 ;
3583 PyObject
* obj5
= 0 ;
3584 PyObject
* obj6
= 0 ;
3585 PyObject
* obj7
= 0 ;
3586 PyObject
* obj8
= 0 ;
3587 char * kwnames
[] = {
3588 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3593 if (!SWIG_IsOK(res1
)) {
3594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3596 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3597 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3598 if (!SWIG_IsOK(res2
)) {
3599 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3601 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3603 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3604 if (!SWIG_IsOK(ecode3
)) {
3605 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3607 arg3
= static_cast< int >(val3
);
3611 arg4
= wxString_in_helper(obj3
);
3612 if (arg4
== NULL
) SWIG_fail
;
3619 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3625 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3629 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3630 if (!SWIG_IsOK(ecode7
)) {
3631 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3633 arg7
= static_cast< long >(val7
);
3636 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3637 if (!SWIG_IsOK(res8
)) {
3638 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3643 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3647 arg9
= wxString_in_helper(obj8
);
3648 if (arg9
== NULL
) SWIG_fail
;
3653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3654 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3655 wxPyEndAllowThreads(__tstate
);
3656 if (PyErr_Occurred()) SWIG_fail
;
3659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3683 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3684 PyObject
*resultobj
= 0;
3685 wxButton
*arg1
= (wxButton
*) 0 ;
3688 PyObject
*swig_obj
[1] ;
3690 if (!args
) SWIG_fail
;
3692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3693 if (!SWIG_IsOK(res1
)) {
3694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3696 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3699 (arg1
)->SetDefault();
3700 wxPyEndAllowThreads(__tstate
);
3701 if (PyErr_Occurred()) SWIG_fail
;
3703 resultobj
= SWIG_Py_Void();
3710 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3711 PyObject
*resultobj
= 0;
3714 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3717 result
= wxButton::GetDefaultSize();
3718 wxPyEndAllowThreads(__tstate
);
3719 if (PyErr_Occurred()) SWIG_fail
;
3721 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3728 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3729 PyObject
*resultobj
= 0;
3730 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3731 SwigValueWrapper
<wxVisualAttributes
> result
;
3734 PyObject
* obj0
= 0 ;
3735 char * kwnames
[] = {
3736 (char *) "variant", NULL
3739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3741 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3742 if (!SWIG_IsOK(ecode1
)) {
3743 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3745 arg1
= static_cast< wxWindowVariant
>(val1
);
3748 if (!wxPyCheckForApp()) SWIG_fail
;
3749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3750 result
= wxButton::GetClassDefaultAttributes(arg1
);
3751 wxPyEndAllowThreads(__tstate
);
3752 if (PyErr_Occurred()) SWIG_fail
;
3754 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3761 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3763 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3764 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3765 return SWIG_Py_Void();
3768 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3769 return SWIG_Python_InitShadowInstance(args
);
3772 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3773 PyObject
*resultobj
= 0;
3774 wxWindow
*arg1
= (wxWindow
*) 0 ;
3775 int arg2
= (int) -1 ;
3776 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3777 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3778 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3779 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3780 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3781 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3782 long arg6
= (long) wxBU_AUTODRAW
;
3783 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3784 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3785 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3786 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3787 wxBitmapButton
*result
= 0 ;
3800 bool temp8
= false ;
3801 PyObject
* obj0
= 0 ;
3802 PyObject
* obj1
= 0 ;
3803 PyObject
* obj2
= 0 ;
3804 PyObject
* obj3
= 0 ;
3805 PyObject
* obj4
= 0 ;
3806 PyObject
* obj5
= 0 ;
3807 PyObject
* obj6
= 0 ;
3808 PyObject
* obj7
= 0 ;
3809 char * kwnames
[] = {
3810 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3815 if (!SWIG_IsOK(res1
)) {
3816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3818 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3820 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3821 if (!SWIG_IsOK(ecode2
)) {
3822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3824 arg2
= static_cast< int >(val2
);
3827 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3828 if (!SWIG_IsOK(res3
)) {
3829 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3832 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3834 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3839 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3845 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3849 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3850 if (!SWIG_IsOK(ecode6
)) {
3851 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3853 arg6
= static_cast< long >(val6
);
3856 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3857 if (!SWIG_IsOK(res7
)) {
3858 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3861 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3863 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3867 arg8
= wxString_in_helper(obj7
);
3868 if (arg8
== NULL
) SWIG_fail
;
3873 if (!wxPyCheckForApp()) SWIG_fail
;
3874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3875 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3876 wxPyEndAllowThreads(__tstate
);
3877 if (PyErr_Occurred()) SWIG_fail
;
3879 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3894 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3895 PyObject
*resultobj
= 0;
3896 wxBitmapButton
*result
= 0 ;
3898 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3900 if (!wxPyCheckForApp()) SWIG_fail
;
3901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3902 result
= (wxBitmapButton
*)new wxBitmapButton();
3903 wxPyEndAllowThreads(__tstate
);
3904 if (PyErr_Occurred()) SWIG_fail
;
3906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3913 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3914 PyObject
*resultobj
= 0;
3915 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3916 wxWindow
*arg2
= (wxWindow
*) 0 ;
3917 int arg3
= (int) -1 ;
3918 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3919 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3920 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3921 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3922 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3923 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3924 long arg7
= (long) wxBU_AUTODRAW
;
3925 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3926 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3927 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3928 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3944 bool temp9
= false ;
3945 PyObject
* obj0
= 0 ;
3946 PyObject
* obj1
= 0 ;
3947 PyObject
* obj2
= 0 ;
3948 PyObject
* obj3
= 0 ;
3949 PyObject
* obj4
= 0 ;
3950 PyObject
* obj5
= 0 ;
3951 PyObject
* obj6
= 0 ;
3952 PyObject
* obj7
= 0 ;
3953 PyObject
* obj8
= 0 ;
3954 char * kwnames
[] = {
3955 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3960 if (!SWIG_IsOK(res1
)) {
3961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3963 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3964 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3965 if (!SWIG_IsOK(res2
)) {
3966 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3968 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3970 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3971 if (!SWIG_IsOK(ecode3
)) {
3972 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3974 arg3
= static_cast< int >(val3
);
3977 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3978 if (!SWIG_IsOK(res4
)) {
3979 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3982 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3984 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3989 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3995 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3999 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4000 if (!SWIG_IsOK(ecode7
)) {
4001 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
4003 arg7
= static_cast< long >(val7
);
4006 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4007 if (!SWIG_IsOK(res8
)) {
4008 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4011 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4013 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4017 arg9
= wxString_in_helper(obj8
);
4018 if (arg9
== NULL
) SWIG_fail
;
4023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4024 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4025 wxPyEndAllowThreads(__tstate
);
4026 if (PyErr_Occurred()) SWIG_fail
;
4029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4045 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4046 PyObject
*resultobj
= 0;
4047 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4051 PyObject
*swig_obj
[1] ;
4053 if (!args
) SWIG_fail
;
4055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4056 if (!SWIG_IsOK(res1
)) {
4057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4059 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4062 result
= (arg1
)->GetBitmapLabel();
4063 wxPyEndAllowThreads(__tstate
);
4064 if (PyErr_Occurred()) SWIG_fail
;
4066 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4073 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4074 PyObject
*resultobj
= 0;
4075 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4079 PyObject
*swig_obj
[1] ;
4081 if (!args
) SWIG_fail
;
4083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4084 if (!SWIG_IsOK(res1
)) {
4085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4087 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4090 result
= (arg1
)->GetBitmapDisabled();
4091 wxPyEndAllowThreads(__tstate
);
4092 if (PyErr_Occurred()) SWIG_fail
;
4094 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4101 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4102 PyObject
*resultobj
= 0;
4103 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4107 PyObject
*swig_obj
[1] ;
4109 if (!args
) SWIG_fail
;
4111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4112 if (!SWIG_IsOK(res1
)) {
4113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4115 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4118 result
= (arg1
)->GetBitmapFocus();
4119 wxPyEndAllowThreads(__tstate
);
4120 if (PyErr_Occurred()) SWIG_fail
;
4122 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4129 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4130 PyObject
*resultobj
= 0;
4131 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4135 PyObject
*swig_obj
[1] ;
4137 if (!args
) SWIG_fail
;
4139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4140 if (!SWIG_IsOK(res1
)) {
4141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4143 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4146 result
= (arg1
)->GetBitmapSelected();
4147 wxPyEndAllowThreads(__tstate
);
4148 if (PyErr_Occurred()) SWIG_fail
;
4150 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4157 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4158 PyObject
*resultobj
= 0;
4159 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4163 PyObject
*swig_obj
[1] ;
4165 if (!args
) SWIG_fail
;
4167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4168 if (!SWIG_IsOK(res1
)) {
4169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4171 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4174 result
= (arg1
)->GetBitmapHover();
4175 wxPyEndAllowThreads(__tstate
);
4176 if (PyErr_Occurred()) SWIG_fail
;
4178 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4185 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4186 PyObject
*resultobj
= 0;
4187 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4188 wxBitmap
*arg2
= 0 ;
4193 PyObject
* obj0
= 0 ;
4194 PyObject
* obj1
= 0 ;
4195 char * kwnames
[] = {
4196 (char *) "self",(char *) "bitmap", NULL
4199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4201 if (!SWIG_IsOK(res1
)) {
4202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4204 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4205 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4206 if (!SWIG_IsOK(res2
)) {
4207 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4210 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4212 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4215 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4216 wxPyEndAllowThreads(__tstate
);
4217 if (PyErr_Occurred()) SWIG_fail
;
4219 resultobj
= SWIG_Py_Void();
4226 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4227 PyObject
*resultobj
= 0;
4228 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4229 wxBitmap
*arg2
= 0 ;
4234 PyObject
* obj0
= 0 ;
4235 PyObject
* obj1
= 0 ;
4236 char * kwnames
[] = {
4237 (char *) "self",(char *) "bitmap", NULL
4240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4242 if (!SWIG_IsOK(res1
)) {
4243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4245 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4246 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4247 if (!SWIG_IsOK(res2
)) {
4248 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4251 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4253 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4256 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4257 wxPyEndAllowThreads(__tstate
);
4258 if (PyErr_Occurred()) SWIG_fail
;
4260 resultobj
= SWIG_Py_Void();
4267 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4268 PyObject
*resultobj
= 0;
4269 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4270 wxBitmap
*arg2
= 0 ;
4275 PyObject
* obj0
= 0 ;
4276 PyObject
* obj1
= 0 ;
4277 char * kwnames
[] = {
4278 (char *) "self",(char *) "bitmap", NULL
4281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4283 if (!SWIG_IsOK(res1
)) {
4284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4286 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4287 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4288 if (!SWIG_IsOK(res2
)) {
4289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4292 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4294 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4297 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4298 wxPyEndAllowThreads(__tstate
);
4299 if (PyErr_Occurred()) SWIG_fail
;
4301 resultobj
= SWIG_Py_Void();
4308 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4309 PyObject
*resultobj
= 0;
4310 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4311 wxBitmap
*arg2
= 0 ;
4316 PyObject
* obj0
= 0 ;
4317 PyObject
* obj1
= 0 ;
4318 char * kwnames
[] = {
4319 (char *) "self",(char *) "bitmap", NULL
4322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4324 if (!SWIG_IsOK(res1
)) {
4325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4327 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4328 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4329 if (!SWIG_IsOK(res2
)) {
4330 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4333 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4335 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4338 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4339 wxPyEndAllowThreads(__tstate
);
4340 if (PyErr_Occurred()) SWIG_fail
;
4342 resultobj
= SWIG_Py_Void();
4349 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4350 PyObject
*resultobj
= 0;
4351 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4352 wxBitmap
*arg2
= 0 ;
4357 PyObject
* obj0
= 0 ;
4358 PyObject
* obj1
= 0 ;
4359 char * kwnames
[] = {
4360 (char *) "self",(char *) "hover", NULL
4363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4365 if (!SWIG_IsOK(res1
)) {
4366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4368 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4369 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4370 if (!SWIG_IsOK(res2
)) {
4371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4374 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4376 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4379 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4380 wxPyEndAllowThreads(__tstate
);
4381 if (PyErr_Occurred()) SWIG_fail
;
4383 resultobj
= SWIG_Py_Void();
4390 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
*resultobj
= 0;
4392 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4401 PyObject
* obj0
= 0 ;
4402 PyObject
* obj1
= 0 ;
4403 PyObject
* obj2
= 0 ;
4404 char * kwnames
[] = {
4405 (char *) "self",(char *) "x",(char *) "y", NULL
4408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4410 if (!SWIG_IsOK(res1
)) {
4411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4413 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4415 if (!SWIG_IsOK(ecode2
)) {
4416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4418 arg2
= static_cast< int >(val2
);
4419 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4420 if (!SWIG_IsOK(ecode3
)) {
4421 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4423 arg3
= static_cast< int >(val3
);
4425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4426 (arg1
)->SetMargins(arg2
,arg3
);
4427 wxPyEndAllowThreads(__tstate
);
4428 if (PyErr_Occurred()) SWIG_fail
;
4430 resultobj
= SWIG_Py_Void();
4437 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4438 PyObject
*resultobj
= 0;
4439 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4443 PyObject
*swig_obj
[1] ;
4445 if (!args
) SWIG_fail
;
4447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4448 if (!SWIG_IsOK(res1
)) {
4449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4451 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4454 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4455 wxPyEndAllowThreads(__tstate
);
4456 if (PyErr_Occurred()) SWIG_fail
;
4458 resultobj
= SWIG_From_int(static_cast< int >(result
));
4465 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4466 PyObject
*resultobj
= 0;
4467 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4471 PyObject
*swig_obj
[1] ;
4473 if (!args
) SWIG_fail
;
4475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4476 if (!SWIG_IsOK(res1
)) {
4477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4479 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4482 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4483 wxPyEndAllowThreads(__tstate
);
4484 if (PyErr_Occurred()) SWIG_fail
;
4486 resultobj
= SWIG_From_int(static_cast< int >(result
));
4493 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4495 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4496 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4497 return SWIG_Py_Void();
4500 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4501 return SWIG_Python_InitShadowInstance(args
);
4504 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4505 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4510 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4511 PyObject
*pyobj
= 0;
4515 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4517 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4524 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4525 PyObject
*resultobj
= 0;
4526 wxWindow
*arg1
= (wxWindow
*) 0 ;
4527 int arg2
= (int) -1 ;
4528 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4529 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4530 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4531 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4532 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4533 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4534 long arg6
= (long) 0 ;
4535 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4536 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4537 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4538 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4539 wxCheckBox
*result
= 0 ;
4544 bool temp3
= false ;
4551 bool temp8
= false ;
4552 PyObject
* obj0
= 0 ;
4553 PyObject
* obj1
= 0 ;
4554 PyObject
* obj2
= 0 ;
4555 PyObject
* obj3
= 0 ;
4556 PyObject
* obj4
= 0 ;
4557 PyObject
* obj5
= 0 ;
4558 PyObject
* obj6
= 0 ;
4559 PyObject
* obj7
= 0 ;
4560 char * kwnames
[] = {
4561 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4566 if (!SWIG_IsOK(res1
)) {
4567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4569 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4572 if (!SWIG_IsOK(ecode2
)) {
4573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4575 arg2
= static_cast< int >(val2
);
4579 arg3
= wxString_in_helper(obj2
);
4580 if (arg3
== NULL
) SWIG_fail
;
4587 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4593 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4597 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4598 if (!SWIG_IsOK(ecode6
)) {
4599 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4601 arg6
= static_cast< long >(val6
);
4604 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4605 if (!SWIG_IsOK(res7
)) {
4606 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4609 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4611 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4615 arg8
= wxString_in_helper(obj7
);
4616 if (arg8
== NULL
) SWIG_fail
;
4621 if (!wxPyCheckForApp()) SWIG_fail
;
4622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4623 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4650 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4651 PyObject
*resultobj
= 0;
4652 wxCheckBox
*result
= 0 ;
4654 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4656 if (!wxPyCheckForApp()) SWIG_fail
;
4657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4658 result
= (wxCheckBox
*)new wxCheckBox();
4659 wxPyEndAllowThreads(__tstate
);
4660 if (PyErr_Occurred()) SWIG_fail
;
4662 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4669 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4670 PyObject
*resultobj
= 0;
4671 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4672 wxWindow
*arg2
= (wxWindow
*) 0 ;
4673 int arg3
= (int) -1 ;
4674 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4675 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4676 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4677 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4678 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4679 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4680 long arg7
= (long) 0 ;
4681 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4682 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4683 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4684 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4692 bool temp4
= false ;
4699 bool temp9
= false ;
4700 PyObject
* obj0
= 0 ;
4701 PyObject
* obj1
= 0 ;
4702 PyObject
* obj2
= 0 ;
4703 PyObject
* obj3
= 0 ;
4704 PyObject
* obj4
= 0 ;
4705 PyObject
* obj5
= 0 ;
4706 PyObject
* obj6
= 0 ;
4707 PyObject
* obj7
= 0 ;
4708 PyObject
* obj8
= 0 ;
4709 char * kwnames
[] = {
4710 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4715 if (!SWIG_IsOK(res1
)) {
4716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4718 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4719 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4720 if (!SWIG_IsOK(res2
)) {
4721 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4723 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4725 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4726 if (!SWIG_IsOK(ecode3
)) {
4727 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4729 arg3
= static_cast< int >(val3
);
4733 arg4
= wxString_in_helper(obj3
);
4734 if (arg4
== NULL
) SWIG_fail
;
4741 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4747 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4751 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4752 if (!SWIG_IsOK(ecode7
)) {
4753 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4755 arg7
= static_cast< long >(val7
);
4758 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4759 if (!SWIG_IsOK(res8
)) {
4760 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4763 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4765 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4769 arg9
= wxString_in_helper(obj8
);
4770 if (arg9
== NULL
) SWIG_fail
;
4775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4776 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4777 wxPyEndAllowThreads(__tstate
);
4778 if (PyErr_Occurred()) SWIG_fail
;
4781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4805 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4806 PyObject
*resultobj
= 0;
4807 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4811 PyObject
*swig_obj
[1] ;
4813 if (!args
) SWIG_fail
;
4815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4816 if (!SWIG_IsOK(res1
)) {
4817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4819 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4822 result
= (bool)(arg1
)->GetValue();
4823 wxPyEndAllowThreads(__tstate
);
4824 if (PyErr_Occurred()) SWIG_fail
;
4827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4835 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4836 PyObject
*resultobj
= 0;
4837 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4841 PyObject
*swig_obj
[1] ;
4843 if (!args
) SWIG_fail
;
4845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4846 if (!SWIG_IsOK(res1
)) {
4847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4849 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4852 result
= (bool)(arg1
)->IsChecked();
4853 wxPyEndAllowThreads(__tstate
);
4854 if (PyErr_Occurred()) SWIG_fail
;
4857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4865 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4866 PyObject
*resultobj
= 0;
4867 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4873 PyObject
* obj0
= 0 ;
4874 PyObject
* obj1
= 0 ;
4875 char * kwnames
[] = {
4876 (char *) "self",(char *) "state", NULL
4879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4881 if (!SWIG_IsOK(res1
)) {
4882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4884 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4885 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4886 if (!SWIG_IsOK(ecode2
)) {
4887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4889 arg2
= static_cast< bool >(val2
);
4891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4892 (arg1
)->SetValue(arg2
);
4893 wxPyEndAllowThreads(__tstate
);
4894 if (PyErr_Occurred()) SWIG_fail
;
4896 resultobj
= SWIG_Py_Void();
4903 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4904 PyObject
*resultobj
= 0;
4905 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4906 wxCheckBoxState result
;
4909 PyObject
*swig_obj
[1] ;
4911 if (!args
) SWIG_fail
;
4913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4914 if (!SWIG_IsOK(res1
)) {
4915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4917 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4920 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4921 wxPyEndAllowThreads(__tstate
);
4922 if (PyErr_Occurred()) SWIG_fail
;
4924 resultobj
= SWIG_From_int(static_cast< int >(result
));
4931 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4932 PyObject
*resultobj
= 0;
4933 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4934 wxCheckBoxState arg2
;
4939 PyObject
* obj0
= 0 ;
4940 PyObject
* obj1
= 0 ;
4941 char * kwnames
[] = {
4942 (char *) "self",(char *) "state", NULL
4945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4947 if (!SWIG_IsOK(res1
)) {
4948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4950 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4951 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4952 if (!SWIG_IsOK(ecode2
)) {
4953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4955 arg2
= static_cast< wxCheckBoxState
>(val2
);
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 (arg1
)->Set3StateValue(arg2
);
4959 wxPyEndAllowThreads(__tstate
);
4960 if (PyErr_Occurred()) SWIG_fail
;
4962 resultobj
= SWIG_Py_Void();
4969 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4970 PyObject
*resultobj
= 0;
4971 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4975 PyObject
*swig_obj
[1] ;
4977 if (!args
) SWIG_fail
;
4979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4980 if (!SWIG_IsOK(res1
)) {
4981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4983 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4986 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) SWIG_fail
;
4991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4999 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5000 PyObject
*resultobj
= 0;
5001 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5005 PyObject
*swig_obj
[1] ;
5007 if (!args
) SWIG_fail
;
5009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5010 if (!SWIG_IsOK(res1
)) {
5011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5013 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5016 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5017 wxPyEndAllowThreads(__tstate
);
5018 if (PyErr_Occurred()) SWIG_fail
;
5021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5029 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5030 PyObject
*resultobj
= 0;
5031 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5032 SwigValueWrapper
<wxVisualAttributes
> result
;
5035 PyObject
* obj0
= 0 ;
5036 char * kwnames
[] = {
5037 (char *) "variant", NULL
5040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5042 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5043 if (!SWIG_IsOK(ecode1
)) {
5044 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5046 arg1
= static_cast< wxWindowVariant
>(val1
);
5049 if (!wxPyCheckForApp()) SWIG_fail
;
5050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5051 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5052 wxPyEndAllowThreads(__tstate
);
5053 if (PyErr_Occurred()) SWIG_fail
;
5055 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5062 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5064 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5065 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5066 return SWIG_Py_Void();
5069 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5070 return SWIG_Python_InitShadowInstance(args
);
5073 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5074 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5079 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5080 PyObject
*pyobj
= 0;
5084 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5086 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5093 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5094 PyObject
*resultobj
= 0;
5095 wxWindow
*arg1
= (wxWindow
*) 0 ;
5096 int arg2
= (int) -1 ;
5097 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5098 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5099 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5100 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5101 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5102 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5103 long arg6
= (long) 0 ;
5104 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5105 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5106 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5107 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5108 wxChoice
*result
= 0 ;
5115 bool temp5
= false ;
5120 bool temp8
= false ;
5121 PyObject
* obj0
= 0 ;
5122 PyObject
* obj1
= 0 ;
5123 PyObject
* obj2
= 0 ;
5124 PyObject
* obj3
= 0 ;
5125 PyObject
* obj4
= 0 ;
5126 PyObject
* obj5
= 0 ;
5127 PyObject
* obj6
= 0 ;
5128 PyObject
* obj7
= 0 ;
5129 char * kwnames
[] = {
5130 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5135 if (!SWIG_IsOK(res1
)) {
5136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5138 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5140 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5141 if (!SWIG_IsOK(ecode2
)) {
5142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5144 arg2
= static_cast< int >(val2
);
5149 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5155 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5160 if (! PySequence_Check(obj4
)) {
5161 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5164 arg5
= new wxArrayString
;
5166 int i
, len
=PySequence_Length(obj4
);
5167 for (i
=0; i
<len
; i
++) {
5168 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5169 wxString
* s
= wxString_in_helper(item
);
5170 if (PyErr_Occurred()) SWIG_fail
;
5178 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5179 if (!SWIG_IsOK(ecode6
)) {
5180 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5182 arg6
= static_cast< long >(val6
);
5185 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5186 if (!SWIG_IsOK(res7
)) {
5187 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5190 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5192 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5196 arg8
= wxString_in_helper(obj7
);
5197 if (arg8
== NULL
) SWIG_fail
;
5202 if (!wxPyCheckForApp()) SWIG_fail
;
5203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5204 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5205 wxPyEndAllowThreads(__tstate
);
5206 if (PyErr_Occurred()) SWIG_fail
;
5208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5210 if (temp5
) delete arg5
;
5219 if (temp5
) delete arg5
;
5229 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5230 PyObject
*resultobj
= 0;
5231 wxChoice
*result
= 0 ;
5233 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5235 if (!wxPyCheckForApp()) SWIG_fail
;
5236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5237 result
= (wxChoice
*)new wxChoice();
5238 wxPyEndAllowThreads(__tstate
);
5239 if (PyErr_Occurred()) SWIG_fail
;
5241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5248 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5249 PyObject
*resultobj
= 0;
5250 wxChoice
*arg1
= (wxChoice
*) 0 ;
5251 wxWindow
*arg2
= (wxWindow
*) 0 ;
5252 int arg3
= (int) -1 ;
5253 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5254 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5255 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5256 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5257 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5258 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5259 long arg7
= (long) 0 ;
5260 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5261 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5262 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5263 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5273 bool temp6
= false ;
5278 bool temp9
= false ;
5279 PyObject
* obj0
= 0 ;
5280 PyObject
* obj1
= 0 ;
5281 PyObject
* obj2
= 0 ;
5282 PyObject
* obj3
= 0 ;
5283 PyObject
* obj4
= 0 ;
5284 PyObject
* obj5
= 0 ;
5285 PyObject
* obj6
= 0 ;
5286 PyObject
* obj7
= 0 ;
5287 PyObject
* obj8
= 0 ;
5288 char * kwnames
[] = {
5289 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5294 if (!SWIG_IsOK(res1
)) {
5295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5297 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5298 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5299 if (!SWIG_IsOK(res2
)) {
5300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5302 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5304 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5305 if (!SWIG_IsOK(ecode3
)) {
5306 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5308 arg3
= static_cast< int >(val3
);
5313 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5319 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5324 if (! PySequence_Check(obj5
)) {
5325 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5328 arg6
= new wxArrayString
;
5330 int i
, len
=PySequence_Length(obj5
);
5331 for (i
=0; i
<len
; i
++) {
5332 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5333 wxString
* s
= wxString_in_helper(item
);
5334 if (PyErr_Occurred()) SWIG_fail
;
5342 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5343 if (!SWIG_IsOK(ecode7
)) {
5344 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5346 arg7
= static_cast< long >(val7
);
5349 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5350 if (!SWIG_IsOK(res8
)) {
5351 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5354 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5356 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5360 arg9
= wxString_in_helper(obj8
);
5361 if (arg9
== NULL
) SWIG_fail
;
5366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5367 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) SWIG_fail
;
5372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5375 if (temp6
) delete arg6
;
5384 if (temp6
) delete arg6
;
5394 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5395 PyObject
*resultobj
= 0;
5396 wxChoice
*arg1
= (wxChoice
*) 0 ;
5400 PyObject
*swig_obj
[1] ;
5402 if (!args
) SWIG_fail
;
5404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5405 if (!SWIG_IsOK(res1
)) {
5406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5408 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5411 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5412 wxPyEndAllowThreads(__tstate
);
5413 if (PyErr_Occurred()) SWIG_fail
;
5415 resultobj
= SWIG_From_int(static_cast< int >(result
));
5422 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5423 PyObject
*resultobj
= 0;
5424 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5425 SwigValueWrapper
<wxVisualAttributes
> result
;
5428 PyObject
* obj0
= 0 ;
5429 char * kwnames
[] = {
5430 (char *) "variant", NULL
5433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5435 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5436 if (!SWIG_IsOK(ecode1
)) {
5437 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5439 arg1
= static_cast< wxWindowVariant
>(val1
);
5442 if (!wxPyCheckForApp()) SWIG_fail
;
5443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5444 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5445 wxPyEndAllowThreads(__tstate
);
5446 if (PyErr_Occurred()) SWIG_fail
;
5448 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5455 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5457 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5458 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5459 return SWIG_Py_Void();
5462 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5463 return SWIG_Python_InitShadowInstance(args
);
5466 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5467 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5472 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5473 PyObject
*pyobj
= 0;
5477 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5479 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5486 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5487 PyObject
*resultobj
= 0;
5488 wxWindow
*arg1
= (wxWindow
*) 0 ;
5489 int arg2
= (int) -1 ;
5490 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5491 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5492 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5493 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5494 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5495 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5496 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5497 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5498 long arg7
= (long) 0 ;
5499 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5500 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5501 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5502 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5503 wxComboBox
*result
= 0 ;
5508 bool temp3
= false ;
5511 bool temp6
= false ;
5516 bool temp9
= false ;
5517 PyObject
* obj0
= 0 ;
5518 PyObject
* obj1
= 0 ;
5519 PyObject
* obj2
= 0 ;
5520 PyObject
* obj3
= 0 ;
5521 PyObject
* obj4
= 0 ;
5522 PyObject
* obj5
= 0 ;
5523 PyObject
* obj6
= 0 ;
5524 PyObject
* obj7
= 0 ;
5525 PyObject
* obj8
= 0 ;
5526 char * kwnames
[] = {
5527 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5532 if (!SWIG_IsOK(res1
)) {
5533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5535 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5537 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5538 if (!SWIG_IsOK(ecode2
)) {
5539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5541 arg2
= static_cast< int >(val2
);
5545 arg3
= wxString_in_helper(obj2
);
5546 if (arg3
== NULL
) SWIG_fail
;
5553 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5559 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5564 if (! PySequence_Check(obj5
)) {
5565 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5568 arg6
= new wxArrayString
;
5570 int i
, len
=PySequence_Length(obj5
);
5571 for (i
=0; i
<len
; i
++) {
5572 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5573 wxString
* s
= wxString_in_helper(item
);
5574 if (PyErr_Occurred()) SWIG_fail
;
5582 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5583 if (!SWIG_IsOK(ecode7
)) {
5584 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5586 arg7
= static_cast< long >(val7
);
5589 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5590 if (!SWIG_IsOK(res8
)) {
5591 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5594 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5596 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5600 arg9
= wxString_in_helper(obj8
);
5601 if (arg9
== NULL
) SWIG_fail
;
5606 if (!wxPyCheckForApp()) SWIG_fail
;
5607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5608 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
);
5609 wxPyEndAllowThreads(__tstate
);
5610 if (PyErr_Occurred()) SWIG_fail
;
5612 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5618 if (temp6
) delete arg6
;
5631 if (temp6
) delete arg6
;
5641 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5642 PyObject
*resultobj
= 0;
5643 wxComboBox
*result
= 0 ;
5645 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5647 if (!wxPyCheckForApp()) SWIG_fail
;
5648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5649 result
= (wxComboBox
*)new wxComboBox();
5650 wxPyEndAllowThreads(__tstate
);
5651 if (PyErr_Occurred()) SWIG_fail
;
5653 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5660 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5661 PyObject
*resultobj
= 0;
5662 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5663 wxWindow
*arg2
= (wxWindow
*) 0 ;
5664 int arg3
= (int) -1 ;
5665 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5666 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5667 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5668 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5669 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5670 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5671 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5672 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5673 long arg8
= (long) 0 ;
5674 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5675 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5676 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5677 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5685 bool temp4
= false ;
5688 bool temp7
= false ;
5693 bool temp10
= false ;
5694 PyObject
* obj0
= 0 ;
5695 PyObject
* obj1
= 0 ;
5696 PyObject
* obj2
= 0 ;
5697 PyObject
* obj3
= 0 ;
5698 PyObject
* obj4
= 0 ;
5699 PyObject
* obj5
= 0 ;
5700 PyObject
* obj6
= 0 ;
5701 PyObject
* obj7
= 0 ;
5702 PyObject
* obj8
= 0 ;
5703 PyObject
* obj9
= 0 ;
5704 char * kwnames
[] = {
5705 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5710 if (!SWIG_IsOK(res1
)) {
5711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5713 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5714 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5715 if (!SWIG_IsOK(res2
)) {
5716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5718 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5720 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5721 if (!SWIG_IsOK(ecode3
)) {
5722 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5724 arg3
= static_cast< int >(val3
);
5728 arg4
= wxString_in_helper(obj3
);
5729 if (arg4
== NULL
) SWIG_fail
;
5736 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5742 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5747 if (! PySequence_Check(obj6
)) {
5748 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5751 arg7
= new wxArrayString
;
5753 int i
, len
=PySequence_Length(obj6
);
5754 for (i
=0; i
<len
; i
++) {
5755 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5756 wxString
* s
= wxString_in_helper(item
);
5757 if (PyErr_Occurred()) SWIG_fail
;
5765 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5766 if (!SWIG_IsOK(ecode8
)) {
5767 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5769 arg8
= static_cast< long >(val8
);
5772 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5773 if (!SWIG_IsOK(res9
)) {
5774 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5777 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5779 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5783 arg10
= wxString_in_helper(obj9
);
5784 if (arg10
== NULL
) SWIG_fail
;
5789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5790 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
);
5791 wxPyEndAllowThreads(__tstate
);
5792 if (PyErr_Occurred()) SWIG_fail
;
5795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5802 if (temp7
) delete arg7
;
5815 if (temp7
) delete arg7
;
5825 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5826 PyObject
*resultobj
= 0;
5827 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5831 PyObject
*swig_obj
[1] ;
5833 if (!args
) SWIG_fail
;
5835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5836 if (!SWIG_IsOK(res1
)) {
5837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5839 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5842 result
= ((wxComboBox
const *)arg1
)->GetValue();
5843 wxPyEndAllowThreads(__tstate
);
5844 if (PyErr_Occurred()) SWIG_fail
;
5848 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5850 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5859 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5860 PyObject
*resultobj
= 0;
5861 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5862 wxString
*arg2
= 0 ;
5865 bool temp2
= false ;
5866 PyObject
* obj0
= 0 ;
5867 PyObject
* obj1
= 0 ;
5868 char * kwnames
[] = {
5869 (char *) "self",(char *) "value", NULL
5872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5874 if (!SWIG_IsOK(res1
)) {
5875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5877 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5879 arg2
= wxString_in_helper(obj1
);
5880 if (arg2
== NULL
) SWIG_fail
;
5884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5885 (arg1
)->SetValue((wxString
const &)*arg2
);
5886 wxPyEndAllowThreads(__tstate
);
5887 if (PyErr_Occurred()) SWIG_fail
;
5889 resultobj
= SWIG_Py_Void();
5904 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5905 PyObject
*resultobj
= 0;
5906 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5909 PyObject
*swig_obj
[1] ;
5911 if (!args
) SWIG_fail
;
5913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5914 if (!SWIG_IsOK(res1
)) {
5915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5917 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5921 wxPyEndAllowThreads(__tstate
);
5922 if (PyErr_Occurred()) SWIG_fail
;
5924 resultobj
= SWIG_Py_Void();
5931 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5932 PyObject
*resultobj
= 0;
5933 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5936 PyObject
*swig_obj
[1] ;
5938 if (!args
) SWIG_fail
;
5940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5941 if (!SWIG_IsOK(res1
)) {
5942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5944 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5948 wxPyEndAllowThreads(__tstate
);
5949 if (PyErr_Occurred()) SWIG_fail
;
5951 resultobj
= SWIG_Py_Void();
5958 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5959 PyObject
*resultobj
= 0;
5960 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5963 PyObject
*swig_obj
[1] ;
5965 if (!args
) SWIG_fail
;
5967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5968 if (!SWIG_IsOK(res1
)) {
5969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5971 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 wxPyEndAllowThreads(__tstate
);
5976 if (PyErr_Occurred()) SWIG_fail
;
5978 resultobj
= SWIG_Py_Void();
5985 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5986 PyObject
*resultobj
= 0;
5987 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5993 PyObject
* obj0
= 0 ;
5994 PyObject
* obj1
= 0 ;
5995 char * kwnames
[] = {
5996 (char *) "self",(char *) "pos", NULL
5999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6001 if (!SWIG_IsOK(res1
)) {
6002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6004 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6005 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6006 if (!SWIG_IsOK(ecode2
)) {
6007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6009 arg2
= static_cast< long >(val2
);
6011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6012 (arg1
)->SetInsertionPoint(arg2
);
6013 wxPyEndAllowThreads(__tstate
);
6014 if (PyErr_Occurred()) SWIG_fail
;
6016 resultobj
= SWIG_Py_Void();
6023 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6024 PyObject
*resultobj
= 0;
6025 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6029 PyObject
*swig_obj
[1] ;
6031 if (!args
) SWIG_fail
;
6033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6034 if (!SWIG_IsOK(res1
)) {
6035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6037 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6040 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6041 wxPyEndAllowThreads(__tstate
);
6042 if (PyErr_Occurred()) SWIG_fail
;
6044 resultobj
= SWIG_From_long(static_cast< long >(result
));
6051 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6052 PyObject
*resultobj
= 0;
6053 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6057 PyObject
*swig_obj
[1] ;
6059 if (!args
) SWIG_fail
;
6061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6062 if (!SWIG_IsOK(res1
)) {
6063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6065 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6068 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6069 wxPyEndAllowThreads(__tstate
);
6070 if (PyErr_Occurred()) SWIG_fail
;
6072 resultobj
= SWIG_From_long(static_cast< long >(result
));
6079 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6080 PyObject
*resultobj
= 0;
6081 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6084 wxString
*arg4
= 0 ;
6091 bool temp4
= false ;
6092 PyObject
* obj0
= 0 ;
6093 PyObject
* obj1
= 0 ;
6094 PyObject
* obj2
= 0 ;
6095 PyObject
* obj3
= 0 ;
6096 char * kwnames
[] = {
6097 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6102 if (!SWIG_IsOK(res1
)) {
6103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6105 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6106 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6107 if (!SWIG_IsOK(ecode2
)) {
6108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6110 arg2
= static_cast< long >(val2
);
6111 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6112 if (!SWIG_IsOK(ecode3
)) {
6113 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6115 arg3
= static_cast< long >(val3
);
6117 arg4
= wxString_in_helper(obj3
);
6118 if (arg4
== NULL
) SWIG_fail
;
6122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6123 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6124 wxPyEndAllowThreads(__tstate
);
6125 if (PyErr_Occurred()) SWIG_fail
;
6127 resultobj
= SWIG_Py_Void();
6142 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6143 PyObject
*resultobj
= 0;
6144 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6153 PyObject
* obj0
= 0 ;
6154 PyObject
* obj1
= 0 ;
6155 PyObject
* obj2
= 0 ;
6156 char * kwnames
[] = {
6157 (char *) "self",(char *) "from",(char *) "to", NULL
6160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6162 if (!SWIG_IsOK(res1
)) {
6163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6165 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6166 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6167 if (!SWIG_IsOK(ecode2
)) {
6168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6170 arg2
= static_cast< long >(val2
);
6171 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6172 if (!SWIG_IsOK(ecode3
)) {
6173 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6175 arg3
= static_cast< long >(val3
);
6177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6178 (arg1
)->SetSelection(arg2
,arg3
);
6179 wxPyEndAllowThreads(__tstate
);
6180 if (PyErr_Occurred()) SWIG_fail
;
6182 resultobj
= SWIG_Py_Void();
6189 SWIGINTERN PyObject
*_wrap_ComboBox_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6190 PyObject
*resultobj
= 0;
6191 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6192 long *arg2
= (long *) 0 ;
6193 long *arg3
= (long *) 0 ;
6197 int res2
= SWIG_TMPOBJ
;
6199 int res3
= SWIG_TMPOBJ
;
6200 PyObject
*swig_obj
[1] ;
6204 if (!args
) SWIG_fail
;
6206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6207 if (!SWIG_IsOK(res1
)) {
6208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6210 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6213 (arg1
)->GetSelection(arg2
,arg3
);
6214 wxPyEndAllowThreads(__tstate
);
6215 if (PyErr_Occurred()) SWIG_fail
;
6217 resultobj
= SWIG_Py_Void();
6218 if (SWIG_IsTmpObj(res2
)) {
6219 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6221 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6222 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6224 if (SWIG_IsTmpObj(res3
)) {
6225 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6227 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6228 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6236 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6237 PyObject
*resultobj
= 0;
6238 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6242 PyObject
*swig_obj
[1] ;
6244 if (!args
) SWIG_fail
;
6246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6247 if (!SWIG_IsOK(res1
)) {
6248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6250 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6253 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6254 wxPyEndAllowThreads(__tstate
);
6255 if (PyErr_Occurred()) SWIG_fail
;
6257 resultobj
= SWIG_From_int(static_cast< int >(result
));
6264 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6265 PyObject
*resultobj
= 0;
6266 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6267 wxString
*arg2
= 0 ;
6271 bool temp2
= false ;
6272 PyObject
* obj0
= 0 ;
6273 PyObject
* obj1
= 0 ;
6274 char * kwnames
[] = {
6275 (char *) "self",(char *) "string", NULL
6278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6280 if (!SWIG_IsOK(res1
)) {
6281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6283 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6285 arg2
= wxString_in_helper(obj1
);
6286 if (arg2
== NULL
) SWIG_fail
;
6290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6291 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6292 wxPyEndAllowThreads(__tstate
);
6293 if (PyErr_Occurred()) SWIG_fail
;
6296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6312 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6313 PyObject
*resultobj
= 0;
6314 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6320 PyObject
* obj0
= 0 ;
6321 PyObject
* obj1
= 0 ;
6322 char * kwnames
[] = {
6323 (char *) "self",(char *) "editable", NULL
6326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6328 if (!SWIG_IsOK(res1
)) {
6329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6331 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6332 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6333 if (!SWIG_IsOK(ecode2
)) {
6334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6336 arg2
= static_cast< bool >(val2
);
6338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6339 (arg1
)->SetEditable(arg2
);
6340 wxPyEndAllowThreads(__tstate
);
6341 if (PyErr_Occurred()) SWIG_fail
;
6343 resultobj
= SWIG_Py_Void();
6350 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6351 PyObject
*resultobj
= 0;
6352 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6355 PyObject
*swig_obj
[1] ;
6357 if (!args
) SWIG_fail
;
6359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6360 if (!SWIG_IsOK(res1
)) {
6361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6363 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6366 (arg1
)->SetInsertionPointEnd();
6367 wxPyEndAllowThreads(__tstate
);
6368 if (PyErr_Occurred()) SWIG_fail
;
6370 resultobj
= SWIG_Py_Void();
6377 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6378 PyObject
*resultobj
= 0;
6379 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6388 PyObject
* obj0
= 0 ;
6389 PyObject
* obj1
= 0 ;
6390 PyObject
* obj2
= 0 ;
6391 char * kwnames
[] = {
6392 (char *) "self",(char *) "from",(char *) "to", NULL
6395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6397 if (!SWIG_IsOK(res1
)) {
6398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6400 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6401 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6402 if (!SWIG_IsOK(ecode2
)) {
6403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6405 arg2
= static_cast< long >(val2
);
6406 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6407 if (!SWIG_IsOK(ecode3
)) {
6408 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6410 arg3
= static_cast< long >(val3
);
6412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6413 (arg1
)->Remove(arg2
,arg3
);
6414 wxPyEndAllowThreads(__tstate
);
6415 if (PyErr_Occurred()) SWIG_fail
;
6417 resultobj
= SWIG_Py_Void();
6424 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6425 PyObject
*resultobj
= 0;
6426 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6430 PyObject
*swig_obj
[1] ;
6432 if (!args
) SWIG_fail
;
6434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6435 if (!SWIG_IsOK(res1
)) {
6436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6438 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6441 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6442 wxPyEndAllowThreads(__tstate
);
6443 if (PyErr_Occurred()) SWIG_fail
;
6446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6454 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6455 PyObject
*resultobj
= 0;
6456 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6459 PyObject
*swig_obj
[1] ;
6461 if (!args
) SWIG_fail
;
6463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6464 if (!SWIG_IsOK(res1
)) {
6465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6467 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6471 wxPyEndAllowThreads(__tstate
);
6472 if (PyErr_Occurred()) SWIG_fail
;
6474 resultobj
= SWIG_Py_Void();
6481 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6482 PyObject
*resultobj
= 0;
6483 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6486 PyObject
*swig_obj
[1] ;
6488 if (!args
) SWIG_fail
;
6490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6491 if (!SWIG_IsOK(res1
)) {
6492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6494 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6498 wxPyEndAllowThreads(__tstate
);
6499 if (PyErr_Occurred()) SWIG_fail
;
6501 resultobj
= SWIG_Py_Void();
6508 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6509 PyObject
*resultobj
= 0;
6510 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6513 PyObject
*swig_obj
[1] ;
6515 if (!args
) SWIG_fail
;
6517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6518 if (!SWIG_IsOK(res1
)) {
6519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6521 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6524 (arg1
)->SelectAll();
6525 wxPyEndAllowThreads(__tstate
);
6526 if (PyErr_Occurred()) SWIG_fail
;
6528 resultobj
= SWIG_Py_Void();
6535 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6536 PyObject
*resultobj
= 0;
6537 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6541 PyObject
*swig_obj
[1] ;
6543 if (!args
) SWIG_fail
;
6545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6546 if (!SWIG_IsOK(res1
)) {
6547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6549 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6552 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6553 wxPyEndAllowThreads(__tstate
);
6554 if (PyErr_Occurred()) SWIG_fail
;
6557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6565 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6566 PyObject
*resultobj
= 0;
6567 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6571 PyObject
*swig_obj
[1] ;
6573 if (!args
) SWIG_fail
;
6575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6576 if (!SWIG_IsOK(res1
)) {
6577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6579 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6582 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6583 wxPyEndAllowThreads(__tstate
);
6584 if (PyErr_Occurred()) SWIG_fail
;
6587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6595 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6596 PyObject
*resultobj
= 0;
6597 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6601 PyObject
*swig_obj
[1] ;
6603 if (!args
) SWIG_fail
;
6605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6606 if (!SWIG_IsOK(res1
)) {
6607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6609 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6612 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6613 wxPyEndAllowThreads(__tstate
);
6614 if (PyErr_Occurred()) SWIG_fail
;
6617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6625 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6626 PyObject
*resultobj
= 0;
6627 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6631 PyObject
*swig_obj
[1] ;
6633 if (!args
) SWIG_fail
;
6635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6636 if (!SWIG_IsOK(res1
)) {
6637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6639 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6642 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6643 wxPyEndAllowThreads(__tstate
);
6644 if (PyErr_Occurred()) SWIG_fail
;
6647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6655 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6656 PyObject
*resultobj
= 0;
6657 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6661 PyObject
*swig_obj
[1] ;
6663 if (!args
) SWIG_fail
;
6665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6666 if (!SWIG_IsOK(res1
)) {
6667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6669 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6672 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6673 wxPyEndAllowThreads(__tstate
);
6674 if (PyErr_Occurred()) SWIG_fail
;
6677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6685 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6686 PyObject
*resultobj
= 0;
6687 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6688 SwigValueWrapper
<wxVisualAttributes
> result
;
6691 PyObject
* obj0
= 0 ;
6692 char * kwnames
[] = {
6693 (char *) "variant", NULL
6696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6698 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6699 if (!SWIG_IsOK(ecode1
)) {
6700 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6702 arg1
= static_cast< wxWindowVariant
>(val1
);
6705 if (!wxPyCheckForApp()) SWIG_fail
;
6706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6707 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6708 wxPyEndAllowThreads(__tstate
);
6709 if (PyErr_Occurred()) SWIG_fail
;
6711 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6718 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6720 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6721 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6722 return SWIG_Py_Void();
6725 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6726 return SWIG_Python_InitShadowInstance(args
);
6729 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6730 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6735 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6736 PyObject
*pyobj
= 0;
6740 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6742 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6749 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6750 PyObject
*resultobj
= 0;
6751 wxWindow
*arg1
= (wxWindow
*) 0 ;
6752 int arg2
= (int) -1 ;
6753 int arg3
= (int) 100 ;
6754 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6755 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6756 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6757 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6758 long arg6
= (long) wxGA_HORIZONTAL
;
6759 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6760 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6761 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6762 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6763 wxGauge
*result
= 0 ;
6776 bool temp8
= false ;
6777 PyObject
* obj0
= 0 ;
6778 PyObject
* obj1
= 0 ;
6779 PyObject
* obj2
= 0 ;
6780 PyObject
* obj3
= 0 ;
6781 PyObject
* obj4
= 0 ;
6782 PyObject
* obj5
= 0 ;
6783 PyObject
* obj6
= 0 ;
6784 PyObject
* obj7
= 0 ;
6785 char * kwnames
[] = {
6786 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6791 if (!SWIG_IsOK(res1
)) {
6792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6794 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6797 if (!SWIG_IsOK(ecode2
)) {
6798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6800 arg2
= static_cast< int >(val2
);
6803 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6804 if (!SWIG_IsOK(ecode3
)) {
6805 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6807 arg3
= static_cast< int >(val3
);
6812 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6818 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6822 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6823 if (!SWIG_IsOK(ecode6
)) {
6824 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6826 arg6
= static_cast< long >(val6
);
6829 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6830 if (!SWIG_IsOK(res7
)) {
6831 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6834 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6836 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6840 arg8
= wxString_in_helper(obj7
);
6841 if (arg8
== NULL
) SWIG_fail
;
6846 if (!wxPyCheckForApp()) SWIG_fail
;
6847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6848 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6849 wxPyEndAllowThreads(__tstate
);
6850 if (PyErr_Occurred()) SWIG_fail
;
6852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6867 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6868 PyObject
*resultobj
= 0;
6869 wxGauge
*result
= 0 ;
6871 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6873 if (!wxPyCheckForApp()) SWIG_fail
;
6874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6875 result
= (wxGauge
*)new wxGauge();
6876 wxPyEndAllowThreads(__tstate
);
6877 if (PyErr_Occurred()) SWIG_fail
;
6879 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6886 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6887 PyObject
*resultobj
= 0;
6888 wxGauge
*arg1
= (wxGauge
*) 0 ;
6889 wxWindow
*arg2
= (wxWindow
*) 0 ;
6890 int arg3
= (int) -1 ;
6891 int arg4
= (int) 100 ;
6892 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6893 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6894 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6895 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6896 long arg7
= (long) wxGA_HORIZONTAL
;
6897 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6898 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6899 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6900 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6916 bool temp9
= false ;
6917 PyObject
* obj0
= 0 ;
6918 PyObject
* obj1
= 0 ;
6919 PyObject
* obj2
= 0 ;
6920 PyObject
* obj3
= 0 ;
6921 PyObject
* obj4
= 0 ;
6922 PyObject
* obj5
= 0 ;
6923 PyObject
* obj6
= 0 ;
6924 PyObject
* obj7
= 0 ;
6925 PyObject
* obj8
= 0 ;
6926 char * kwnames
[] = {
6927 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6932 if (!SWIG_IsOK(res1
)) {
6933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6935 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6936 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6937 if (!SWIG_IsOK(res2
)) {
6938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6940 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6942 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6943 if (!SWIG_IsOK(ecode3
)) {
6944 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6946 arg3
= static_cast< int >(val3
);
6949 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6950 if (!SWIG_IsOK(ecode4
)) {
6951 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6953 arg4
= static_cast< int >(val4
);
6958 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6964 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6968 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6969 if (!SWIG_IsOK(ecode7
)) {
6970 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6972 arg7
= static_cast< long >(val7
);
6975 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
6976 if (!SWIG_IsOK(res8
)) {
6977 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6980 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6982 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
6986 arg9
= wxString_in_helper(obj8
);
6987 if (arg9
== NULL
) SWIG_fail
;
6992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6993 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6994 wxPyEndAllowThreads(__tstate
);
6995 if (PyErr_Occurred()) SWIG_fail
;
6998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7014 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7015 PyObject
*resultobj
= 0;
7016 wxGauge
*arg1
= (wxGauge
*) 0 ;
7022 PyObject
* obj0
= 0 ;
7023 PyObject
* obj1
= 0 ;
7024 char * kwnames
[] = {
7025 (char *) "self",(char *) "range", NULL
7028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7030 if (!SWIG_IsOK(res1
)) {
7031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7033 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7034 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7035 if (!SWIG_IsOK(ecode2
)) {
7036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7038 arg2
= static_cast< int >(val2
);
7040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7041 (arg1
)->SetRange(arg2
);
7042 wxPyEndAllowThreads(__tstate
);
7043 if (PyErr_Occurred()) SWIG_fail
;
7045 resultobj
= SWIG_Py_Void();
7052 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7053 PyObject
*resultobj
= 0;
7054 wxGauge
*arg1
= (wxGauge
*) 0 ;
7058 PyObject
*swig_obj
[1] ;
7060 if (!args
) SWIG_fail
;
7062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7063 if (!SWIG_IsOK(res1
)) {
7064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7066 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7069 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7070 wxPyEndAllowThreads(__tstate
);
7071 if (PyErr_Occurred()) SWIG_fail
;
7073 resultobj
= SWIG_From_int(static_cast< int >(result
));
7080 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7081 PyObject
*resultobj
= 0;
7082 wxGauge
*arg1
= (wxGauge
*) 0 ;
7088 PyObject
* obj0
= 0 ;
7089 PyObject
* obj1
= 0 ;
7090 char * kwnames
[] = {
7091 (char *) "self",(char *) "pos", NULL
7094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7096 if (!SWIG_IsOK(res1
)) {
7097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7099 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7100 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7101 if (!SWIG_IsOK(ecode2
)) {
7102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7104 arg2
= static_cast< int >(val2
);
7106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7107 (arg1
)->SetValue(arg2
);
7108 wxPyEndAllowThreads(__tstate
);
7109 if (PyErr_Occurred()) SWIG_fail
;
7111 resultobj
= SWIG_Py_Void();
7118 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7119 PyObject
*resultobj
= 0;
7120 wxGauge
*arg1
= (wxGauge
*) 0 ;
7124 PyObject
*swig_obj
[1] ;
7126 if (!args
) SWIG_fail
;
7128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7129 if (!SWIG_IsOK(res1
)) {
7130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7132 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7135 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7136 wxPyEndAllowThreads(__tstate
);
7137 if (PyErr_Occurred()) SWIG_fail
;
7139 resultobj
= SWIG_From_int(static_cast< int >(result
));
7146 SWIGINTERN PyObject
*_wrap_Gauge_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7147 PyObject
*resultobj
= 0;
7148 wxGauge
*arg1
= (wxGauge
*) 0 ;
7151 PyObject
*swig_obj
[1] ;
7153 if (!args
) SWIG_fail
;
7155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7156 if (!SWIG_IsOK(res1
)) {
7157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7159 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7163 wxPyEndAllowThreads(__tstate
);
7164 if (PyErr_Occurred()) SWIG_fail
;
7166 resultobj
= SWIG_Py_Void();
7173 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7174 PyObject
*resultobj
= 0;
7175 wxGauge
*arg1
= (wxGauge
*) 0 ;
7179 PyObject
*swig_obj
[1] ;
7181 if (!args
) SWIG_fail
;
7183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7184 if (!SWIG_IsOK(res1
)) {
7185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7187 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7190 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7191 wxPyEndAllowThreads(__tstate
);
7192 if (PyErr_Occurred()) SWIG_fail
;
7195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7203 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7204 PyObject
*resultobj
= 0;
7205 wxGauge
*arg1
= (wxGauge
*) 0 ;
7211 PyObject
* obj0
= 0 ;
7212 PyObject
* obj1
= 0 ;
7213 char * kwnames
[] = {
7214 (char *) "self",(char *) "w", NULL
7217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7219 if (!SWIG_IsOK(res1
)) {
7220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7222 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7223 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7224 if (!SWIG_IsOK(ecode2
)) {
7225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7227 arg2
= static_cast< int >(val2
);
7229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7230 (arg1
)->SetShadowWidth(arg2
);
7231 wxPyEndAllowThreads(__tstate
);
7232 if (PyErr_Occurred()) SWIG_fail
;
7234 resultobj
= SWIG_Py_Void();
7241 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7242 PyObject
*resultobj
= 0;
7243 wxGauge
*arg1
= (wxGauge
*) 0 ;
7247 PyObject
*swig_obj
[1] ;
7249 if (!args
) SWIG_fail
;
7251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7252 if (!SWIG_IsOK(res1
)) {
7253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7255 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7258 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7259 wxPyEndAllowThreads(__tstate
);
7260 if (PyErr_Occurred()) SWIG_fail
;
7262 resultobj
= SWIG_From_int(static_cast< int >(result
));
7269 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7270 PyObject
*resultobj
= 0;
7271 wxGauge
*arg1
= (wxGauge
*) 0 ;
7277 PyObject
* obj0
= 0 ;
7278 PyObject
* obj1
= 0 ;
7279 char * kwnames
[] = {
7280 (char *) "self",(char *) "w", NULL
7283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7285 if (!SWIG_IsOK(res1
)) {
7286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7288 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7290 if (!SWIG_IsOK(ecode2
)) {
7291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7293 arg2
= static_cast< int >(val2
);
7295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7296 (arg1
)->SetBezelFace(arg2
);
7297 wxPyEndAllowThreads(__tstate
);
7298 if (PyErr_Occurred()) SWIG_fail
;
7300 resultobj
= SWIG_Py_Void();
7307 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7308 PyObject
*resultobj
= 0;
7309 wxGauge
*arg1
= (wxGauge
*) 0 ;
7313 PyObject
*swig_obj
[1] ;
7315 if (!args
) SWIG_fail
;
7317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7318 if (!SWIG_IsOK(res1
)) {
7319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7321 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7324 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7325 wxPyEndAllowThreads(__tstate
);
7326 if (PyErr_Occurred()) SWIG_fail
;
7328 resultobj
= SWIG_From_int(static_cast< int >(result
));
7335 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7336 PyObject
*resultobj
= 0;
7337 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7338 SwigValueWrapper
<wxVisualAttributes
> result
;
7341 PyObject
* obj0
= 0 ;
7342 char * kwnames
[] = {
7343 (char *) "variant", NULL
7346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7348 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7349 if (!SWIG_IsOK(ecode1
)) {
7350 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7352 arg1
= static_cast< wxWindowVariant
>(val1
);
7355 if (!wxPyCheckForApp()) SWIG_fail
;
7356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7357 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7358 wxPyEndAllowThreads(__tstate
);
7359 if (PyErr_Occurred()) SWIG_fail
;
7361 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7368 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7370 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7371 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7372 return SWIG_Py_Void();
7375 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7376 return SWIG_Python_InitShadowInstance(args
);
7379 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7380 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7385 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7386 PyObject
*pyobj
= 0;
7390 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7392 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7399 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7400 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7405 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7406 PyObject
*pyobj
= 0;
7410 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7412 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7419 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7420 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7425 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7426 PyObject
*pyobj
= 0;
7430 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7432 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7439 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7440 PyObject
*resultobj
= 0;
7441 wxWindow
*arg1
= (wxWindow
*) 0 ;
7442 int arg2
= (int) -1 ;
7443 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7444 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7445 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7446 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7447 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7448 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7449 long arg6
= (long) 0 ;
7450 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7451 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7452 wxStaticBox
*result
= 0 ;
7457 bool temp3
= false ;
7462 bool temp7
= false ;
7463 PyObject
* obj0
= 0 ;
7464 PyObject
* obj1
= 0 ;
7465 PyObject
* obj2
= 0 ;
7466 PyObject
* obj3
= 0 ;
7467 PyObject
* obj4
= 0 ;
7468 PyObject
* obj5
= 0 ;
7469 PyObject
* obj6
= 0 ;
7470 char * kwnames
[] = {
7471 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7476 if (!SWIG_IsOK(res1
)) {
7477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7479 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7482 if (!SWIG_IsOK(ecode2
)) {
7483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7485 arg2
= static_cast< int >(val2
);
7489 arg3
= wxString_in_helper(obj2
);
7490 if (arg3
== NULL
) SWIG_fail
;
7497 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7503 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7507 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7508 if (!SWIG_IsOK(ecode6
)) {
7509 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7511 arg6
= static_cast< long >(val6
);
7515 arg7
= wxString_in_helper(obj6
);
7516 if (arg7
== NULL
) SWIG_fail
;
7521 if (!wxPyCheckForApp()) SWIG_fail
;
7522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7523 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7524 wxPyEndAllowThreads(__tstate
);
7525 if (PyErr_Occurred()) SWIG_fail
;
7527 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7550 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7551 PyObject
*resultobj
= 0;
7552 wxStaticBox
*result
= 0 ;
7554 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7556 if (!wxPyCheckForApp()) SWIG_fail
;
7557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7558 result
= (wxStaticBox
*)new wxStaticBox();
7559 wxPyEndAllowThreads(__tstate
);
7560 if (PyErr_Occurred()) SWIG_fail
;
7562 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7569 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7570 PyObject
*resultobj
= 0;
7571 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7572 wxWindow
*arg2
= (wxWindow
*) 0 ;
7573 int arg3
= (int) -1 ;
7574 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7575 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7576 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7577 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7578 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7579 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7580 long arg7
= (long) 0 ;
7581 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7582 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7590 bool temp4
= false ;
7595 bool temp8
= false ;
7596 PyObject
* obj0
= 0 ;
7597 PyObject
* obj1
= 0 ;
7598 PyObject
* obj2
= 0 ;
7599 PyObject
* obj3
= 0 ;
7600 PyObject
* obj4
= 0 ;
7601 PyObject
* obj5
= 0 ;
7602 PyObject
* obj6
= 0 ;
7603 PyObject
* obj7
= 0 ;
7604 char * kwnames
[] = {
7605 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7610 if (!SWIG_IsOK(res1
)) {
7611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7613 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7614 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7615 if (!SWIG_IsOK(res2
)) {
7616 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7618 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7620 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7621 if (!SWIG_IsOK(ecode3
)) {
7622 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7624 arg3
= static_cast< int >(val3
);
7628 arg4
= wxString_in_helper(obj3
);
7629 if (arg4
== NULL
) SWIG_fail
;
7636 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7642 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7646 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7647 if (!SWIG_IsOK(ecode7
)) {
7648 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7650 arg7
= static_cast< long >(val7
);
7654 arg8
= wxString_in_helper(obj7
);
7655 if (arg8
== NULL
) SWIG_fail
;
7660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7661 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7662 wxPyEndAllowThreads(__tstate
);
7663 if (PyErr_Occurred()) SWIG_fail
;
7666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7690 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7691 PyObject
*resultobj
= 0;
7692 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7693 SwigValueWrapper
<wxVisualAttributes
> result
;
7696 PyObject
* obj0
= 0 ;
7697 char * kwnames
[] = {
7698 (char *) "variant", NULL
7701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7703 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7704 if (!SWIG_IsOK(ecode1
)) {
7705 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7707 arg1
= static_cast< wxWindowVariant
>(val1
);
7710 if (!wxPyCheckForApp()) SWIG_fail
;
7711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7712 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7713 wxPyEndAllowThreads(__tstate
);
7714 if (PyErr_Occurred()) SWIG_fail
;
7716 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7723 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7725 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7726 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7727 return SWIG_Py_Void();
7730 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7731 return SWIG_Python_InitShadowInstance(args
);
7734 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7735 PyObject
*resultobj
= 0;
7736 wxWindow
*arg1
= (wxWindow
*) 0 ;
7737 int arg2
= (int) -1 ;
7738 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7739 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7740 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7741 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7742 long arg5
= (long) wxLI_HORIZONTAL
;
7743 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7744 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7745 wxStaticLine
*result
= 0 ;
7754 bool temp6
= false ;
7755 PyObject
* obj0
= 0 ;
7756 PyObject
* obj1
= 0 ;
7757 PyObject
* obj2
= 0 ;
7758 PyObject
* obj3
= 0 ;
7759 PyObject
* obj4
= 0 ;
7760 PyObject
* obj5
= 0 ;
7761 char * kwnames
[] = {
7762 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7767 if (!SWIG_IsOK(res1
)) {
7768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7770 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7772 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7773 if (!SWIG_IsOK(ecode2
)) {
7774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7776 arg2
= static_cast< int >(val2
);
7781 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7787 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7791 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7792 if (!SWIG_IsOK(ecode5
)) {
7793 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7795 arg5
= static_cast< long >(val5
);
7799 arg6
= wxString_in_helper(obj5
);
7800 if (arg6
== NULL
) SWIG_fail
;
7805 if (!wxPyCheckForApp()) SWIG_fail
;
7806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7807 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7808 wxPyEndAllowThreads(__tstate
);
7809 if (PyErr_Occurred()) SWIG_fail
;
7811 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7826 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7827 PyObject
*resultobj
= 0;
7828 wxStaticLine
*result
= 0 ;
7830 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7832 if (!wxPyCheckForApp()) SWIG_fail
;
7833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7834 result
= (wxStaticLine
*)new wxStaticLine();
7835 wxPyEndAllowThreads(__tstate
);
7836 if (PyErr_Occurred()) SWIG_fail
;
7838 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7845 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
*resultobj
= 0;
7847 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7848 wxWindow
*arg2
= (wxWindow
*) 0 ;
7849 int arg3
= (int) -1 ;
7850 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7851 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7852 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7853 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7854 long arg6
= (long) wxLI_HORIZONTAL
;
7855 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7856 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7868 bool temp7
= false ;
7869 PyObject
* obj0
= 0 ;
7870 PyObject
* obj1
= 0 ;
7871 PyObject
* obj2
= 0 ;
7872 PyObject
* obj3
= 0 ;
7873 PyObject
* obj4
= 0 ;
7874 PyObject
* obj5
= 0 ;
7875 PyObject
* obj6
= 0 ;
7876 char * kwnames
[] = {
7877 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7882 if (!SWIG_IsOK(res1
)) {
7883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7885 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7886 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7887 if (!SWIG_IsOK(res2
)) {
7888 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7890 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7892 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7893 if (!SWIG_IsOK(ecode3
)) {
7894 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7896 arg3
= static_cast< int >(val3
);
7901 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7907 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7911 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7912 if (!SWIG_IsOK(ecode6
)) {
7913 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7915 arg6
= static_cast< long >(val6
);
7919 arg7
= wxString_in_helper(obj6
);
7920 if (arg7
== NULL
) SWIG_fail
;
7925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7926 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7927 wxPyEndAllowThreads(__tstate
);
7928 if (PyErr_Occurred()) SWIG_fail
;
7931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7947 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7948 PyObject
*resultobj
= 0;
7949 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7953 PyObject
*swig_obj
[1] ;
7955 if (!args
) SWIG_fail
;
7957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7958 if (!SWIG_IsOK(res1
)) {
7959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7961 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7964 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7965 wxPyEndAllowThreads(__tstate
);
7966 if (PyErr_Occurred()) SWIG_fail
;
7969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7977 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7978 PyObject
*resultobj
= 0;
7981 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
7983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7984 result
= (int)wxStaticLine::GetDefaultSize();
7985 wxPyEndAllowThreads(__tstate
);
7986 if (PyErr_Occurred()) SWIG_fail
;
7988 resultobj
= SWIG_From_int(static_cast< int >(result
));
7995 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7996 PyObject
*resultobj
= 0;
7997 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7998 SwigValueWrapper
<wxVisualAttributes
> result
;
8001 PyObject
* obj0
= 0 ;
8002 char * kwnames
[] = {
8003 (char *) "variant", NULL
8006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8008 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8009 if (!SWIG_IsOK(ecode1
)) {
8010 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8012 arg1
= static_cast< wxWindowVariant
>(val1
);
8015 if (!wxPyCheckForApp()) SWIG_fail
;
8016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8017 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8018 wxPyEndAllowThreads(__tstate
);
8019 if (PyErr_Occurred()) SWIG_fail
;
8021 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8028 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8030 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8031 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8032 return SWIG_Py_Void();
8035 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8036 return SWIG_Python_InitShadowInstance(args
);
8039 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8040 PyObject
*resultobj
= 0;
8041 wxWindow
*arg1
= (wxWindow
*) 0 ;
8042 int arg2
= (int) -1 ;
8043 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8044 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8045 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8046 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8047 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8048 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8049 long arg6
= (long) 0 ;
8050 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8051 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8052 wxStaticText
*result
= 0 ;
8057 bool temp3
= false ;
8062 bool temp7
= false ;
8063 PyObject
* obj0
= 0 ;
8064 PyObject
* obj1
= 0 ;
8065 PyObject
* obj2
= 0 ;
8066 PyObject
* obj3
= 0 ;
8067 PyObject
* obj4
= 0 ;
8068 PyObject
* obj5
= 0 ;
8069 PyObject
* obj6
= 0 ;
8070 char * kwnames
[] = {
8071 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8076 if (!SWIG_IsOK(res1
)) {
8077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8079 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8082 if (!SWIG_IsOK(ecode2
)) {
8083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8085 arg2
= static_cast< int >(val2
);
8089 arg3
= wxString_in_helper(obj2
);
8090 if (arg3
== NULL
) SWIG_fail
;
8097 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8103 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8107 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8108 if (!SWIG_IsOK(ecode6
)) {
8109 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8111 arg6
= static_cast< long >(val6
);
8115 arg7
= wxString_in_helper(obj6
);
8116 if (arg7
== NULL
) SWIG_fail
;
8121 if (!wxPyCheckForApp()) SWIG_fail
;
8122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8123 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8124 wxPyEndAllowThreads(__tstate
);
8125 if (PyErr_Occurred()) SWIG_fail
;
8127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8150 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8151 PyObject
*resultobj
= 0;
8152 wxStaticText
*result
= 0 ;
8154 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8156 if (!wxPyCheckForApp()) SWIG_fail
;
8157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8158 result
= (wxStaticText
*)new wxStaticText();
8159 wxPyEndAllowThreads(__tstate
);
8160 if (PyErr_Occurred()) SWIG_fail
;
8162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8169 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8170 PyObject
*resultobj
= 0;
8171 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8172 wxWindow
*arg2
= (wxWindow
*) 0 ;
8173 int arg3
= (int) -1 ;
8174 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8175 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8176 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8177 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8178 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8179 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8180 long arg7
= (long) 0 ;
8181 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8182 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8190 bool temp4
= false ;
8195 bool temp8
= false ;
8196 PyObject
* obj0
= 0 ;
8197 PyObject
* obj1
= 0 ;
8198 PyObject
* obj2
= 0 ;
8199 PyObject
* obj3
= 0 ;
8200 PyObject
* obj4
= 0 ;
8201 PyObject
* obj5
= 0 ;
8202 PyObject
* obj6
= 0 ;
8203 PyObject
* obj7
= 0 ;
8204 char * kwnames
[] = {
8205 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8210 if (!SWIG_IsOK(res1
)) {
8211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8213 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8214 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8215 if (!SWIG_IsOK(res2
)) {
8216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8218 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8220 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8221 if (!SWIG_IsOK(ecode3
)) {
8222 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8224 arg3
= static_cast< int >(val3
);
8228 arg4
= wxString_in_helper(obj3
);
8229 if (arg4
== NULL
) SWIG_fail
;
8236 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8242 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8246 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8247 if (!SWIG_IsOK(ecode7
)) {
8248 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8250 arg7
= static_cast< long >(val7
);
8254 arg8
= wxString_in_helper(obj7
);
8255 if (arg8
== NULL
) SWIG_fail
;
8260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8261 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8262 wxPyEndAllowThreads(__tstate
);
8263 if (PyErr_Occurred()) SWIG_fail
;
8266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8290 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8291 PyObject
*resultobj
= 0;
8292 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8298 PyObject
* obj0
= 0 ;
8299 PyObject
* obj1
= 0 ;
8300 char * kwnames
[] = {
8301 (char *) "self",(char *) "width", NULL
8304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8306 if (!SWIG_IsOK(res1
)) {
8307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8309 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8310 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8311 if (!SWIG_IsOK(ecode2
)) {
8312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8314 arg2
= static_cast< int >(val2
);
8316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8318 wxPyEndAllowThreads(__tstate
);
8319 if (PyErr_Occurred()) SWIG_fail
;
8321 resultobj
= SWIG_Py_Void();
8328 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8329 PyObject
*resultobj
= 0;
8330 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8331 SwigValueWrapper
<wxVisualAttributes
> result
;
8334 PyObject
* obj0
= 0 ;
8335 char * kwnames
[] = {
8336 (char *) "variant", NULL
8339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8341 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8342 if (!SWIG_IsOK(ecode1
)) {
8343 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8345 arg1
= static_cast< wxWindowVariant
>(val1
);
8348 if (!wxPyCheckForApp()) SWIG_fail
;
8349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8350 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8351 wxPyEndAllowThreads(__tstate
);
8352 if (PyErr_Occurred()) SWIG_fail
;
8354 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8361 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8363 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8364 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8365 return SWIG_Py_Void();
8368 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8369 return SWIG_Python_InitShadowInstance(args
);
8372 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8373 PyObject
*resultobj
= 0;
8374 wxWindow
*arg1
= (wxWindow
*) 0 ;
8375 int arg2
= (int) -1 ;
8376 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8377 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8378 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8379 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8380 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8381 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8382 long arg6
= (long) 0 ;
8383 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8384 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8385 wxStaticBitmap
*result
= 0 ;
8396 bool temp7
= false ;
8397 PyObject
* obj0
= 0 ;
8398 PyObject
* obj1
= 0 ;
8399 PyObject
* obj2
= 0 ;
8400 PyObject
* obj3
= 0 ;
8401 PyObject
* obj4
= 0 ;
8402 PyObject
* obj5
= 0 ;
8403 PyObject
* obj6
= 0 ;
8404 char * kwnames
[] = {
8405 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8410 if (!SWIG_IsOK(res1
)) {
8411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8413 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8416 if (!SWIG_IsOK(ecode2
)) {
8417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8419 arg2
= static_cast< int >(val2
);
8422 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8423 if (!SWIG_IsOK(res3
)) {
8424 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8427 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8429 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8434 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8440 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8444 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8445 if (!SWIG_IsOK(ecode6
)) {
8446 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8448 arg6
= static_cast< long >(val6
);
8452 arg7
= wxString_in_helper(obj6
);
8453 if (arg7
== NULL
) SWIG_fail
;
8458 if (!wxPyCheckForApp()) SWIG_fail
;
8459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8460 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8461 wxPyEndAllowThreads(__tstate
);
8462 if (PyErr_Occurred()) SWIG_fail
;
8464 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8479 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8480 PyObject
*resultobj
= 0;
8481 wxStaticBitmap
*result
= 0 ;
8483 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8485 if (!wxPyCheckForApp()) SWIG_fail
;
8486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8487 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8488 wxPyEndAllowThreads(__tstate
);
8489 if (PyErr_Occurred()) SWIG_fail
;
8491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8498 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8499 PyObject
*resultobj
= 0;
8500 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8501 wxWindow
*arg2
= (wxWindow
*) 0 ;
8502 int arg3
= (int) -1 ;
8503 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8504 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8505 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8506 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8507 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8508 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8509 long arg7
= (long) 0 ;
8510 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8511 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8525 bool temp8
= false ;
8526 PyObject
* obj0
= 0 ;
8527 PyObject
* obj1
= 0 ;
8528 PyObject
* obj2
= 0 ;
8529 PyObject
* obj3
= 0 ;
8530 PyObject
* obj4
= 0 ;
8531 PyObject
* obj5
= 0 ;
8532 PyObject
* obj6
= 0 ;
8533 PyObject
* obj7
= 0 ;
8534 char * kwnames
[] = {
8535 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8540 if (!SWIG_IsOK(res1
)) {
8541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8543 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8544 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8545 if (!SWIG_IsOK(res2
)) {
8546 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8548 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8550 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8551 if (!SWIG_IsOK(ecode3
)) {
8552 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8554 arg3
= static_cast< int >(val3
);
8557 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8558 if (!SWIG_IsOK(res4
)) {
8559 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8562 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8564 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8569 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8575 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8579 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8580 if (!SWIG_IsOK(ecode7
)) {
8581 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8583 arg7
= static_cast< long >(val7
);
8587 arg8
= wxString_in_helper(obj7
);
8588 if (arg8
== NULL
) SWIG_fail
;
8593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8594 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8595 wxPyEndAllowThreads(__tstate
);
8596 if (PyErr_Occurred()) SWIG_fail
;
8599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8615 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8616 PyObject
*resultobj
= 0;
8617 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8621 PyObject
*swig_obj
[1] ;
8623 if (!args
) SWIG_fail
;
8625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8626 if (!SWIG_IsOK(res1
)) {
8627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8629 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8632 result
= (arg1
)->GetBitmap();
8633 wxPyEndAllowThreads(__tstate
);
8634 if (PyErr_Occurred()) SWIG_fail
;
8636 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8643 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8644 PyObject
*resultobj
= 0;
8645 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8646 wxBitmap
*arg2
= 0 ;
8651 PyObject
* obj0
= 0 ;
8652 PyObject
* obj1
= 0 ;
8653 char * kwnames
[] = {
8654 (char *) "self",(char *) "bitmap", NULL
8657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8659 if (!SWIG_IsOK(res1
)) {
8660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8662 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8663 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8664 if (!SWIG_IsOK(res2
)) {
8665 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8668 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8670 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8673 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8674 wxPyEndAllowThreads(__tstate
);
8675 if (PyErr_Occurred()) SWIG_fail
;
8677 resultobj
= SWIG_Py_Void();
8684 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8685 PyObject
*resultobj
= 0;
8686 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8692 PyObject
* obj0
= 0 ;
8693 PyObject
* obj1
= 0 ;
8694 char * kwnames
[] = {
8695 (char *) "self",(char *) "icon", NULL
8698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8700 if (!SWIG_IsOK(res1
)) {
8701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8703 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8704 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8705 if (!SWIG_IsOK(res2
)) {
8706 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8709 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8711 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8714 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8715 wxPyEndAllowThreads(__tstate
);
8716 if (PyErr_Occurred()) SWIG_fail
;
8718 resultobj
= SWIG_Py_Void();
8725 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8726 PyObject
*resultobj
= 0;
8727 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8728 SwigValueWrapper
<wxVisualAttributes
> result
;
8731 PyObject
* obj0
= 0 ;
8732 char * kwnames
[] = {
8733 (char *) "variant", NULL
8736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8738 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8739 if (!SWIG_IsOK(ecode1
)) {
8740 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8742 arg1
= static_cast< wxWindowVariant
>(val1
);
8745 if (!wxPyCheckForApp()) SWIG_fail
;
8746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8747 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8748 wxPyEndAllowThreads(__tstate
);
8749 if (PyErr_Occurred()) SWIG_fail
;
8751 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8758 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8760 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8761 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8762 return SWIG_Py_Void();
8765 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8766 return SWIG_Python_InitShadowInstance(args
);
8769 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8770 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8775 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8776 PyObject
*pyobj
= 0;
8780 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8782 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8789 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8790 PyObject
*resultobj
= 0;
8791 wxWindow
*arg1
= (wxWindow
*) 0 ;
8792 int arg2
= (int) -1 ;
8793 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8794 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8795 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8796 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8797 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8798 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8799 long arg6
= (long) 0 ;
8800 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8801 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8802 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8803 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8804 wxListBox
*result
= 0 ;
8811 bool temp5
= false ;
8816 bool temp8
= false ;
8817 PyObject
* obj0
= 0 ;
8818 PyObject
* obj1
= 0 ;
8819 PyObject
* obj2
= 0 ;
8820 PyObject
* obj3
= 0 ;
8821 PyObject
* obj4
= 0 ;
8822 PyObject
* obj5
= 0 ;
8823 PyObject
* obj6
= 0 ;
8824 PyObject
* obj7
= 0 ;
8825 char * kwnames
[] = {
8826 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8831 if (!SWIG_IsOK(res1
)) {
8832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8834 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8836 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8837 if (!SWIG_IsOK(ecode2
)) {
8838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8840 arg2
= static_cast< int >(val2
);
8845 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8851 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8856 if (! PySequence_Check(obj4
)) {
8857 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8860 arg5
= new wxArrayString
;
8862 int i
, len
=PySequence_Length(obj4
);
8863 for (i
=0; i
<len
; i
++) {
8864 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8865 wxString
* s
= wxString_in_helper(item
);
8866 if (PyErr_Occurred()) SWIG_fail
;
8874 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8875 if (!SWIG_IsOK(ecode6
)) {
8876 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8878 arg6
= static_cast< long >(val6
);
8881 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8882 if (!SWIG_IsOK(res7
)) {
8883 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8886 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8888 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8892 arg8
= wxString_in_helper(obj7
);
8893 if (arg8
== NULL
) SWIG_fail
;
8898 if (!wxPyCheckForApp()) SWIG_fail
;
8899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8900 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8901 wxPyEndAllowThreads(__tstate
);
8902 if (PyErr_Occurred()) SWIG_fail
;
8904 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8906 if (temp5
) delete arg5
;
8915 if (temp5
) delete arg5
;
8925 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8926 PyObject
*resultobj
= 0;
8927 wxListBox
*result
= 0 ;
8929 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8931 if (!wxPyCheckForApp()) SWIG_fail
;
8932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8933 result
= (wxListBox
*)new wxListBox();
8934 wxPyEndAllowThreads(__tstate
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8944 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8945 PyObject
*resultobj
= 0;
8946 wxListBox
*arg1
= (wxListBox
*) 0 ;
8947 wxWindow
*arg2
= (wxWindow
*) 0 ;
8948 int arg3
= (int) -1 ;
8949 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8950 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8951 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8952 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8953 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8954 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8955 long arg7
= (long) 0 ;
8956 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8957 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8958 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8959 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8969 bool temp6
= false ;
8974 bool temp9
= false ;
8975 PyObject
* obj0
= 0 ;
8976 PyObject
* obj1
= 0 ;
8977 PyObject
* obj2
= 0 ;
8978 PyObject
* obj3
= 0 ;
8979 PyObject
* obj4
= 0 ;
8980 PyObject
* obj5
= 0 ;
8981 PyObject
* obj6
= 0 ;
8982 PyObject
* obj7
= 0 ;
8983 PyObject
* obj8
= 0 ;
8984 char * kwnames
[] = {
8985 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
8989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
8990 if (!SWIG_IsOK(res1
)) {
8991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
8993 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
8994 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8995 if (!SWIG_IsOK(res2
)) {
8996 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8998 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9000 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9001 if (!SWIG_IsOK(ecode3
)) {
9002 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9004 arg3
= static_cast< int >(val3
);
9009 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9015 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9020 if (! PySequence_Check(obj5
)) {
9021 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9024 arg6
= new wxArrayString
;
9026 int i
, len
=PySequence_Length(obj5
);
9027 for (i
=0; i
<len
; i
++) {
9028 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9029 wxString
* s
= wxString_in_helper(item
);
9030 if (PyErr_Occurred()) SWIG_fail
;
9038 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9039 if (!SWIG_IsOK(ecode7
)) {
9040 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9042 arg7
= static_cast< long >(val7
);
9045 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9046 if (!SWIG_IsOK(res8
)) {
9047 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9052 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9056 arg9
= wxString_in_helper(obj8
);
9057 if (arg9
== NULL
) SWIG_fail
;
9062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9063 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9064 wxPyEndAllowThreads(__tstate
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9071 if (temp6
) delete arg6
;
9080 if (temp6
) delete arg6
;
9090 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9091 PyObject
*resultobj
= 0;
9092 wxListBox
*arg1
= (wxListBox
*) 0 ;
9093 wxString
*arg2
= 0 ;
9095 PyObject
*arg4
= (PyObject
*) NULL
;
9098 bool temp2
= false ;
9101 PyObject
* obj0
= 0 ;
9102 PyObject
* obj1
= 0 ;
9103 PyObject
* obj2
= 0 ;
9104 PyObject
* obj3
= 0 ;
9105 char * kwnames
[] = {
9106 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9111 if (!SWIG_IsOK(res1
)) {
9112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9114 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9116 arg2
= wxString_in_helper(obj1
);
9117 if (arg2
== NULL
) SWIG_fail
;
9120 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9121 if (!SWIG_IsOK(ecode3
)) {
9122 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9124 arg3
= static_cast< int >(val3
);
9129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9130 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9131 wxPyEndAllowThreads(__tstate
);
9132 if (PyErr_Occurred()) SWIG_fail
;
9134 resultobj
= SWIG_Py_Void();
9149 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9150 PyObject
*resultobj
= 0;
9151 wxListBox
*arg1
= (wxListBox
*) 0 ;
9152 wxArrayString
*arg2
= 0 ;
9156 bool temp2
= false ;
9159 PyObject
* obj0
= 0 ;
9160 PyObject
* obj1
= 0 ;
9161 PyObject
* obj2
= 0 ;
9162 char * kwnames
[] = {
9163 (char *) "self",(char *) "items",(char *) "pos", NULL
9166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9168 if (!SWIG_IsOK(res1
)) {
9169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9171 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9173 if (! PySequence_Check(obj1
)) {
9174 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9177 arg2
= new wxArrayString
;
9179 int i
, len
=PySequence_Length(obj1
);
9180 for (i
=0; i
<len
; i
++) {
9181 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9182 wxString
* s
= wxString_in_helper(item
);
9183 if (PyErr_Occurred()) SWIG_fail
;
9189 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9190 if (!SWIG_IsOK(ecode3
)) {
9191 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9193 arg3
= static_cast< unsigned int >(val3
);
9195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9196 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9197 wxPyEndAllowThreads(__tstate
);
9198 if (PyErr_Occurred()) SWIG_fail
;
9200 resultobj
= SWIG_Py_Void();
9202 if (temp2
) delete arg2
;
9207 if (temp2
) delete arg2
;
9213 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9214 PyObject
*resultobj
= 0;
9215 wxListBox
*arg1
= (wxListBox
*) 0 ;
9216 wxArrayString
*arg2
= 0 ;
9219 bool temp2
= false ;
9220 PyObject
* obj0
= 0 ;
9221 PyObject
* obj1
= 0 ;
9222 char * kwnames
[] = {
9223 (char *) "self",(char *) "items", NULL
9226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9228 if (!SWIG_IsOK(res1
)) {
9229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9231 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9233 if (! PySequence_Check(obj1
)) {
9234 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9237 arg2
= new wxArrayString
;
9239 int i
, len
=PySequence_Length(obj1
);
9240 for (i
=0; i
<len
; i
++) {
9241 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9242 wxString
* s
= wxString_in_helper(item
);
9243 if (PyErr_Occurred()) SWIG_fail
;
9250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9251 (arg1
)->Set((wxArrayString
const &)*arg2
);
9252 wxPyEndAllowThreads(__tstate
);
9253 if (PyErr_Occurred()) SWIG_fail
;
9255 resultobj
= SWIG_Py_Void();
9257 if (temp2
) delete arg2
;
9262 if (temp2
) delete arg2
;
9268 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9269 PyObject
*resultobj
= 0;
9270 wxListBox
*arg1
= (wxListBox
*) 0 ;
9277 PyObject
* obj0
= 0 ;
9278 PyObject
* obj1
= 0 ;
9279 char * kwnames
[] = {
9280 (char *) "self",(char *) "n", NULL
9283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9285 if (!SWIG_IsOK(res1
)) {
9286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9288 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9290 if (!SWIG_IsOK(ecode2
)) {
9291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9293 arg2
= static_cast< int >(val2
);
9295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9296 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9297 wxPyEndAllowThreads(__tstate
);
9298 if (PyErr_Occurred()) SWIG_fail
;
9301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9309 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9310 PyObject
*resultobj
= 0;
9311 wxListBox
*arg1
= (wxListBox
*) 0 ;
9313 bool arg3
= (bool) true ;
9320 PyObject
* obj0
= 0 ;
9321 PyObject
* obj1
= 0 ;
9322 PyObject
* obj2
= 0 ;
9323 char * kwnames
[] = {
9324 (char *) "self",(char *) "n",(char *) "select", NULL
9327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9329 if (!SWIG_IsOK(res1
)) {
9330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9332 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9333 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9334 if (!SWIG_IsOK(ecode2
)) {
9335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9337 arg2
= static_cast< int >(val2
);
9339 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9340 if (!SWIG_IsOK(ecode3
)) {
9341 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9343 arg3
= static_cast< bool >(val3
);
9346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9347 (arg1
)->SetSelection(arg2
,arg3
);
9348 wxPyEndAllowThreads(__tstate
);
9349 if (PyErr_Occurred()) SWIG_fail
;
9351 resultobj
= SWIG_Py_Void();
9358 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9359 PyObject
*resultobj
= 0;
9360 wxListBox
*arg1
= (wxListBox
*) 0 ;
9366 PyObject
* obj0
= 0 ;
9367 PyObject
* obj1
= 0 ;
9368 char * kwnames
[] = {
9369 (char *) "self",(char *) "n", NULL
9372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9374 if (!SWIG_IsOK(res1
)) {
9375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9377 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9379 if (!SWIG_IsOK(ecode2
)) {
9380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9382 arg2
= static_cast< int >(val2
);
9384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9385 (arg1
)->Select(arg2
);
9386 wxPyEndAllowThreads(__tstate
);
9387 if (PyErr_Occurred()) SWIG_fail
;
9389 resultobj
= SWIG_Py_Void();
9396 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9397 PyObject
*resultobj
= 0;
9398 wxListBox
*arg1
= (wxListBox
*) 0 ;
9404 PyObject
* obj0
= 0 ;
9405 PyObject
* obj1
= 0 ;
9406 char * kwnames
[] = {
9407 (char *) "self",(char *) "n", NULL
9410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9412 if (!SWIG_IsOK(res1
)) {
9413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9415 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9416 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9417 if (!SWIG_IsOK(ecode2
)) {
9418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9420 arg2
= static_cast< int >(val2
);
9422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9423 (arg1
)->Deselect(arg2
);
9424 wxPyEndAllowThreads(__tstate
);
9425 if (PyErr_Occurred()) SWIG_fail
;
9427 resultobj
= SWIG_Py_Void();
9434 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9435 PyObject
*resultobj
= 0;
9436 wxListBox
*arg1
= (wxListBox
*) 0 ;
9437 int arg2
= (int) -1 ;
9442 PyObject
* obj0
= 0 ;
9443 PyObject
* obj1
= 0 ;
9444 char * kwnames
[] = {
9445 (char *) "self",(char *) "itemToLeaveSelected", NULL
9448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9450 if (!SWIG_IsOK(res1
)) {
9451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9453 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9456 if (!SWIG_IsOK(ecode2
)) {
9457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9459 arg2
= static_cast< int >(val2
);
9462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9463 (arg1
)->DeselectAll(arg2
);
9464 wxPyEndAllowThreads(__tstate
);
9465 if (PyErr_Occurred()) SWIG_fail
;
9467 resultobj
= SWIG_Py_Void();
9474 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9475 PyObject
*resultobj
= 0;
9476 wxListBox
*arg1
= (wxListBox
*) 0 ;
9477 wxString
*arg2
= 0 ;
9478 bool arg3
= (bool) true ;
9482 bool temp2
= false ;
9485 PyObject
* obj0
= 0 ;
9486 PyObject
* obj1
= 0 ;
9487 PyObject
* obj2
= 0 ;
9488 char * kwnames
[] = {
9489 (char *) "self",(char *) "s",(char *) "select", NULL
9492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9494 if (!SWIG_IsOK(res1
)) {
9495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9497 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9499 arg2
= wxString_in_helper(obj1
);
9500 if (arg2
== NULL
) SWIG_fail
;
9504 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9505 if (!SWIG_IsOK(ecode3
)) {
9506 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9508 arg3
= static_cast< bool >(val3
);
9511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9512 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9513 wxPyEndAllowThreads(__tstate
);
9514 if (PyErr_Occurred()) SWIG_fail
;
9517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9533 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9534 PyObject
*resultobj
= 0;
9535 wxListBox
*arg1
= (wxListBox
*) 0 ;
9536 PyObject
*result
= 0 ;
9539 PyObject
*swig_obj
[1] ;
9541 if (!args
) SWIG_fail
;
9543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9544 if (!SWIG_IsOK(res1
)) {
9545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9547 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9550 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9551 wxPyEndAllowThreads(__tstate
);
9552 if (PyErr_Occurred()) SWIG_fail
;
9561 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9562 PyObject
*resultobj
= 0;
9563 wxListBox
*arg1
= (wxListBox
*) 0 ;
9569 PyObject
* obj0
= 0 ;
9570 PyObject
* obj1
= 0 ;
9571 char * kwnames
[] = {
9572 (char *) "self",(char *) "n", NULL
9575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9577 if (!SWIG_IsOK(res1
)) {
9578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9580 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9582 if (!SWIG_IsOK(ecode2
)) {
9583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9585 arg2
= static_cast< int >(val2
);
9587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9588 (arg1
)->SetFirstItem(arg2
);
9589 wxPyEndAllowThreads(__tstate
);
9590 if (PyErr_Occurred()) SWIG_fail
;
9592 resultobj
= SWIG_Py_Void();
9599 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9600 PyObject
*resultobj
= 0;
9601 wxListBox
*arg1
= (wxListBox
*) 0 ;
9602 wxString
*arg2
= 0 ;
9605 bool temp2
= false ;
9606 PyObject
* obj0
= 0 ;
9607 PyObject
* obj1
= 0 ;
9608 char * kwnames
[] = {
9609 (char *) "self",(char *) "s", NULL
9612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9614 if (!SWIG_IsOK(res1
)) {
9615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9617 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9619 arg2
= wxString_in_helper(obj1
);
9620 if (arg2
== NULL
) SWIG_fail
;
9624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9625 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9626 wxPyEndAllowThreads(__tstate
);
9627 if (PyErr_Occurred()) SWIG_fail
;
9629 resultobj
= SWIG_Py_Void();
9644 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9645 PyObject
*resultobj
= 0;
9646 wxListBox
*arg1
= (wxListBox
*) 0 ;
9652 PyObject
* obj0
= 0 ;
9653 PyObject
* obj1
= 0 ;
9654 char * kwnames
[] = {
9655 (char *) "self",(char *) "n", NULL
9658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9660 if (!SWIG_IsOK(res1
)) {
9661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9663 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9665 if (!SWIG_IsOK(ecode2
)) {
9666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9668 arg2
= static_cast< int >(val2
);
9670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9671 (arg1
)->EnsureVisible(arg2
);
9672 wxPyEndAllowThreads(__tstate
);
9673 if (PyErr_Occurred()) SWIG_fail
;
9675 resultobj
= SWIG_Py_Void();
9682 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9683 PyObject
*resultobj
= 0;
9684 wxListBox
*arg1
= (wxListBox
*) 0 ;
9685 wxString
*arg2
= 0 ;
9688 bool temp2
= false ;
9689 PyObject
* obj0
= 0 ;
9690 PyObject
* obj1
= 0 ;
9691 char * kwnames
[] = {
9692 (char *) "self",(char *) "s", NULL
9695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9697 if (!SWIG_IsOK(res1
)) {
9698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9700 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9702 arg2
= wxString_in_helper(obj1
);
9703 if (arg2
== NULL
) SWIG_fail
;
9707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9708 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9709 wxPyEndAllowThreads(__tstate
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9712 resultobj
= SWIG_Py_Void();
9727 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9728 PyObject
*resultobj
= 0;
9729 wxListBox
*arg1
= (wxListBox
*) 0 ;
9733 PyObject
*swig_obj
[1] ;
9735 if (!args
) SWIG_fail
;
9737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9738 if (!SWIG_IsOK(res1
)) {
9739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9741 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9744 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9745 wxPyEndAllowThreads(__tstate
);
9746 if (PyErr_Occurred()) SWIG_fail
;
9749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9757 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9758 PyObject
*resultobj
= 0;
9759 wxListBox
*arg1
= (wxListBox
*) 0 ;
9765 PyObject
* obj0
= 0 ;
9766 PyObject
* obj1
= 0 ;
9767 char * kwnames
[] = {
9768 (char *) "self",(char *) "pt", NULL
9771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9773 if (!SWIG_IsOK(res1
)) {
9774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9776 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9779 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9783 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9784 wxPyEndAllowThreads(__tstate
);
9785 if (PyErr_Occurred()) SWIG_fail
;
9787 resultobj
= SWIG_From_int(static_cast< int >(result
));
9794 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9795 PyObject
*resultobj
= 0;
9796 wxListBox
*arg1
= (wxListBox
*) 0 ;
9798 wxColour
*arg3
= 0 ;
9804 PyObject
* obj0
= 0 ;
9805 PyObject
* obj1
= 0 ;
9806 PyObject
* obj2
= 0 ;
9807 char * kwnames
[] = {
9808 (char *) "self",(char *) "item",(char *) "c", NULL
9811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9813 if (!SWIG_IsOK(res1
)) {
9814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9816 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9817 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9818 if (!SWIG_IsOK(ecode2
)) {
9819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9821 arg2
= static_cast< int >(val2
);
9824 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9828 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9829 wxPyEndAllowThreads(__tstate
);
9830 if (PyErr_Occurred()) SWIG_fail
;
9832 resultobj
= SWIG_Py_Void();
9839 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9840 PyObject
*resultobj
= 0;
9841 wxListBox
*arg1
= (wxListBox
*) 0 ;
9843 wxColour
*arg3
= 0 ;
9849 PyObject
* obj0
= 0 ;
9850 PyObject
* obj1
= 0 ;
9851 PyObject
* obj2
= 0 ;
9852 char * kwnames
[] = {
9853 (char *) "self",(char *) "item",(char *) "c", NULL
9856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9858 if (!SWIG_IsOK(res1
)) {
9859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9861 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9863 if (!SWIG_IsOK(ecode2
)) {
9864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9866 arg2
= static_cast< int >(val2
);
9869 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9873 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9874 wxPyEndAllowThreads(__tstate
);
9875 if (PyErr_Occurred()) SWIG_fail
;
9877 resultobj
= SWIG_Py_Void();
9884 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9885 PyObject
*resultobj
= 0;
9886 wxListBox
*arg1
= (wxListBox
*) 0 ;
9895 PyObject
* obj0
= 0 ;
9896 PyObject
* obj1
= 0 ;
9897 PyObject
* obj2
= 0 ;
9898 char * kwnames
[] = {
9899 (char *) "self",(char *) "item",(char *) "f", NULL
9902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9904 if (!SWIG_IsOK(res1
)) {
9905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9907 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9909 if (!SWIG_IsOK(ecode2
)) {
9910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9912 arg2
= static_cast< int >(val2
);
9913 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9914 if (!SWIG_IsOK(res3
)) {
9915 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9918 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9920 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9923 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9924 wxPyEndAllowThreads(__tstate
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9927 resultobj
= SWIG_Py_Void();
9934 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9935 PyObject
*resultobj
= 0;
9936 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9937 SwigValueWrapper
<wxVisualAttributes
> result
;
9940 PyObject
* obj0
= 0 ;
9941 char * kwnames
[] = {
9942 (char *) "variant", NULL
9945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9947 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9948 if (!SWIG_IsOK(ecode1
)) {
9949 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9951 arg1
= static_cast< wxWindowVariant
>(val1
);
9954 if (!wxPyCheckForApp()) SWIG_fail
;
9955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9956 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9957 wxPyEndAllowThreads(__tstate
);
9958 if (PyErr_Occurred()) SWIG_fail
;
9960 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9967 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9969 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9970 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9971 return SWIG_Py_Void();
9974 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9975 return SWIG_Python_InitShadowInstance(args
);
9978 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9979 PyObject
*resultobj
= 0;
9980 wxWindow
*arg1
= (wxWindow
*) 0 ;
9981 int arg2
= (int) -1 ;
9982 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9983 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9984 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9985 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9986 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
9987 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
9988 long arg6
= (long) 0 ;
9989 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9990 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9991 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
9992 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9993 wxCheckListBox
*result
= 0 ;
10000 bool temp5
= false ;
10005 bool temp8
= false ;
10006 PyObject
* obj0
= 0 ;
10007 PyObject
* obj1
= 0 ;
10008 PyObject
* obj2
= 0 ;
10009 PyObject
* obj3
= 0 ;
10010 PyObject
* obj4
= 0 ;
10011 PyObject
* obj5
= 0 ;
10012 PyObject
* obj6
= 0 ;
10013 PyObject
* obj7
= 0 ;
10014 char * kwnames
[] = {
10015 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10020 if (!SWIG_IsOK(res1
)) {
10021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10023 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10025 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10026 if (!SWIG_IsOK(ecode2
)) {
10027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10029 arg2
= static_cast< int >(val2
);
10034 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10040 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10045 if (! PySequence_Check(obj4
)) {
10046 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10049 arg5
= new wxArrayString
;
10051 int i
, len
=PySequence_Length(obj4
);
10052 for (i
=0; i
<len
; i
++) {
10053 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10054 wxString
* s
= wxString_in_helper(item
);
10055 if (PyErr_Occurred()) SWIG_fail
;
10063 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10064 if (!SWIG_IsOK(ecode6
)) {
10065 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10067 arg6
= static_cast< long >(val6
);
10070 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10071 if (!SWIG_IsOK(res7
)) {
10072 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10075 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10077 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10081 arg8
= wxString_in_helper(obj7
);
10082 if (arg8
== NULL
) SWIG_fail
;
10087 if (!wxPyCheckForApp()) SWIG_fail
;
10088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10089 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10090 wxPyEndAllowThreads(__tstate
);
10091 if (PyErr_Occurred()) SWIG_fail
;
10093 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10095 if (temp5
) delete arg5
;
10104 if (temp5
) delete arg5
;
10114 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10115 PyObject
*resultobj
= 0;
10116 wxCheckListBox
*result
= 0 ;
10118 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10120 if (!wxPyCheckForApp()) SWIG_fail
;
10121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10122 result
= (wxCheckListBox
*)new wxCheckListBox();
10123 wxPyEndAllowThreads(__tstate
);
10124 if (PyErr_Occurred()) SWIG_fail
;
10126 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10133 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10134 PyObject
*resultobj
= 0;
10135 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10136 wxWindow
*arg2
= (wxWindow
*) 0 ;
10137 int arg3
= (int) -1 ;
10138 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10139 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10140 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10141 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10142 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10143 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10144 long arg7
= (long) 0 ;
10145 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10146 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10147 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10148 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10158 bool temp6
= false ;
10163 bool temp9
= false ;
10164 PyObject
* obj0
= 0 ;
10165 PyObject
* obj1
= 0 ;
10166 PyObject
* obj2
= 0 ;
10167 PyObject
* obj3
= 0 ;
10168 PyObject
* obj4
= 0 ;
10169 PyObject
* obj5
= 0 ;
10170 PyObject
* obj6
= 0 ;
10171 PyObject
* obj7
= 0 ;
10172 PyObject
* obj8
= 0 ;
10173 char * kwnames
[] = {
10174 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10179 if (!SWIG_IsOK(res1
)) {
10180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10182 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10183 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10184 if (!SWIG_IsOK(res2
)) {
10185 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10187 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10189 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10190 if (!SWIG_IsOK(ecode3
)) {
10191 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10193 arg3
= static_cast< int >(val3
);
10198 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10204 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10209 if (! PySequence_Check(obj5
)) {
10210 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10213 arg6
= new wxArrayString
;
10215 int i
, len
=PySequence_Length(obj5
);
10216 for (i
=0; i
<len
; i
++) {
10217 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10218 wxString
* s
= wxString_in_helper(item
);
10219 if (PyErr_Occurred()) SWIG_fail
;
10227 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10228 if (!SWIG_IsOK(ecode7
)) {
10229 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10231 arg7
= static_cast< long >(val7
);
10234 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10235 if (!SWIG_IsOK(res8
)) {
10236 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10239 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10241 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10245 arg9
= wxString_in_helper(obj8
);
10246 if (arg9
== NULL
) SWIG_fail
;
10251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10252 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10253 wxPyEndAllowThreads(__tstate
);
10254 if (PyErr_Occurred()) SWIG_fail
;
10257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10260 if (temp6
) delete arg6
;
10269 if (temp6
) delete arg6
;
10279 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10280 PyObject
*resultobj
= 0;
10281 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10282 unsigned int arg2
;
10286 unsigned int val2
;
10288 PyObject
* obj0
= 0 ;
10289 PyObject
* obj1
= 0 ;
10290 char * kwnames
[] = {
10291 (char *) "self",(char *) "index", NULL
10294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10296 if (!SWIG_IsOK(res1
)) {
10297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10299 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10300 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10301 if (!SWIG_IsOK(ecode2
)) {
10302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10304 arg2
= static_cast< unsigned int >(val2
);
10306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10307 result
= (bool)(arg1
)->IsChecked(arg2
);
10308 wxPyEndAllowThreads(__tstate
);
10309 if (PyErr_Occurred()) SWIG_fail
;
10312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10320 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10321 PyObject
*resultobj
= 0;
10322 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10323 unsigned int arg2
;
10324 int arg3
= (int) true ;
10327 unsigned int val2
;
10331 PyObject
* obj0
= 0 ;
10332 PyObject
* obj1
= 0 ;
10333 PyObject
* obj2
= 0 ;
10334 char * kwnames
[] = {
10335 (char *) "self",(char *) "index",(char *) "check", NULL
10338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10340 if (!SWIG_IsOK(res1
)) {
10341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10343 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10344 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10345 if (!SWIG_IsOK(ecode2
)) {
10346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10348 arg2
= static_cast< unsigned int >(val2
);
10350 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10351 if (!SWIG_IsOK(ecode3
)) {
10352 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10354 arg3
= static_cast< int >(val3
);
10357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10358 (arg1
)->Check(arg2
,arg3
);
10359 wxPyEndAllowThreads(__tstate
);
10360 if (PyErr_Occurred()) SWIG_fail
;
10362 resultobj
= SWIG_Py_Void();
10369 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10370 PyObject
*resultobj
= 0;
10371 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10375 PyObject
*swig_obj
[1] ;
10377 if (!args
) SWIG_fail
;
10378 swig_obj
[0] = args
;
10379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10380 if (!SWIG_IsOK(res1
)) {
10381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10383 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10386 result
= (int)(arg1
)->GetItemHeight();
10387 wxPyEndAllowThreads(__tstate
);
10388 if (PyErr_Occurred()) SWIG_fail
;
10390 resultobj
= SWIG_From_int(static_cast< int >(result
));
10397 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10399 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10400 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10401 return SWIG_Py_Void();
10404 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10405 return SWIG_Python_InitShadowInstance(args
);
10408 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10409 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10414 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10415 PyObject
*pyobj
= 0;
10419 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10421 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10428 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10429 PyObject
*resultobj
= 0;
10430 wxColour
const &arg1_defvalue
= wxNullColour
;
10431 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10432 wxColour
const &arg2_defvalue
= wxNullColour
;
10433 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10434 wxFont
const &arg3_defvalue
= wxNullFont
;
10435 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10436 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10437 wxTextAttr
*result
= 0 ;
10444 PyObject
* obj0
= 0 ;
10445 PyObject
* obj1
= 0 ;
10446 PyObject
* obj2
= 0 ;
10447 PyObject
* obj3
= 0 ;
10448 char * kwnames
[] = {
10449 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10456 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10462 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10466 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10467 if (!SWIG_IsOK(res3
)) {
10468 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10471 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10473 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10476 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10477 if (!SWIG_IsOK(ecode4
)) {
10478 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10480 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10484 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10485 wxPyEndAllowThreads(__tstate
);
10486 if (PyErr_Occurred()) SWIG_fail
;
10488 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10495 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10496 PyObject
*resultobj
= 0;
10497 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10500 PyObject
*swig_obj
[1] ;
10502 if (!args
) SWIG_fail
;
10503 swig_obj
[0] = args
;
10504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10505 if (!SWIG_IsOK(res1
)) {
10506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10508 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10513 wxPyEndAllowThreads(__tstate
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10516 resultobj
= SWIG_Py_Void();
10523 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10524 PyObject
*resultobj
= 0;
10525 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10528 PyObject
*swig_obj
[1] ;
10530 if (!args
) SWIG_fail
;
10531 swig_obj
[0] = args
;
10532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10533 if (!SWIG_IsOK(res1
)) {
10534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10536 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10540 wxPyEndAllowThreads(__tstate
);
10541 if (PyErr_Occurred()) SWIG_fail
;
10543 resultobj
= SWIG_Py_Void();
10550 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10551 PyObject
*resultobj
= 0;
10552 wxTextAttr
*arg1
= 0 ;
10553 wxTextAttr
*arg2
= 0 ;
10559 PyObject
* obj0
= 0 ;
10560 PyObject
* obj1
= 0 ;
10561 char * kwnames
[] = {
10562 (char *) "base",(char *) "overlay", NULL
10565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10566 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10567 if (!SWIG_IsOK(res1
)) {
10568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10571 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10573 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10574 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10575 if (!SWIG_IsOK(res2
)) {
10576 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10579 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10581 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10584 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10585 wxPyEndAllowThreads(__tstate
);
10586 if (PyErr_Occurred()) SWIG_fail
;
10588 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10595 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10596 PyObject
*resultobj
= 0;
10597 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10598 wxColour
*arg2
= 0 ;
10602 PyObject
* obj0
= 0 ;
10603 PyObject
* obj1
= 0 ;
10604 char * kwnames
[] = {
10605 (char *) "self",(char *) "colText", NULL
10608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10610 if (!SWIG_IsOK(res1
)) {
10611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10613 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10616 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10620 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10621 wxPyEndAllowThreads(__tstate
);
10622 if (PyErr_Occurred()) SWIG_fail
;
10624 resultobj
= SWIG_Py_Void();
10631 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10632 PyObject
*resultobj
= 0;
10633 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10634 wxColour
*arg2
= 0 ;
10638 PyObject
* obj0
= 0 ;
10639 PyObject
* obj1
= 0 ;
10640 char * kwnames
[] = {
10641 (char *) "self",(char *) "colBack", NULL
10644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10646 if (!SWIG_IsOK(res1
)) {
10647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10649 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10652 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10656 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10657 wxPyEndAllowThreads(__tstate
);
10658 if (PyErr_Occurred()) SWIG_fail
;
10660 resultobj
= SWIG_Py_Void();
10667 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10668 PyObject
*resultobj
= 0;
10669 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10671 long arg3
= (long) wxTEXT_ATTR_FONT
;
10678 PyObject
* obj0
= 0 ;
10679 PyObject
* obj1
= 0 ;
10680 PyObject
* obj2
= 0 ;
10681 char * kwnames
[] = {
10682 (char *) "self",(char *) "font",(char *) "flags", NULL
10685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10687 if (!SWIG_IsOK(res1
)) {
10688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10690 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10691 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10692 if (!SWIG_IsOK(res2
)) {
10693 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10696 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10698 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10700 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10701 if (!SWIG_IsOK(ecode3
)) {
10702 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10704 arg3
= static_cast< long >(val3
);
10707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10708 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10709 wxPyEndAllowThreads(__tstate
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10712 resultobj
= SWIG_Py_Void();
10719 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10720 PyObject
*resultobj
= 0;
10721 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10722 wxTextAttrAlignment arg2
;
10727 PyObject
* obj0
= 0 ;
10728 PyObject
* obj1
= 0 ;
10729 char * kwnames
[] = {
10730 (char *) "self",(char *) "alignment", NULL
10733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10735 if (!SWIG_IsOK(res1
)) {
10736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10738 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10739 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10740 if (!SWIG_IsOK(ecode2
)) {
10741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10743 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10746 (arg1
)->SetAlignment(arg2
);
10747 wxPyEndAllowThreads(__tstate
);
10748 if (PyErr_Occurred()) SWIG_fail
;
10750 resultobj
= SWIG_Py_Void();
10757 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10758 PyObject
*resultobj
= 0;
10759 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10760 wxArrayInt
*arg2
= 0 ;
10763 bool temp2
= false ;
10764 PyObject
* obj0
= 0 ;
10765 PyObject
* obj1
= 0 ;
10766 char * kwnames
[] = {
10767 (char *) "self",(char *) "tabs", NULL
10770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10772 if (!SWIG_IsOK(res1
)) {
10773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10775 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10777 if (! PySequence_Check(obj1
)) {
10778 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10781 arg2
= new wxArrayInt
;
10783 int i
, len
=PySequence_Length(obj1
);
10784 for (i
=0; i
<len
; i
++) {
10785 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10786 PyObject
* number
= PyNumber_Int(item
);
10788 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10791 arg2
->Add(PyInt_AS_LONG(number
));
10797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10798 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10799 wxPyEndAllowThreads(__tstate
);
10800 if (PyErr_Occurred()) SWIG_fail
;
10802 resultobj
= SWIG_Py_Void();
10804 if (temp2
) delete arg2
;
10809 if (temp2
) delete arg2
;
10815 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10816 PyObject
*resultobj
= 0;
10817 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10819 int arg3
= (int) 0 ;
10826 PyObject
* obj0
= 0 ;
10827 PyObject
* obj1
= 0 ;
10828 PyObject
* obj2
= 0 ;
10829 char * kwnames
[] = {
10830 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10835 if (!SWIG_IsOK(res1
)) {
10836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10838 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10840 if (!SWIG_IsOK(ecode2
)) {
10841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10843 arg2
= static_cast< int >(val2
);
10845 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10846 if (!SWIG_IsOK(ecode3
)) {
10847 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10849 arg3
= static_cast< int >(val3
);
10852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10853 (arg1
)->SetLeftIndent(arg2
,arg3
);
10854 wxPyEndAllowThreads(__tstate
);
10855 if (PyErr_Occurred()) SWIG_fail
;
10857 resultobj
= SWIG_Py_Void();
10864 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10865 PyObject
*resultobj
= 0;
10866 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10872 PyObject
* obj0
= 0 ;
10873 PyObject
* obj1
= 0 ;
10874 char * kwnames
[] = {
10875 (char *) "self",(char *) "indent", NULL
10878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10880 if (!SWIG_IsOK(res1
)) {
10881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10883 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10885 if (!SWIG_IsOK(ecode2
)) {
10886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10888 arg2
= static_cast< int >(val2
);
10890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10891 (arg1
)->SetRightIndent(arg2
);
10892 wxPyEndAllowThreads(__tstate
);
10893 if (PyErr_Occurred()) SWIG_fail
;
10895 resultobj
= SWIG_Py_Void();
10902 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10903 PyObject
*resultobj
= 0;
10904 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10910 PyObject
* obj0
= 0 ;
10911 PyObject
* obj1
= 0 ;
10912 char * kwnames
[] = {
10913 (char *) "self",(char *) "flags", NULL
10916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10918 if (!SWIG_IsOK(res1
)) {
10919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10921 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10922 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10923 if (!SWIG_IsOK(ecode2
)) {
10924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10926 arg2
= static_cast< long >(val2
);
10928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10929 (arg1
)->SetFlags(arg2
);
10930 wxPyEndAllowThreads(__tstate
);
10931 if (PyErr_Occurred()) SWIG_fail
;
10933 resultobj
= SWIG_Py_Void();
10940 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10941 PyObject
*resultobj
= 0;
10942 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10946 PyObject
*swig_obj
[1] ;
10948 if (!args
) SWIG_fail
;
10949 swig_obj
[0] = args
;
10950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10951 if (!SWIG_IsOK(res1
)) {
10952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10954 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10957 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10958 wxPyEndAllowThreads(__tstate
);
10959 if (PyErr_Occurred()) SWIG_fail
;
10962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10970 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10971 PyObject
*resultobj
= 0;
10972 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10976 PyObject
*swig_obj
[1] ;
10978 if (!args
) SWIG_fail
;
10979 swig_obj
[0] = args
;
10980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10981 if (!SWIG_IsOK(res1
)) {
10982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10984 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10987 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10988 wxPyEndAllowThreads(__tstate
);
10989 if (PyErr_Occurred()) SWIG_fail
;
10992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11000 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11001 PyObject
*resultobj
= 0;
11002 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11006 PyObject
*swig_obj
[1] ;
11008 if (!args
) SWIG_fail
;
11009 swig_obj
[0] = args
;
11010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11011 if (!SWIG_IsOK(res1
)) {
11012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11014 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11017 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11018 wxPyEndAllowThreads(__tstate
);
11019 if (PyErr_Occurred()) SWIG_fail
;
11022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11030 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11031 PyObject
*resultobj
= 0;
11032 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11036 PyObject
*swig_obj
[1] ;
11038 if (!args
) SWIG_fail
;
11039 swig_obj
[0] = args
;
11040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11041 if (!SWIG_IsOK(res1
)) {
11042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11044 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11047 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11048 wxPyEndAllowThreads(__tstate
);
11049 if (PyErr_Occurred()) SWIG_fail
;
11052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11060 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11061 PyObject
*resultobj
= 0;
11062 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11066 PyObject
*swig_obj
[1] ;
11068 if (!args
) SWIG_fail
;
11069 swig_obj
[0] = args
;
11070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11071 if (!SWIG_IsOK(res1
)) {
11072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11074 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11077 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11078 wxPyEndAllowThreads(__tstate
);
11079 if (PyErr_Occurred()) SWIG_fail
;
11082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11090 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11091 PyObject
*resultobj
= 0;
11092 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11096 PyObject
*swig_obj
[1] ;
11098 if (!args
) SWIG_fail
;
11099 swig_obj
[0] = args
;
11100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11101 if (!SWIG_IsOK(res1
)) {
11102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11104 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11107 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11108 wxPyEndAllowThreads(__tstate
);
11109 if (PyErr_Occurred()) SWIG_fail
;
11112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11120 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11121 PyObject
*resultobj
= 0;
11122 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11126 PyObject
*swig_obj
[1] ;
11128 if (!args
) SWIG_fail
;
11129 swig_obj
[0] = args
;
11130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11131 if (!SWIG_IsOK(res1
)) {
11132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11134 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11137 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11138 wxPyEndAllowThreads(__tstate
);
11139 if (PyErr_Occurred()) SWIG_fail
;
11142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11150 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11151 PyObject
*resultobj
= 0;
11152 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11159 PyObject
* obj0
= 0 ;
11160 PyObject
* obj1
= 0 ;
11161 char * kwnames
[] = {
11162 (char *) "self",(char *) "flag", NULL
11165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11167 if (!SWIG_IsOK(res1
)) {
11168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11170 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11171 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11172 if (!SWIG_IsOK(ecode2
)) {
11173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11175 arg2
= static_cast< long >(val2
);
11177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11178 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11179 wxPyEndAllowThreads(__tstate
);
11180 if (PyErr_Occurred()) SWIG_fail
;
11183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11191 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11192 PyObject
*resultobj
= 0;
11193 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11194 wxColour
*result
= 0 ;
11197 PyObject
*swig_obj
[1] ;
11199 if (!args
) SWIG_fail
;
11200 swig_obj
[0] = args
;
11201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11202 if (!SWIG_IsOK(res1
)) {
11203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11205 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11209 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11210 result
= (wxColour
*) &_result_ref
;
11212 wxPyEndAllowThreads(__tstate
);
11213 if (PyErr_Occurred()) SWIG_fail
;
11215 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11222 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11223 PyObject
*resultobj
= 0;
11224 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11225 wxColour
*result
= 0 ;
11228 PyObject
*swig_obj
[1] ;
11230 if (!args
) SWIG_fail
;
11231 swig_obj
[0] = args
;
11232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11233 if (!SWIG_IsOK(res1
)) {
11234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11236 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11240 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11241 result
= (wxColour
*) &_result_ref
;
11243 wxPyEndAllowThreads(__tstate
);
11244 if (PyErr_Occurred()) SWIG_fail
;
11246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11253 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11254 PyObject
*resultobj
= 0;
11255 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11256 wxFont
*result
= 0 ;
11259 PyObject
*swig_obj
[1] ;
11261 if (!args
) SWIG_fail
;
11262 swig_obj
[0] = args
;
11263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11264 if (!SWIG_IsOK(res1
)) {
11265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11267 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11271 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11272 result
= (wxFont
*) &_result_ref
;
11274 wxPyEndAllowThreads(__tstate
);
11275 if (PyErr_Occurred()) SWIG_fail
;
11278 wxFont
* resultptr
= new wxFont(*result
);
11279 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11287 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11288 PyObject
*resultobj
= 0;
11289 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11290 wxTextAttrAlignment result
;
11293 PyObject
*swig_obj
[1] ;
11295 if (!args
) SWIG_fail
;
11296 swig_obj
[0] = args
;
11297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11298 if (!SWIG_IsOK(res1
)) {
11299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11301 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11304 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11305 wxPyEndAllowThreads(__tstate
);
11306 if (PyErr_Occurred()) SWIG_fail
;
11308 resultobj
= SWIG_From_int(static_cast< int >(result
));
11315 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11316 PyObject
*resultobj
= 0;
11317 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11318 wxArrayInt
*result
= 0 ;
11321 PyObject
*swig_obj
[1] ;
11323 if (!args
) SWIG_fail
;
11324 swig_obj
[0] = args
;
11325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11326 if (!SWIG_IsOK(res1
)) {
11327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11329 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11333 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11334 result
= (wxArrayInt
*) &_result_ref
;
11336 wxPyEndAllowThreads(__tstate
);
11337 if (PyErr_Occurred()) SWIG_fail
;
11340 resultobj
= wxArrayInt2PyList_helper(*result
);
11348 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11349 PyObject
*resultobj
= 0;
11350 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11354 PyObject
*swig_obj
[1] ;
11356 if (!args
) SWIG_fail
;
11357 swig_obj
[0] = args
;
11358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11359 if (!SWIG_IsOK(res1
)) {
11360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11362 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11365 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11366 wxPyEndAllowThreads(__tstate
);
11367 if (PyErr_Occurred()) SWIG_fail
;
11369 resultobj
= SWIG_From_long(static_cast< long >(result
));
11376 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11377 PyObject
*resultobj
= 0;
11378 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11382 PyObject
*swig_obj
[1] ;
11384 if (!args
) SWIG_fail
;
11385 swig_obj
[0] = args
;
11386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11387 if (!SWIG_IsOK(res1
)) {
11388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11390 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11393 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11394 wxPyEndAllowThreads(__tstate
);
11395 if (PyErr_Occurred()) SWIG_fail
;
11397 resultobj
= SWIG_From_long(static_cast< long >(result
));
11404 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11405 PyObject
*resultobj
= 0;
11406 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11410 PyObject
*swig_obj
[1] ;
11412 if (!args
) SWIG_fail
;
11413 swig_obj
[0] = args
;
11414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11415 if (!SWIG_IsOK(res1
)) {
11416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11418 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11421 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11422 wxPyEndAllowThreads(__tstate
);
11423 if (PyErr_Occurred()) SWIG_fail
;
11425 resultobj
= SWIG_From_long(static_cast< long >(result
));
11432 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11433 PyObject
*resultobj
= 0;
11434 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11438 PyObject
*swig_obj
[1] ;
11440 if (!args
) SWIG_fail
;
11441 swig_obj
[0] = args
;
11442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11443 if (!SWIG_IsOK(res1
)) {
11444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11446 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11449 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11450 wxPyEndAllowThreads(__tstate
);
11451 if (PyErr_Occurred()) SWIG_fail
;
11453 resultobj
= SWIG_From_long(static_cast< long >(result
));
11460 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11461 PyObject
*resultobj
= 0;
11462 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11466 PyObject
*swig_obj
[1] ;
11468 if (!args
) SWIG_fail
;
11469 swig_obj
[0] = args
;
11470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11471 if (!SWIG_IsOK(res1
)) {
11472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11474 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11477 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11478 wxPyEndAllowThreads(__tstate
);
11479 if (PyErr_Occurred()) SWIG_fail
;
11482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11490 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11491 PyObject
*resultobj
= 0;
11492 wxTextAttr
*arg1
= 0 ;
11493 wxTextAttr
*arg2
= 0 ;
11494 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11502 PyObject
* obj0
= 0 ;
11503 PyObject
* obj1
= 0 ;
11504 PyObject
* obj2
= 0 ;
11505 char * kwnames
[] = {
11506 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11510 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11511 if (!SWIG_IsOK(res1
)) {
11512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11515 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11517 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11518 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11519 if (!SWIG_IsOK(res2
)) {
11520 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11523 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11525 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11526 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11527 if (!SWIG_IsOK(res3
)) {
11528 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11530 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11533 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11534 wxPyEndAllowThreads(__tstate
);
11535 if (PyErr_Occurred()) SWIG_fail
;
11537 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11544 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11546 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11547 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11548 return SWIG_Py_Void();
11551 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11552 return SWIG_Python_InitShadowInstance(args
);
11555 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11556 PyObject
*resultobj
= 0;
11557 wxWindow
*arg1
= (wxWindow
*) 0 ;
11558 int arg2
= (int) -1 ;
11559 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11560 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11561 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11562 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11563 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11564 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11565 long arg6
= (long) 0 ;
11566 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11567 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11568 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11569 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11570 wxTextCtrl
*result
= 0 ;
11575 bool temp3
= false ;
11582 bool temp8
= false ;
11583 PyObject
* obj0
= 0 ;
11584 PyObject
* obj1
= 0 ;
11585 PyObject
* obj2
= 0 ;
11586 PyObject
* obj3
= 0 ;
11587 PyObject
* obj4
= 0 ;
11588 PyObject
* obj5
= 0 ;
11589 PyObject
* obj6
= 0 ;
11590 PyObject
* obj7
= 0 ;
11591 char * kwnames
[] = {
11592 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11597 if (!SWIG_IsOK(res1
)) {
11598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11600 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11602 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11603 if (!SWIG_IsOK(ecode2
)) {
11604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11606 arg2
= static_cast< int >(val2
);
11610 arg3
= wxString_in_helper(obj2
);
11611 if (arg3
== NULL
) SWIG_fail
;
11618 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11624 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11628 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11629 if (!SWIG_IsOK(ecode6
)) {
11630 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11632 arg6
= static_cast< long >(val6
);
11635 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11636 if (!SWIG_IsOK(res7
)) {
11637 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11640 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11642 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11646 arg8
= wxString_in_helper(obj7
);
11647 if (arg8
== NULL
) SWIG_fail
;
11652 if (!wxPyCheckForApp()) SWIG_fail
;
11653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11654 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11655 wxPyEndAllowThreads(__tstate
);
11656 if (PyErr_Occurred()) SWIG_fail
;
11658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11681 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11682 PyObject
*resultobj
= 0;
11683 wxTextCtrl
*result
= 0 ;
11685 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11687 if (!wxPyCheckForApp()) SWIG_fail
;
11688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11689 result
= (wxTextCtrl
*)new wxTextCtrl();
11690 wxPyEndAllowThreads(__tstate
);
11691 if (PyErr_Occurred()) SWIG_fail
;
11693 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11700 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11701 PyObject
*resultobj
= 0;
11702 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11703 wxWindow
*arg2
= (wxWindow
*) 0 ;
11704 int arg3
= (int) -1 ;
11705 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11706 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11707 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11708 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11709 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11710 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11711 long arg7
= (long) 0 ;
11712 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11713 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11714 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11715 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11723 bool temp4
= false ;
11730 bool temp9
= false ;
11731 PyObject
* obj0
= 0 ;
11732 PyObject
* obj1
= 0 ;
11733 PyObject
* obj2
= 0 ;
11734 PyObject
* obj3
= 0 ;
11735 PyObject
* obj4
= 0 ;
11736 PyObject
* obj5
= 0 ;
11737 PyObject
* obj6
= 0 ;
11738 PyObject
* obj7
= 0 ;
11739 PyObject
* obj8
= 0 ;
11740 char * kwnames
[] = {
11741 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11746 if (!SWIG_IsOK(res1
)) {
11747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11749 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11750 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11751 if (!SWIG_IsOK(res2
)) {
11752 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11754 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11756 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11757 if (!SWIG_IsOK(ecode3
)) {
11758 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11760 arg3
= static_cast< int >(val3
);
11764 arg4
= wxString_in_helper(obj3
);
11765 if (arg4
== NULL
) SWIG_fail
;
11772 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11778 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11782 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11783 if (!SWIG_IsOK(ecode7
)) {
11784 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11786 arg7
= static_cast< long >(val7
);
11789 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11790 if (!SWIG_IsOK(res8
)) {
11791 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11794 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11796 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11800 arg9
= wxString_in_helper(obj8
);
11801 if (arg9
== NULL
) SWIG_fail
;
11806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11807 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11808 wxPyEndAllowThreads(__tstate
);
11809 if (PyErr_Occurred()) SWIG_fail
;
11812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11836 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11837 PyObject
*resultobj
= 0;
11838 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11842 PyObject
*swig_obj
[1] ;
11844 if (!args
) SWIG_fail
;
11845 swig_obj
[0] = args
;
11846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11847 if (!SWIG_IsOK(res1
)) {
11848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11850 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11853 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11854 wxPyEndAllowThreads(__tstate
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11859 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11861 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11870 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11871 PyObject
*resultobj
= 0;
11872 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11873 wxString
*arg2
= 0 ;
11876 bool temp2
= false ;
11877 PyObject
* obj0
= 0 ;
11878 PyObject
* obj1
= 0 ;
11879 char * kwnames
[] = {
11880 (char *) "self",(char *) "value", NULL
11883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11885 if (!SWIG_IsOK(res1
)) {
11886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11888 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11890 arg2
= wxString_in_helper(obj1
);
11891 if (arg2
== NULL
) SWIG_fail
;
11895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11896 (arg1
)->SetValue((wxString
const &)*arg2
);
11897 wxPyEndAllowThreads(__tstate
);
11898 if (PyErr_Occurred()) SWIG_fail
;
11900 resultobj
= SWIG_Py_Void();
11915 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11916 PyObject
*resultobj
= 0;
11917 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11921 PyObject
*swig_obj
[1] ;
11923 if (!args
) SWIG_fail
;
11924 swig_obj
[0] = args
;
11925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11926 if (!SWIG_IsOK(res1
)) {
11927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11929 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11932 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEmpty();
11933 wxPyEndAllowThreads(__tstate
);
11934 if (PyErr_Occurred()) SWIG_fail
;
11937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11945 SWIGINTERN PyObject
*_wrap_TextCtrl_ChangeValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11946 PyObject
*resultobj
= 0;
11947 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11948 wxString
*arg2
= 0 ;
11951 bool temp2
= false ;
11952 PyObject
* obj0
= 0 ;
11953 PyObject
* obj1
= 0 ;
11954 char * kwnames
[] = {
11955 (char *) "self",(char *) "value", NULL
11958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ChangeValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11960 if (!SWIG_IsOK(res1
)) {
11961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11963 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11965 arg2
= wxString_in_helper(obj1
);
11966 if (arg2
== NULL
) SWIG_fail
;
11970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11971 (arg1
)->ChangeValue((wxString
const &)*arg2
);
11972 wxPyEndAllowThreads(__tstate
);
11973 if (PyErr_Occurred()) SWIG_fail
;
11975 resultobj
= SWIG_Py_Void();
11990 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11991 PyObject
*resultobj
= 0;
11992 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12002 PyObject
* obj0
= 0 ;
12003 PyObject
* obj1
= 0 ;
12004 PyObject
* obj2
= 0 ;
12005 char * kwnames
[] = {
12006 (char *) "self",(char *) "from",(char *) "to", NULL
12009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12011 if (!SWIG_IsOK(res1
)) {
12012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12014 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12015 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12016 if (!SWIG_IsOK(ecode2
)) {
12017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12019 arg2
= static_cast< long >(val2
);
12020 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12021 if (!SWIG_IsOK(ecode3
)) {
12022 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12024 arg3
= static_cast< long >(val3
);
12026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12027 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
12028 wxPyEndAllowThreads(__tstate
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12044 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12045 PyObject
*resultobj
= 0;
12046 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12053 PyObject
* obj0
= 0 ;
12054 PyObject
* obj1
= 0 ;
12055 char * kwnames
[] = {
12056 (char *) "self",(char *) "lineNo", NULL
12059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12061 if (!SWIG_IsOK(res1
)) {
12062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12064 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12065 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12066 if (!SWIG_IsOK(ecode2
)) {
12067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12069 arg2
= static_cast< long >(val2
);
12071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12072 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12073 wxPyEndAllowThreads(__tstate
);
12074 if (PyErr_Occurred()) SWIG_fail
;
12076 resultobj
= SWIG_From_int(static_cast< int >(result
));
12083 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12084 PyObject
*resultobj
= 0;
12085 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12092 PyObject
* obj0
= 0 ;
12093 PyObject
* obj1
= 0 ;
12094 char * kwnames
[] = {
12095 (char *) "self",(char *) "lineNo", NULL
12098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12100 if (!SWIG_IsOK(res1
)) {
12101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12103 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12104 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12105 if (!SWIG_IsOK(ecode2
)) {
12106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12108 arg2
= static_cast< long >(val2
);
12110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12111 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12112 wxPyEndAllowThreads(__tstate
);
12113 if (PyErr_Occurred()) SWIG_fail
;
12117 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12119 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12128 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12129 PyObject
*resultobj
= 0;
12130 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12134 PyObject
*swig_obj
[1] ;
12136 if (!args
) SWIG_fail
;
12137 swig_obj
[0] = args
;
12138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12139 if (!SWIG_IsOK(res1
)) {
12140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12142 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12145 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12146 wxPyEndAllowThreads(__tstate
);
12147 if (PyErr_Occurred()) SWIG_fail
;
12149 resultobj
= SWIG_From_int(static_cast< int >(result
));
12156 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12157 PyObject
*resultobj
= 0;
12158 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12162 PyObject
*swig_obj
[1] ;
12164 if (!args
) SWIG_fail
;
12165 swig_obj
[0] = args
;
12166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12167 if (!SWIG_IsOK(res1
)) {
12168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12170 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12173 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12174 wxPyEndAllowThreads(__tstate
);
12175 if (PyErr_Occurred()) SWIG_fail
;
12178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12186 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12187 PyObject
*resultobj
= 0;
12188 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12192 PyObject
*swig_obj
[1] ;
12194 if (!args
) SWIG_fail
;
12195 swig_obj
[0] = args
;
12196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12197 if (!SWIG_IsOK(res1
)) {
12198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12200 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12203 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12204 wxPyEndAllowThreads(__tstate
);
12205 if (PyErr_Occurred()) SWIG_fail
;
12208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12216 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12217 PyObject
*resultobj
= 0;
12218 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12222 PyObject
*swig_obj
[1] ;
12224 if (!args
) SWIG_fail
;
12225 swig_obj
[0] = args
;
12226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12227 if (!SWIG_IsOK(res1
)) {
12228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12230 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12233 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12234 wxPyEndAllowThreads(__tstate
);
12235 if (PyErr_Occurred()) SWIG_fail
;
12238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12246 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12247 PyObject
*resultobj
= 0;
12248 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12252 PyObject
*swig_obj
[1] ;
12254 if (!args
) SWIG_fail
;
12255 swig_obj
[0] = args
;
12256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12257 if (!SWIG_IsOK(res1
)) {
12258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12260 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12263 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12264 wxPyEndAllowThreads(__tstate
);
12265 if (PyErr_Occurred()) SWIG_fail
;
12268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12276 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12277 PyObject
*resultobj
= 0;
12278 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12279 long *arg2
= (long *) 0 ;
12280 long *arg3
= (long *) 0 ;
12284 int res2
= SWIG_TMPOBJ
;
12286 int res3
= SWIG_TMPOBJ
;
12287 PyObject
*swig_obj
[1] ;
12291 if (!args
) SWIG_fail
;
12292 swig_obj
[0] = args
;
12293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12294 if (!SWIG_IsOK(res1
)) {
12295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12297 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12300 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12301 wxPyEndAllowThreads(__tstate
);
12302 if (PyErr_Occurred()) SWIG_fail
;
12304 resultobj
= SWIG_Py_Void();
12305 if (SWIG_IsTmpObj(res2
)) {
12306 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12308 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12309 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12311 if (SWIG_IsTmpObj(res3
)) {
12312 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12314 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12315 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12323 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12324 PyObject
*resultobj
= 0;
12325 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12329 PyObject
*swig_obj
[1] ;
12331 if (!args
) SWIG_fail
;
12332 swig_obj
[0] = args
;
12333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12334 if (!SWIG_IsOK(res1
)) {
12335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12337 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12340 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12341 wxPyEndAllowThreads(__tstate
);
12342 if (PyErr_Occurred()) SWIG_fail
;
12346 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12348 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12357 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12358 PyObject
*resultobj
= 0;
12359 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12362 PyObject
*swig_obj
[1] ;
12364 if (!args
) SWIG_fail
;
12365 swig_obj
[0] = args
;
12366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12367 if (!SWIG_IsOK(res1
)) {
12368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12370 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12374 wxPyEndAllowThreads(__tstate
);
12375 if (PyErr_Occurred()) SWIG_fail
;
12377 resultobj
= SWIG_Py_Void();
12384 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12385 PyObject
*resultobj
= 0;
12386 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12389 wxString
*arg4
= 0 ;
12396 bool temp4
= false ;
12397 PyObject
* obj0
= 0 ;
12398 PyObject
* obj1
= 0 ;
12399 PyObject
* obj2
= 0 ;
12400 PyObject
* obj3
= 0 ;
12401 char * kwnames
[] = {
12402 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12407 if (!SWIG_IsOK(res1
)) {
12408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12410 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12411 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12412 if (!SWIG_IsOK(ecode2
)) {
12413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12415 arg2
= static_cast< long >(val2
);
12416 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12417 if (!SWIG_IsOK(ecode3
)) {
12418 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12420 arg3
= static_cast< long >(val3
);
12422 arg4
= wxString_in_helper(obj3
);
12423 if (arg4
== NULL
) SWIG_fail
;
12427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12428 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12429 wxPyEndAllowThreads(__tstate
);
12430 if (PyErr_Occurred()) SWIG_fail
;
12432 resultobj
= SWIG_Py_Void();
12447 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12448 PyObject
*resultobj
= 0;
12449 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12458 PyObject
* obj0
= 0 ;
12459 PyObject
* obj1
= 0 ;
12460 PyObject
* obj2
= 0 ;
12461 char * kwnames
[] = {
12462 (char *) "self",(char *) "from",(char *) "to", NULL
12465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12467 if (!SWIG_IsOK(res1
)) {
12468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12470 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12471 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12472 if (!SWIG_IsOK(ecode2
)) {
12473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12475 arg2
= static_cast< long >(val2
);
12476 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12477 if (!SWIG_IsOK(ecode3
)) {
12478 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12480 arg3
= static_cast< long >(val3
);
12482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12483 (arg1
)->Remove(arg2
,arg3
);
12484 wxPyEndAllowThreads(__tstate
);
12485 if (PyErr_Occurred()) SWIG_fail
;
12487 resultobj
= SWIG_Py_Void();
12494 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12495 PyObject
*resultobj
= 0;
12496 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12497 wxString
*arg2
= 0 ;
12498 int arg3
= (int) wxTEXT_TYPE_ANY
;
12502 bool temp2
= false ;
12505 PyObject
* obj0
= 0 ;
12506 PyObject
* obj1
= 0 ;
12507 PyObject
* obj2
= 0 ;
12508 char * kwnames
[] = {
12509 (char *) "self",(char *) "file",(char *) "fileType", NULL
12512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12514 if (!SWIG_IsOK(res1
)) {
12515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12517 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12519 arg2
= wxString_in_helper(obj1
);
12520 if (arg2
== NULL
) SWIG_fail
;
12524 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12525 if (!SWIG_IsOK(ecode3
)) {
12526 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12528 arg3
= static_cast< int >(val3
);
12531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12532 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
12533 wxPyEndAllowThreads(__tstate
);
12534 if (PyErr_Occurred()) SWIG_fail
;
12537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12553 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12554 PyObject
*resultobj
= 0;
12555 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12556 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12557 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12558 int arg3
= (int) wxTEXT_TYPE_ANY
;
12562 bool temp2
= false ;
12565 PyObject
* obj0
= 0 ;
12566 PyObject
* obj1
= 0 ;
12567 PyObject
* obj2
= 0 ;
12568 char * kwnames
[] = {
12569 (char *) "self",(char *) "file",(char *) "fileType", NULL
12572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12574 if (!SWIG_IsOK(res1
)) {
12575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12577 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12580 arg2
= wxString_in_helper(obj1
);
12581 if (arg2
== NULL
) SWIG_fail
;
12586 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12587 if (!SWIG_IsOK(ecode3
)) {
12588 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12590 arg3
= static_cast< int >(val3
);
12593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12594 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12595 wxPyEndAllowThreads(__tstate
);
12596 if (PyErr_Occurred()) SWIG_fail
;
12599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12615 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12616 PyObject
*resultobj
= 0;
12617 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12620 PyObject
*swig_obj
[1] ;
12622 if (!args
) SWIG_fail
;
12623 swig_obj
[0] = args
;
12624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12625 if (!SWIG_IsOK(res1
)) {
12626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12628 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12631 (arg1
)->MarkDirty();
12632 wxPyEndAllowThreads(__tstate
);
12633 if (PyErr_Occurred()) SWIG_fail
;
12635 resultobj
= SWIG_Py_Void();
12642 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12643 PyObject
*resultobj
= 0;
12644 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12647 PyObject
*swig_obj
[1] ;
12649 if (!args
) SWIG_fail
;
12650 swig_obj
[0] = args
;
12651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12652 if (!SWIG_IsOK(res1
)) {
12653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12655 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12658 (arg1
)->DiscardEdits();
12659 wxPyEndAllowThreads(__tstate
);
12660 if (PyErr_Occurred()) SWIG_fail
;
12662 resultobj
= SWIG_Py_Void();
12669 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12670 PyObject
*resultobj
= 0;
12671 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12677 PyObject
* obj0
= 0 ;
12678 PyObject
* obj1
= 0 ;
12679 char * kwnames
[] = {
12680 (char *) "self",(char *) "modified", NULL
12683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12685 if (!SWIG_IsOK(res1
)) {
12686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12688 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12689 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12690 if (!SWIG_IsOK(ecode2
)) {
12691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12693 arg2
= static_cast< bool >(val2
);
12695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12696 (arg1
)->SetModified(arg2
);
12697 wxPyEndAllowThreads(__tstate
);
12698 if (PyErr_Occurred()) SWIG_fail
;
12700 resultobj
= SWIG_Py_Void();
12707 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12708 PyObject
*resultobj
= 0;
12709 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12710 unsigned long arg2
;
12713 unsigned long val2
;
12715 PyObject
* obj0
= 0 ;
12716 PyObject
* obj1
= 0 ;
12717 char * kwnames
[] = {
12718 (char *) "self",(char *) "len", NULL
12721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12723 if (!SWIG_IsOK(res1
)) {
12724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12726 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12727 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12728 if (!SWIG_IsOK(ecode2
)) {
12729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12731 arg2
= static_cast< unsigned long >(val2
);
12733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12734 (arg1
)->SetMaxLength(arg2
);
12735 wxPyEndAllowThreads(__tstate
);
12736 if (PyErr_Occurred()) SWIG_fail
;
12738 resultobj
= SWIG_Py_Void();
12745 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12746 PyObject
*resultobj
= 0;
12747 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12748 wxString
*arg2
= 0 ;
12751 bool temp2
= false ;
12752 PyObject
* obj0
= 0 ;
12753 PyObject
* obj1
= 0 ;
12754 char * kwnames
[] = {
12755 (char *) "self",(char *) "text", NULL
12758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12760 if (!SWIG_IsOK(res1
)) {
12761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12763 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12765 arg2
= wxString_in_helper(obj1
);
12766 if (arg2
== NULL
) SWIG_fail
;
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 (arg1
)->WriteText((wxString
const &)*arg2
);
12772 wxPyEndAllowThreads(__tstate
);
12773 if (PyErr_Occurred()) SWIG_fail
;
12775 resultobj
= SWIG_Py_Void();
12790 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12791 PyObject
*resultobj
= 0;
12792 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12793 wxString
*arg2
= 0 ;
12796 bool temp2
= false ;
12797 PyObject
* obj0
= 0 ;
12798 PyObject
* obj1
= 0 ;
12799 char * kwnames
[] = {
12800 (char *) "self",(char *) "text", NULL
12803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12805 if (!SWIG_IsOK(res1
)) {
12806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12808 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12810 arg2
= wxString_in_helper(obj1
);
12811 if (arg2
== NULL
) SWIG_fail
;
12815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12816 (arg1
)->AppendText((wxString
const &)*arg2
);
12817 wxPyEndAllowThreads(__tstate
);
12818 if (PyErr_Occurred()) SWIG_fail
;
12820 resultobj
= SWIG_Py_Void();
12835 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12836 PyObject
*resultobj
= 0;
12837 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12838 wxKeyEvent
*arg2
= 0 ;
12844 PyObject
* obj0
= 0 ;
12845 PyObject
* obj1
= 0 ;
12846 char * kwnames
[] = {
12847 (char *) "self",(char *) "event", NULL
12850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12852 if (!SWIG_IsOK(res1
)) {
12853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12855 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12856 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12857 if (!SWIG_IsOK(res2
)) {
12858 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12861 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12863 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12866 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12867 wxPyEndAllowThreads(__tstate
);
12868 if (PyErr_Occurred()) SWIG_fail
;
12871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12879 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12880 PyObject
*resultobj
= 0;
12881 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12884 wxTextAttr
*arg4
= 0 ;
12894 PyObject
* obj0
= 0 ;
12895 PyObject
* obj1
= 0 ;
12896 PyObject
* obj2
= 0 ;
12897 PyObject
* obj3
= 0 ;
12898 char * kwnames
[] = {
12899 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12904 if (!SWIG_IsOK(res1
)) {
12905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12907 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12908 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12909 if (!SWIG_IsOK(ecode2
)) {
12910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12912 arg2
= static_cast< long >(val2
);
12913 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12914 if (!SWIG_IsOK(ecode3
)) {
12915 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12917 arg3
= static_cast< long >(val3
);
12918 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12919 if (!SWIG_IsOK(res4
)) {
12920 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12923 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12925 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12928 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12929 wxPyEndAllowThreads(__tstate
);
12930 if (PyErr_Occurred()) SWIG_fail
;
12933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12941 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12942 PyObject
*resultobj
= 0;
12943 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12945 wxTextAttr
*arg3
= 0 ;
12953 PyObject
* obj0
= 0 ;
12954 PyObject
* obj1
= 0 ;
12955 PyObject
* obj2
= 0 ;
12956 char * kwnames
[] = {
12957 (char *) "self",(char *) "position",(char *) "style", NULL
12960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12962 if (!SWIG_IsOK(res1
)) {
12963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12965 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12966 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12967 if (!SWIG_IsOK(ecode2
)) {
12968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12970 arg2
= static_cast< long >(val2
);
12971 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12972 if (!SWIG_IsOK(res3
)) {
12973 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12976 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12978 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12981 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12982 wxPyEndAllowThreads(__tstate
);
12983 if (PyErr_Occurred()) SWIG_fail
;
12986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12994 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12995 PyObject
*resultobj
= 0;
12996 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12997 wxTextAttr
*arg2
= 0 ;
13003 PyObject
* obj0
= 0 ;
13004 PyObject
* obj1
= 0 ;
13005 char * kwnames
[] = {
13006 (char *) "self",(char *) "style", NULL
13009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13011 if (!SWIG_IsOK(res1
)) {
13012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13014 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13015 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
13016 if (!SWIG_IsOK(res2
)) {
13017 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13020 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13022 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
13024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13025 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
13026 wxPyEndAllowThreads(__tstate
);
13027 if (PyErr_Occurred()) SWIG_fail
;
13030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13038 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13039 PyObject
*resultobj
= 0;
13040 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13041 wxTextAttr
*result
= 0 ;
13044 PyObject
*swig_obj
[1] ;
13046 if (!args
) SWIG_fail
;
13047 swig_obj
[0] = args
;
13048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13049 if (!SWIG_IsOK(res1
)) {
13050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13052 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13056 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
13057 result
= (wxTextAttr
*) &_result_ref
;
13059 wxPyEndAllowThreads(__tstate
);
13060 if (PyErr_Occurred()) SWIG_fail
;
13062 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
13069 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13070 PyObject
*resultobj
= 0;
13071 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13081 PyObject
* obj0
= 0 ;
13082 PyObject
* obj1
= 0 ;
13083 PyObject
* obj2
= 0 ;
13084 char * kwnames
[] = {
13085 (char *) "self",(char *) "x",(char *) "y", NULL
13088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13090 if (!SWIG_IsOK(res1
)) {
13091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13093 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13094 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13095 if (!SWIG_IsOK(ecode2
)) {
13096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13098 arg2
= static_cast< long >(val2
);
13099 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13100 if (!SWIG_IsOK(ecode3
)) {
13101 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13103 arg3
= static_cast< long >(val3
);
13105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13106 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13107 wxPyEndAllowThreads(__tstate
);
13108 if (PyErr_Occurred()) SWIG_fail
;
13110 resultobj
= SWIG_From_long(static_cast< long >(result
));
13117 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13118 PyObject
*resultobj
= 0;
13119 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13121 long *arg3
= (long *) 0 ;
13122 long *arg4
= (long *) 0 ;
13128 int res3
= SWIG_TMPOBJ
;
13130 int res4
= SWIG_TMPOBJ
;
13131 PyObject
* obj0
= 0 ;
13132 PyObject
* obj1
= 0 ;
13133 char * kwnames
[] = {
13134 (char *) "self",(char *) "pos", NULL
13139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13141 if (!SWIG_IsOK(res1
)) {
13142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13144 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13145 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13146 if (!SWIG_IsOK(ecode2
)) {
13147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13149 arg2
= static_cast< long >(val2
);
13151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13152 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13153 wxPyEndAllowThreads(__tstate
);
13154 if (PyErr_Occurred()) SWIG_fail
;
13156 resultobj
= SWIG_Py_Void();
13157 if (SWIG_IsTmpObj(res3
)) {
13158 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13160 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13161 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13163 if (SWIG_IsTmpObj(res4
)) {
13164 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13166 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13167 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13175 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13176 PyObject
*resultobj
= 0;
13177 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13183 PyObject
* obj0
= 0 ;
13184 PyObject
* obj1
= 0 ;
13185 char * kwnames
[] = {
13186 (char *) "self",(char *) "pos", NULL
13189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13191 if (!SWIG_IsOK(res1
)) {
13192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13194 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13195 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13196 if (!SWIG_IsOK(ecode2
)) {
13197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13199 arg2
= static_cast< long >(val2
);
13201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13202 (arg1
)->ShowPosition(arg2
);
13203 wxPyEndAllowThreads(__tstate
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13206 resultobj
= SWIG_Py_Void();
13213 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13214 PyObject
*resultobj
= 0;
13215 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13216 wxPoint
*arg2
= 0 ;
13217 long *arg3
= (long *) 0 ;
13218 long *arg4
= (long *) 0 ;
13219 wxTextCtrlHitTestResult result
;
13224 int res3
= SWIG_TMPOBJ
;
13226 int res4
= SWIG_TMPOBJ
;
13227 PyObject
* obj0
= 0 ;
13228 PyObject
* obj1
= 0 ;
13229 char * kwnames
[] = {
13230 (char *) "self",(char *) "pt", NULL
13235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13237 if (!SWIG_IsOK(res1
)) {
13238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13240 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13243 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13247 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13248 wxPyEndAllowThreads(__tstate
);
13249 if (PyErr_Occurred()) SWIG_fail
;
13251 resultobj
= SWIG_From_int(static_cast< int >(result
));
13252 if (SWIG_IsTmpObj(res3
)) {
13253 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13255 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13256 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13258 if (SWIG_IsTmpObj(res4
)) {
13259 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13261 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13262 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13270 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13271 PyObject
*resultobj
= 0;
13272 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13273 wxPoint
*arg2
= 0 ;
13274 long *arg3
= (long *) 0 ;
13275 wxTextCtrlHitTestResult result
;
13280 int res3
= SWIG_TMPOBJ
;
13281 PyObject
* obj0
= 0 ;
13282 PyObject
* obj1
= 0 ;
13283 char * kwnames
[] = {
13284 (char *) "self",(char *) "pt", NULL
13288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13290 if (!SWIG_IsOK(res1
)) {
13291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13293 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13296 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13301 wxPyEndAllowThreads(__tstate
);
13302 if (PyErr_Occurred()) SWIG_fail
;
13304 resultobj
= SWIG_From_int(static_cast< int >(result
));
13305 if (SWIG_IsTmpObj(res3
)) {
13306 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13308 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13309 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13317 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13318 PyObject
*resultobj
= 0;
13319 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13322 PyObject
*swig_obj
[1] ;
13324 if (!args
) SWIG_fail
;
13325 swig_obj
[0] = args
;
13326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13327 if (!SWIG_IsOK(res1
)) {
13328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13330 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13334 wxPyEndAllowThreads(__tstate
);
13335 if (PyErr_Occurred()) SWIG_fail
;
13337 resultobj
= SWIG_Py_Void();
13344 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13345 PyObject
*resultobj
= 0;
13346 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13349 PyObject
*swig_obj
[1] ;
13351 if (!args
) SWIG_fail
;
13352 swig_obj
[0] = args
;
13353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13354 if (!SWIG_IsOK(res1
)) {
13355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13357 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13361 wxPyEndAllowThreads(__tstate
);
13362 if (PyErr_Occurred()) SWIG_fail
;
13364 resultobj
= SWIG_Py_Void();
13371 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13372 PyObject
*resultobj
= 0;
13373 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13376 PyObject
*swig_obj
[1] ;
13378 if (!args
) SWIG_fail
;
13379 swig_obj
[0] = args
;
13380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13381 if (!SWIG_IsOK(res1
)) {
13382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13384 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13388 wxPyEndAllowThreads(__tstate
);
13389 if (PyErr_Occurred()) SWIG_fail
;
13391 resultobj
= SWIG_Py_Void();
13398 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13399 PyObject
*resultobj
= 0;
13400 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13404 PyObject
*swig_obj
[1] ;
13406 if (!args
) SWIG_fail
;
13407 swig_obj
[0] = args
;
13408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13409 if (!SWIG_IsOK(res1
)) {
13410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13412 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13415 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13416 wxPyEndAllowThreads(__tstate
);
13417 if (PyErr_Occurred()) SWIG_fail
;
13420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13428 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13429 PyObject
*resultobj
= 0;
13430 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13434 PyObject
*swig_obj
[1] ;
13436 if (!args
) SWIG_fail
;
13437 swig_obj
[0] = args
;
13438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13439 if (!SWIG_IsOK(res1
)) {
13440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13442 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13445 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13446 wxPyEndAllowThreads(__tstate
);
13447 if (PyErr_Occurred()) SWIG_fail
;
13450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13458 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13459 PyObject
*resultobj
= 0;
13460 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13464 PyObject
*swig_obj
[1] ;
13466 if (!args
) SWIG_fail
;
13467 swig_obj
[0] = args
;
13468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13469 if (!SWIG_IsOK(res1
)) {
13470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13472 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13475 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13476 wxPyEndAllowThreads(__tstate
);
13477 if (PyErr_Occurred()) SWIG_fail
;
13480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13488 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13489 PyObject
*resultobj
= 0;
13490 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13493 PyObject
*swig_obj
[1] ;
13495 if (!args
) SWIG_fail
;
13496 swig_obj
[0] = args
;
13497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13498 if (!SWIG_IsOK(res1
)) {
13499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13501 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13505 wxPyEndAllowThreads(__tstate
);
13506 if (PyErr_Occurred()) SWIG_fail
;
13508 resultobj
= SWIG_Py_Void();
13515 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13516 PyObject
*resultobj
= 0;
13517 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13520 PyObject
*swig_obj
[1] ;
13522 if (!args
) SWIG_fail
;
13523 swig_obj
[0] = args
;
13524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13525 if (!SWIG_IsOK(res1
)) {
13526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13528 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13532 wxPyEndAllowThreads(__tstate
);
13533 if (PyErr_Occurred()) SWIG_fail
;
13535 resultobj
= SWIG_Py_Void();
13542 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13543 PyObject
*resultobj
= 0;
13544 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13548 PyObject
*swig_obj
[1] ;
13550 if (!args
) SWIG_fail
;
13551 swig_obj
[0] = args
;
13552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13553 if (!SWIG_IsOK(res1
)) {
13554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13556 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13559 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13560 wxPyEndAllowThreads(__tstate
);
13561 if (PyErr_Occurred()) SWIG_fail
;
13564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13572 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13573 PyObject
*resultobj
= 0;
13574 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13578 PyObject
*swig_obj
[1] ;
13580 if (!args
) SWIG_fail
;
13581 swig_obj
[0] = args
;
13582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13583 if (!SWIG_IsOK(res1
)) {
13584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13586 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13589 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13590 wxPyEndAllowThreads(__tstate
);
13591 if (PyErr_Occurred()) SWIG_fail
;
13594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13602 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13603 PyObject
*resultobj
= 0;
13604 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13610 PyObject
* obj0
= 0 ;
13611 PyObject
* obj1
= 0 ;
13612 char * kwnames
[] = {
13613 (char *) "self",(char *) "pos", NULL
13616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13618 if (!SWIG_IsOK(res1
)) {
13619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13621 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13622 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13623 if (!SWIG_IsOK(ecode2
)) {
13624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13626 arg2
= static_cast< long >(val2
);
13628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13629 (arg1
)->SetInsertionPoint(arg2
);
13630 wxPyEndAllowThreads(__tstate
);
13631 if (PyErr_Occurred()) SWIG_fail
;
13633 resultobj
= SWIG_Py_Void();
13640 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13641 PyObject
*resultobj
= 0;
13642 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13645 PyObject
*swig_obj
[1] ;
13647 if (!args
) SWIG_fail
;
13648 swig_obj
[0] = args
;
13649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13650 if (!SWIG_IsOK(res1
)) {
13651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13653 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13656 (arg1
)->SetInsertionPointEnd();
13657 wxPyEndAllowThreads(__tstate
);
13658 if (PyErr_Occurred()) SWIG_fail
;
13660 resultobj
= SWIG_Py_Void();
13667 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13668 PyObject
*resultobj
= 0;
13669 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13673 PyObject
*swig_obj
[1] ;
13675 if (!args
) SWIG_fail
;
13676 swig_obj
[0] = args
;
13677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13678 if (!SWIG_IsOK(res1
)) {
13679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13681 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13684 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13685 wxPyEndAllowThreads(__tstate
);
13686 if (PyErr_Occurred()) SWIG_fail
;
13688 resultobj
= SWIG_From_long(static_cast< long >(result
));
13695 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13696 PyObject
*resultobj
= 0;
13697 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13701 PyObject
*swig_obj
[1] ;
13703 if (!args
) SWIG_fail
;
13704 swig_obj
[0] = args
;
13705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13706 if (!SWIG_IsOK(res1
)) {
13707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13709 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13712 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13713 wxPyEndAllowThreads(__tstate
);
13714 if (PyErr_Occurred()) SWIG_fail
;
13716 resultobj
= SWIG_From_long(static_cast< long >(result
));
13723 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13724 PyObject
*resultobj
= 0;
13725 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13734 PyObject
* obj0
= 0 ;
13735 PyObject
* obj1
= 0 ;
13736 PyObject
* obj2
= 0 ;
13737 char * kwnames
[] = {
13738 (char *) "self",(char *) "from",(char *) "to", NULL
13741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13743 if (!SWIG_IsOK(res1
)) {
13744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13746 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13747 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13748 if (!SWIG_IsOK(ecode2
)) {
13749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13751 arg2
= static_cast< long >(val2
);
13752 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13753 if (!SWIG_IsOK(ecode3
)) {
13754 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13756 arg3
= static_cast< long >(val3
);
13758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13759 (arg1
)->SetSelection(arg2
,arg3
);
13760 wxPyEndAllowThreads(__tstate
);
13761 if (PyErr_Occurred()) SWIG_fail
;
13763 resultobj
= SWIG_Py_Void();
13770 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13771 PyObject
*resultobj
= 0;
13772 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13775 PyObject
*swig_obj
[1] ;
13777 if (!args
) SWIG_fail
;
13778 swig_obj
[0] = args
;
13779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13780 if (!SWIG_IsOK(res1
)) {
13781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13783 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13786 (arg1
)->SelectAll();
13787 wxPyEndAllowThreads(__tstate
);
13788 if (PyErr_Occurred()) SWIG_fail
;
13790 resultobj
= SWIG_Py_Void();
13797 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13798 PyObject
*resultobj
= 0;
13799 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13805 PyObject
* obj0
= 0 ;
13806 PyObject
* obj1
= 0 ;
13807 char * kwnames
[] = {
13808 (char *) "self",(char *) "editable", NULL
13811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13813 if (!SWIG_IsOK(res1
)) {
13814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13816 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13817 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13818 if (!SWIG_IsOK(ecode2
)) {
13819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13821 arg2
= static_cast< bool >(val2
);
13823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13824 (arg1
)->SetEditable(arg2
);
13825 wxPyEndAllowThreads(__tstate
);
13826 if (PyErr_Occurred()) SWIG_fail
;
13828 resultobj
= SWIG_Py_Void();
13835 SWIGINTERN PyObject
*_wrap_TextCtrl_MacCheckSpelling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13836 PyObject
*resultobj
= 0;
13837 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13843 PyObject
* obj0
= 0 ;
13844 PyObject
* obj1
= 0 ;
13845 char * kwnames
[] = {
13846 (char *) "self",(char *) "check", NULL
13849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_MacCheckSpelling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13851 if (!SWIG_IsOK(res1
)) {
13852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13854 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13855 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13856 if (!SWIG_IsOK(ecode2
)) {
13857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "2"" of type '" "bool""'");
13859 arg2
= static_cast< bool >(val2
);
13861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13862 wxTextCtrl_MacCheckSpelling(arg1
,arg2
);
13863 wxPyEndAllowThreads(__tstate
);
13864 if (PyErr_Occurred()) SWIG_fail
;
13866 resultobj
= SWIG_Py_Void();
13873 SWIGINTERN PyObject
*_wrap_TextCtrl_SendTextUpdatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13874 PyObject
*resultobj
= 0;
13875 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13878 PyObject
*swig_obj
[1] ;
13880 if (!args
) SWIG_fail
;
13881 swig_obj
[0] = args
;
13882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13883 if (!SWIG_IsOK(res1
)) {
13884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13886 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13889 (arg1
)->SendTextUpdatedEvent();
13890 wxPyEndAllowThreads(__tstate
);
13891 if (PyErr_Occurred()) SWIG_fail
;
13893 resultobj
= SWIG_Py_Void();
13900 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13901 PyObject
*resultobj
= 0;
13902 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13903 wxString
*arg2
= 0 ;
13906 bool temp2
= false ;
13907 PyObject
* obj0
= 0 ;
13908 PyObject
* obj1
= 0 ;
13909 char * kwnames
[] = {
13910 (char *) "self",(char *) "text", NULL
13913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13915 if (!SWIG_IsOK(res1
)) {
13916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13918 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13920 arg2
= wxString_in_helper(obj1
);
13921 if (arg2
== NULL
) SWIG_fail
;
13925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13926 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13927 wxPyEndAllowThreads(__tstate
);
13928 if (PyErr_Occurred()) SWIG_fail
;
13930 resultobj
= SWIG_Py_Void();
13945 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13946 PyObject
*resultobj
= 0;
13947 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13957 PyObject
* obj0
= 0 ;
13958 PyObject
* obj1
= 0 ;
13959 PyObject
* obj2
= 0 ;
13960 char * kwnames
[] = {
13961 (char *) "self",(char *) "from",(char *) "to", NULL
13964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13966 if (!SWIG_IsOK(res1
)) {
13967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13969 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13970 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13971 if (!SWIG_IsOK(ecode2
)) {
13972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13974 arg2
= static_cast< long >(val2
);
13975 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13976 if (!SWIG_IsOK(ecode3
)) {
13977 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13979 arg3
= static_cast< long >(val3
);
13981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13982 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13983 wxPyEndAllowThreads(__tstate
);
13984 if (PyErr_Occurred()) SWIG_fail
;
13988 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13990 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13999 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14000 PyObject
*resultobj
= 0;
14001 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14002 SwigValueWrapper
<wxVisualAttributes
> result
;
14005 PyObject
* obj0
= 0 ;
14006 char * kwnames
[] = {
14007 (char *) "variant", NULL
14010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14012 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14013 if (!SWIG_IsOK(ecode1
)) {
14014 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14016 arg1
= static_cast< wxWindowVariant
>(val1
);
14019 if (!wxPyCheckForApp()) SWIG_fail
;
14020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14021 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
14022 wxPyEndAllowThreads(__tstate
);
14023 if (PyErr_Occurred()) SWIG_fail
;
14025 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14032 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14034 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14035 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
14036 return SWIG_Py_Void();
14039 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14040 return SWIG_Python_InitShadowInstance(args
);
14043 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14044 PyObject
*resultobj
= 0;
14046 wxMouseEvent
*arg2
= 0 ;
14049 wxTextUrlEvent
*result
= 0 ;
14058 PyObject
* obj0
= 0 ;
14059 PyObject
* obj1
= 0 ;
14060 PyObject
* obj2
= 0 ;
14061 PyObject
* obj3
= 0 ;
14062 char * kwnames
[] = {
14063 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14067 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14068 if (!SWIG_IsOK(ecode1
)) {
14069 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14071 arg1
= static_cast< int >(val1
);
14072 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14073 if (!SWIG_IsOK(res2
)) {
14074 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14077 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14079 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
14080 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14081 if (!SWIG_IsOK(ecode3
)) {
14082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14084 arg3
= static_cast< long >(val3
);
14085 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
14086 if (!SWIG_IsOK(ecode4
)) {
14087 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14089 arg4
= static_cast< long >(val4
);
14091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14092 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
14093 wxPyEndAllowThreads(__tstate
);
14094 if (PyErr_Occurred()) SWIG_fail
;
14096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
14103 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14104 PyObject
*resultobj
= 0;
14105 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14106 wxMouseEvent
*result
= 0 ;
14109 PyObject
*swig_obj
[1] ;
14111 if (!args
) SWIG_fail
;
14112 swig_obj
[0] = args
;
14113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14114 if (!SWIG_IsOK(res1
)) {
14115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14117 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14121 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14122 result
= (wxMouseEvent
*) &_result_ref
;
14124 wxPyEndAllowThreads(__tstate
);
14125 if (PyErr_Occurred()) SWIG_fail
;
14127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14134 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14135 PyObject
*resultobj
= 0;
14136 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14140 PyObject
*swig_obj
[1] ;
14142 if (!args
) SWIG_fail
;
14143 swig_obj
[0] = args
;
14144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14145 if (!SWIG_IsOK(res1
)) {
14146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14148 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14151 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14152 wxPyEndAllowThreads(__tstate
);
14153 if (PyErr_Occurred()) SWIG_fail
;
14155 resultobj
= SWIG_From_long(static_cast< long >(result
));
14162 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14163 PyObject
*resultobj
= 0;
14164 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14168 PyObject
*swig_obj
[1] ;
14170 if (!args
) SWIG_fail
;
14171 swig_obj
[0] = args
;
14172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14173 if (!SWIG_IsOK(res1
)) {
14174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14176 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14179 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14180 wxPyEndAllowThreads(__tstate
);
14181 if (PyErr_Occurred()) SWIG_fail
;
14183 resultobj
= SWIG_From_long(static_cast< long >(result
));
14190 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14192 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14193 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14194 return SWIG_Py_Void();
14197 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14198 return SWIG_Python_InitShadowInstance(args
);
14201 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14202 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14207 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14208 PyObject
*pyobj
= 0;
14212 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14214 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14221 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14222 PyObject
*resultobj
= 0;
14223 wxWindow
*arg1
= (wxWindow
*) 0 ;
14224 int arg2
= (int) -1 ;
14225 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14226 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14227 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14228 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14229 long arg5
= (long) wxSB_HORIZONTAL
;
14230 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14231 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14232 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14233 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14234 wxScrollBar
*result
= 0 ;
14245 bool temp7
= false ;
14246 PyObject
* obj0
= 0 ;
14247 PyObject
* obj1
= 0 ;
14248 PyObject
* obj2
= 0 ;
14249 PyObject
* obj3
= 0 ;
14250 PyObject
* obj4
= 0 ;
14251 PyObject
* obj5
= 0 ;
14252 PyObject
* obj6
= 0 ;
14253 char * kwnames
[] = {
14254 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14259 if (!SWIG_IsOK(res1
)) {
14260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14262 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14265 if (!SWIG_IsOK(ecode2
)) {
14266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14268 arg2
= static_cast< int >(val2
);
14273 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14279 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14283 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14284 if (!SWIG_IsOK(ecode5
)) {
14285 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14287 arg5
= static_cast< long >(val5
);
14290 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14291 if (!SWIG_IsOK(res6
)) {
14292 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14295 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14297 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14301 arg7
= wxString_in_helper(obj6
);
14302 if (arg7
== NULL
) SWIG_fail
;
14307 if (!wxPyCheckForApp()) SWIG_fail
;
14308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14309 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14310 wxPyEndAllowThreads(__tstate
);
14311 if (PyErr_Occurred()) SWIG_fail
;
14313 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14328 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14329 PyObject
*resultobj
= 0;
14330 wxScrollBar
*result
= 0 ;
14332 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14334 if (!wxPyCheckForApp()) SWIG_fail
;
14335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14336 result
= (wxScrollBar
*)new wxScrollBar();
14337 wxPyEndAllowThreads(__tstate
);
14338 if (PyErr_Occurred()) SWIG_fail
;
14340 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14347 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14348 PyObject
*resultobj
= 0;
14349 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14350 wxWindow
*arg2
= (wxWindow
*) 0 ;
14351 int arg3
= (int) -1 ;
14352 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14353 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14354 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14355 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14356 long arg6
= (long) wxSB_HORIZONTAL
;
14357 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14358 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14359 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14360 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14374 bool temp8
= false ;
14375 PyObject
* obj0
= 0 ;
14376 PyObject
* obj1
= 0 ;
14377 PyObject
* obj2
= 0 ;
14378 PyObject
* obj3
= 0 ;
14379 PyObject
* obj4
= 0 ;
14380 PyObject
* obj5
= 0 ;
14381 PyObject
* obj6
= 0 ;
14382 PyObject
* obj7
= 0 ;
14383 char * kwnames
[] = {
14384 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14389 if (!SWIG_IsOK(res1
)) {
14390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14392 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14393 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14394 if (!SWIG_IsOK(res2
)) {
14395 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14397 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14399 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14400 if (!SWIG_IsOK(ecode3
)) {
14401 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14403 arg3
= static_cast< int >(val3
);
14408 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14414 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14418 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14419 if (!SWIG_IsOK(ecode6
)) {
14420 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14422 arg6
= static_cast< long >(val6
);
14425 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14426 if (!SWIG_IsOK(res7
)) {
14427 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14430 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14432 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14436 arg8
= wxString_in_helper(obj7
);
14437 if (arg8
== NULL
) SWIG_fail
;
14442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14443 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14444 wxPyEndAllowThreads(__tstate
);
14445 if (PyErr_Occurred()) SWIG_fail
;
14448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14464 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14465 PyObject
*resultobj
= 0;
14466 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14470 PyObject
*swig_obj
[1] ;
14472 if (!args
) SWIG_fail
;
14473 swig_obj
[0] = args
;
14474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14475 if (!SWIG_IsOK(res1
)) {
14476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14478 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14481 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14482 wxPyEndAllowThreads(__tstate
);
14483 if (PyErr_Occurred()) SWIG_fail
;
14485 resultobj
= SWIG_From_int(static_cast< int >(result
));
14492 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14493 PyObject
*resultobj
= 0;
14494 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14498 PyObject
*swig_obj
[1] ;
14500 if (!args
) SWIG_fail
;
14501 swig_obj
[0] = args
;
14502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14503 if (!SWIG_IsOK(res1
)) {
14504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14506 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14509 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14510 wxPyEndAllowThreads(__tstate
);
14511 if (PyErr_Occurred()) SWIG_fail
;
14513 resultobj
= SWIG_From_int(static_cast< int >(result
));
14520 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14521 PyObject
*resultobj
= 0;
14522 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14526 PyObject
*swig_obj
[1] ;
14528 if (!args
) SWIG_fail
;
14529 swig_obj
[0] = args
;
14530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14531 if (!SWIG_IsOK(res1
)) {
14532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14534 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14537 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14538 wxPyEndAllowThreads(__tstate
);
14539 if (PyErr_Occurred()) SWIG_fail
;
14541 resultobj
= SWIG_From_int(static_cast< int >(result
));
14548 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14549 PyObject
*resultobj
= 0;
14550 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14554 PyObject
*swig_obj
[1] ;
14556 if (!args
) SWIG_fail
;
14557 swig_obj
[0] = args
;
14558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14559 if (!SWIG_IsOK(res1
)) {
14560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14562 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14565 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14566 wxPyEndAllowThreads(__tstate
);
14567 if (PyErr_Occurred()) SWIG_fail
;
14569 resultobj
= SWIG_From_int(static_cast< int >(result
));
14576 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14577 PyObject
*resultobj
= 0;
14578 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14582 PyObject
*swig_obj
[1] ;
14584 if (!args
) SWIG_fail
;
14585 swig_obj
[0] = args
;
14586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14587 if (!SWIG_IsOK(res1
)) {
14588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14590 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14593 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14594 wxPyEndAllowThreads(__tstate
);
14595 if (PyErr_Occurred()) SWIG_fail
;
14598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14606 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14607 PyObject
*resultobj
= 0;
14608 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14614 PyObject
* obj0
= 0 ;
14615 PyObject
* obj1
= 0 ;
14616 char * kwnames
[] = {
14617 (char *) "self",(char *) "viewStart", NULL
14620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14622 if (!SWIG_IsOK(res1
)) {
14623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14625 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14626 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14627 if (!SWIG_IsOK(ecode2
)) {
14628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14630 arg2
= static_cast< int >(val2
);
14632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14633 (arg1
)->SetThumbPosition(arg2
);
14634 wxPyEndAllowThreads(__tstate
);
14635 if (PyErr_Occurred()) SWIG_fail
;
14637 resultobj
= SWIG_Py_Void();
14644 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14645 PyObject
*resultobj
= 0;
14646 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14647 SwigValueWrapper
<wxVisualAttributes
> result
;
14650 PyObject
* obj0
= 0 ;
14651 char * kwnames
[] = {
14652 (char *) "variant", NULL
14655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14657 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14658 if (!SWIG_IsOK(ecode1
)) {
14659 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14661 arg1
= static_cast< wxWindowVariant
>(val1
);
14664 if (!wxPyCheckForApp()) SWIG_fail
;
14665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14666 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14667 wxPyEndAllowThreads(__tstate
);
14668 if (PyErr_Occurred()) SWIG_fail
;
14670 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14677 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14679 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14680 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14681 return SWIG_Py_Void();
14684 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14685 return SWIG_Python_InitShadowInstance(args
);
14688 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14689 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14694 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14695 PyObject
*pyobj
= 0;
14699 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14701 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14708 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14709 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14714 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14715 PyObject
*pyobj
= 0;
14719 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14721 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14728 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14729 PyObject
*resultobj
= 0;
14730 wxWindow
*arg1
= (wxWindow
*) 0 ;
14731 int arg2
= (int) -1 ;
14732 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14733 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14734 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14735 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14736 long arg5
= (long) wxSP_HORIZONTAL
;
14737 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14738 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14739 wxSpinButton
*result
= 0 ;
14748 bool temp6
= false ;
14749 PyObject
* obj0
= 0 ;
14750 PyObject
* obj1
= 0 ;
14751 PyObject
* obj2
= 0 ;
14752 PyObject
* obj3
= 0 ;
14753 PyObject
* obj4
= 0 ;
14754 PyObject
* obj5
= 0 ;
14755 char * kwnames
[] = {
14756 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14761 if (!SWIG_IsOK(res1
)) {
14762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14764 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14766 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14767 if (!SWIG_IsOK(ecode2
)) {
14768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14770 arg2
= static_cast< int >(val2
);
14775 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14781 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14785 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14786 if (!SWIG_IsOK(ecode5
)) {
14787 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14789 arg5
= static_cast< long >(val5
);
14793 arg6
= wxString_in_helper(obj5
);
14794 if (arg6
== NULL
) SWIG_fail
;
14799 if (!wxPyCheckForApp()) SWIG_fail
;
14800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14801 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14802 wxPyEndAllowThreads(__tstate
);
14803 if (PyErr_Occurred()) SWIG_fail
;
14805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14820 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14821 PyObject
*resultobj
= 0;
14822 wxSpinButton
*result
= 0 ;
14824 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14826 if (!wxPyCheckForApp()) SWIG_fail
;
14827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14828 result
= (wxSpinButton
*)new wxSpinButton();
14829 wxPyEndAllowThreads(__tstate
);
14830 if (PyErr_Occurred()) SWIG_fail
;
14832 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14839 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14840 PyObject
*resultobj
= 0;
14841 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14842 wxWindow
*arg2
= (wxWindow
*) 0 ;
14843 int arg3
= (int) -1 ;
14844 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14845 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14846 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14847 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14848 long arg6
= (long) wxSP_HORIZONTAL
;
14849 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14850 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14862 bool temp7
= false ;
14863 PyObject
* obj0
= 0 ;
14864 PyObject
* obj1
= 0 ;
14865 PyObject
* obj2
= 0 ;
14866 PyObject
* obj3
= 0 ;
14867 PyObject
* obj4
= 0 ;
14868 PyObject
* obj5
= 0 ;
14869 PyObject
* obj6
= 0 ;
14870 char * kwnames
[] = {
14871 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14876 if (!SWIG_IsOK(res1
)) {
14877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14879 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14880 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14881 if (!SWIG_IsOK(res2
)) {
14882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14884 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14886 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14887 if (!SWIG_IsOK(ecode3
)) {
14888 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14890 arg3
= static_cast< int >(val3
);
14895 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14901 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14905 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14906 if (!SWIG_IsOK(ecode6
)) {
14907 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14909 arg6
= static_cast< long >(val6
);
14913 arg7
= wxString_in_helper(obj6
);
14914 if (arg7
== NULL
) SWIG_fail
;
14919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14920 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14921 wxPyEndAllowThreads(__tstate
);
14922 if (PyErr_Occurred()) SWIG_fail
;
14925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14941 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14942 PyObject
*resultobj
= 0;
14943 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14947 PyObject
*swig_obj
[1] ;
14949 if (!args
) SWIG_fail
;
14950 swig_obj
[0] = args
;
14951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14952 if (!SWIG_IsOK(res1
)) {
14953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14955 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14958 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14959 wxPyEndAllowThreads(__tstate
);
14960 if (PyErr_Occurred()) SWIG_fail
;
14962 resultobj
= SWIG_From_int(static_cast< int >(result
));
14969 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14970 PyObject
*resultobj
= 0;
14971 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14975 PyObject
*swig_obj
[1] ;
14977 if (!args
) SWIG_fail
;
14978 swig_obj
[0] = args
;
14979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14980 if (!SWIG_IsOK(res1
)) {
14981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14983 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14986 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14987 wxPyEndAllowThreads(__tstate
);
14988 if (PyErr_Occurred()) SWIG_fail
;
14990 resultobj
= SWIG_From_int(static_cast< int >(result
));
14997 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14998 PyObject
*resultobj
= 0;
14999 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15003 PyObject
*swig_obj
[1] ;
15005 if (!args
) SWIG_fail
;
15006 swig_obj
[0] = args
;
15007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15008 if (!SWIG_IsOK(res1
)) {
15009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15011 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15014 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
15015 wxPyEndAllowThreads(__tstate
);
15016 if (PyErr_Occurred()) SWIG_fail
;
15018 resultobj
= SWIG_From_int(static_cast< int >(result
));
15025 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15026 PyObject
*resultobj
= 0;
15027 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15033 PyObject
* obj0
= 0 ;
15034 PyObject
* obj1
= 0 ;
15035 char * kwnames
[] = {
15036 (char *) "self",(char *) "val", NULL
15039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15041 if (!SWIG_IsOK(res1
)) {
15042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15044 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15045 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15046 if (!SWIG_IsOK(ecode2
)) {
15047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15049 arg2
= static_cast< int >(val2
);
15051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15052 (arg1
)->SetValue(arg2
);
15053 wxPyEndAllowThreads(__tstate
);
15054 if (PyErr_Occurred()) SWIG_fail
;
15056 resultobj
= SWIG_Py_Void();
15063 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15064 PyObject
*resultobj
= 0;
15065 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15071 PyObject
* obj0
= 0 ;
15072 PyObject
* obj1
= 0 ;
15073 char * kwnames
[] = {
15074 (char *) "self",(char *) "minVal", NULL
15077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15079 if (!SWIG_IsOK(res1
)) {
15080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15082 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15084 if (!SWIG_IsOK(ecode2
)) {
15085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15087 arg2
= static_cast< int >(val2
);
15089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15090 (arg1
)->SetMin(arg2
);
15091 wxPyEndAllowThreads(__tstate
);
15092 if (PyErr_Occurred()) SWIG_fail
;
15094 resultobj
= SWIG_Py_Void();
15101 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15102 PyObject
*resultobj
= 0;
15103 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15109 PyObject
* obj0
= 0 ;
15110 PyObject
* obj1
= 0 ;
15111 char * kwnames
[] = {
15112 (char *) "self",(char *) "maxVal", NULL
15115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15117 if (!SWIG_IsOK(res1
)) {
15118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15120 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15121 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15122 if (!SWIG_IsOK(ecode2
)) {
15123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15125 arg2
= static_cast< int >(val2
);
15127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15128 (arg1
)->SetMax(arg2
);
15129 wxPyEndAllowThreads(__tstate
);
15130 if (PyErr_Occurred()) SWIG_fail
;
15132 resultobj
= SWIG_Py_Void();
15139 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15140 PyObject
*resultobj
= 0;
15141 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15150 PyObject
* obj0
= 0 ;
15151 PyObject
* obj1
= 0 ;
15152 PyObject
* obj2
= 0 ;
15153 char * kwnames
[] = {
15154 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15159 if (!SWIG_IsOK(res1
)) {
15160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15162 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15164 if (!SWIG_IsOK(ecode2
)) {
15165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15167 arg2
= static_cast< int >(val2
);
15168 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15169 if (!SWIG_IsOK(ecode3
)) {
15170 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15172 arg3
= static_cast< int >(val3
);
15174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15175 (arg1
)->SetRange(arg2
,arg3
);
15176 wxPyEndAllowThreads(__tstate
);
15177 if (PyErr_Occurred()) SWIG_fail
;
15179 resultobj
= SWIG_Py_Void();
15186 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15187 PyObject
*resultobj
= 0;
15188 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15192 PyObject
*swig_obj
[1] ;
15194 if (!args
) SWIG_fail
;
15195 swig_obj
[0] = args
;
15196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15197 if (!SWIG_IsOK(res1
)) {
15198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15200 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15203 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15204 wxPyEndAllowThreads(__tstate
);
15205 if (PyErr_Occurred()) SWIG_fail
;
15208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15216 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15217 PyObject
*resultobj
= 0;
15218 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15219 SwigValueWrapper
<wxVisualAttributes
> result
;
15222 PyObject
* obj0
= 0 ;
15223 char * kwnames
[] = {
15224 (char *) "variant", NULL
15227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15229 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15230 if (!SWIG_IsOK(ecode1
)) {
15231 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15233 arg1
= static_cast< wxWindowVariant
>(val1
);
15236 if (!wxPyCheckForApp()) SWIG_fail
;
15237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15238 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15239 wxPyEndAllowThreads(__tstate
);
15240 if (PyErr_Occurred()) SWIG_fail
;
15242 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15249 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15251 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15252 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15253 return SWIG_Py_Void();
15256 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15257 return SWIG_Python_InitShadowInstance(args
);
15260 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15261 PyObject
*resultobj
= 0;
15262 wxWindow
*arg1
= (wxWindow
*) 0 ;
15263 int arg2
= (int) -1 ;
15264 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15265 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15266 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15267 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15268 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15269 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15270 long arg6
= (long) wxSP_ARROW_KEYS
;
15271 int arg7
= (int) 0 ;
15272 int arg8
= (int) 100 ;
15273 int arg9
= (int) 0 ;
15274 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15275 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15276 wxSpinCtrl
*result
= 0 ;
15281 bool temp3
= false ;
15292 bool temp10
= false ;
15293 PyObject
* obj0
= 0 ;
15294 PyObject
* obj1
= 0 ;
15295 PyObject
* obj2
= 0 ;
15296 PyObject
* obj3
= 0 ;
15297 PyObject
* obj4
= 0 ;
15298 PyObject
* obj5
= 0 ;
15299 PyObject
* obj6
= 0 ;
15300 PyObject
* obj7
= 0 ;
15301 PyObject
* obj8
= 0 ;
15302 PyObject
* obj9
= 0 ;
15303 char * kwnames
[] = {
15304 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15309 if (!SWIG_IsOK(res1
)) {
15310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15312 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15315 if (!SWIG_IsOK(ecode2
)) {
15316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15318 arg2
= static_cast< int >(val2
);
15322 arg3
= wxString_in_helper(obj2
);
15323 if (arg3
== NULL
) SWIG_fail
;
15330 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15336 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15340 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15341 if (!SWIG_IsOK(ecode6
)) {
15342 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15344 arg6
= static_cast< long >(val6
);
15347 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15348 if (!SWIG_IsOK(ecode7
)) {
15349 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15351 arg7
= static_cast< int >(val7
);
15354 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15355 if (!SWIG_IsOK(ecode8
)) {
15356 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15358 arg8
= static_cast< int >(val8
);
15361 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15362 if (!SWIG_IsOK(ecode9
)) {
15363 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15365 arg9
= static_cast< int >(val9
);
15369 arg10
= wxString_in_helper(obj9
);
15370 if (arg10
== NULL
) SWIG_fail
;
15375 if (!wxPyCheckForApp()) SWIG_fail
;
15376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15377 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15378 wxPyEndAllowThreads(__tstate
);
15379 if (PyErr_Occurred()) SWIG_fail
;
15381 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15404 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15405 PyObject
*resultobj
= 0;
15406 wxSpinCtrl
*result
= 0 ;
15408 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15410 if (!wxPyCheckForApp()) SWIG_fail
;
15411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15412 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15413 wxPyEndAllowThreads(__tstate
);
15414 if (PyErr_Occurred()) SWIG_fail
;
15416 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15423 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15424 PyObject
*resultobj
= 0;
15425 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15426 wxWindow
*arg2
= (wxWindow
*) 0 ;
15427 int arg3
= (int) -1 ;
15428 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15429 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15430 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15431 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15432 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15433 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15434 long arg7
= (long) wxSP_ARROW_KEYS
;
15435 int arg8
= (int) 0 ;
15436 int arg9
= (int) 100 ;
15437 int arg10
= (int) 0 ;
15438 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15439 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15447 bool temp4
= false ;
15458 bool temp11
= false ;
15459 PyObject
* obj0
= 0 ;
15460 PyObject
* obj1
= 0 ;
15461 PyObject
* obj2
= 0 ;
15462 PyObject
* obj3
= 0 ;
15463 PyObject
* obj4
= 0 ;
15464 PyObject
* obj5
= 0 ;
15465 PyObject
* obj6
= 0 ;
15466 PyObject
* obj7
= 0 ;
15467 PyObject
* obj8
= 0 ;
15468 PyObject
* obj9
= 0 ;
15469 PyObject
* obj10
= 0 ;
15470 char * kwnames
[] = {
15471 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15476 if (!SWIG_IsOK(res1
)) {
15477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15479 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15480 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15481 if (!SWIG_IsOK(res2
)) {
15482 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15484 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15486 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15487 if (!SWIG_IsOK(ecode3
)) {
15488 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15490 arg3
= static_cast< int >(val3
);
15494 arg4
= wxString_in_helper(obj3
);
15495 if (arg4
== NULL
) SWIG_fail
;
15502 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15508 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15512 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15513 if (!SWIG_IsOK(ecode7
)) {
15514 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15516 arg7
= static_cast< long >(val7
);
15519 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15520 if (!SWIG_IsOK(ecode8
)) {
15521 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15523 arg8
= static_cast< int >(val8
);
15526 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15527 if (!SWIG_IsOK(ecode9
)) {
15528 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15530 arg9
= static_cast< int >(val9
);
15533 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15534 if (!SWIG_IsOK(ecode10
)) {
15535 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15537 arg10
= static_cast< int >(val10
);
15541 arg11
= wxString_in_helper(obj10
);
15542 if (arg11
== NULL
) SWIG_fail
;
15547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15548 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15549 wxPyEndAllowThreads(__tstate
);
15550 if (PyErr_Occurred()) SWIG_fail
;
15553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15577 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15578 PyObject
*resultobj
= 0;
15579 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15583 PyObject
*swig_obj
[1] ;
15585 if (!args
) SWIG_fail
;
15586 swig_obj
[0] = args
;
15587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15588 if (!SWIG_IsOK(res1
)) {
15589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15591 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15594 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15595 wxPyEndAllowThreads(__tstate
);
15596 if (PyErr_Occurred()) SWIG_fail
;
15598 resultobj
= SWIG_From_int(static_cast< int >(result
));
15605 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15606 PyObject
*resultobj
= 0;
15607 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15613 PyObject
* obj0
= 0 ;
15614 PyObject
* obj1
= 0 ;
15615 char * kwnames
[] = {
15616 (char *) "self",(char *) "value", NULL
15619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15621 if (!SWIG_IsOK(res1
)) {
15622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15624 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15625 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15626 if (!SWIG_IsOK(ecode2
)) {
15627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15629 arg2
= static_cast< int >(val2
);
15631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15632 (arg1
)->SetValue(arg2
);
15633 wxPyEndAllowThreads(__tstate
);
15634 if (PyErr_Occurred()) SWIG_fail
;
15636 resultobj
= SWIG_Py_Void();
15643 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15644 PyObject
*resultobj
= 0;
15645 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15646 wxString
*arg2
= 0 ;
15649 bool temp2
= false ;
15650 PyObject
* obj0
= 0 ;
15651 PyObject
* obj1
= 0 ;
15652 char * kwnames
[] = {
15653 (char *) "self",(char *) "text", NULL
15656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15658 if (!SWIG_IsOK(res1
)) {
15659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15661 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15663 arg2
= wxString_in_helper(obj1
);
15664 if (arg2
== NULL
) SWIG_fail
;
15668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15669 (arg1
)->SetValue((wxString
const &)*arg2
);
15670 wxPyEndAllowThreads(__tstate
);
15671 if (PyErr_Occurred()) SWIG_fail
;
15673 resultobj
= SWIG_Py_Void();
15688 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15689 PyObject
*resultobj
= 0;
15690 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15699 PyObject
* obj0
= 0 ;
15700 PyObject
* obj1
= 0 ;
15701 PyObject
* obj2
= 0 ;
15702 char * kwnames
[] = {
15703 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15708 if (!SWIG_IsOK(res1
)) {
15709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15711 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15712 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15713 if (!SWIG_IsOK(ecode2
)) {
15714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15716 arg2
= static_cast< int >(val2
);
15717 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15718 if (!SWIG_IsOK(ecode3
)) {
15719 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15721 arg3
= static_cast< int >(val3
);
15723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15724 (arg1
)->SetRange(arg2
,arg3
);
15725 wxPyEndAllowThreads(__tstate
);
15726 if (PyErr_Occurred()) SWIG_fail
;
15728 resultobj
= SWIG_Py_Void();
15735 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15736 PyObject
*resultobj
= 0;
15737 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15741 PyObject
*swig_obj
[1] ;
15743 if (!args
) SWIG_fail
;
15744 swig_obj
[0] = args
;
15745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15746 if (!SWIG_IsOK(res1
)) {
15747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15749 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15752 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15753 wxPyEndAllowThreads(__tstate
);
15754 if (PyErr_Occurred()) SWIG_fail
;
15756 resultobj
= SWIG_From_int(static_cast< int >(result
));
15763 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15764 PyObject
*resultobj
= 0;
15765 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15769 PyObject
*swig_obj
[1] ;
15771 if (!args
) SWIG_fail
;
15772 swig_obj
[0] = args
;
15773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15774 if (!SWIG_IsOK(res1
)) {
15775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15777 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15780 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15781 wxPyEndAllowThreads(__tstate
);
15782 if (PyErr_Occurred()) SWIG_fail
;
15784 resultobj
= SWIG_From_int(static_cast< int >(result
));
15791 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15792 PyObject
*resultobj
= 0;
15793 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15802 PyObject
* obj0
= 0 ;
15803 PyObject
* obj1
= 0 ;
15804 PyObject
* obj2
= 0 ;
15805 char * kwnames
[] = {
15806 (char *) "self",(char *) "from",(char *) "to", NULL
15809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15811 if (!SWIG_IsOK(res1
)) {
15812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15814 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15815 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15816 if (!SWIG_IsOK(ecode2
)) {
15817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15819 arg2
= static_cast< long >(val2
);
15820 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15821 if (!SWIG_IsOK(ecode3
)) {
15822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15824 arg3
= static_cast< long >(val3
);
15826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15827 (arg1
)->SetSelection(arg2
,arg3
);
15828 wxPyEndAllowThreads(__tstate
);
15829 if (PyErr_Occurred()) SWIG_fail
;
15831 resultobj
= SWIG_Py_Void();
15838 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15839 PyObject
*resultobj
= 0;
15840 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15841 SwigValueWrapper
<wxVisualAttributes
> result
;
15844 PyObject
* obj0
= 0 ;
15845 char * kwnames
[] = {
15846 (char *) "variant", NULL
15849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15851 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15852 if (!SWIG_IsOK(ecode1
)) {
15853 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15855 arg1
= static_cast< wxWindowVariant
>(val1
);
15858 if (!wxPyCheckForApp()) SWIG_fail
;
15859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15860 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15861 wxPyEndAllowThreads(__tstate
);
15862 if (PyErr_Occurred()) SWIG_fail
;
15864 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15871 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15873 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15874 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15875 return SWIG_Py_Void();
15878 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15879 return SWIG_Python_InitShadowInstance(args
);
15882 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15883 PyObject
*resultobj
= 0;
15884 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15885 int arg2
= (int) 0 ;
15886 wxSpinEvent
*result
= 0 ;
15891 PyObject
* obj0
= 0 ;
15892 PyObject
* obj1
= 0 ;
15893 char * kwnames
[] = {
15894 (char *) "commandType",(char *) "winid", NULL
15897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15899 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15900 if (!SWIG_IsOK(ecode1
)) {
15901 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15903 arg1
= static_cast< wxEventType
>(val1
);
15906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15907 if (!SWIG_IsOK(ecode2
)) {
15908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15910 arg2
= static_cast< int >(val2
);
15913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15914 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15915 wxPyEndAllowThreads(__tstate
);
15916 if (PyErr_Occurred()) SWIG_fail
;
15918 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15925 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15926 PyObject
*resultobj
= 0;
15927 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15931 PyObject
*swig_obj
[1] ;
15933 if (!args
) SWIG_fail
;
15934 swig_obj
[0] = args
;
15935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15936 if (!SWIG_IsOK(res1
)) {
15937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15939 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15942 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15943 wxPyEndAllowThreads(__tstate
);
15944 if (PyErr_Occurred()) SWIG_fail
;
15946 resultobj
= SWIG_From_int(static_cast< int >(result
));
15953 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15954 PyObject
*resultobj
= 0;
15955 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15961 PyObject
* obj0
= 0 ;
15962 PyObject
* obj1
= 0 ;
15963 char * kwnames
[] = {
15964 (char *) "self",(char *) "pos", NULL
15967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15969 if (!SWIG_IsOK(res1
)) {
15970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15972 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15973 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15974 if (!SWIG_IsOK(ecode2
)) {
15975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15977 arg2
= static_cast< int >(val2
);
15979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15980 (arg1
)->SetPosition(arg2
);
15981 wxPyEndAllowThreads(__tstate
);
15982 if (PyErr_Occurred()) SWIG_fail
;
15984 resultobj
= SWIG_Py_Void();
15991 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15993 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15994 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15995 return SWIG_Py_Void();
15998 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15999 return SWIG_Python_InitShadowInstance(args
);
16002 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
16003 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
16008 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
16009 PyObject
*pyobj
= 0;
16013 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16015 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16022 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
16023 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
16028 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
16029 PyObject
*pyobj
= 0;
16033 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16035 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16042 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16043 PyObject
*resultobj
= 0;
16044 wxWindow
*arg1
= (wxWindow
*) 0 ;
16045 int arg2
= (int) -1 ;
16046 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16047 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16048 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16049 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16050 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16051 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16052 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
16053 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
16054 int arg7
= (int) 0 ;
16055 long arg8
= (long) wxRA_HORIZONTAL
;
16056 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
16057 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
16058 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
16059 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
16060 wxRadioBox
*result
= 0 ;
16065 bool temp3
= false ;
16068 bool temp6
= false ;
16075 bool temp10
= false ;
16076 PyObject
* obj0
= 0 ;
16077 PyObject
* obj1
= 0 ;
16078 PyObject
* obj2
= 0 ;
16079 PyObject
* obj3
= 0 ;
16080 PyObject
* obj4
= 0 ;
16081 PyObject
* obj5
= 0 ;
16082 PyObject
* obj6
= 0 ;
16083 PyObject
* obj7
= 0 ;
16084 PyObject
* obj8
= 0 ;
16085 PyObject
* obj9
= 0 ;
16086 char * kwnames
[] = {
16087 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
16091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16092 if (!SWIG_IsOK(res1
)) {
16093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16095 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16098 if (!SWIG_IsOK(ecode2
)) {
16099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16101 arg2
= static_cast< int >(val2
);
16105 arg3
= wxString_in_helper(obj2
);
16106 if (arg3
== NULL
) SWIG_fail
;
16113 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16119 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16124 if (! PySequence_Check(obj5
)) {
16125 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16128 arg6
= new wxArrayString
;
16130 int i
, len
=PySequence_Length(obj5
);
16131 for (i
=0; i
<len
; i
++) {
16132 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16133 wxString
* s
= wxString_in_helper(item
);
16134 if (PyErr_Occurred()) SWIG_fail
;
16142 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16143 if (!SWIG_IsOK(ecode7
)) {
16144 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16146 arg7
= static_cast< int >(val7
);
16149 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16150 if (!SWIG_IsOK(ecode8
)) {
16151 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16153 arg8
= static_cast< long >(val8
);
16156 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16157 if (!SWIG_IsOK(res9
)) {
16158 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16161 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16163 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16167 arg10
= wxString_in_helper(obj9
);
16168 if (arg10
== NULL
) SWIG_fail
;
16173 if (!wxPyCheckForApp()) SWIG_fail
;
16174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16175 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
);
16176 wxPyEndAllowThreads(__tstate
);
16177 if (PyErr_Occurred()) SWIG_fail
;
16179 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16185 if (temp6
) delete arg6
;
16198 if (temp6
) delete arg6
;
16208 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16209 PyObject
*resultobj
= 0;
16210 wxRadioBox
*result
= 0 ;
16212 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16214 if (!wxPyCheckForApp()) SWIG_fail
;
16215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16216 result
= (wxRadioBox
*)new wxRadioBox();
16217 wxPyEndAllowThreads(__tstate
);
16218 if (PyErr_Occurred()) SWIG_fail
;
16220 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16227 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16228 PyObject
*resultobj
= 0;
16229 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16230 wxWindow
*arg2
= (wxWindow
*) 0 ;
16231 int arg3
= (int) -1 ;
16232 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16233 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16234 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16235 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16236 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16237 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16238 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16239 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16240 int arg8
= (int) 0 ;
16241 long arg9
= (long) wxRA_HORIZONTAL
;
16242 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16243 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16244 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16245 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16253 bool temp4
= false ;
16256 bool temp7
= false ;
16263 bool temp11
= false ;
16264 PyObject
* obj0
= 0 ;
16265 PyObject
* obj1
= 0 ;
16266 PyObject
* obj2
= 0 ;
16267 PyObject
* obj3
= 0 ;
16268 PyObject
* obj4
= 0 ;
16269 PyObject
* obj5
= 0 ;
16270 PyObject
* obj6
= 0 ;
16271 PyObject
* obj7
= 0 ;
16272 PyObject
* obj8
= 0 ;
16273 PyObject
* obj9
= 0 ;
16274 PyObject
* obj10
= 0 ;
16275 char * kwnames
[] = {
16276 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16281 if (!SWIG_IsOK(res1
)) {
16282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16284 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16285 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16286 if (!SWIG_IsOK(res2
)) {
16287 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16289 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16291 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16292 if (!SWIG_IsOK(ecode3
)) {
16293 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16295 arg3
= static_cast< int >(val3
);
16299 arg4
= wxString_in_helper(obj3
);
16300 if (arg4
== NULL
) SWIG_fail
;
16307 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16313 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16318 if (! PySequence_Check(obj6
)) {
16319 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16322 arg7
= new wxArrayString
;
16324 int i
, len
=PySequence_Length(obj6
);
16325 for (i
=0; i
<len
; i
++) {
16326 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16327 wxString
* s
= wxString_in_helper(item
);
16328 if (PyErr_Occurred()) SWIG_fail
;
16336 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16337 if (!SWIG_IsOK(ecode8
)) {
16338 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16340 arg8
= static_cast< int >(val8
);
16343 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16344 if (!SWIG_IsOK(ecode9
)) {
16345 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16347 arg9
= static_cast< long >(val9
);
16350 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16351 if (!SWIG_IsOK(res10
)) {
16352 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16355 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16357 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16361 arg11
= wxString_in_helper(obj10
);
16362 if (arg11
== NULL
) SWIG_fail
;
16367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16368 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
);
16369 wxPyEndAllowThreads(__tstate
);
16370 if (PyErr_Occurred()) SWIG_fail
;
16373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16380 if (temp7
) delete arg7
;
16393 if (temp7
) delete arg7
;
16403 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16404 PyObject
*resultobj
= 0;
16405 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16411 PyObject
* obj0
= 0 ;
16412 PyObject
* obj1
= 0 ;
16413 char * kwnames
[] = {
16414 (char *) "self",(char *) "n", NULL
16417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16419 if (!SWIG_IsOK(res1
)) {
16420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16422 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16423 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16424 if (!SWIG_IsOK(ecode2
)) {
16425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16427 arg2
= static_cast< int >(val2
);
16429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16430 (arg1
)->SetSelection(arg2
);
16431 wxPyEndAllowThreads(__tstate
);
16432 if (PyErr_Occurred()) SWIG_fail
;
16434 resultobj
= SWIG_Py_Void();
16441 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16442 PyObject
*resultobj
= 0;
16443 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16447 PyObject
*swig_obj
[1] ;
16449 if (!args
) SWIG_fail
;
16450 swig_obj
[0] = args
;
16451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16452 if (!SWIG_IsOK(res1
)) {
16453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16455 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16458 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16459 wxPyEndAllowThreads(__tstate
);
16460 if (PyErr_Occurred()) SWIG_fail
;
16462 resultobj
= SWIG_From_int(static_cast< int >(result
));
16469 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16470 PyObject
*resultobj
= 0;
16471 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16475 PyObject
*swig_obj
[1] ;
16477 if (!args
) SWIG_fail
;
16478 swig_obj
[0] = args
;
16479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16480 if (!SWIG_IsOK(res1
)) {
16481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16483 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16486 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16487 wxPyEndAllowThreads(__tstate
);
16488 if (PyErr_Occurred()) SWIG_fail
;
16492 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16494 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16503 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16504 PyObject
*resultobj
= 0;
16505 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16506 wxString
*arg2
= 0 ;
16510 bool temp2
= false ;
16511 PyObject
* obj0
= 0 ;
16512 PyObject
* obj1
= 0 ;
16513 char * kwnames
[] = {
16514 (char *) "self",(char *) "s", NULL
16517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16519 if (!SWIG_IsOK(res1
)) {
16520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16522 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16524 arg2
= wxString_in_helper(obj1
);
16525 if (arg2
== NULL
) SWIG_fail
;
16529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16530 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16531 wxPyEndAllowThreads(__tstate
);
16532 if (PyErr_Occurred()) SWIG_fail
;
16535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16551 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16552 PyObject
*resultobj
= 0;
16553 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16557 PyObject
*swig_obj
[1] ;
16559 if (!args
) SWIG_fail
;
16560 swig_obj
[0] = args
;
16561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16562 if (!SWIG_IsOK(res1
)) {
16563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16565 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16568 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16569 wxPyEndAllowThreads(__tstate
);
16570 if (PyErr_Occurred()) SWIG_fail
;
16572 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16579 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16580 PyObject
*resultobj
= 0;
16581 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16582 wxString
*arg2
= 0 ;
16586 bool temp2
= false ;
16587 PyObject
* obj0
= 0 ;
16588 PyObject
* obj1
= 0 ;
16589 char * kwnames
[] = {
16590 (char *) "self",(char *) "s", NULL
16593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16595 if (!SWIG_IsOK(res1
)) {
16596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16598 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16600 arg2
= wxString_in_helper(obj1
);
16601 if (arg2
== NULL
) SWIG_fail
;
16605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16606 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16607 wxPyEndAllowThreads(__tstate
);
16608 if (PyErr_Occurred()) SWIG_fail
;
16610 resultobj
= SWIG_From_int(static_cast< int >(result
));
16625 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16626 PyObject
*resultobj
= 0;
16627 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16634 PyObject
* obj0
= 0 ;
16635 PyObject
* obj1
= 0 ;
16636 char * kwnames
[] = {
16637 (char *) "self",(char *) "n", NULL
16640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16642 if (!SWIG_IsOK(res1
)) {
16643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16645 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16646 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16647 if (!SWIG_IsOK(ecode2
)) {
16648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16650 arg2
= static_cast< int >(val2
);
16652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16653 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16654 wxPyEndAllowThreads(__tstate
);
16655 if (PyErr_Occurred()) SWIG_fail
;
16659 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16661 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16670 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16671 PyObject
*resultobj
= 0;
16672 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16674 wxString
*arg3
= 0 ;
16679 bool temp3
= false ;
16680 PyObject
* obj0
= 0 ;
16681 PyObject
* obj1
= 0 ;
16682 PyObject
* obj2
= 0 ;
16683 char * kwnames
[] = {
16684 (char *) "self",(char *) "n",(char *) "label", NULL
16687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16689 if (!SWIG_IsOK(res1
)) {
16690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16692 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16693 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16694 if (!SWIG_IsOK(ecode2
)) {
16695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16697 arg2
= static_cast< int >(val2
);
16699 arg3
= wxString_in_helper(obj2
);
16700 if (arg3
== NULL
) SWIG_fail
;
16704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16705 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16706 wxPyEndAllowThreads(__tstate
);
16707 if (PyErr_Occurred()) SWIG_fail
;
16709 resultobj
= SWIG_Py_Void();
16724 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16725 PyObject
*resultobj
= 0;
16726 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16727 unsigned int arg2
;
16728 bool arg3
= (bool) true ;
16731 unsigned int val2
;
16735 PyObject
* obj0
= 0 ;
16736 PyObject
* obj1
= 0 ;
16737 PyObject
* obj2
= 0 ;
16738 char * kwnames
[] = {
16739 (char *) "self",(char *) "n",(char *) "enable", NULL
16742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16744 if (!SWIG_IsOK(res1
)) {
16745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16747 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16748 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16749 if (!SWIG_IsOK(ecode2
)) {
16750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16752 arg2
= static_cast< unsigned int >(val2
);
16754 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16755 if (!SWIG_IsOK(ecode3
)) {
16756 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16758 arg3
= static_cast< bool >(val3
);
16761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16762 (arg1
)->Enable(arg2
,arg3
);
16763 wxPyEndAllowThreads(__tstate
);
16764 if (PyErr_Occurred()) SWIG_fail
;
16766 resultobj
= SWIG_Py_Void();
16773 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16774 PyObject
*resultobj
= 0;
16775 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16776 unsigned int arg2
;
16777 bool arg3
= (bool) true ;
16780 unsigned int val2
;
16784 PyObject
* obj0
= 0 ;
16785 PyObject
* obj1
= 0 ;
16786 PyObject
* obj2
= 0 ;
16787 char * kwnames
[] = {
16788 (char *) "self",(char *) "n",(char *) "show", NULL
16791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16793 if (!SWIG_IsOK(res1
)) {
16794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16796 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16797 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16798 if (!SWIG_IsOK(ecode2
)) {
16799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16801 arg2
= static_cast< unsigned int >(val2
);
16803 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16804 if (!SWIG_IsOK(ecode3
)) {
16805 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16807 arg3
= static_cast< bool >(val3
);
16810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16811 (arg1
)->Show(arg2
,arg3
);
16812 wxPyEndAllowThreads(__tstate
);
16813 if (PyErr_Occurred()) SWIG_fail
;
16815 resultobj
= SWIG_Py_Void();
16822 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16823 PyObject
*resultobj
= 0;
16824 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16825 unsigned int arg2
;
16829 unsigned int val2
;
16831 PyObject
* obj0
= 0 ;
16832 PyObject
* obj1
= 0 ;
16833 char * kwnames
[] = {
16834 (char *) "self",(char *) "n", NULL
16837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16839 if (!SWIG_IsOK(res1
)) {
16840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16842 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16843 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16844 if (!SWIG_IsOK(ecode2
)) {
16845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16847 arg2
= static_cast< unsigned int >(val2
);
16849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16850 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16851 wxPyEndAllowThreads(__tstate
);
16852 if (PyErr_Occurred()) SWIG_fail
;
16855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16863 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16864 PyObject
*resultobj
= 0;
16865 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16866 unsigned int arg2
;
16870 unsigned int val2
;
16872 PyObject
* obj0
= 0 ;
16873 PyObject
* obj1
= 0 ;
16874 char * kwnames
[] = {
16875 (char *) "self",(char *) "n", NULL
16878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16880 if (!SWIG_IsOK(res1
)) {
16881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16883 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16884 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16885 if (!SWIG_IsOK(ecode2
)) {
16886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16888 arg2
= static_cast< unsigned int >(val2
);
16890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16891 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16892 wxPyEndAllowThreads(__tstate
);
16893 if (PyErr_Occurred()) SWIG_fail
;
16896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16904 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16905 PyObject
*resultobj
= 0;
16906 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16907 unsigned int result
;
16910 PyObject
*swig_obj
[1] ;
16912 if (!args
) SWIG_fail
;
16913 swig_obj
[0] = args
;
16914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16915 if (!SWIG_IsOK(res1
)) {
16916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16918 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16921 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16922 wxPyEndAllowThreads(__tstate
);
16923 if (PyErr_Occurred()) SWIG_fail
;
16925 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16932 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16933 PyObject
*resultobj
= 0;
16934 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16935 unsigned int result
;
16938 PyObject
*swig_obj
[1] ;
16940 if (!args
) SWIG_fail
;
16941 swig_obj
[0] = args
;
16942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16943 if (!SWIG_IsOK(res1
)) {
16944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16946 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16949 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16950 wxPyEndAllowThreads(__tstate
);
16951 if (PyErr_Occurred()) SWIG_fail
;
16953 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16960 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16961 PyObject
*resultobj
= 0;
16962 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16975 PyObject
* obj0
= 0 ;
16976 PyObject
* obj1
= 0 ;
16977 PyObject
* obj2
= 0 ;
16978 PyObject
* obj3
= 0 ;
16979 char * kwnames
[] = {
16980 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16985 if (!SWIG_IsOK(res1
)) {
16986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16988 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16989 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16990 if (!SWIG_IsOK(ecode2
)) {
16991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16993 arg2
= static_cast< int >(val2
);
16994 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16995 if (!SWIG_IsOK(ecode3
)) {
16996 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16998 arg3
= static_cast< wxDirection
>(val3
);
16999 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
17000 if (!SWIG_IsOK(ecode4
)) {
17001 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
17003 arg4
= static_cast< long >(val4
);
17005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17006 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
17007 wxPyEndAllowThreads(__tstate
);
17008 if (PyErr_Occurred()) SWIG_fail
;
17010 resultobj
= SWIG_From_int(static_cast< int >(result
));
17017 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17018 PyObject
*resultobj
= 0;
17019 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17020 unsigned int arg2
;
17021 wxString
*arg3
= 0 ;
17024 unsigned int val2
;
17026 bool temp3
= false ;
17027 PyObject
* obj0
= 0 ;
17028 PyObject
* obj1
= 0 ;
17029 PyObject
* obj2
= 0 ;
17030 char * kwnames
[] = {
17031 (char *) "self",(char *) "item",(char *) "text", NULL
17034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17036 if (!SWIG_IsOK(res1
)) {
17037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17039 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17040 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17041 if (!SWIG_IsOK(ecode2
)) {
17042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17044 arg2
= static_cast< unsigned int >(val2
);
17046 arg3
= wxString_in_helper(obj2
);
17047 if (arg3
== NULL
) SWIG_fail
;
17051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17052 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
17053 wxPyEndAllowThreads(__tstate
);
17054 if (PyErr_Occurred()) SWIG_fail
;
17056 resultobj
= SWIG_Py_Void();
17071 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17072 PyObject
*resultobj
= 0;
17073 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17074 unsigned int arg2
;
17075 wxToolTip
*result
= 0 ;
17078 unsigned int val2
;
17080 PyObject
* obj0
= 0 ;
17081 PyObject
* obj1
= 0 ;
17082 char * kwnames
[] = {
17083 (char *) "self",(char *) "item", NULL
17086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17088 if (!SWIG_IsOK(res1
)) {
17089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17091 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17092 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17093 if (!SWIG_IsOK(ecode2
)) {
17094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17096 arg2
= static_cast< unsigned int >(val2
);
17098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17099 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
17100 wxPyEndAllowThreads(__tstate
);
17101 if (PyErr_Occurred()) SWIG_fail
;
17104 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17112 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17113 PyObject
*resultobj
= 0;
17114 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17115 unsigned int arg2
;
17116 wxString
*arg3
= 0 ;
17119 unsigned int val2
;
17121 bool temp3
= false ;
17122 PyObject
* obj0
= 0 ;
17123 PyObject
* obj1
= 0 ;
17124 PyObject
* obj2
= 0 ;
17125 char * kwnames
[] = {
17126 (char *) "self",(char *) "n",(char *) "helpText", NULL
17129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17131 if (!SWIG_IsOK(res1
)) {
17132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17134 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17135 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17136 if (!SWIG_IsOK(ecode2
)) {
17137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17139 arg2
= static_cast< unsigned int >(val2
);
17141 arg3
= wxString_in_helper(obj2
);
17142 if (arg3
== NULL
) SWIG_fail
;
17146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17147 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17148 wxPyEndAllowThreads(__tstate
);
17149 if (PyErr_Occurred()) SWIG_fail
;
17151 resultobj
= SWIG_Py_Void();
17166 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17167 PyObject
*resultobj
= 0;
17168 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17169 unsigned int arg2
;
17173 unsigned int val2
;
17175 PyObject
* obj0
= 0 ;
17176 PyObject
* obj1
= 0 ;
17177 char * kwnames
[] = {
17178 (char *) "self",(char *) "n", NULL
17181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17183 if (!SWIG_IsOK(res1
)) {
17184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17186 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17187 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17188 if (!SWIG_IsOK(ecode2
)) {
17189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17191 arg2
= static_cast< unsigned int >(val2
);
17193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17194 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17195 wxPyEndAllowThreads(__tstate
);
17196 if (PyErr_Occurred()) SWIG_fail
;
17200 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17202 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17211 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17212 PyObject
*resultobj
= 0;
17213 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17214 SwigValueWrapper
<wxVisualAttributes
> result
;
17217 PyObject
* obj0
= 0 ;
17218 char * kwnames
[] = {
17219 (char *) "variant", NULL
17222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17224 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17225 if (!SWIG_IsOK(ecode1
)) {
17226 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17228 arg1
= static_cast< wxWindowVariant
>(val1
);
17231 if (!wxPyCheckForApp()) SWIG_fail
;
17232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17233 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17234 wxPyEndAllowThreads(__tstate
);
17235 if (PyErr_Occurred()) SWIG_fail
;
17237 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17244 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17246 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17247 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17248 return SWIG_Py_Void();
17251 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17252 return SWIG_Python_InitShadowInstance(args
);
17255 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17256 PyObject
*resultobj
= 0;
17257 wxWindow
*arg1
= (wxWindow
*) 0 ;
17258 int arg2
= (int) -1 ;
17259 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17260 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17261 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17262 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17263 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17264 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17265 long arg6
= (long) 0 ;
17266 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17267 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17268 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17269 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17270 wxRadioButton
*result
= 0 ;
17275 bool temp3
= false ;
17282 bool temp8
= false ;
17283 PyObject
* obj0
= 0 ;
17284 PyObject
* obj1
= 0 ;
17285 PyObject
* obj2
= 0 ;
17286 PyObject
* obj3
= 0 ;
17287 PyObject
* obj4
= 0 ;
17288 PyObject
* obj5
= 0 ;
17289 PyObject
* obj6
= 0 ;
17290 PyObject
* obj7
= 0 ;
17291 char * kwnames
[] = {
17292 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17297 if (!SWIG_IsOK(res1
)) {
17298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17300 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17303 if (!SWIG_IsOK(ecode2
)) {
17304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17306 arg2
= static_cast< int >(val2
);
17310 arg3
= wxString_in_helper(obj2
);
17311 if (arg3
== NULL
) SWIG_fail
;
17318 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17324 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17328 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17329 if (!SWIG_IsOK(ecode6
)) {
17330 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17332 arg6
= static_cast< long >(val6
);
17335 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17336 if (!SWIG_IsOK(res7
)) {
17337 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17340 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17342 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17346 arg8
= wxString_in_helper(obj7
);
17347 if (arg8
== NULL
) SWIG_fail
;
17352 if (!wxPyCheckForApp()) SWIG_fail
;
17353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17354 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17355 wxPyEndAllowThreads(__tstate
);
17356 if (PyErr_Occurred()) SWIG_fail
;
17358 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17381 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17382 PyObject
*resultobj
= 0;
17383 wxRadioButton
*result
= 0 ;
17385 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17387 if (!wxPyCheckForApp()) SWIG_fail
;
17388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17389 result
= (wxRadioButton
*)new wxRadioButton();
17390 wxPyEndAllowThreads(__tstate
);
17391 if (PyErr_Occurred()) SWIG_fail
;
17393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17400 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17401 PyObject
*resultobj
= 0;
17402 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17403 wxWindow
*arg2
= (wxWindow
*) 0 ;
17404 int arg3
= (int) -1 ;
17405 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17406 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17407 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17408 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17409 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17410 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17411 long arg7
= (long) 0 ;
17412 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17413 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17414 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17415 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17423 bool temp4
= false ;
17430 bool temp9
= false ;
17431 PyObject
* obj0
= 0 ;
17432 PyObject
* obj1
= 0 ;
17433 PyObject
* obj2
= 0 ;
17434 PyObject
* obj3
= 0 ;
17435 PyObject
* obj4
= 0 ;
17436 PyObject
* obj5
= 0 ;
17437 PyObject
* obj6
= 0 ;
17438 PyObject
* obj7
= 0 ;
17439 PyObject
* obj8
= 0 ;
17440 char * kwnames
[] = {
17441 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17446 if (!SWIG_IsOK(res1
)) {
17447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17449 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17450 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17451 if (!SWIG_IsOK(res2
)) {
17452 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17454 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17456 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17457 if (!SWIG_IsOK(ecode3
)) {
17458 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17460 arg3
= static_cast< int >(val3
);
17464 arg4
= wxString_in_helper(obj3
);
17465 if (arg4
== NULL
) SWIG_fail
;
17472 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17478 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17482 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17483 if (!SWIG_IsOK(ecode7
)) {
17484 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17486 arg7
= static_cast< long >(val7
);
17489 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17490 if (!SWIG_IsOK(res8
)) {
17491 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17494 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17496 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17500 arg9
= wxString_in_helper(obj8
);
17501 if (arg9
== NULL
) SWIG_fail
;
17506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17507 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17508 wxPyEndAllowThreads(__tstate
);
17509 if (PyErr_Occurred()) SWIG_fail
;
17512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17536 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17537 PyObject
*resultobj
= 0;
17538 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17542 PyObject
*swig_obj
[1] ;
17544 if (!args
) SWIG_fail
;
17545 swig_obj
[0] = args
;
17546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17547 if (!SWIG_IsOK(res1
)) {
17548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17550 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17553 result
= (bool)(arg1
)->GetValue();
17554 wxPyEndAllowThreads(__tstate
);
17555 if (PyErr_Occurred()) SWIG_fail
;
17558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17566 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17567 PyObject
*resultobj
= 0;
17568 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17574 PyObject
* obj0
= 0 ;
17575 PyObject
* obj1
= 0 ;
17576 char * kwnames
[] = {
17577 (char *) "self",(char *) "value", NULL
17580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17582 if (!SWIG_IsOK(res1
)) {
17583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17585 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17586 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17587 if (!SWIG_IsOK(ecode2
)) {
17588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17590 arg2
= static_cast< bool >(val2
);
17592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17593 (arg1
)->SetValue(arg2
);
17594 wxPyEndAllowThreads(__tstate
);
17595 if (PyErr_Occurred()) SWIG_fail
;
17597 resultobj
= SWIG_Py_Void();
17604 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17605 PyObject
*resultobj
= 0;
17606 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17607 SwigValueWrapper
<wxVisualAttributes
> result
;
17610 PyObject
* obj0
= 0 ;
17611 char * kwnames
[] = {
17612 (char *) "variant", NULL
17615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17617 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17618 if (!SWIG_IsOK(ecode1
)) {
17619 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17621 arg1
= static_cast< wxWindowVariant
>(val1
);
17624 if (!wxPyCheckForApp()) SWIG_fail
;
17625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17626 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17627 wxPyEndAllowThreads(__tstate
);
17628 if (PyErr_Occurred()) SWIG_fail
;
17630 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17637 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17639 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17640 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17641 return SWIG_Py_Void();
17644 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17645 return SWIG_Python_InitShadowInstance(args
);
17648 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17649 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17654 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17655 PyObject
*pyobj
= 0;
17659 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17661 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17668 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17669 PyObject
*resultobj
= 0;
17670 wxWindow
*arg1
= (wxWindow
*) 0 ;
17671 int arg2
= (int) -1 ;
17672 int arg3
= (int) 0 ;
17673 int arg4
= (int) 0 ;
17674 int arg5
= (int) 100 ;
17675 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17676 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17677 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17678 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17679 long arg8
= (long) wxSL_HORIZONTAL
;
17680 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17681 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17682 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17683 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17684 wxSlider
*result
= 0 ;
17701 bool temp10
= false ;
17702 PyObject
* obj0
= 0 ;
17703 PyObject
* obj1
= 0 ;
17704 PyObject
* obj2
= 0 ;
17705 PyObject
* obj3
= 0 ;
17706 PyObject
* obj4
= 0 ;
17707 PyObject
* obj5
= 0 ;
17708 PyObject
* obj6
= 0 ;
17709 PyObject
* obj7
= 0 ;
17710 PyObject
* obj8
= 0 ;
17711 PyObject
* obj9
= 0 ;
17712 char * kwnames
[] = {
17713 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17718 if (!SWIG_IsOK(res1
)) {
17719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17721 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17723 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17724 if (!SWIG_IsOK(ecode2
)) {
17725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17727 arg2
= static_cast< int >(val2
);
17730 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17731 if (!SWIG_IsOK(ecode3
)) {
17732 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17734 arg3
= static_cast< int >(val3
);
17737 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17738 if (!SWIG_IsOK(ecode4
)) {
17739 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17741 arg4
= static_cast< int >(val4
);
17744 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17745 if (!SWIG_IsOK(ecode5
)) {
17746 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17748 arg5
= static_cast< int >(val5
);
17753 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17759 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17763 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17764 if (!SWIG_IsOK(ecode8
)) {
17765 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17767 arg8
= static_cast< long >(val8
);
17770 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17771 if (!SWIG_IsOK(res9
)) {
17772 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17775 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17777 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17781 arg10
= wxString_in_helper(obj9
);
17782 if (arg10
== NULL
) SWIG_fail
;
17787 if (!wxPyCheckForApp()) SWIG_fail
;
17788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17789 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17790 wxPyEndAllowThreads(__tstate
);
17791 if (PyErr_Occurred()) SWIG_fail
;
17793 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17808 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17809 PyObject
*resultobj
= 0;
17810 wxSlider
*result
= 0 ;
17812 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17814 if (!wxPyCheckForApp()) SWIG_fail
;
17815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17816 result
= (wxSlider
*)new wxSlider();
17817 wxPyEndAllowThreads(__tstate
);
17818 if (PyErr_Occurred()) SWIG_fail
;
17820 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17827 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17828 PyObject
*resultobj
= 0;
17829 wxSlider
*arg1
= (wxSlider
*) 0 ;
17830 wxWindow
*arg2
= (wxWindow
*) 0 ;
17831 int arg3
= (int) -1 ;
17832 int arg4
= (int) 0 ;
17833 int arg5
= (int) 0 ;
17834 int arg6
= (int) 100 ;
17835 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17836 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17837 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17838 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17839 long arg9
= (long) wxSL_HORIZONTAL
;
17840 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17841 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17842 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17843 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17863 bool temp11
= false ;
17864 PyObject
* obj0
= 0 ;
17865 PyObject
* obj1
= 0 ;
17866 PyObject
* obj2
= 0 ;
17867 PyObject
* obj3
= 0 ;
17868 PyObject
* obj4
= 0 ;
17869 PyObject
* obj5
= 0 ;
17870 PyObject
* obj6
= 0 ;
17871 PyObject
* obj7
= 0 ;
17872 PyObject
* obj8
= 0 ;
17873 PyObject
* obj9
= 0 ;
17874 PyObject
* obj10
= 0 ;
17875 char * kwnames
[] = {
17876 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17881 if (!SWIG_IsOK(res1
)) {
17882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17884 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17885 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17886 if (!SWIG_IsOK(res2
)) {
17887 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17889 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17891 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17892 if (!SWIG_IsOK(ecode3
)) {
17893 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17895 arg3
= static_cast< int >(val3
);
17898 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17899 if (!SWIG_IsOK(ecode4
)) {
17900 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17902 arg4
= static_cast< int >(val4
);
17905 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17906 if (!SWIG_IsOK(ecode5
)) {
17907 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17909 arg5
= static_cast< int >(val5
);
17912 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17913 if (!SWIG_IsOK(ecode6
)) {
17914 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17916 arg6
= static_cast< int >(val6
);
17921 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17927 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17931 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17932 if (!SWIG_IsOK(ecode9
)) {
17933 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17935 arg9
= static_cast< long >(val9
);
17938 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17939 if (!SWIG_IsOK(res10
)) {
17940 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17943 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17945 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17949 arg11
= wxString_in_helper(obj10
);
17950 if (arg11
== NULL
) SWIG_fail
;
17955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17956 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17957 wxPyEndAllowThreads(__tstate
);
17958 if (PyErr_Occurred()) SWIG_fail
;
17961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17977 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17978 PyObject
*resultobj
= 0;
17979 wxSlider
*arg1
= (wxSlider
*) 0 ;
17983 PyObject
*swig_obj
[1] ;
17985 if (!args
) SWIG_fail
;
17986 swig_obj
[0] = args
;
17987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17988 if (!SWIG_IsOK(res1
)) {
17989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17991 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17994 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17995 wxPyEndAllowThreads(__tstate
);
17996 if (PyErr_Occurred()) SWIG_fail
;
17998 resultobj
= SWIG_From_int(static_cast< int >(result
));
18005 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18006 PyObject
*resultobj
= 0;
18007 wxSlider
*arg1
= (wxSlider
*) 0 ;
18013 PyObject
* obj0
= 0 ;
18014 PyObject
* obj1
= 0 ;
18015 char * kwnames
[] = {
18016 (char *) "self",(char *) "value", NULL
18019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18021 if (!SWIG_IsOK(res1
)) {
18022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18024 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18025 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18026 if (!SWIG_IsOK(ecode2
)) {
18027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18029 arg2
= static_cast< int >(val2
);
18031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18032 (arg1
)->SetValue(arg2
);
18033 wxPyEndAllowThreads(__tstate
);
18034 if (PyErr_Occurred()) SWIG_fail
;
18036 resultobj
= SWIG_Py_Void();
18043 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18044 PyObject
*resultobj
= 0;
18045 wxSlider
*arg1
= (wxSlider
*) 0 ;
18054 PyObject
* obj0
= 0 ;
18055 PyObject
* obj1
= 0 ;
18056 PyObject
* obj2
= 0 ;
18057 char * kwnames
[] = {
18058 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18063 if (!SWIG_IsOK(res1
)) {
18064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18066 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18068 if (!SWIG_IsOK(ecode2
)) {
18069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18071 arg2
= static_cast< int >(val2
);
18072 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18073 if (!SWIG_IsOK(ecode3
)) {
18074 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18076 arg3
= static_cast< int >(val3
);
18078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18079 (arg1
)->SetRange(arg2
,arg3
);
18080 wxPyEndAllowThreads(__tstate
);
18081 if (PyErr_Occurred()) SWIG_fail
;
18083 resultobj
= SWIG_Py_Void();
18090 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18091 PyObject
*resultobj
= 0;
18092 wxSlider
*arg1
= (wxSlider
*) 0 ;
18096 PyObject
*swig_obj
[1] ;
18098 if (!args
) SWIG_fail
;
18099 swig_obj
[0] = args
;
18100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18101 if (!SWIG_IsOK(res1
)) {
18102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18104 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18107 result
= (int)((wxSlider
const *)arg1
)->GetMin();
18108 wxPyEndAllowThreads(__tstate
);
18109 if (PyErr_Occurred()) SWIG_fail
;
18111 resultobj
= SWIG_From_int(static_cast< int >(result
));
18118 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18119 PyObject
*resultobj
= 0;
18120 wxSlider
*arg1
= (wxSlider
*) 0 ;
18124 PyObject
*swig_obj
[1] ;
18126 if (!args
) SWIG_fail
;
18127 swig_obj
[0] = args
;
18128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18129 if (!SWIG_IsOK(res1
)) {
18130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18132 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18135 result
= (int)((wxSlider
const *)arg1
)->GetMax();
18136 wxPyEndAllowThreads(__tstate
);
18137 if (PyErr_Occurred()) SWIG_fail
;
18139 resultobj
= SWIG_From_int(static_cast< int >(result
));
18146 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18147 PyObject
*resultobj
= 0;
18148 wxSlider
*arg1
= (wxSlider
*) 0 ;
18154 PyObject
* obj0
= 0 ;
18155 PyObject
* obj1
= 0 ;
18156 char * kwnames
[] = {
18157 (char *) "self",(char *) "minValue", NULL
18160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18162 if (!SWIG_IsOK(res1
)) {
18163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18165 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18167 if (!SWIG_IsOK(ecode2
)) {
18168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18170 arg2
= static_cast< int >(val2
);
18172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18173 (arg1
)->SetMin(arg2
);
18174 wxPyEndAllowThreads(__tstate
);
18175 if (PyErr_Occurred()) SWIG_fail
;
18177 resultobj
= SWIG_Py_Void();
18184 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18185 PyObject
*resultobj
= 0;
18186 wxSlider
*arg1
= (wxSlider
*) 0 ;
18192 PyObject
* obj0
= 0 ;
18193 PyObject
* obj1
= 0 ;
18194 char * kwnames
[] = {
18195 (char *) "self",(char *) "maxValue", NULL
18198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18200 if (!SWIG_IsOK(res1
)) {
18201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18203 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18204 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18205 if (!SWIG_IsOK(ecode2
)) {
18206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18208 arg2
= static_cast< int >(val2
);
18210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18211 (arg1
)->SetMax(arg2
);
18212 wxPyEndAllowThreads(__tstate
);
18213 if (PyErr_Occurred()) SWIG_fail
;
18215 resultobj
= SWIG_Py_Void();
18222 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18223 PyObject
*resultobj
= 0;
18224 wxSlider
*arg1
= (wxSlider
*) 0 ;
18230 PyObject
* obj0
= 0 ;
18231 PyObject
* obj1
= 0 ;
18232 char * kwnames
[] = {
18233 (char *) "self",(char *) "lineSize", NULL
18236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18238 if (!SWIG_IsOK(res1
)) {
18239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18241 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18243 if (!SWIG_IsOK(ecode2
)) {
18244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18246 arg2
= static_cast< int >(val2
);
18248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18249 (arg1
)->SetLineSize(arg2
);
18250 wxPyEndAllowThreads(__tstate
);
18251 if (PyErr_Occurred()) SWIG_fail
;
18253 resultobj
= SWIG_Py_Void();
18260 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18261 PyObject
*resultobj
= 0;
18262 wxSlider
*arg1
= (wxSlider
*) 0 ;
18268 PyObject
* obj0
= 0 ;
18269 PyObject
* obj1
= 0 ;
18270 char * kwnames
[] = {
18271 (char *) "self",(char *) "pageSize", NULL
18274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18276 if (!SWIG_IsOK(res1
)) {
18277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18279 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18281 if (!SWIG_IsOK(ecode2
)) {
18282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18284 arg2
= static_cast< int >(val2
);
18286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18287 (arg1
)->SetPageSize(arg2
);
18288 wxPyEndAllowThreads(__tstate
);
18289 if (PyErr_Occurred()) SWIG_fail
;
18291 resultobj
= SWIG_Py_Void();
18298 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18299 PyObject
*resultobj
= 0;
18300 wxSlider
*arg1
= (wxSlider
*) 0 ;
18304 PyObject
*swig_obj
[1] ;
18306 if (!args
) SWIG_fail
;
18307 swig_obj
[0] = args
;
18308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18309 if (!SWIG_IsOK(res1
)) {
18310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18312 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18315 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18316 wxPyEndAllowThreads(__tstate
);
18317 if (PyErr_Occurred()) SWIG_fail
;
18319 resultobj
= SWIG_From_int(static_cast< int >(result
));
18326 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18327 PyObject
*resultobj
= 0;
18328 wxSlider
*arg1
= (wxSlider
*) 0 ;
18332 PyObject
*swig_obj
[1] ;
18334 if (!args
) SWIG_fail
;
18335 swig_obj
[0] = args
;
18336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18337 if (!SWIG_IsOK(res1
)) {
18338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18340 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18343 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18344 wxPyEndAllowThreads(__tstate
);
18345 if (PyErr_Occurred()) SWIG_fail
;
18347 resultobj
= SWIG_From_int(static_cast< int >(result
));
18354 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18355 PyObject
*resultobj
= 0;
18356 wxSlider
*arg1
= (wxSlider
*) 0 ;
18362 PyObject
* obj0
= 0 ;
18363 PyObject
* obj1
= 0 ;
18364 char * kwnames
[] = {
18365 (char *) "self",(char *) "lenPixels", NULL
18368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18370 if (!SWIG_IsOK(res1
)) {
18371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18373 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18374 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18375 if (!SWIG_IsOK(ecode2
)) {
18376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18378 arg2
= static_cast< int >(val2
);
18380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18381 (arg1
)->SetThumbLength(arg2
);
18382 wxPyEndAllowThreads(__tstate
);
18383 if (PyErr_Occurred()) SWIG_fail
;
18385 resultobj
= SWIG_Py_Void();
18392 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18393 PyObject
*resultobj
= 0;
18394 wxSlider
*arg1
= (wxSlider
*) 0 ;
18398 PyObject
*swig_obj
[1] ;
18400 if (!args
) SWIG_fail
;
18401 swig_obj
[0] = args
;
18402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18403 if (!SWIG_IsOK(res1
)) {
18404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18406 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18409 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18410 wxPyEndAllowThreads(__tstate
);
18411 if (PyErr_Occurred()) SWIG_fail
;
18413 resultobj
= SWIG_From_int(static_cast< int >(result
));
18420 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18421 PyObject
*resultobj
= 0;
18422 wxSlider
*arg1
= (wxSlider
*) 0 ;
18424 int arg3
= (int) 1 ;
18431 PyObject
* obj0
= 0 ;
18432 PyObject
* obj1
= 0 ;
18433 PyObject
* obj2
= 0 ;
18434 char * kwnames
[] = {
18435 (char *) "self",(char *) "n",(char *) "pos", NULL
18438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18440 if (!SWIG_IsOK(res1
)) {
18441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18443 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18445 if (!SWIG_IsOK(ecode2
)) {
18446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18448 arg2
= static_cast< int >(val2
);
18450 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18451 if (!SWIG_IsOK(ecode3
)) {
18452 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18454 arg3
= static_cast< int >(val3
);
18457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18458 (arg1
)->SetTickFreq(arg2
,arg3
);
18459 wxPyEndAllowThreads(__tstate
);
18460 if (PyErr_Occurred()) SWIG_fail
;
18462 resultobj
= SWIG_Py_Void();
18469 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18470 PyObject
*resultobj
= 0;
18471 wxSlider
*arg1
= (wxSlider
*) 0 ;
18475 PyObject
*swig_obj
[1] ;
18477 if (!args
) SWIG_fail
;
18478 swig_obj
[0] = args
;
18479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18480 if (!SWIG_IsOK(res1
)) {
18481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18483 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18486 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18487 wxPyEndAllowThreads(__tstate
);
18488 if (PyErr_Occurred()) SWIG_fail
;
18490 resultobj
= SWIG_From_int(static_cast< int >(result
));
18497 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18498 PyObject
*resultobj
= 0;
18499 wxSlider
*arg1
= (wxSlider
*) 0 ;
18502 PyObject
*swig_obj
[1] ;
18504 if (!args
) SWIG_fail
;
18505 swig_obj
[0] = args
;
18506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18507 if (!SWIG_IsOK(res1
)) {
18508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18510 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18513 (arg1
)->ClearTicks();
18514 wxPyEndAllowThreads(__tstate
);
18515 if (PyErr_Occurred()) SWIG_fail
;
18517 resultobj
= SWIG_Py_Void();
18524 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18525 PyObject
*resultobj
= 0;
18526 wxSlider
*arg1
= (wxSlider
*) 0 ;
18532 PyObject
* obj0
= 0 ;
18533 PyObject
* obj1
= 0 ;
18534 char * kwnames
[] = {
18535 (char *) "self",(char *) "tickPos", NULL
18538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18540 if (!SWIG_IsOK(res1
)) {
18541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18543 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18544 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18545 if (!SWIG_IsOK(ecode2
)) {
18546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18548 arg2
= static_cast< int >(val2
);
18550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18551 (arg1
)->SetTick(arg2
);
18552 wxPyEndAllowThreads(__tstate
);
18553 if (PyErr_Occurred()) SWIG_fail
;
18555 resultobj
= SWIG_Py_Void();
18562 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18563 PyObject
*resultobj
= 0;
18564 wxSlider
*arg1
= (wxSlider
*) 0 ;
18567 PyObject
*swig_obj
[1] ;
18569 if (!args
) SWIG_fail
;
18570 swig_obj
[0] = args
;
18571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18572 if (!SWIG_IsOK(res1
)) {
18573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18575 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18578 (arg1
)->ClearSel();
18579 wxPyEndAllowThreads(__tstate
);
18580 if (PyErr_Occurred()) SWIG_fail
;
18582 resultobj
= SWIG_Py_Void();
18589 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18590 PyObject
*resultobj
= 0;
18591 wxSlider
*arg1
= (wxSlider
*) 0 ;
18595 PyObject
*swig_obj
[1] ;
18597 if (!args
) SWIG_fail
;
18598 swig_obj
[0] = args
;
18599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18600 if (!SWIG_IsOK(res1
)) {
18601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18603 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18606 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18607 wxPyEndAllowThreads(__tstate
);
18608 if (PyErr_Occurred()) SWIG_fail
;
18610 resultobj
= SWIG_From_int(static_cast< int >(result
));
18617 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18618 PyObject
*resultobj
= 0;
18619 wxSlider
*arg1
= (wxSlider
*) 0 ;
18623 PyObject
*swig_obj
[1] ;
18625 if (!args
) SWIG_fail
;
18626 swig_obj
[0] = args
;
18627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18628 if (!SWIG_IsOK(res1
)) {
18629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18631 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18634 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18635 wxPyEndAllowThreads(__tstate
);
18636 if (PyErr_Occurred()) SWIG_fail
;
18638 resultobj
= SWIG_From_int(static_cast< int >(result
));
18645 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18646 PyObject
*resultobj
= 0;
18647 wxSlider
*arg1
= (wxSlider
*) 0 ;
18656 PyObject
* obj0
= 0 ;
18657 PyObject
* obj1
= 0 ;
18658 PyObject
* obj2
= 0 ;
18659 char * kwnames
[] = {
18660 (char *) "self",(char *) "min",(char *) "max", NULL
18663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18665 if (!SWIG_IsOK(res1
)) {
18666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18668 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18669 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18670 if (!SWIG_IsOK(ecode2
)) {
18671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18673 arg2
= static_cast< int >(val2
);
18674 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18675 if (!SWIG_IsOK(ecode3
)) {
18676 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18678 arg3
= static_cast< int >(val3
);
18680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18681 (arg1
)->SetSelection(arg2
,arg3
);
18682 wxPyEndAllowThreads(__tstate
);
18683 if (PyErr_Occurred()) SWIG_fail
;
18685 resultobj
= SWIG_Py_Void();
18692 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18693 PyObject
*resultobj
= 0;
18694 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18695 SwigValueWrapper
<wxVisualAttributes
> result
;
18698 PyObject
* obj0
= 0 ;
18699 char * kwnames
[] = {
18700 (char *) "variant", NULL
18703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18705 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18706 if (!SWIG_IsOK(ecode1
)) {
18707 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18709 arg1
= static_cast< wxWindowVariant
>(val1
);
18712 if (!wxPyCheckForApp()) SWIG_fail
;
18713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18714 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18715 wxPyEndAllowThreads(__tstate
);
18716 if (PyErr_Occurred()) SWIG_fail
;
18718 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18725 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18727 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18728 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18729 return SWIG_Py_Void();
18732 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18733 return SWIG_Python_InitShadowInstance(args
);
18736 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18737 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18742 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18743 PyObject
*pyobj
= 0;
18747 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18749 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18756 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18757 PyObject
*resultobj
= 0;
18758 wxWindow
*arg1
= (wxWindow
*) 0 ;
18759 int arg2
= (int) -1 ;
18760 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18761 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18762 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18763 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18764 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18765 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18766 long arg6
= (long) 0 ;
18767 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18768 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18769 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18770 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18771 wxToggleButton
*result
= 0 ;
18776 bool temp3
= false ;
18783 bool temp8
= false ;
18784 PyObject
* obj0
= 0 ;
18785 PyObject
* obj1
= 0 ;
18786 PyObject
* obj2
= 0 ;
18787 PyObject
* obj3
= 0 ;
18788 PyObject
* obj4
= 0 ;
18789 PyObject
* obj5
= 0 ;
18790 PyObject
* obj6
= 0 ;
18791 PyObject
* obj7
= 0 ;
18792 char * kwnames
[] = {
18793 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18798 if (!SWIG_IsOK(res1
)) {
18799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18801 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18803 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18804 if (!SWIG_IsOK(ecode2
)) {
18805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18807 arg2
= static_cast< int >(val2
);
18811 arg3
= wxString_in_helper(obj2
);
18812 if (arg3
== NULL
) SWIG_fail
;
18819 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18825 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18829 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18830 if (!SWIG_IsOK(ecode6
)) {
18831 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18833 arg6
= static_cast< long >(val6
);
18836 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18837 if (!SWIG_IsOK(res7
)) {
18838 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18841 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18843 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18847 arg8
= wxString_in_helper(obj7
);
18848 if (arg8
== NULL
) SWIG_fail
;
18853 if (!wxPyCheckForApp()) SWIG_fail
;
18854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18855 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18856 wxPyEndAllowThreads(__tstate
);
18857 if (PyErr_Occurred()) SWIG_fail
;
18859 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18882 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18883 PyObject
*resultobj
= 0;
18884 wxToggleButton
*result
= 0 ;
18886 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18888 if (!wxPyCheckForApp()) SWIG_fail
;
18889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18890 result
= (wxToggleButton
*)new wxToggleButton();
18891 wxPyEndAllowThreads(__tstate
);
18892 if (PyErr_Occurred()) SWIG_fail
;
18894 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18901 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18902 PyObject
*resultobj
= 0;
18903 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18904 wxWindow
*arg2
= (wxWindow
*) 0 ;
18905 int arg3
= (int) -1 ;
18906 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18907 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18908 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18909 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18910 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18911 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18912 long arg7
= (long) 0 ;
18913 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18914 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18915 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18916 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18924 bool temp4
= false ;
18931 bool temp9
= false ;
18932 PyObject
* obj0
= 0 ;
18933 PyObject
* obj1
= 0 ;
18934 PyObject
* obj2
= 0 ;
18935 PyObject
* obj3
= 0 ;
18936 PyObject
* obj4
= 0 ;
18937 PyObject
* obj5
= 0 ;
18938 PyObject
* obj6
= 0 ;
18939 PyObject
* obj7
= 0 ;
18940 PyObject
* obj8
= 0 ;
18941 char * kwnames
[] = {
18942 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18947 if (!SWIG_IsOK(res1
)) {
18948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18950 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18951 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18952 if (!SWIG_IsOK(res2
)) {
18953 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18955 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18957 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18958 if (!SWIG_IsOK(ecode3
)) {
18959 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18961 arg3
= static_cast< int >(val3
);
18965 arg4
= wxString_in_helper(obj3
);
18966 if (arg4
== NULL
) SWIG_fail
;
18973 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18979 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18983 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18984 if (!SWIG_IsOK(ecode7
)) {
18985 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18987 arg7
= static_cast< long >(val7
);
18990 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18991 if (!SWIG_IsOK(res8
)) {
18992 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18995 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18997 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
19001 arg9
= wxString_in_helper(obj8
);
19002 if (arg9
== NULL
) SWIG_fail
;
19007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19008 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
19009 wxPyEndAllowThreads(__tstate
);
19010 if (PyErr_Occurred()) SWIG_fail
;
19013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19037 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19038 PyObject
*resultobj
= 0;
19039 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19045 PyObject
* obj0
= 0 ;
19046 PyObject
* obj1
= 0 ;
19047 char * kwnames
[] = {
19048 (char *) "self",(char *) "value", NULL
19051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19053 if (!SWIG_IsOK(res1
)) {
19054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19056 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19057 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19058 if (!SWIG_IsOK(ecode2
)) {
19059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19061 arg2
= static_cast< bool >(val2
);
19063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19064 (arg1
)->SetValue(arg2
);
19065 wxPyEndAllowThreads(__tstate
);
19066 if (PyErr_Occurred()) SWIG_fail
;
19068 resultobj
= SWIG_Py_Void();
19075 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19076 PyObject
*resultobj
= 0;
19077 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19081 PyObject
*swig_obj
[1] ;
19083 if (!args
) SWIG_fail
;
19084 swig_obj
[0] = args
;
19085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19086 if (!SWIG_IsOK(res1
)) {
19087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19089 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19092 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
19093 wxPyEndAllowThreads(__tstate
);
19094 if (PyErr_Occurred()) SWIG_fail
;
19097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19105 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19106 PyObject
*resultobj
= 0;
19107 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19108 SwigValueWrapper
<wxVisualAttributes
> result
;
19111 PyObject
* obj0
= 0 ;
19112 char * kwnames
[] = {
19113 (char *) "variant", NULL
19116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19118 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19119 if (!SWIG_IsOK(ecode1
)) {
19120 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19122 arg1
= static_cast< wxWindowVariant
>(val1
);
19125 if (!wxPyCheckForApp()) SWIG_fail
;
19126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19127 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
19128 wxPyEndAllowThreads(__tstate
);
19129 if (PyErr_Occurred()) SWIG_fail
;
19131 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19138 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19140 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19141 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19142 return SWIG_Py_Void();
19145 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19146 return SWIG_Python_InitShadowInstance(args
);
19149 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19150 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19155 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19156 PyObject
*pyobj
= 0;
19160 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19162 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19169 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19170 PyObject
*resultobj
= 0;
19171 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19175 PyObject
*swig_obj
[1] ;
19177 if (!args
) SWIG_fail
;
19178 swig_obj
[0] = args
;
19179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19180 if (!SWIG_IsOK(res1
)) {
19181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19183 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19186 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19187 wxPyEndAllowThreads(__tstate
);
19188 if (PyErr_Occurred()) SWIG_fail
;
19190 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19197 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19198 PyObject
*resultobj
= 0;
19199 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19201 wxWindow
*result
= 0 ;
19206 PyObject
* obj0
= 0 ;
19207 PyObject
* obj1
= 0 ;
19208 char * kwnames
[] = {
19209 (char *) "self",(char *) "n", NULL
19212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19214 if (!SWIG_IsOK(res1
)) {
19215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19217 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19218 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19219 if (!SWIG_IsOK(ecode2
)) {
19220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19222 arg2
= static_cast< size_t >(val2
);
19224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19225 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19226 wxPyEndAllowThreads(__tstate
);
19227 if (PyErr_Occurred()) SWIG_fail
;
19230 resultobj
= wxPyMake_wxObject(result
, 0);
19238 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19239 PyObject
*resultobj
= 0;
19240 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19241 wxWindow
*result
= 0 ;
19244 PyObject
*swig_obj
[1] ;
19246 if (!args
) SWIG_fail
;
19247 swig_obj
[0] = args
;
19248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19249 if (!SWIG_IsOK(res1
)) {
19250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19252 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19255 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19256 wxPyEndAllowThreads(__tstate
);
19257 if (PyErr_Occurred()) SWIG_fail
;
19260 resultobj
= wxPyMake_wxObject(result
, 0);
19268 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19269 PyObject
*resultobj
= 0;
19270 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19274 PyObject
*swig_obj
[1] ;
19276 if (!args
) SWIG_fail
;
19277 swig_obj
[0] = args
;
19278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19279 if (!SWIG_IsOK(res1
)) {
19280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19282 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19285 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19286 wxPyEndAllowThreads(__tstate
);
19287 if (PyErr_Occurred()) SWIG_fail
;
19289 resultobj
= SWIG_From_int(static_cast< int >(result
));
19296 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19297 PyObject
*resultobj
= 0;
19298 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19300 wxString
*arg3
= 0 ;
19306 bool temp3
= false ;
19307 PyObject
* obj0
= 0 ;
19308 PyObject
* obj1
= 0 ;
19309 PyObject
* obj2
= 0 ;
19310 char * kwnames
[] = {
19311 (char *) "self",(char *) "n",(char *) "strText", NULL
19314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19316 if (!SWIG_IsOK(res1
)) {
19317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19319 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19320 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19321 if (!SWIG_IsOK(ecode2
)) {
19322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19324 arg2
= static_cast< size_t >(val2
);
19326 arg3
= wxString_in_helper(obj2
);
19327 if (arg3
== NULL
) SWIG_fail
;
19331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19332 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19333 wxPyEndAllowThreads(__tstate
);
19334 if (PyErr_Occurred()) SWIG_fail
;
19337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19353 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19354 PyObject
*resultobj
= 0;
19355 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19362 PyObject
* obj0
= 0 ;
19363 PyObject
* obj1
= 0 ;
19364 char * kwnames
[] = {
19365 (char *) "self",(char *) "n", NULL
19368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19370 if (!SWIG_IsOK(res1
)) {
19371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19373 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19374 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19375 if (!SWIG_IsOK(ecode2
)) {
19376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19378 arg2
= static_cast< size_t >(val2
);
19380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19381 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19382 wxPyEndAllowThreads(__tstate
);
19383 if (PyErr_Occurred()) SWIG_fail
;
19387 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19389 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19398 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19399 PyObject
*resultobj
= 0;
19400 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19401 wxImageList
*arg2
= (wxImageList
*) 0 ;
19406 PyObject
* obj0
= 0 ;
19407 PyObject
* obj1
= 0 ;
19408 char * kwnames
[] = {
19409 (char *) "self",(char *) "imageList", NULL
19412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19414 if (!SWIG_IsOK(res1
)) {
19415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19417 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19418 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19419 if (!SWIG_IsOK(res2
)) {
19420 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19422 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19425 (arg1
)->SetImageList(arg2
);
19426 wxPyEndAllowThreads(__tstate
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19429 resultobj
= SWIG_Py_Void();
19436 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19437 PyObject
*resultobj
= 0;
19438 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19439 wxImageList
*arg2
= (wxImageList
*) 0 ;
19443 PyObject
* obj0
= 0 ;
19444 PyObject
* obj1
= 0 ;
19445 char * kwnames
[] = {
19446 (char *) "self",(char *) "imageList", NULL
19449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19451 if (!SWIG_IsOK(res1
)) {
19452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19454 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19455 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19456 if (!SWIG_IsOK(res2
)) {
19457 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19461 (arg1
)->AssignImageList(arg2
);
19462 wxPyEndAllowThreads(__tstate
);
19463 if (PyErr_Occurred()) SWIG_fail
;
19465 resultobj
= SWIG_Py_Void();
19472 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19473 PyObject
*resultobj
= 0;
19474 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19475 wxImageList
*result
= 0 ;
19478 PyObject
*swig_obj
[1] ;
19480 if (!args
) SWIG_fail
;
19481 swig_obj
[0] = args
;
19482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19483 if (!SWIG_IsOK(res1
)) {
19484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19486 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19489 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19490 wxPyEndAllowThreads(__tstate
);
19491 if (PyErr_Occurred()) SWIG_fail
;
19494 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19502 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19503 PyObject
*resultobj
= 0;
19504 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19511 PyObject
* obj0
= 0 ;
19512 PyObject
* obj1
= 0 ;
19513 char * kwnames
[] = {
19514 (char *) "self",(char *) "n", NULL
19517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19519 if (!SWIG_IsOK(res1
)) {
19520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19522 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19523 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19524 if (!SWIG_IsOK(ecode2
)) {
19525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19527 arg2
= static_cast< size_t >(val2
);
19529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19530 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19531 wxPyEndAllowThreads(__tstate
);
19532 if (PyErr_Occurred()) SWIG_fail
;
19534 resultobj
= SWIG_From_int(static_cast< int >(result
));
19541 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19542 PyObject
*resultobj
= 0;
19543 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19553 PyObject
* obj0
= 0 ;
19554 PyObject
* obj1
= 0 ;
19555 PyObject
* obj2
= 0 ;
19556 char * kwnames
[] = {
19557 (char *) "self",(char *) "n",(char *) "imageId", NULL
19560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19562 if (!SWIG_IsOK(res1
)) {
19563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19565 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19566 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19567 if (!SWIG_IsOK(ecode2
)) {
19568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19570 arg2
= static_cast< size_t >(val2
);
19571 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19572 if (!SWIG_IsOK(ecode3
)) {
19573 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19575 arg3
= static_cast< int >(val3
);
19577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19578 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19579 wxPyEndAllowThreads(__tstate
);
19580 if (PyErr_Occurred()) SWIG_fail
;
19583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19591 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19592 PyObject
*resultobj
= 0;
19593 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19598 PyObject
* obj0
= 0 ;
19599 PyObject
* obj1
= 0 ;
19600 char * kwnames
[] = {
19601 (char *) "self",(char *) "size", NULL
19604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19606 if (!SWIG_IsOK(res1
)) {
19607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19609 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19612 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19616 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19617 wxPyEndAllowThreads(__tstate
);
19618 if (PyErr_Occurred()) SWIG_fail
;
19620 resultobj
= SWIG_Py_Void();
19627 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19628 PyObject
*resultobj
= 0;
19629 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19635 PyObject
* obj0
= 0 ;
19636 PyObject
* obj1
= 0 ;
19637 char * kwnames
[] = {
19638 (char *) "self",(char *) "sizePage", NULL
19641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19643 if (!SWIG_IsOK(res1
)) {
19644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19646 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19649 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19653 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19654 wxPyEndAllowThreads(__tstate
);
19655 if (PyErr_Occurred()) SWIG_fail
;
19657 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19664 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19665 PyObject
*resultobj
= 0;
19666 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19667 unsigned int result
;
19670 PyObject
*swig_obj
[1] ;
19672 if (!args
) SWIG_fail
;
19673 swig_obj
[0] = args
;
19674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19675 if (!SWIG_IsOK(res1
)) {
19676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19678 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19681 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19682 wxPyEndAllowThreads(__tstate
);
19683 if (PyErr_Occurred()) SWIG_fail
;
19685 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19692 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19693 PyObject
*resultobj
= 0;
19694 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19695 unsigned int arg2
;
19698 unsigned int val2
;
19700 PyObject
* obj0
= 0 ;
19701 PyObject
* obj1
= 0 ;
19702 char * kwnames
[] = {
19703 (char *) "self",(char *) "internalBorder", NULL
19706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19708 if (!SWIG_IsOK(res1
)) {
19709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19711 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19712 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19713 if (!SWIG_IsOK(ecode2
)) {
19714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19716 arg2
= static_cast< unsigned int >(val2
);
19718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19719 (arg1
)->SetInternalBorder(arg2
);
19720 wxPyEndAllowThreads(__tstate
);
19721 if (PyErr_Occurred()) SWIG_fail
;
19723 resultobj
= SWIG_Py_Void();
19730 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19731 PyObject
*resultobj
= 0;
19732 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19736 PyObject
*swig_obj
[1] ;
19738 if (!args
) SWIG_fail
;
19739 swig_obj
[0] = args
;
19740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19741 if (!SWIG_IsOK(res1
)) {
19742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19744 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19747 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19748 wxPyEndAllowThreads(__tstate
);
19749 if (PyErr_Occurred()) SWIG_fail
;
19752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19760 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19761 PyObject
*resultobj
= 0;
19762 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19768 PyObject
* obj0
= 0 ;
19769 PyObject
* obj1
= 0 ;
19770 char * kwnames
[] = {
19771 (char *) "self",(char *) "margin", NULL
19774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19776 if (!SWIG_IsOK(res1
)) {
19777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19779 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19780 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19781 if (!SWIG_IsOK(ecode2
)) {
19782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19784 arg2
= static_cast< int >(val2
);
19786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19787 (arg1
)->SetControlMargin(arg2
);
19788 wxPyEndAllowThreads(__tstate
);
19789 if (PyErr_Occurred()) SWIG_fail
;
19791 resultobj
= SWIG_Py_Void();
19798 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19799 PyObject
*resultobj
= 0;
19800 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19804 PyObject
*swig_obj
[1] ;
19806 if (!args
) SWIG_fail
;
19807 swig_obj
[0] = args
;
19808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19809 if (!SWIG_IsOK(res1
)) {
19810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19812 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19815 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19816 wxPyEndAllowThreads(__tstate
);
19817 if (PyErr_Occurred()) SWIG_fail
;
19819 resultobj
= SWIG_From_int(static_cast< int >(result
));
19826 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19827 PyObject
*resultobj
= 0;
19828 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19834 PyObject
* obj0
= 0 ;
19835 PyObject
* obj1
= 0 ;
19836 char * kwnames
[] = {
19837 (char *) "self",(char *) "fit", NULL
19840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19842 if (!SWIG_IsOK(res1
)) {
19843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19845 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19846 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19847 if (!SWIG_IsOK(ecode2
)) {
19848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19850 arg2
= static_cast< bool >(val2
);
19852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19853 (arg1
)->SetFitToCurrentPage(arg2
);
19854 wxPyEndAllowThreads(__tstate
);
19855 if (PyErr_Occurred()) SWIG_fail
;
19857 resultobj
= SWIG_Py_Void();
19864 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19865 PyObject
*resultobj
= 0;
19866 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19870 PyObject
*swig_obj
[1] ;
19872 if (!args
) SWIG_fail
;
19873 swig_obj
[0] = args
;
19874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19875 if (!SWIG_IsOK(res1
)) {
19876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19878 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19881 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19882 wxPyEndAllowThreads(__tstate
);
19883 if (PyErr_Occurred()) SWIG_fail
;
19886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19894 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19895 PyObject
*resultobj
= 0;
19896 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19897 wxSizer
*result
= 0 ;
19900 PyObject
*swig_obj
[1] ;
19902 if (!args
) SWIG_fail
;
19903 swig_obj
[0] = args
;
19904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19905 if (!SWIG_IsOK(res1
)) {
19906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19908 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19911 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19912 wxPyEndAllowThreads(__tstate
);
19913 if (PyErr_Occurred()) SWIG_fail
;
19916 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19924 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19925 PyObject
*resultobj
= 0;
19926 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19933 PyObject
* obj0
= 0 ;
19934 PyObject
* obj1
= 0 ;
19935 char * kwnames
[] = {
19936 (char *) "self",(char *) "n", NULL
19939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19941 if (!SWIG_IsOK(res1
)) {
19942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19944 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19945 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19946 if (!SWIG_IsOK(ecode2
)) {
19947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19949 arg2
= static_cast< size_t >(val2
);
19951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19952 result
= (bool)(arg1
)->DeletePage(arg2
);
19953 wxPyEndAllowThreads(__tstate
);
19954 if (PyErr_Occurred()) SWIG_fail
;
19957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19965 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19966 PyObject
*resultobj
= 0;
19967 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19974 PyObject
* obj0
= 0 ;
19975 PyObject
* obj1
= 0 ;
19976 char * kwnames
[] = {
19977 (char *) "self",(char *) "n", NULL
19980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19982 if (!SWIG_IsOK(res1
)) {
19983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19985 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19986 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19987 if (!SWIG_IsOK(ecode2
)) {
19988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19990 arg2
= static_cast< size_t >(val2
);
19992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19993 result
= (bool)(arg1
)->RemovePage(arg2
);
19994 wxPyEndAllowThreads(__tstate
);
19995 if (PyErr_Occurred()) SWIG_fail
;
19998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20006 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20007 PyObject
*resultobj
= 0;
20008 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20012 PyObject
*swig_obj
[1] ;
20014 if (!args
) SWIG_fail
;
20015 swig_obj
[0] = args
;
20016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20017 if (!SWIG_IsOK(res1
)) {
20018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20020 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20023 result
= (bool)(arg1
)->DeleteAllPages();
20024 wxPyEndAllowThreads(__tstate
);
20025 if (PyErr_Occurred()) SWIG_fail
;
20028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20036 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20037 PyObject
*resultobj
= 0;
20038 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20039 wxWindow
*arg2
= (wxWindow
*) 0 ;
20040 wxString
*arg3
= 0 ;
20041 bool arg4
= (bool) false ;
20042 int arg5
= (int) -1 ;
20048 bool temp3
= false ;
20053 PyObject
* obj0
= 0 ;
20054 PyObject
* obj1
= 0 ;
20055 PyObject
* obj2
= 0 ;
20056 PyObject
* obj3
= 0 ;
20057 PyObject
* obj4
= 0 ;
20058 char * kwnames
[] = {
20059 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20064 if (!SWIG_IsOK(res1
)) {
20065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20067 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20068 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20069 if (!SWIG_IsOK(res2
)) {
20070 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20072 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20074 arg3
= wxString_in_helper(obj2
);
20075 if (arg3
== NULL
) SWIG_fail
;
20079 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20080 if (!SWIG_IsOK(ecode4
)) {
20081 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20083 arg4
= static_cast< bool >(val4
);
20086 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20087 if (!SWIG_IsOK(ecode5
)) {
20088 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20090 arg5
= static_cast< int >(val5
);
20093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20094 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
20095 wxPyEndAllowThreads(__tstate
);
20096 if (PyErr_Occurred()) SWIG_fail
;
20099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20115 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20116 PyObject
*resultobj
= 0;
20117 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20119 wxWindow
*arg3
= (wxWindow
*) 0 ;
20120 wxString
*arg4
= 0 ;
20121 bool arg5
= (bool) false ;
20122 int arg6
= (int) -1 ;
20130 bool temp4
= false ;
20135 PyObject
* obj0
= 0 ;
20136 PyObject
* obj1
= 0 ;
20137 PyObject
* obj2
= 0 ;
20138 PyObject
* obj3
= 0 ;
20139 PyObject
* obj4
= 0 ;
20140 PyObject
* obj5
= 0 ;
20141 char * kwnames
[] = {
20142 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20147 if (!SWIG_IsOK(res1
)) {
20148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20150 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20151 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20152 if (!SWIG_IsOK(ecode2
)) {
20153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20155 arg2
= static_cast< size_t >(val2
);
20156 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20157 if (!SWIG_IsOK(res3
)) {
20158 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20160 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20162 arg4
= wxString_in_helper(obj3
);
20163 if (arg4
== NULL
) SWIG_fail
;
20167 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20168 if (!SWIG_IsOK(ecode5
)) {
20169 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20171 arg5
= static_cast< bool >(val5
);
20174 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20175 if (!SWIG_IsOK(ecode6
)) {
20176 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20178 arg6
= static_cast< int >(val6
);
20181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20182 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20183 wxPyEndAllowThreads(__tstate
);
20184 if (PyErr_Occurred()) SWIG_fail
;
20187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20203 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20204 PyObject
*resultobj
= 0;
20205 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20212 PyObject
* obj0
= 0 ;
20213 PyObject
* obj1
= 0 ;
20214 char * kwnames
[] = {
20215 (char *) "self",(char *) "n", NULL
20218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20220 if (!SWIG_IsOK(res1
)) {
20221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20223 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20224 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20225 if (!SWIG_IsOK(ecode2
)) {
20226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20228 arg2
= static_cast< size_t >(val2
);
20230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20231 result
= (int)(arg1
)->SetSelection(arg2
);
20232 wxPyEndAllowThreads(__tstate
);
20233 if (PyErr_Occurred()) SWIG_fail
;
20235 resultobj
= SWIG_From_int(static_cast< int >(result
));
20242 SWIGINTERN PyObject
*_wrap_BookCtrlBase_ChangeSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20243 PyObject
*resultobj
= 0;
20244 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20251 PyObject
* obj0
= 0 ;
20252 PyObject
* obj1
= 0 ;
20253 char * kwnames
[] = {
20254 (char *) "self",(char *) "n", NULL
20257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20259 if (!SWIG_IsOK(res1
)) {
20260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20262 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20263 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20264 if (!SWIG_IsOK(ecode2
)) {
20265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20267 arg2
= static_cast< size_t >(val2
);
20269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20270 result
= (int)(arg1
)->ChangeSelection(arg2
);
20271 wxPyEndAllowThreads(__tstate
);
20272 if (PyErr_Occurred()) SWIG_fail
;
20274 resultobj
= SWIG_From_int(static_cast< int >(result
));
20281 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20282 PyObject
*resultobj
= 0;
20283 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20284 bool arg2
= (bool) true ;
20289 PyObject
* obj0
= 0 ;
20290 PyObject
* obj1
= 0 ;
20291 char * kwnames
[] = {
20292 (char *) "self",(char *) "forward", NULL
20295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20297 if (!SWIG_IsOK(res1
)) {
20298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20300 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20302 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20303 if (!SWIG_IsOK(ecode2
)) {
20304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20306 arg2
= static_cast< bool >(val2
);
20309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20310 (arg1
)->AdvanceSelection(arg2
);
20311 wxPyEndAllowThreads(__tstate
);
20312 if (PyErr_Occurred()) SWIG_fail
;
20314 resultobj
= SWIG_Py_Void();
20321 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20322 PyObject
*resultobj
= 0;
20323 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20324 wxPoint
*arg2
= 0 ;
20325 long *arg3
= (long *) 0 ;
20331 int res3
= SWIG_TMPOBJ
;
20332 PyObject
* obj0
= 0 ;
20333 PyObject
* obj1
= 0 ;
20334 char * kwnames
[] = {
20335 (char *) "self",(char *) "pt", NULL
20339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20341 if (!SWIG_IsOK(res1
)) {
20342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20344 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20347 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20351 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20352 wxPyEndAllowThreads(__tstate
);
20353 if (PyErr_Occurred()) SWIG_fail
;
20355 resultobj
= SWIG_From_int(static_cast< int >(result
));
20356 if (SWIG_IsTmpObj(res3
)) {
20357 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20359 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20360 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20368 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20369 PyObject
*resultobj
= 0;
20370 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20371 SwigValueWrapper
<wxVisualAttributes
> result
;
20374 PyObject
* obj0
= 0 ;
20375 char * kwnames
[] = {
20376 (char *) "variant", NULL
20379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20381 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20382 if (!SWIG_IsOK(ecode1
)) {
20383 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20385 arg1
= static_cast< wxWindowVariant
>(val1
);
20388 if (!wxPyCheckForApp()) SWIG_fail
;
20389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20390 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20391 wxPyEndAllowThreads(__tstate
);
20392 if (PyErr_Occurred()) SWIG_fail
;
20394 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20401 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20403 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20404 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20405 return SWIG_Py_Void();
20408 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20409 PyObject
*resultobj
= 0;
20410 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20411 int arg2
= (int) 0 ;
20412 int arg3
= (int) -1 ;
20413 int arg4
= (int) -1 ;
20414 wxBookCtrlBaseEvent
*result
= 0 ;
20423 PyObject
* obj0
= 0 ;
20424 PyObject
* obj1
= 0 ;
20425 PyObject
* obj2
= 0 ;
20426 PyObject
* obj3
= 0 ;
20427 char * kwnames
[] = {
20428 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20433 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20434 if (!SWIG_IsOK(ecode1
)) {
20435 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20437 arg1
= static_cast< wxEventType
>(val1
);
20440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20441 if (!SWIG_IsOK(ecode2
)) {
20442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20444 arg2
= static_cast< int >(val2
);
20447 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20448 if (!SWIG_IsOK(ecode3
)) {
20449 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20451 arg3
= static_cast< int >(val3
);
20454 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20455 if (!SWIG_IsOK(ecode4
)) {
20456 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20458 arg4
= static_cast< int >(val4
);
20461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20462 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20463 wxPyEndAllowThreads(__tstate
);
20464 if (PyErr_Occurred()) SWIG_fail
;
20466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20473 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20474 PyObject
*resultobj
= 0;
20475 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20479 PyObject
*swig_obj
[1] ;
20481 if (!args
) SWIG_fail
;
20482 swig_obj
[0] = args
;
20483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20484 if (!SWIG_IsOK(res1
)) {
20485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20487 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20490 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20491 wxPyEndAllowThreads(__tstate
);
20492 if (PyErr_Occurred()) SWIG_fail
;
20494 resultobj
= SWIG_From_int(static_cast< int >(result
));
20501 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20502 PyObject
*resultobj
= 0;
20503 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20509 PyObject
* obj0
= 0 ;
20510 PyObject
* obj1
= 0 ;
20511 char * kwnames
[] = {
20512 (char *) "self",(char *) "nSel", NULL
20515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20517 if (!SWIG_IsOK(res1
)) {
20518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20520 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20522 if (!SWIG_IsOK(ecode2
)) {
20523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20525 arg2
= static_cast< int >(val2
);
20527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20528 (arg1
)->SetSelection(arg2
);
20529 wxPyEndAllowThreads(__tstate
);
20530 if (PyErr_Occurred()) SWIG_fail
;
20532 resultobj
= SWIG_Py_Void();
20539 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20540 PyObject
*resultobj
= 0;
20541 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20545 PyObject
*swig_obj
[1] ;
20547 if (!args
) SWIG_fail
;
20548 swig_obj
[0] = args
;
20549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20550 if (!SWIG_IsOK(res1
)) {
20551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20553 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20556 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20557 wxPyEndAllowThreads(__tstate
);
20558 if (PyErr_Occurred()) SWIG_fail
;
20560 resultobj
= SWIG_From_int(static_cast< int >(result
));
20567 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20568 PyObject
*resultobj
= 0;
20569 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20575 PyObject
* obj0
= 0 ;
20576 PyObject
* obj1
= 0 ;
20577 char * kwnames
[] = {
20578 (char *) "self",(char *) "nOldSel", NULL
20581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20583 if (!SWIG_IsOK(res1
)) {
20584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20586 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20588 if (!SWIG_IsOK(ecode2
)) {
20589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20591 arg2
= static_cast< int >(val2
);
20593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20594 (arg1
)->SetOldSelection(arg2
);
20595 wxPyEndAllowThreads(__tstate
);
20596 if (PyErr_Occurred()) SWIG_fail
;
20598 resultobj
= SWIG_Py_Void();
20605 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20607 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20608 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20609 return SWIG_Py_Void();
20612 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20613 return SWIG_Python_InitShadowInstance(args
);
20616 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20617 PyObject
*resultobj
= 0;
20618 wxWindow
*arg1
= (wxWindow
*) 0 ;
20619 int arg2
= (int) -1 ;
20620 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20621 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20622 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20623 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20624 long arg5
= (long) 0 ;
20625 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20626 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20627 wxNotebook
*result
= 0 ;
20636 bool temp6
= false ;
20637 PyObject
* obj0
= 0 ;
20638 PyObject
* obj1
= 0 ;
20639 PyObject
* obj2
= 0 ;
20640 PyObject
* obj3
= 0 ;
20641 PyObject
* obj4
= 0 ;
20642 PyObject
* obj5
= 0 ;
20643 char * kwnames
[] = {
20644 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20649 if (!SWIG_IsOK(res1
)) {
20650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20652 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20654 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20655 if (!SWIG_IsOK(ecode2
)) {
20656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20658 arg2
= static_cast< int >(val2
);
20663 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20669 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20673 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20674 if (!SWIG_IsOK(ecode5
)) {
20675 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20677 arg5
= static_cast< long >(val5
);
20681 arg6
= wxString_in_helper(obj5
);
20682 if (arg6
== NULL
) SWIG_fail
;
20687 if (!wxPyCheckForApp()) SWIG_fail
;
20688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20689 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20690 wxPyEndAllowThreads(__tstate
);
20691 if (PyErr_Occurred()) SWIG_fail
;
20693 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20708 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20709 PyObject
*resultobj
= 0;
20710 wxNotebook
*result
= 0 ;
20712 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20714 if (!wxPyCheckForApp()) SWIG_fail
;
20715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20716 result
= (wxNotebook
*)new wxNotebook();
20717 wxPyEndAllowThreads(__tstate
);
20718 if (PyErr_Occurred()) SWIG_fail
;
20720 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20727 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20728 PyObject
*resultobj
= 0;
20729 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20730 wxWindow
*arg2
= (wxWindow
*) 0 ;
20731 int arg3
= (int) -1 ;
20732 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20733 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20734 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20735 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20736 long arg6
= (long) 0 ;
20737 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20738 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20750 bool temp7
= false ;
20751 PyObject
* obj0
= 0 ;
20752 PyObject
* obj1
= 0 ;
20753 PyObject
* obj2
= 0 ;
20754 PyObject
* obj3
= 0 ;
20755 PyObject
* obj4
= 0 ;
20756 PyObject
* obj5
= 0 ;
20757 PyObject
* obj6
= 0 ;
20758 char * kwnames
[] = {
20759 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20764 if (!SWIG_IsOK(res1
)) {
20765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20767 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20768 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20769 if (!SWIG_IsOK(res2
)) {
20770 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20772 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20774 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20775 if (!SWIG_IsOK(ecode3
)) {
20776 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20778 arg3
= static_cast< int >(val3
);
20783 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20789 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20793 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20794 if (!SWIG_IsOK(ecode6
)) {
20795 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20797 arg6
= static_cast< long >(val6
);
20801 arg7
= wxString_in_helper(obj6
);
20802 if (arg7
== NULL
) SWIG_fail
;
20807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20808 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20809 wxPyEndAllowThreads(__tstate
);
20810 if (PyErr_Occurred()) SWIG_fail
;
20813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20829 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20830 PyObject
*resultobj
= 0;
20831 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20835 PyObject
*swig_obj
[1] ;
20837 if (!args
) SWIG_fail
;
20838 swig_obj
[0] = args
;
20839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20840 if (!SWIG_IsOK(res1
)) {
20841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20843 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20846 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20847 wxPyEndAllowThreads(__tstate
);
20848 if (PyErr_Occurred()) SWIG_fail
;
20850 resultobj
= SWIG_From_int(static_cast< int >(result
));
20857 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20858 PyObject
*resultobj
= 0;
20859 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20864 PyObject
* obj0
= 0 ;
20865 PyObject
* obj1
= 0 ;
20866 char * kwnames
[] = {
20867 (char *) "self",(char *) "padding", NULL
20870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20872 if (!SWIG_IsOK(res1
)) {
20873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20875 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20878 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20882 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20883 wxPyEndAllowThreads(__tstate
);
20884 if (PyErr_Occurred()) SWIG_fail
;
20886 resultobj
= SWIG_Py_Void();
20893 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20894 PyObject
*resultobj
= 0;
20895 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20900 PyObject
* obj0
= 0 ;
20901 PyObject
* obj1
= 0 ;
20902 char * kwnames
[] = {
20903 (char *) "self",(char *) "sz", NULL
20906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20908 if (!SWIG_IsOK(res1
)) {
20909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20911 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20914 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20918 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20919 wxPyEndAllowThreads(__tstate
);
20920 if (PyErr_Occurred()) SWIG_fail
;
20922 resultobj
= SWIG_Py_Void();
20929 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20930 PyObject
*resultobj
= 0;
20931 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20935 PyObject
*swig_obj
[1] ;
20937 if (!args
) SWIG_fail
;
20938 swig_obj
[0] = args
;
20939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20940 if (!SWIG_IsOK(res1
)) {
20941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20943 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20946 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20947 wxPyEndAllowThreads(__tstate
);
20948 if (PyErr_Occurred()) SWIG_fail
;
20950 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20957 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20958 PyObject
*resultobj
= 0;
20959 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20960 SwigValueWrapper
<wxVisualAttributes
> result
;
20963 PyObject
* obj0
= 0 ;
20964 char * kwnames
[] = {
20965 (char *) "variant", NULL
20968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20970 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20971 if (!SWIG_IsOK(ecode1
)) {
20972 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20974 arg1
= static_cast< wxWindowVariant
>(val1
);
20977 if (!wxPyCheckForApp()) SWIG_fail
;
20978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20979 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20980 wxPyEndAllowThreads(__tstate
);
20981 if (PyErr_Occurred()) SWIG_fail
;
20983 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20990 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20991 PyObject
*resultobj
= 0;
20992 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20999 PyObject
* obj0
= 0 ;
21000 PyObject
* obj1
= 0 ;
21001 char * kwnames
[] = {
21002 (char *) "self",(char *) "nPage", NULL
21005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SendPageChangingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21007 if (!SWIG_IsOK(res1
)) {
21008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21010 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21011 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21012 if (!SWIG_IsOK(ecode2
)) {
21013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
21015 arg2
= static_cast< int >(val2
);
21017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21018 result
= (bool)(arg1
)->SendPageChangingEvent(arg2
);
21019 wxPyEndAllowThreads(__tstate
);
21020 if (PyErr_Occurred()) SWIG_fail
;
21023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21031 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21032 PyObject
*resultobj
= 0;
21033 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21035 int arg3
= (int) -1 ;
21042 PyObject
* obj0
= 0 ;
21043 PyObject
* obj1
= 0 ;
21044 PyObject
* obj2
= 0 ;
21045 char * kwnames
[] = {
21046 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21051 if (!SWIG_IsOK(res1
)) {
21052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21054 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21055 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21056 if (!SWIG_IsOK(ecode2
)) {
21057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21059 arg2
= static_cast< int >(val2
);
21061 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21062 if (!SWIG_IsOK(ecode3
)) {
21063 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21065 arg3
= static_cast< int >(val3
);
21068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21069 (arg1
)->SendPageChangedEvent(arg2
,arg3
);
21070 wxPyEndAllowThreads(__tstate
);
21071 if (PyErr_Occurred()) SWIG_fail
;
21073 resultobj
= SWIG_Py_Void();
21080 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21082 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21083 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
21084 return SWIG_Py_Void();
21087 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21088 return SWIG_Python_InitShadowInstance(args
);
21091 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21092 PyObject
*resultobj
= 0;
21093 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21094 int arg2
= (int) 0 ;
21095 int arg3
= (int) -1 ;
21096 int arg4
= (int) -1 ;
21097 wxNotebookEvent
*result
= 0 ;
21106 PyObject
* obj0
= 0 ;
21107 PyObject
* obj1
= 0 ;
21108 PyObject
* obj2
= 0 ;
21109 PyObject
* obj3
= 0 ;
21110 char * kwnames
[] = {
21111 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21116 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21117 if (!SWIG_IsOK(ecode1
)) {
21118 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21120 arg1
= static_cast< wxEventType
>(val1
);
21123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21124 if (!SWIG_IsOK(ecode2
)) {
21125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21127 arg2
= static_cast< int >(val2
);
21130 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21131 if (!SWIG_IsOK(ecode3
)) {
21132 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21134 arg3
= static_cast< int >(val3
);
21137 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21138 if (!SWIG_IsOK(ecode4
)) {
21139 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21141 arg4
= static_cast< int >(val4
);
21144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21145 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
21146 wxPyEndAllowThreads(__tstate
);
21147 if (PyErr_Occurred()) SWIG_fail
;
21149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
21156 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21158 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21159 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
21160 return SWIG_Py_Void();
21163 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21164 return SWIG_Python_InitShadowInstance(args
);
21167 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21168 PyObject
*resultobj
= 0;
21169 wxWindow
*arg1
= (wxWindow
*) 0 ;
21170 int arg2
= (int) -1 ;
21171 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21172 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21173 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21174 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21175 long arg5
= (long) 0 ;
21176 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21177 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21178 wxListbook
*result
= 0 ;
21187 bool temp6
= false ;
21188 PyObject
* obj0
= 0 ;
21189 PyObject
* obj1
= 0 ;
21190 PyObject
* obj2
= 0 ;
21191 PyObject
* obj3
= 0 ;
21192 PyObject
* obj4
= 0 ;
21193 PyObject
* obj5
= 0 ;
21194 char * kwnames
[] = {
21195 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21200 if (!SWIG_IsOK(res1
)) {
21201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21203 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21205 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21206 if (!SWIG_IsOK(ecode2
)) {
21207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21209 arg2
= static_cast< int >(val2
);
21214 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21220 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21224 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21225 if (!SWIG_IsOK(ecode5
)) {
21226 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21228 arg5
= static_cast< long >(val5
);
21232 arg6
= wxString_in_helper(obj5
);
21233 if (arg6
== NULL
) SWIG_fail
;
21238 if (!wxPyCheckForApp()) SWIG_fail
;
21239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21240 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21241 wxPyEndAllowThreads(__tstate
);
21242 if (PyErr_Occurred()) SWIG_fail
;
21244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
21259 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21260 PyObject
*resultobj
= 0;
21261 wxListbook
*result
= 0 ;
21263 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
21265 if (!wxPyCheckForApp()) SWIG_fail
;
21266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21267 result
= (wxListbook
*)new wxListbook();
21268 wxPyEndAllowThreads(__tstate
);
21269 if (PyErr_Occurred()) SWIG_fail
;
21271 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21278 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21279 PyObject
*resultobj
= 0;
21280 wxListbook
*arg1
= (wxListbook
*) 0 ;
21281 wxWindow
*arg2
= (wxWindow
*) 0 ;
21282 int arg3
= (int) -1 ;
21283 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21284 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21285 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21286 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21287 long arg6
= (long) 0 ;
21288 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21289 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21301 bool temp7
= false ;
21302 PyObject
* obj0
= 0 ;
21303 PyObject
* obj1
= 0 ;
21304 PyObject
* obj2
= 0 ;
21305 PyObject
* obj3
= 0 ;
21306 PyObject
* obj4
= 0 ;
21307 PyObject
* obj5
= 0 ;
21308 PyObject
* obj6
= 0 ;
21309 char * kwnames
[] = {
21310 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21315 if (!SWIG_IsOK(res1
)) {
21316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21318 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21319 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21320 if (!SWIG_IsOK(res2
)) {
21321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21323 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21325 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21326 if (!SWIG_IsOK(ecode3
)) {
21327 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21329 arg3
= static_cast< int >(val3
);
21334 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21340 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21344 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21345 if (!SWIG_IsOK(ecode6
)) {
21346 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21348 arg6
= static_cast< long >(val6
);
21352 arg7
= wxString_in_helper(obj6
);
21353 if (arg7
== NULL
) SWIG_fail
;
21358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21359 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21360 wxPyEndAllowThreads(__tstate
);
21361 if (PyErr_Occurred()) SWIG_fail
;
21364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21380 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21381 PyObject
*resultobj
= 0;
21382 wxListbook
*arg1
= (wxListbook
*) 0 ;
21383 wxListView
*result
= 0 ;
21386 PyObject
*swig_obj
[1] ;
21388 if (!args
) SWIG_fail
;
21389 swig_obj
[0] = args
;
21390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21391 if (!SWIG_IsOK(res1
)) {
21392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21394 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21397 result
= (wxListView
*)(arg1
)->GetListView();
21398 wxPyEndAllowThreads(__tstate
);
21399 if (PyErr_Occurred()) SWIG_fail
;
21401 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21408 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21410 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21411 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21412 return SWIG_Py_Void();
21415 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21416 return SWIG_Python_InitShadowInstance(args
);
21419 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21420 PyObject
*resultobj
= 0;
21421 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21422 int arg2
= (int) 0 ;
21423 int arg3
= (int) -1 ;
21424 int arg4
= (int) -1 ;
21425 wxListbookEvent
*result
= 0 ;
21434 PyObject
* obj0
= 0 ;
21435 PyObject
* obj1
= 0 ;
21436 PyObject
* obj2
= 0 ;
21437 PyObject
* obj3
= 0 ;
21438 char * kwnames
[] = {
21439 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21444 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21445 if (!SWIG_IsOK(ecode1
)) {
21446 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21448 arg1
= static_cast< wxEventType
>(val1
);
21451 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21452 if (!SWIG_IsOK(ecode2
)) {
21453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21455 arg2
= static_cast< int >(val2
);
21458 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21459 if (!SWIG_IsOK(ecode3
)) {
21460 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21462 arg3
= static_cast< int >(val3
);
21465 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21466 if (!SWIG_IsOK(ecode4
)) {
21467 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21469 arg4
= static_cast< int >(val4
);
21472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21473 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21474 wxPyEndAllowThreads(__tstate
);
21475 if (PyErr_Occurred()) SWIG_fail
;
21477 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21484 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21486 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21487 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21488 return SWIG_Py_Void();
21491 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21492 return SWIG_Python_InitShadowInstance(args
);
21495 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21496 PyObject
*resultobj
= 0;
21497 wxWindow
*arg1
= (wxWindow
*) 0 ;
21499 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21500 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21501 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21502 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21503 long arg5
= (long) 0 ;
21504 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21505 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21506 wxChoicebook
*result
= 0 ;
21515 bool temp6
= false ;
21516 PyObject
* obj0
= 0 ;
21517 PyObject
* obj1
= 0 ;
21518 PyObject
* obj2
= 0 ;
21519 PyObject
* obj3
= 0 ;
21520 PyObject
* obj4
= 0 ;
21521 PyObject
* obj5
= 0 ;
21522 char * kwnames
[] = {
21523 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21528 if (!SWIG_IsOK(res1
)) {
21529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21531 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21532 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21533 if (!SWIG_IsOK(ecode2
)) {
21534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21536 arg2
= static_cast< int >(val2
);
21540 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21546 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21550 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21551 if (!SWIG_IsOK(ecode5
)) {
21552 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21554 arg5
= static_cast< long >(val5
);
21558 arg6
= wxString_in_helper(obj5
);
21559 if (arg6
== NULL
) SWIG_fail
;
21564 if (!wxPyCheckForApp()) SWIG_fail
;
21565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21566 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21567 wxPyEndAllowThreads(__tstate
);
21568 if (PyErr_Occurred()) SWIG_fail
;
21570 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21585 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21586 PyObject
*resultobj
= 0;
21587 wxChoicebook
*result
= 0 ;
21589 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21591 if (!wxPyCheckForApp()) SWIG_fail
;
21592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21593 result
= (wxChoicebook
*)new wxChoicebook();
21594 wxPyEndAllowThreads(__tstate
);
21595 if (PyErr_Occurred()) SWIG_fail
;
21597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21604 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21605 PyObject
*resultobj
= 0;
21606 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21607 wxWindow
*arg2
= (wxWindow
*) 0 ;
21609 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21610 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21611 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21612 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21613 long arg6
= (long) 0 ;
21614 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21615 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21627 bool temp7
= false ;
21628 PyObject
* obj0
= 0 ;
21629 PyObject
* obj1
= 0 ;
21630 PyObject
* obj2
= 0 ;
21631 PyObject
* obj3
= 0 ;
21632 PyObject
* obj4
= 0 ;
21633 PyObject
* obj5
= 0 ;
21634 PyObject
* obj6
= 0 ;
21635 char * kwnames
[] = {
21636 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21641 if (!SWIG_IsOK(res1
)) {
21642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21644 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21645 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21646 if (!SWIG_IsOK(res2
)) {
21647 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21649 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21650 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21651 if (!SWIG_IsOK(ecode3
)) {
21652 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21654 arg3
= static_cast< int >(val3
);
21658 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21664 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21668 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21669 if (!SWIG_IsOK(ecode6
)) {
21670 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21672 arg6
= static_cast< long >(val6
);
21676 arg7
= wxString_in_helper(obj6
);
21677 if (arg7
== NULL
) SWIG_fail
;
21682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21683 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21684 wxPyEndAllowThreads(__tstate
);
21685 if (PyErr_Occurred()) SWIG_fail
;
21688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21704 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21705 PyObject
*resultobj
= 0;
21706 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21707 wxChoice
*result
= 0 ;
21710 PyObject
*swig_obj
[1] ;
21712 if (!args
) SWIG_fail
;
21713 swig_obj
[0] = args
;
21714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21715 if (!SWIG_IsOK(res1
)) {
21716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21718 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21721 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21722 wxPyEndAllowThreads(__tstate
);
21723 if (PyErr_Occurred()) SWIG_fail
;
21725 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21732 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21734 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21735 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21736 return SWIG_Py_Void();
21739 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21740 return SWIG_Python_InitShadowInstance(args
);
21743 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21744 PyObject
*resultobj
= 0;
21745 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21746 int arg2
= (int) 0 ;
21747 int arg3
= (int) -1 ;
21748 int arg4
= (int) -1 ;
21749 wxChoicebookEvent
*result
= 0 ;
21758 PyObject
* obj0
= 0 ;
21759 PyObject
* obj1
= 0 ;
21760 PyObject
* obj2
= 0 ;
21761 PyObject
* obj3
= 0 ;
21762 char * kwnames
[] = {
21763 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21768 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21769 if (!SWIG_IsOK(ecode1
)) {
21770 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21772 arg1
= static_cast< wxEventType
>(val1
);
21775 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21776 if (!SWIG_IsOK(ecode2
)) {
21777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21779 arg2
= static_cast< int >(val2
);
21782 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21783 if (!SWIG_IsOK(ecode3
)) {
21784 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21786 arg3
= static_cast< int >(val3
);
21789 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21790 if (!SWIG_IsOK(ecode4
)) {
21791 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21793 arg4
= static_cast< int >(val4
);
21796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21797 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21798 wxPyEndAllowThreads(__tstate
);
21799 if (PyErr_Occurred()) SWIG_fail
;
21801 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21808 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21810 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21811 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21812 return SWIG_Py_Void();
21815 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21816 return SWIG_Python_InitShadowInstance(args
);
21819 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21820 PyObject
*resultobj
= 0;
21821 wxWindow
*arg1
= (wxWindow
*) 0 ;
21823 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21824 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21825 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21826 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21827 long arg5
= (long) wxBK_DEFAULT
;
21828 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21829 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21830 wxTreebook
*result
= 0 ;
21839 bool temp6
= false ;
21840 PyObject
* obj0
= 0 ;
21841 PyObject
* obj1
= 0 ;
21842 PyObject
* obj2
= 0 ;
21843 PyObject
* obj3
= 0 ;
21844 PyObject
* obj4
= 0 ;
21845 PyObject
* obj5
= 0 ;
21846 char * kwnames
[] = {
21847 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21852 if (!SWIG_IsOK(res1
)) {
21853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21855 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21856 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21857 if (!SWIG_IsOK(ecode2
)) {
21858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21860 arg2
= static_cast< int >(val2
);
21864 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21870 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21874 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21875 if (!SWIG_IsOK(ecode5
)) {
21876 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21878 arg5
= static_cast< long >(val5
);
21882 arg6
= wxString_in_helper(obj5
);
21883 if (arg6
== NULL
) SWIG_fail
;
21888 if (!wxPyCheckForApp()) SWIG_fail
;
21889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21890 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21891 wxPyEndAllowThreads(__tstate
);
21892 if (PyErr_Occurred()) SWIG_fail
;
21894 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21909 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21910 PyObject
*resultobj
= 0;
21911 wxTreebook
*result
= 0 ;
21913 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21915 if (!wxPyCheckForApp()) SWIG_fail
;
21916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21917 result
= (wxTreebook
*)new wxTreebook();
21918 wxPyEndAllowThreads(__tstate
);
21919 if (PyErr_Occurred()) SWIG_fail
;
21921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21928 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21929 PyObject
*resultobj
= 0;
21930 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21931 wxWindow
*arg2
= (wxWindow
*) 0 ;
21933 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21934 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21935 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21936 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21937 long arg6
= (long) wxBK_DEFAULT
;
21938 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21939 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21951 bool temp7
= false ;
21952 PyObject
* obj0
= 0 ;
21953 PyObject
* obj1
= 0 ;
21954 PyObject
* obj2
= 0 ;
21955 PyObject
* obj3
= 0 ;
21956 PyObject
* obj4
= 0 ;
21957 PyObject
* obj5
= 0 ;
21958 PyObject
* obj6
= 0 ;
21959 char * kwnames
[] = {
21960 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21965 if (!SWIG_IsOK(res1
)) {
21966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21968 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21969 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21970 if (!SWIG_IsOK(res2
)) {
21971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21973 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21974 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21975 if (!SWIG_IsOK(ecode3
)) {
21976 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21978 arg3
= static_cast< int >(val3
);
21982 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21988 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21992 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21993 if (!SWIG_IsOK(ecode6
)) {
21994 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21996 arg6
= static_cast< long >(val6
);
22000 arg7
= wxString_in_helper(obj6
);
22001 if (arg7
== NULL
) SWIG_fail
;
22006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22007 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22008 wxPyEndAllowThreads(__tstate
);
22009 if (PyErr_Occurred()) SWIG_fail
;
22012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22028 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22029 PyObject
*resultobj
= 0;
22030 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22032 wxWindow
*arg3
= (wxWindow
*) 0 ;
22033 wxString
*arg4
= 0 ;
22034 bool arg5
= (bool) false ;
22035 int arg6
= (int) wxNOT_FOUND
;
22043 bool temp4
= false ;
22048 PyObject
* obj0
= 0 ;
22049 PyObject
* obj1
= 0 ;
22050 PyObject
* obj2
= 0 ;
22051 PyObject
* obj3
= 0 ;
22052 PyObject
* obj4
= 0 ;
22053 PyObject
* obj5
= 0 ;
22054 char * kwnames
[] = {
22055 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22060 if (!SWIG_IsOK(res1
)) {
22061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22063 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22064 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22065 if (!SWIG_IsOK(ecode2
)) {
22066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22068 arg2
= static_cast< size_t >(val2
);
22069 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22070 if (!SWIG_IsOK(res3
)) {
22071 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22073 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
22075 arg4
= wxString_in_helper(obj3
);
22076 if (arg4
== NULL
) SWIG_fail
;
22080 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
22081 if (!SWIG_IsOK(ecode5
)) {
22082 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22084 arg5
= static_cast< bool >(val5
);
22087 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22088 if (!SWIG_IsOK(ecode6
)) {
22089 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22091 arg6
= static_cast< int >(val6
);
22094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22095 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
22096 wxPyEndAllowThreads(__tstate
);
22097 if (PyErr_Occurred()) SWIG_fail
;
22100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22116 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22117 PyObject
*resultobj
= 0;
22118 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22119 wxWindow
*arg2
= (wxWindow
*) 0 ;
22120 wxString
*arg3
= 0 ;
22121 bool arg4
= (bool) false ;
22122 int arg5
= (int) wxNOT_FOUND
;
22128 bool temp3
= false ;
22133 PyObject
* obj0
= 0 ;
22134 PyObject
* obj1
= 0 ;
22135 PyObject
* obj2
= 0 ;
22136 PyObject
* obj3
= 0 ;
22137 PyObject
* obj4
= 0 ;
22138 char * kwnames
[] = {
22139 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22144 if (!SWIG_IsOK(res1
)) {
22145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22147 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22148 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22149 if (!SWIG_IsOK(res2
)) {
22150 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22152 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22154 arg3
= wxString_in_helper(obj2
);
22155 if (arg3
== NULL
) SWIG_fail
;
22159 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
22160 if (!SWIG_IsOK(ecode4
)) {
22161 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22163 arg4
= static_cast< bool >(val4
);
22166 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22167 if (!SWIG_IsOK(ecode5
)) {
22168 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22170 arg5
= static_cast< int >(val5
);
22173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22174 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22175 wxPyEndAllowThreads(__tstate
);
22176 if (PyErr_Occurred()) SWIG_fail
;
22179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22195 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22196 PyObject
*resultobj
= 0;
22197 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22204 PyObject
* obj0
= 0 ;
22205 PyObject
* obj1
= 0 ;
22206 char * kwnames
[] = {
22207 (char *) "self",(char *) "pos", NULL
22210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22212 if (!SWIG_IsOK(res1
)) {
22213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22215 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22216 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22217 if (!SWIG_IsOK(ecode2
)) {
22218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22220 arg2
= static_cast< size_t >(val2
);
22222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22223 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
22224 wxPyEndAllowThreads(__tstate
);
22225 if (PyErr_Occurred()) SWIG_fail
;
22228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22236 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22237 PyObject
*resultobj
= 0;
22238 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22240 bool arg3
= (bool) true ;
22248 PyObject
* obj0
= 0 ;
22249 PyObject
* obj1
= 0 ;
22250 PyObject
* obj2
= 0 ;
22251 char * kwnames
[] = {
22252 (char *) "self",(char *) "pos",(char *) "expand", NULL
22255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22257 if (!SWIG_IsOK(res1
)) {
22258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22260 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22261 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22262 if (!SWIG_IsOK(ecode2
)) {
22263 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22265 arg2
= static_cast< size_t >(val2
);
22267 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22268 if (!SWIG_IsOK(ecode3
)) {
22269 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22271 arg3
= static_cast< bool >(val3
);
22274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22275 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22276 wxPyEndAllowThreads(__tstate
);
22277 if (PyErr_Occurred()) SWIG_fail
;
22280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22288 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22289 PyObject
*resultobj
= 0;
22290 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22297 PyObject
* obj0
= 0 ;
22298 PyObject
* obj1
= 0 ;
22299 char * kwnames
[] = {
22300 (char *) "self",(char *) "pos", NULL
22303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22305 if (!SWIG_IsOK(res1
)) {
22306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22308 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22309 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22310 if (!SWIG_IsOK(ecode2
)) {
22311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22313 arg2
= static_cast< size_t >(val2
);
22315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22316 result
= (bool)(arg1
)->CollapseNode(arg2
);
22317 wxPyEndAllowThreads(__tstate
);
22318 if (PyErr_Occurred()) SWIG_fail
;
22321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22329 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22330 PyObject
*resultobj
= 0;
22331 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22338 PyObject
* obj0
= 0 ;
22339 PyObject
* obj1
= 0 ;
22340 char * kwnames
[] = {
22341 (char *) "self",(char *) "pos", NULL
22344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22346 if (!SWIG_IsOK(res1
)) {
22347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22349 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22350 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22351 if (!SWIG_IsOK(ecode2
)) {
22352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22354 arg2
= static_cast< size_t >(val2
);
22356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22357 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22358 wxPyEndAllowThreads(__tstate
);
22359 if (PyErr_Occurred()) SWIG_fail
;
22361 resultobj
= SWIG_From_int(static_cast< int >(result
));
22368 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22369 PyObject
*resultobj
= 0;
22370 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22371 wxPyTreeCtrl
*result
= 0 ;
22374 PyObject
*swig_obj
[1] ;
22376 if (!args
) SWIG_fail
;
22377 swig_obj
[0] = args
;
22378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22379 if (!SWIG_IsOK(res1
)) {
22380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22382 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22385 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22386 wxPyEndAllowThreads(__tstate
);
22387 if (PyErr_Occurred()) SWIG_fail
;
22390 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22398 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22400 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22401 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22402 return SWIG_Py_Void();
22405 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22406 return SWIG_Python_InitShadowInstance(args
);
22409 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22410 PyObject
*resultobj
= 0;
22411 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22412 int arg2
= (int) 0 ;
22413 int arg3
= (int) wxNOT_FOUND
;
22414 int arg4
= (int) wxNOT_FOUND
;
22415 wxTreebookEvent
*result
= 0 ;
22424 PyObject
* obj0
= 0 ;
22425 PyObject
* obj1
= 0 ;
22426 PyObject
* obj2
= 0 ;
22427 PyObject
* obj3
= 0 ;
22428 char * kwnames
[] = {
22429 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22434 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22435 if (!SWIG_IsOK(ecode1
)) {
22436 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22438 arg1
= static_cast< wxEventType
>(val1
);
22441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22442 if (!SWIG_IsOK(ecode2
)) {
22443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22445 arg2
= static_cast< int >(val2
);
22448 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22449 if (!SWIG_IsOK(ecode3
)) {
22450 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22452 arg3
= static_cast< int >(val3
);
22455 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22456 if (!SWIG_IsOK(ecode4
)) {
22457 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22459 arg4
= static_cast< int >(val4
);
22462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22463 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22464 wxPyEndAllowThreads(__tstate
);
22465 if (PyErr_Occurred()) SWIG_fail
;
22467 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22474 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22476 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22477 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22478 return SWIG_Py_Void();
22481 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22482 return SWIG_Python_InitShadowInstance(args
);
22485 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22486 PyObject
*resultobj
= 0;
22487 wxWindow
*arg1
= (wxWindow
*) 0 ;
22489 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22490 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22491 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22492 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22493 long arg5
= (long) wxBK_DEFAULT
;
22494 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22495 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22496 wxToolbook
*result
= 0 ;
22505 bool temp6
= false ;
22506 PyObject
* obj0
= 0 ;
22507 PyObject
* obj1
= 0 ;
22508 PyObject
* obj2
= 0 ;
22509 PyObject
* obj3
= 0 ;
22510 PyObject
* obj4
= 0 ;
22511 PyObject
* obj5
= 0 ;
22512 char * kwnames
[] = {
22513 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22518 if (!SWIG_IsOK(res1
)) {
22519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22521 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22523 if (!SWIG_IsOK(ecode2
)) {
22524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22526 arg2
= static_cast< int >(val2
);
22530 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22536 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22540 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22541 if (!SWIG_IsOK(ecode5
)) {
22542 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22544 arg5
= static_cast< long >(val5
);
22548 arg6
= wxString_in_helper(obj5
);
22549 if (arg6
== NULL
) SWIG_fail
;
22554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22555 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22556 wxPyEndAllowThreads(__tstate
);
22557 if (PyErr_Occurred()) SWIG_fail
;
22559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22574 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22575 PyObject
*resultobj
= 0;
22576 wxToolbook
*result
= 0 ;
22578 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22581 result
= (wxToolbook
*)new wxToolbook();
22582 wxPyEndAllowThreads(__tstate
);
22583 if (PyErr_Occurred()) SWIG_fail
;
22585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22592 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22593 PyObject
*resultobj
= 0;
22594 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22595 wxWindow
*arg2
= (wxWindow
*) 0 ;
22597 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22598 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22599 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22600 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22601 long arg6
= (long) 0 ;
22602 wxString
const &arg7_defvalue
= wxEmptyString
;
22603 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22615 bool temp7
= false ;
22616 PyObject
* obj0
= 0 ;
22617 PyObject
* obj1
= 0 ;
22618 PyObject
* obj2
= 0 ;
22619 PyObject
* obj3
= 0 ;
22620 PyObject
* obj4
= 0 ;
22621 PyObject
* obj5
= 0 ;
22622 PyObject
* obj6
= 0 ;
22623 char * kwnames
[] = {
22624 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22629 if (!SWIG_IsOK(res1
)) {
22630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22632 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22633 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22634 if (!SWIG_IsOK(res2
)) {
22635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22637 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22638 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22639 if (!SWIG_IsOK(ecode3
)) {
22640 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22642 arg3
= static_cast< int >(val3
);
22646 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22652 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22656 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22657 if (!SWIG_IsOK(ecode6
)) {
22658 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22660 arg6
= static_cast< long >(val6
);
22664 arg7
= wxString_in_helper(obj6
);
22665 if (arg7
== NULL
) SWIG_fail
;
22670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22671 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22672 wxPyEndAllowThreads(__tstate
);
22673 if (PyErr_Occurred()) SWIG_fail
;
22676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22692 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22693 PyObject
*resultobj
= 0;
22694 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22695 wxToolBarBase
*result
= 0 ;
22698 PyObject
*swig_obj
[1] ;
22700 if (!args
) SWIG_fail
;
22701 swig_obj
[0] = args
;
22702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22703 if (!SWIG_IsOK(res1
)) {
22704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22706 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22709 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22710 wxPyEndAllowThreads(__tstate
);
22711 if (PyErr_Occurred()) SWIG_fail
;
22714 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22722 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22723 PyObject
*resultobj
= 0;
22724 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22727 PyObject
*swig_obj
[1] ;
22729 if (!args
) SWIG_fail
;
22730 swig_obj
[0] = args
;
22731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22732 if (!SWIG_IsOK(res1
)) {
22733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22735 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22739 wxPyEndAllowThreads(__tstate
);
22740 if (PyErr_Occurred()) SWIG_fail
;
22742 resultobj
= SWIG_Py_Void();
22749 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22751 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22752 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22753 return SWIG_Py_Void();
22756 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22757 return SWIG_Python_InitShadowInstance(args
);
22760 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22761 PyObject
*resultobj
= 0;
22762 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22763 int arg2
= (int) 0 ;
22764 int arg3
= (int) wxNOT_FOUND
;
22765 int arg4
= (int) wxNOT_FOUND
;
22766 wxToolbookEvent
*result
= 0 ;
22775 PyObject
* obj0
= 0 ;
22776 PyObject
* obj1
= 0 ;
22777 PyObject
* obj2
= 0 ;
22778 PyObject
* obj3
= 0 ;
22779 char * kwnames
[] = {
22780 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22785 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22786 if (!SWIG_IsOK(ecode1
)) {
22787 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22789 arg1
= static_cast< wxEventType
>(val1
);
22792 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22793 if (!SWIG_IsOK(ecode2
)) {
22794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22796 arg2
= static_cast< int >(val2
);
22799 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22800 if (!SWIG_IsOK(ecode3
)) {
22801 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22803 arg3
= static_cast< int >(val3
);
22806 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22807 if (!SWIG_IsOK(ecode4
)) {
22808 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22810 arg4
= static_cast< int >(val4
);
22813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22814 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22815 wxPyEndAllowThreads(__tstate
);
22816 if (PyErr_Occurred()) SWIG_fail
;
22818 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22825 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22827 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22828 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22829 return SWIG_Py_Void();
22832 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22833 return SWIG_Python_InitShadowInstance(args
);
22836 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22837 PyObject
*resultobj
= 0;
22838 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22842 PyObject
*swig_obj
[1] ;
22844 if (!args
) SWIG_fail
;
22845 swig_obj
[0] = args
;
22846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22847 if (!SWIG_IsOK(res1
)) {
22848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22850 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22853 result
= (int)(arg1
)->GetId();
22854 wxPyEndAllowThreads(__tstate
);
22855 if (PyErr_Occurred()) SWIG_fail
;
22857 resultobj
= SWIG_From_int(static_cast< int >(result
));
22864 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22865 PyObject
*resultobj
= 0;
22866 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22867 wxControl
*result
= 0 ;
22870 PyObject
*swig_obj
[1] ;
22872 if (!args
) SWIG_fail
;
22873 swig_obj
[0] = args
;
22874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22875 if (!SWIG_IsOK(res1
)) {
22876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22878 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22881 result
= (wxControl
*)(arg1
)->GetControl();
22882 wxPyEndAllowThreads(__tstate
);
22883 if (PyErr_Occurred()) SWIG_fail
;
22886 resultobj
= wxPyMake_wxObject(result
, 0);
22894 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22895 PyObject
*resultobj
= 0;
22896 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22897 wxToolBarBase
*result
= 0 ;
22900 PyObject
*swig_obj
[1] ;
22902 if (!args
) SWIG_fail
;
22903 swig_obj
[0] = args
;
22904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22905 if (!SWIG_IsOK(res1
)) {
22906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22908 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22911 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22912 wxPyEndAllowThreads(__tstate
);
22913 if (PyErr_Occurred()) SWIG_fail
;
22916 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22924 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22925 PyObject
*resultobj
= 0;
22926 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22930 PyObject
*swig_obj
[1] ;
22932 if (!args
) SWIG_fail
;
22933 swig_obj
[0] = args
;
22934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22935 if (!SWIG_IsOK(res1
)) {
22936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22938 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22941 result
= (int)(arg1
)->IsButton();
22942 wxPyEndAllowThreads(__tstate
);
22943 if (PyErr_Occurred()) SWIG_fail
;
22945 resultobj
= SWIG_From_int(static_cast< int >(result
));
22952 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22953 PyObject
*resultobj
= 0;
22954 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22958 PyObject
*swig_obj
[1] ;
22960 if (!args
) SWIG_fail
;
22961 swig_obj
[0] = args
;
22962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22963 if (!SWIG_IsOK(res1
)) {
22964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22966 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22969 result
= (int)(arg1
)->IsControl();
22970 wxPyEndAllowThreads(__tstate
);
22971 if (PyErr_Occurred()) SWIG_fail
;
22973 resultobj
= SWIG_From_int(static_cast< int >(result
));
22980 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22981 PyObject
*resultobj
= 0;
22982 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22986 PyObject
*swig_obj
[1] ;
22988 if (!args
) SWIG_fail
;
22989 swig_obj
[0] = args
;
22990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22991 if (!SWIG_IsOK(res1
)) {
22992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22994 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22997 result
= (int)(arg1
)->IsSeparator();
22998 wxPyEndAllowThreads(__tstate
);
22999 if (PyErr_Occurred()) SWIG_fail
;
23001 resultobj
= SWIG_From_int(static_cast< int >(result
));
23008 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23009 PyObject
*resultobj
= 0;
23010 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23014 PyObject
*swig_obj
[1] ;
23016 if (!args
) SWIG_fail
;
23017 swig_obj
[0] = args
;
23018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23019 if (!SWIG_IsOK(res1
)) {
23020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23022 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23025 result
= (int)(arg1
)->GetStyle();
23026 wxPyEndAllowThreads(__tstate
);
23027 if (PyErr_Occurred()) SWIG_fail
;
23029 resultobj
= SWIG_From_int(static_cast< int >(result
));
23036 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23037 PyObject
*resultobj
= 0;
23038 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23042 PyObject
*swig_obj
[1] ;
23044 if (!args
) SWIG_fail
;
23045 swig_obj
[0] = args
;
23046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23047 if (!SWIG_IsOK(res1
)) {
23048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23050 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23053 result
= (wxItemKind
)(arg1
)->GetKind();
23054 wxPyEndAllowThreads(__tstate
);
23055 if (PyErr_Occurred()) SWIG_fail
;
23057 resultobj
= SWIG_From_int(static_cast< int >(result
));
23064 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23065 PyObject
*resultobj
= 0;
23066 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23070 PyObject
*swig_obj
[1] ;
23072 if (!args
) SWIG_fail
;
23073 swig_obj
[0] = args
;
23074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23075 if (!SWIG_IsOK(res1
)) {
23076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23078 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23081 result
= (bool)(arg1
)->IsEnabled();
23082 wxPyEndAllowThreads(__tstate
);
23083 if (PyErr_Occurred()) SWIG_fail
;
23086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23094 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23095 PyObject
*resultobj
= 0;
23096 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23100 PyObject
*swig_obj
[1] ;
23102 if (!args
) SWIG_fail
;
23103 swig_obj
[0] = args
;
23104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23105 if (!SWIG_IsOK(res1
)) {
23106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23108 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23111 result
= (bool)(arg1
)->IsToggled();
23112 wxPyEndAllowThreads(__tstate
);
23113 if (PyErr_Occurred()) SWIG_fail
;
23116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23124 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23125 PyObject
*resultobj
= 0;
23126 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23130 PyObject
*swig_obj
[1] ;
23132 if (!args
) SWIG_fail
;
23133 swig_obj
[0] = args
;
23134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23135 if (!SWIG_IsOK(res1
)) {
23136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23138 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23141 result
= (bool)(arg1
)->CanBeToggled();
23142 wxPyEndAllowThreads(__tstate
);
23143 if (PyErr_Occurred()) SWIG_fail
;
23146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23154 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23155 PyObject
*resultobj
= 0;
23156 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23157 wxBitmap
*result
= 0 ;
23160 PyObject
*swig_obj
[1] ;
23162 if (!args
) SWIG_fail
;
23163 swig_obj
[0] = args
;
23164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23165 if (!SWIG_IsOK(res1
)) {
23166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23168 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23172 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
23173 result
= (wxBitmap
*) &_result_ref
;
23175 wxPyEndAllowThreads(__tstate
);
23176 if (PyErr_Occurred()) SWIG_fail
;
23179 wxBitmap
* resultptr
= new wxBitmap(*result
);
23180 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23188 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23189 PyObject
*resultobj
= 0;
23190 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23191 wxBitmap
*result
= 0 ;
23194 PyObject
*swig_obj
[1] ;
23196 if (!args
) SWIG_fail
;
23197 swig_obj
[0] = args
;
23198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23199 if (!SWIG_IsOK(res1
)) {
23200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23202 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23206 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
23207 result
= (wxBitmap
*) &_result_ref
;
23209 wxPyEndAllowThreads(__tstate
);
23210 if (PyErr_Occurred()) SWIG_fail
;
23213 wxBitmap
* resultptr
= new wxBitmap(*result
);
23214 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23222 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23223 PyObject
*resultobj
= 0;
23224 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23228 PyObject
*swig_obj
[1] ;
23230 if (!args
) SWIG_fail
;
23231 swig_obj
[0] = args
;
23232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23233 if (!SWIG_IsOK(res1
)) {
23234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23236 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23239 result
= (arg1
)->GetBitmap();
23240 wxPyEndAllowThreads(__tstate
);
23241 if (PyErr_Occurred()) SWIG_fail
;
23243 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
23250 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23251 PyObject
*resultobj
= 0;
23252 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23256 PyObject
*swig_obj
[1] ;
23258 if (!args
) SWIG_fail
;
23259 swig_obj
[0] = args
;
23260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23261 if (!SWIG_IsOK(res1
)) {
23262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23264 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23267 result
= (arg1
)->GetLabel();
23268 wxPyEndAllowThreads(__tstate
);
23269 if (PyErr_Occurred()) SWIG_fail
;
23273 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23275 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23284 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23285 PyObject
*resultobj
= 0;
23286 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23290 PyObject
*swig_obj
[1] ;
23292 if (!args
) SWIG_fail
;
23293 swig_obj
[0] = args
;
23294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23295 if (!SWIG_IsOK(res1
)) {
23296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23298 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23301 result
= (arg1
)->GetShortHelp();
23302 wxPyEndAllowThreads(__tstate
);
23303 if (PyErr_Occurred()) SWIG_fail
;
23307 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23309 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23318 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23319 PyObject
*resultobj
= 0;
23320 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23324 PyObject
*swig_obj
[1] ;
23326 if (!args
) SWIG_fail
;
23327 swig_obj
[0] = args
;
23328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23329 if (!SWIG_IsOK(res1
)) {
23330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23332 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23335 result
= (arg1
)->GetLongHelp();
23336 wxPyEndAllowThreads(__tstate
);
23337 if (PyErr_Occurred()) SWIG_fail
;
23341 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23343 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23352 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23353 PyObject
*resultobj
= 0;
23354 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23361 PyObject
* obj0
= 0 ;
23362 PyObject
* obj1
= 0 ;
23363 char * kwnames
[] = {
23364 (char *) "self",(char *) "enable", NULL
23367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23369 if (!SWIG_IsOK(res1
)) {
23370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23372 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23373 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23374 if (!SWIG_IsOK(ecode2
)) {
23375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23377 arg2
= static_cast< bool >(val2
);
23379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23380 result
= (bool)(arg1
)->Enable(arg2
);
23381 wxPyEndAllowThreads(__tstate
);
23382 if (PyErr_Occurred()) SWIG_fail
;
23385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23393 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23394 PyObject
*resultobj
= 0;
23395 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23398 PyObject
*swig_obj
[1] ;
23400 if (!args
) SWIG_fail
;
23401 swig_obj
[0] = args
;
23402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23403 if (!SWIG_IsOK(res1
)) {
23404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23406 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23410 wxPyEndAllowThreads(__tstate
);
23411 if (PyErr_Occurred()) SWIG_fail
;
23413 resultobj
= SWIG_Py_Void();
23420 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23421 PyObject
*resultobj
= 0;
23422 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23429 PyObject
* obj0
= 0 ;
23430 PyObject
* obj1
= 0 ;
23431 char * kwnames
[] = {
23432 (char *) "self",(char *) "toggle", NULL
23435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23437 if (!SWIG_IsOK(res1
)) {
23438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23440 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23441 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23442 if (!SWIG_IsOK(ecode2
)) {
23443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23445 arg2
= static_cast< bool >(val2
);
23447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23448 result
= (bool)(arg1
)->SetToggle(arg2
);
23449 wxPyEndAllowThreads(__tstate
);
23450 if (PyErr_Occurred()) SWIG_fail
;
23453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23461 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23462 PyObject
*resultobj
= 0;
23463 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23464 wxString
*arg2
= 0 ;
23468 bool temp2
= false ;
23469 PyObject
* obj0
= 0 ;
23470 PyObject
* obj1
= 0 ;
23471 char * kwnames
[] = {
23472 (char *) "self",(char *) "help", NULL
23475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23477 if (!SWIG_IsOK(res1
)) {
23478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23480 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23482 arg2
= wxString_in_helper(obj1
);
23483 if (arg2
== NULL
) SWIG_fail
;
23487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23488 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23489 wxPyEndAllowThreads(__tstate
);
23490 if (PyErr_Occurred()) SWIG_fail
;
23493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23509 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23510 PyObject
*resultobj
= 0;
23511 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23512 wxString
*arg2
= 0 ;
23516 bool temp2
= false ;
23517 PyObject
* obj0
= 0 ;
23518 PyObject
* obj1
= 0 ;
23519 char * kwnames
[] = {
23520 (char *) "self",(char *) "help", NULL
23523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23525 if (!SWIG_IsOK(res1
)) {
23526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23528 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23530 arg2
= wxString_in_helper(obj1
);
23531 if (arg2
== NULL
) SWIG_fail
;
23535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23536 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23537 wxPyEndAllowThreads(__tstate
);
23538 if (PyErr_Occurred()) SWIG_fail
;
23541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23557 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23558 PyObject
*resultobj
= 0;
23559 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23560 wxBitmap
*arg2
= 0 ;
23565 PyObject
* obj0
= 0 ;
23566 PyObject
* obj1
= 0 ;
23567 char * kwnames
[] = {
23568 (char *) "self",(char *) "bmp", NULL
23571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23573 if (!SWIG_IsOK(res1
)) {
23574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23576 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23577 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23578 if (!SWIG_IsOK(res2
)) {
23579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23584 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23587 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23588 wxPyEndAllowThreads(__tstate
);
23589 if (PyErr_Occurred()) SWIG_fail
;
23591 resultobj
= SWIG_Py_Void();
23598 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23599 PyObject
*resultobj
= 0;
23600 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23601 wxBitmap
*arg2
= 0 ;
23606 PyObject
* obj0
= 0 ;
23607 PyObject
* obj1
= 0 ;
23608 char * kwnames
[] = {
23609 (char *) "self",(char *) "bmp", NULL
23612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23614 if (!SWIG_IsOK(res1
)) {
23615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23617 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23618 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23619 if (!SWIG_IsOK(res2
)) {
23620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23623 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23625 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23628 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23629 wxPyEndAllowThreads(__tstate
);
23630 if (PyErr_Occurred()) SWIG_fail
;
23632 resultobj
= SWIG_Py_Void();
23639 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23640 PyObject
*resultobj
= 0;
23641 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23642 wxString
*arg2
= 0 ;
23645 bool temp2
= false ;
23646 PyObject
* obj0
= 0 ;
23647 PyObject
* obj1
= 0 ;
23648 char * kwnames
[] = {
23649 (char *) "self",(char *) "label", NULL
23652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23654 if (!SWIG_IsOK(res1
)) {
23655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23657 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23659 arg2
= wxString_in_helper(obj1
);
23660 if (arg2
== NULL
) SWIG_fail
;
23664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23665 (arg1
)->SetLabel((wxString
const &)*arg2
);
23666 wxPyEndAllowThreads(__tstate
);
23667 if (PyErr_Occurred()) SWIG_fail
;
23669 resultobj
= SWIG_Py_Void();
23684 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23685 PyObject
*resultobj
= 0;
23686 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23689 PyObject
*swig_obj
[1] ;
23691 if (!args
) SWIG_fail
;
23692 swig_obj
[0] = args
;
23693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23694 if (!SWIG_IsOK(res1
)) {
23695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23697 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23701 wxPyEndAllowThreads(__tstate
);
23702 if (PyErr_Occurred()) SWIG_fail
;
23704 resultobj
= SWIG_Py_Void();
23711 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23712 PyObject
*resultobj
= 0;
23713 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23714 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23719 PyObject
* obj0
= 0 ;
23720 PyObject
* obj1
= 0 ;
23721 char * kwnames
[] = {
23722 (char *) "self",(char *) "tbar", NULL
23725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23727 if (!SWIG_IsOK(res1
)) {
23728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23730 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23731 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23732 if (!SWIG_IsOK(res2
)) {
23733 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23735 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23738 (arg1
)->Attach(arg2
);
23739 wxPyEndAllowThreads(__tstate
);
23740 if (PyErr_Occurred()) SWIG_fail
;
23742 resultobj
= SWIG_Py_Void();
23749 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23750 PyObject
*resultobj
= 0;
23751 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23752 PyObject
*result
= 0 ;
23755 PyObject
*swig_obj
[1] ;
23757 if (!args
) SWIG_fail
;
23758 swig_obj
[0] = args
;
23759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23760 if (!SWIG_IsOK(res1
)) {
23761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23763 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23766 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23767 wxPyEndAllowThreads(__tstate
);
23768 if (PyErr_Occurred()) SWIG_fail
;
23770 resultobj
= result
;
23777 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23778 PyObject
*resultobj
= 0;
23779 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23780 PyObject
*arg2
= (PyObject
*) 0 ;
23783 PyObject
* obj0
= 0 ;
23784 PyObject
* obj1
= 0 ;
23785 char * kwnames
[] = {
23786 (char *) "self",(char *) "clientData", NULL
23789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23791 if (!SWIG_IsOK(res1
)) {
23792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23794 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23798 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23799 wxPyEndAllowThreads(__tstate
);
23800 if (PyErr_Occurred()) SWIG_fail
;
23802 resultobj
= SWIG_Py_Void();
23809 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23811 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23812 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23813 return SWIG_Py_Void();
23816 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23817 PyObject
*resultobj
= 0;
23818 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23820 wxString
*arg3
= 0 ;
23821 wxBitmap
*arg4
= 0 ;
23822 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23823 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23824 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23825 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23826 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23827 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23828 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23829 PyObject
*arg9
= (PyObject
*) NULL
;
23830 wxToolBarToolBase
*result
= 0 ;
23835 bool temp3
= false ;
23842 bool temp7
= false ;
23843 bool temp8
= false ;
23844 PyObject
* obj0
= 0 ;
23845 PyObject
* obj1
= 0 ;
23846 PyObject
* obj2
= 0 ;
23847 PyObject
* obj3
= 0 ;
23848 PyObject
* obj4
= 0 ;
23849 PyObject
* obj5
= 0 ;
23850 PyObject
* obj6
= 0 ;
23851 PyObject
* obj7
= 0 ;
23852 PyObject
* obj8
= 0 ;
23853 char * kwnames
[] = {
23854 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23859 if (!SWIG_IsOK(res1
)) {
23860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23862 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23864 if (!SWIG_IsOK(ecode2
)) {
23865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23867 arg2
= static_cast< int >(val2
);
23869 arg3
= wxString_in_helper(obj2
);
23870 if (arg3
== NULL
) SWIG_fail
;
23873 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23874 if (!SWIG_IsOK(res4
)) {
23875 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23878 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23880 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23882 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23883 if (!SWIG_IsOK(res5
)) {
23884 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23887 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23889 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23892 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23893 if (!SWIG_IsOK(ecode6
)) {
23894 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23896 arg6
= static_cast< wxItemKind
>(val6
);
23900 arg7
= wxString_in_helper(obj6
);
23901 if (arg7
== NULL
) SWIG_fail
;
23907 arg8
= wxString_in_helper(obj7
);
23908 if (arg8
== NULL
) SWIG_fail
;
23916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23917 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23918 wxPyEndAllowThreads(__tstate
);
23919 if (PyErr_Occurred()) SWIG_fail
;
23922 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23954 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23955 PyObject
*resultobj
= 0;
23956 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23959 wxString
*arg4
= 0 ;
23960 wxBitmap
*arg5
= 0 ;
23961 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23962 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23963 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23964 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23965 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23966 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23967 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23968 PyObject
*arg10
= (PyObject
*) NULL
;
23969 wxToolBarToolBase
*result
= 0 ;
23976 bool temp4
= false ;
23983 bool temp8
= false ;
23984 bool temp9
= false ;
23985 PyObject
* obj0
= 0 ;
23986 PyObject
* obj1
= 0 ;
23987 PyObject
* obj2
= 0 ;
23988 PyObject
* obj3
= 0 ;
23989 PyObject
* obj4
= 0 ;
23990 PyObject
* obj5
= 0 ;
23991 PyObject
* obj6
= 0 ;
23992 PyObject
* obj7
= 0 ;
23993 PyObject
* obj8
= 0 ;
23994 PyObject
* obj9
= 0 ;
23995 char * kwnames
[] = {
23996 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
24000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24001 if (!SWIG_IsOK(res1
)) {
24002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24004 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24005 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24006 if (!SWIG_IsOK(ecode2
)) {
24007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
24009 arg2
= static_cast< size_t >(val2
);
24010 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24011 if (!SWIG_IsOK(ecode3
)) {
24012 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
24014 arg3
= static_cast< int >(val3
);
24016 arg4
= wxString_in_helper(obj3
);
24017 if (arg4
== NULL
) SWIG_fail
;
24020 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24021 if (!SWIG_IsOK(res5
)) {
24022 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24025 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24027 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
24029 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24030 if (!SWIG_IsOK(res6
)) {
24031 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24034 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24036 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
24039 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24040 if (!SWIG_IsOK(ecode7
)) {
24041 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24043 arg7
= static_cast< wxItemKind
>(val7
);
24047 arg8
= wxString_in_helper(obj7
);
24048 if (arg8
== NULL
) SWIG_fail
;
24054 arg9
= wxString_in_helper(obj8
);
24055 if (arg9
== NULL
) SWIG_fail
;
24063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24064 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
24065 wxPyEndAllowThreads(__tstate
);
24066 if (PyErr_Occurred()) SWIG_fail
;
24069 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24101 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24102 PyObject
*resultobj
= 0;
24103 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24104 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
24105 wxToolBarToolBase
*result
= 0 ;
24110 PyObject
* obj0
= 0 ;
24111 PyObject
* obj1
= 0 ;
24112 char * kwnames
[] = {
24113 (char *) "self",(char *) "tool", NULL
24116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24118 if (!SWIG_IsOK(res1
)) {
24119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24121 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24122 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24123 if (!SWIG_IsOK(res2
)) {
24124 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24126 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
24128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24129 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
24130 wxPyEndAllowThreads(__tstate
);
24131 if (PyErr_Occurred()) SWIG_fail
;
24134 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24142 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24143 PyObject
*resultobj
= 0;
24144 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24146 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
24147 wxToolBarToolBase
*result
= 0 ;
24154 PyObject
* obj0
= 0 ;
24155 PyObject
* obj1
= 0 ;
24156 PyObject
* obj2
= 0 ;
24157 char * kwnames
[] = {
24158 (char *) "self",(char *) "pos",(char *) "tool", NULL
24161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24163 if (!SWIG_IsOK(res1
)) {
24164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24166 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24167 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24168 if (!SWIG_IsOK(ecode2
)) {
24169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24171 arg2
= static_cast< size_t >(val2
);
24172 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24173 if (!SWIG_IsOK(res3
)) {
24174 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24176 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
24178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24179 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
24180 wxPyEndAllowThreads(__tstate
);
24181 if (PyErr_Occurred()) SWIG_fail
;
24184 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24192 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24193 PyObject
*resultobj
= 0;
24194 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24195 wxControl
*arg2
= (wxControl
*) 0 ;
24196 wxToolBarToolBase
*result
= 0 ;
24201 PyObject
* obj0
= 0 ;
24202 PyObject
* obj1
= 0 ;
24203 char * kwnames
[] = {
24204 (char *) "self",(char *) "control", NULL
24207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24209 if (!SWIG_IsOK(res1
)) {
24210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24212 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24213 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
24214 if (!SWIG_IsOK(res2
)) {
24215 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24217 arg2
= reinterpret_cast< wxControl
* >(argp2
);
24219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24220 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
24221 wxPyEndAllowThreads(__tstate
);
24222 if (PyErr_Occurred()) SWIG_fail
;
24225 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24233 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24234 PyObject
*resultobj
= 0;
24235 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24237 wxControl
*arg3
= (wxControl
*) 0 ;
24238 wxToolBarToolBase
*result
= 0 ;
24245 PyObject
* obj0
= 0 ;
24246 PyObject
* obj1
= 0 ;
24247 PyObject
* obj2
= 0 ;
24248 char * kwnames
[] = {
24249 (char *) "self",(char *) "pos",(char *) "control", NULL
24252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24254 if (!SWIG_IsOK(res1
)) {
24255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24257 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24258 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24259 if (!SWIG_IsOK(ecode2
)) {
24260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24262 arg2
= static_cast< size_t >(val2
);
24263 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
24264 if (!SWIG_IsOK(res3
)) {
24265 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24267 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24270 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
24271 wxPyEndAllowThreads(__tstate
);
24272 if (PyErr_Occurred()) SWIG_fail
;
24275 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24283 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24284 PyObject
*resultobj
= 0;
24285 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24287 wxControl
*result
= 0 ;
24292 PyObject
* obj0
= 0 ;
24293 PyObject
* obj1
= 0 ;
24294 char * kwnames
[] = {
24295 (char *) "self",(char *) "id", NULL
24298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24300 if (!SWIG_IsOK(res1
)) {
24301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24303 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24304 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24305 if (!SWIG_IsOK(ecode2
)) {
24306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24308 arg2
= static_cast< int >(val2
);
24310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24311 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24312 wxPyEndAllowThreads(__tstate
);
24313 if (PyErr_Occurred()) SWIG_fail
;
24316 resultobj
= wxPyMake_wxObject(result
, 0);
24324 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24325 PyObject
*resultobj
= 0;
24326 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24327 wxToolBarToolBase
*result
= 0 ;
24330 PyObject
*swig_obj
[1] ;
24332 if (!args
) SWIG_fail
;
24333 swig_obj
[0] = args
;
24334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24335 if (!SWIG_IsOK(res1
)) {
24336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24338 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24341 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24342 wxPyEndAllowThreads(__tstate
);
24343 if (PyErr_Occurred()) SWIG_fail
;
24346 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24354 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24355 PyObject
*resultobj
= 0;
24356 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24358 wxToolBarToolBase
*result
= 0 ;
24363 PyObject
* obj0
= 0 ;
24364 PyObject
* obj1
= 0 ;
24365 char * kwnames
[] = {
24366 (char *) "self",(char *) "pos", NULL
24369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24371 if (!SWIG_IsOK(res1
)) {
24372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24374 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24375 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24376 if (!SWIG_IsOK(ecode2
)) {
24377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24379 arg2
= static_cast< size_t >(val2
);
24381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24382 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24383 wxPyEndAllowThreads(__tstate
);
24384 if (PyErr_Occurred()) SWIG_fail
;
24387 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24395 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24396 PyObject
*resultobj
= 0;
24397 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24399 wxToolBarToolBase
*result
= 0 ;
24404 PyObject
* obj0
= 0 ;
24405 PyObject
* obj1
= 0 ;
24406 char * kwnames
[] = {
24407 (char *) "self",(char *) "id", NULL
24410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24412 if (!SWIG_IsOK(res1
)) {
24413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24415 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24416 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24417 if (!SWIG_IsOK(ecode2
)) {
24418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24420 arg2
= static_cast< int >(val2
);
24422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24423 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24424 wxPyEndAllowThreads(__tstate
);
24425 if (PyErr_Occurred()) SWIG_fail
;
24428 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24436 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24437 PyObject
*resultobj
= 0;
24438 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24445 PyObject
* obj0
= 0 ;
24446 PyObject
* obj1
= 0 ;
24447 char * kwnames
[] = {
24448 (char *) "self",(char *) "pos", NULL
24451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24453 if (!SWIG_IsOK(res1
)) {
24454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24456 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24457 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24458 if (!SWIG_IsOK(ecode2
)) {
24459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24461 arg2
= static_cast< size_t >(val2
);
24463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24464 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24465 wxPyEndAllowThreads(__tstate
);
24466 if (PyErr_Occurred()) SWIG_fail
;
24469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24477 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24478 PyObject
*resultobj
= 0;
24479 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24486 PyObject
* obj0
= 0 ;
24487 PyObject
* obj1
= 0 ;
24488 char * kwnames
[] = {
24489 (char *) "self",(char *) "id", NULL
24492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24494 if (!SWIG_IsOK(res1
)) {
24495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24497 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24498 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24499 if (!SWIG_IsOK(ecode2
)) {
24500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24502 arg2
= static_cast< int >(val2
);
24504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24505 result
= (bool)(arg1
)->DeleteTool(arg2
);
24506 wxPyEndAllowThreads(__tstate
);
24507 if (PyErr_Occurred()) SWIG_fail
;
24510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24518 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24519 PyObject
*resultobj
= 0;
24520 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24523 PyObject
*swig_obj
[1] ;
24525 if (!args
) SWIG_fail
;
24526 swig_obj
[0] = args
;
24527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24528 if (!SWIG_IsOK(res1
)) {
24529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24531 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24534 (arg1
)->ClearTools();
24535 wxPyEndAllowThreads(__tstate
);
24536 if (PyErr_Occurred()) SWIG_fail
;
24538 resultobj
= SWIG_Py_Void();
24545 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24546 PyObject
*resultobj
= 0;
24547 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24551 PyObject
*swig_obj
[1] ;
24553 if (!args
) SWIG_fail
;
24554 swig_obj
[0] = args
;
24555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24556 if (!SWIG_IsOK(res1
)) {
24557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24559 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24562 result
= (bool)(arg1
)->Realize();
24563 wxPyEndAllowThreads(__tstate
);
24564 if (PyErr_Occurred()) SWIG_fail
;
24567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24575 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24576 PyObject
*resultobj
= 0;
24577 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24586 PyObject
* obj0
= 0 ;
24587 PyObject
* obj1
= 0 ;
24588 PyObject
* obj2
= 0 ;
24589 char * kwnames
[] = {
24590 (char *) "self",(char *) "id",(char *) "enable", NULL
24593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24595 if (!SWIG_IsOK(res1
)) {
24596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24598 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24599 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24600 if (!SWIG_IsOK(ecode2
)) {
24601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24603 arg2
= static_cast< int >(val2
);
24604 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24605 if (!SWIG_IsOK(ecode3
)) {
24606 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24608 arg3
= static_cast< bool >(val3
);
24610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24611 (arg1
)->EnableTool(arg2
,arg3
);
24612 wxPyEndAllowThreads(__tstate
);
24613 if (PyErr_Occurred()) SWIG_fail
;
24615 resultobj
= SWIG_Py_Void();
24622 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24623 PyObject
*resultobj
= 0;
24624 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24633 PyObject
* obj0
= 0 ;
24634 PyObject
* obj1
= 0 ;
24635 PyObject
* obj2
= 0 ;
24636 char * kwnames
[] = {
24637 (char *) "self",(char *) "id",(char *) "toggle", NULL
24640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24642 if (!SWIG_IsOK(res1
)) {
24643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24645 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24646 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24647 if (!SWIG_IsOK(ecode2
)) {
24648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24650 arg2
= static_cast< int >(val2
);
24651 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24652 if (!SWIG_IsOK(ecode3
)) {
24653 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24655 arg3
= static_cast< bool >(val3
);
24657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24658 (arg1
)->ToggleTool(arg2
,arg3
);
24659 wxPyEndAllowThreads(__tstate
);
24660 if (PyErr_Occurred()) SWIG_fail
;
24662 resultobj
= SWIG_Py_Void();
24669 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24670 PyObject
*resultobj
= 0;
24671 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24680 PyObject
* obj0
= 0 ;
24681 PyObject
* obj1
= 0 ;
24682 PyObject
* obj2
= 0 ;
24683 char * kwnames
[] = {
24684 (char *) "self",(char *) "id",(char *) "toggle", NULL
24687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24689 if (!SWIG_IsOK(res1
)) {
24690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24692 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24693 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24694 if (!SWIG_IsOK(ecode2
)) {
24695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24697 arg2
= static_cast< int >(val2
);
24698 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24699 if (!SWIG_IsOK(ecode3
)) {
24700 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24702 arg3
= static_cast< bool >(val3
);
24704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24705 (arg1
)->SetToggle(arg2
,arg3
);
24706 wxPyEndAllowThreads(__tstate
);
24707 if (PyErr_Occurred()) SWIG_fail
;
24709 resultobj
= SWIG_Py_Void();
24716 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24717 PyObject
*resultobj
= 0;
24718 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24720 PyObject
*result
= 0 ;
24725 PyObject
* obj0
= 0 ;
24726 PyObject
* obj1
= 0 ;
24727 char * kwnames
[] = {
24728 (char *) "self",(char *) "id", NULL
24731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24733 if (!SWIG_IsOK(res1
)) {
24734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24736 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24737 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24738 if (!SWIG_IsOK(ecode2
)) {
24739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24741 arg2
= static_cast< int >(val2
);
24743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24744 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24745 wxPyEndAllowThreads(__tstate
);
24746 if (PyErr_Occurred()) SWIG_fail
;
24748 resultobj
= result
;
24755 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24756 PyObject
*resultobj
= 0;
24757 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24759 PyObject
*arg3
= (PyObject
*) 0 ;
24764 PyObject
* obj0
= 0 ;
24765 PyObject
* obj1
= 0 ;
24766 PyObject
* obj2
= 0 ;
24767 char * kwnames
[] = {
24768 (char *) "self",(char *) "id",(char *) "clientData", NULL
24771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24773 if (!SWIG_IsOK(res1
)) {
24774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24776 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24777 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24778 if (!SWIG_IsOK(ecode2
)) {
24779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24781 arg2
= static_cast< int >(val2
);
24784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24785 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24786 wxPyEndAllowThreads(__tstate
);
24787 if (PyErr_Occurred()) SWIG_fail
;
24789 resultobj
= SWIG_Py_Void();
24796 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24797 PyObject
*resultobj
= 0;
24798 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24805 PyObject
* obj0
= 0 ;
24806 PyObject
* obj1
= 0 ;
24807 char * kwnames
[] = {
24808 (char *) "self",(char *) "id", NULL
24811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24813 if (!SWIG_IsOK(res1
)) {
24814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24816 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24817 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24818 if (!SWIG_IsOK(ecode2
)) {
24819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24821 arg2
= static_cast< int >(val2
);
24823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24824 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24825 wxPyEndAllowThreads(__tstate
);
24826 if (PyErr_Occurred()) SWIG_fail
;
24828 resultobj
= SWIG_From_int(static_cast< int >(result
));
24835 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24836 PyObject
*resultobj
= 0;
24837 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24844 PyObject
* obj0
= 0 ;
24845 PyObject
* obj1
= 0 ;
24846 char * kwnames
[] = {
24847 (char *) "self",(char *) "id", NULL
24850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24852 if (!SWIG_IsOK(res1
)) {
24853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24855 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24856 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24857 if (!SWIG_IsOK(ecode2
)) {
24858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24860 arg2
= static_cast< int >(val2
);
24862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24863 result
= (bool)(arg1
)->GetToolState(arg2
);
24864 wxPyEndAllowThreads(__tstate
);
24865 if (PyErr_Occurred()) SWIG_fail
;
24868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24876 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24877 PyObject
*resultobj
= 0;
24878 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24885 PyObject
* obj0
= 0 ;
24886 PyObject
* obj1
= 0 ;
24887 char * kwnames
[] = {
24888 (char *) "self",(char *) "id", NULL
24891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24893 if (!SWIG_IsOK(res1
)) {
24894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24896 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24897 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24898 if (!SWIG_IsOK(ecode2
)) {
24899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24901 arg2
= static_cast< int >(val2
);
24903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24904 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24905 wxPyEndAllowThreads(__tstate
);
24906 if (PyErr_Occurred()) SWIG_fail
;
24909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24917 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24918 PyObject
*resultobj
= 0;
24919 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24921 wxString
*arg3
= 0 ;
24926 bool temp3
= false ;
24927 PyObject
* obj0
= 0 ;
24928 PyObject
* obj1
= 0 ;
24929 PyObject
* obj2
= 0 ;
24930 char * kwnames
[] = {
24931 (char *) "self",(char *) "id",(char *) "helpString", NULL
24934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24936 if (!SWIG_IsOK(res1
)) {
24937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24939 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24941 if (!SWIG_IsOK(ecode2
)) {
24942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24944 arg2
= static_cast< int >(val2
);
24946 arg3
= wxString_in_helper(obj2
);
24947 if (arg3
== NULL
) SWIG_fail
;
24951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24952 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24953 wxPyEndAllowThreads(__tstate
);
24954 if (PyErr_Occurred()) SWIG_fail
;
24956 resultobj
= SWIG_Py_Void();
24971 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24972 PyObject
*resultobj
= 0;
24973 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24980 PyObject
* obj0
= 0 ;
24981 PyObject
* obj1
= 0 ;
24982 char * kwnames
[] = {
24983 (char *) "self",(char *) "id", NULL
24986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24988 if (!SWIG_IsOK(res1
)) {
24989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24991 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24993 if (!SWIG_IsOK(ecode2
)) {
24994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24996 arg2
= static_cast< int >(val2
);
24998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24999 result
= (arg1
)->GetToolShortHelp(arg2
);
25000 wxPyEndAllowThreads(__tstate
);
25001 if (PyErr_Occurred()) SWIG_fail
;
25005 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25007 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25016 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25017 PyObject
*resultobj
= 0;
25018 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25020 wxString
*arg3
= 0 ;
25025 bool temp3
= false ;
25026 PyObject
* obj0
= 0 ;
25027 PyObject
* obj1
= 0 ;
25028 PyObject
* obj2
= 0 ;
25029 char * kwnames
[] = {
25030 (char *) "self",(char *) "id",(char *) "helpString", NULL
25033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25035 if (!SWIG_IsOK(res1
)) {
25036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25038 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25039 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25040 if (!SWIG_IsOK(ecode2
)) {
25041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25043 arg2
= static_cast< int >(val2
);
25045 arg3
= wxString_in_helper(obj2
);
25046 if (arg3
== NULL
) SWIG_fail
;
25050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25051 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
25052 wxPyEndAllowThreads(__tstate
);
25053 if (PyErr_Occurred()) SWIG_fail
;
25055 resultobj
= SWIG_Py_Void();
25070 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25071 PyObject
*resultobj
= 0;
25072 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25079 PyObject
* obj0
= 0 ;
25080 PyObject
* obj1
= 0 ;
25081 char * kwnames
[] = {
25082 (char *) "self",(char *) "id", NULL
25085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25087 if (!SWIG_IsOK(res1
)) {
25088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25090 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25091 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25092 if (!SWIG_IsOK(ecode2
)) {
25093 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25095 arg2
= static_cast< int >(val2
);
25097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25098 result
= (arg1
)->GetToolLongHelp(arg2
);
25099 wxPyEndAllowThreads(__tstate
);
25100 if (PyErr_Occurred()) SWIG_fail
;
25104 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25106 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25115 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25116 PyObject
*resultobj
= 0;
25117 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25126 PyObject
* obj0
= 0 ;
25127 PyObject
* obj1
= 0 ;
25128 PyObject
* obj2
= 0 ;
25129 char * kwnames
[] = {
25130 (char *) "self",(char *) "x",(char *) "y", NULL
25133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25135 if (!SWIG_IsOK(res1
)) {
25136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25138 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25140 if (!SWIG_IsOK(ecode2
)) {
25141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25143 arg2
= static_cast< int >(val2
);
25144 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25145 if (!SWIG_IsOK(ecode3
)) {
25146 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25148 arg3
= static_cast< int >(val3
);
25150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25151 (arg1
)->SetMargins(arg2
,arg3
);
25152 wxPyEndAllowThreads(__tstate
);
25153 if (PyErr_Occurred()) SWIG_fail
;
25155 resultobj
= SWIG_Py_Void();
25162 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25163 PyObject
*resultobj
= 0;
25164 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25169 PyObject
* obj0
= 0 ;
25170 PyObject
* obj1
= 0 ;
25171 char * kwnames
[] = {
25172 (char *) "self",(char *) "size", NULL
25175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25177 if (!SWIG_IsOK(res1
)) {
25178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25180 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25183 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25187 (arg1
)->SetMargins((wxSize
const &)*arg2
);
25188 wxPyEndAllowThreads(__tstate
);
25189 if (PyErr_Occurred()) SWIG_fail
;
25191 resultobj
= SWIG_Py_Void();
25198 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25199 PyObject
*resultobj
= 0;
25200 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25206 PyObject
* obj0
= 0 ;
25207 PyObject
* obj1
= 0 ;
25208 char * kwnames
[] = {
25209 (char *) "self",(char *) "packing", NULL
25212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25214 if (!SWIG_IsOK(res1
)) {
25215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25217 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25218 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25219 if (!SWIG_IsOK(ecode2
)) {
25220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25222 arg2
= static_cast< int >(val2
);
25224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25225 (arg1
)->SetToolPacking(arg2
);
25226 wxPyEndAllowThreads(__tstate
);
25227 if (PyErr_Occurred()) SWIG_fail
;
25229 resultobj
= SWIG_Py_Void();
25236 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25237 PyObject
*resultobj
= 0;
25238 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25244 PyObject
* obj0
= 0 ;
25245 PyObject
* obj1
= 0 ;
25246 char * kwnames
[] = {
25247 (char *) "self",(char *) "separation", NULL
25250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25252 if (!SWIG_IsOK(res1
)) {
25253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25255 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25257 if (!SWIG_IsOK(ecode2
)) {
25258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25260 arg2
= static_cast< int >(val2
);
25262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25263 (arg1
)->SetToolSeparation(arg2
);
25264 wxPyEndAllowThreads(__tstate
);
25265 if (PyErr_Occurred()) SWIG_fail
;
25267 resultobj
= SWIG_Py_Void();
25274 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25275 PyObject
*resultobj
= 0;
25276 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25280 PyObject
*swig_obj
[1] ;
25282 if (!args
) SWIG_fail
;
25283 swig_obj
[0] = args
;
25284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25285 if (!SWIG_IsOK(res1
)) {
25286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25288 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25291 result
= (arg1
)->GetToolMargins();
25292 wxPyEndAllowThreads(__tstate
);
25293 if (PyErr_Occurred()) SWIG_fail
;
25295 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25302 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25303 PyObject
*resultobj
= 0;
25304 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25308 PyObject
*swig_obj
[1] ;
25310 if (!args
) SWIG_fail
;
25311 swig_obj
[0] = args
;
25312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25313 if (!SWIG_IsOK(res1
)) {
25314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25316 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25319 result
= (arg1
)->GetMargins();
25320 wxPyEndAllowThreads(__tstate
);
25321 if (PyErr_Occurred()) SWIG_fail
;
25323 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25330 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25331 PyObject
*resultobj
= 0;
25332 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25336 PyObject
*swig_obj
[1] ;
25338 if (!args
) SWIG_fail
;
25339 swig_obj
[0] = args
;
25340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25341 if (!SWIG_IsOK(res1
)) {
25342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25344 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25347 result
= (int)(arg1
)->GetToolPacking();
25348 wxPyEndAllowThreads(__tstate
);
25349 if (PyErr_Occurred()) SWIG_fail
;
25351 resultobj
= SWIG_From_int(static_cast< int >(result
));
25358 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25359 PyObject
*resultobj
= 0;
25360 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25364 PyObject
*swig_obj
[1] ;
25366 if (!args
) SWIG_fail
;
25367 swig_obj
[0] = args
;
25368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25369 if (!SWIG_IsOK(res1
)) {
25370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25372 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25375 result
= (int)(arg1
)->GetToolSeparation();
25376 wxPyEndAllowThreads(__tstate
);
25377 if (PyErr_Occurred()) SWIG_fail
;
25379 resultobj
= SWIG_From_int(static_cast< int >(result
));
25386 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25387 PyObject
*resultobj
= 0;
25388 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25394 PyObject
* obj0
= 0 ;
25395 PyObject
* obj1
= 0 ;
25396 char * kwnames
[] = {
25397 (char *) "self",(char *) "nRows", NULL
25400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25402 if (!SWIG_IsOK(res1
)) {
25403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25405 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25406 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25407 if (!SWIG_IsOK(ecode2
)) {
25408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25410 arg2
= static_cast< int >(val2
);
25412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25413 (arg1
)->SetRows(arg2
);
25414 wxPyEndAllowThreads(__tstate
);
25415 if (PyErr_Occurred()) SWIG_fail
;
25417 resultobj
= SWIG_Py_Void();
25424 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25425 PyObject
*resultobj
= 0;
25426 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25435 PyObject
* obj0
= 0 ;
25436 PyObject
* obj1
= 0 ;
25437 PyObject
* obj2
= 0 ;
25438 char * kwnames
[] = {
25439 (char *) "self",(char *) "rows",(char *) "cols", NULL
25442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25444 if (!SWIG_IsOK(res1
)) {
25445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25447 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25449 if (!SWIG_IsOK(ecode2
)) {
25450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25452 arg2
= static_cast< int >(val2
);
25453 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25454 if (!SWIG_IsOK(ecode3
)) {
25455 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25457 arg3
= static_cast< int >(val3
);
25459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25460 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25461 wxPyEndAllowThreads(__tstate
);
25462 if (PyErr_Occurred()) SWIG_fail
;
25464 resultobj
= SWIG_Py_Void();
25471 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25472 PyObject
*resultobj
= 0;
25473 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25477 PyObject
*swig_obj
[1] ;
25479 if (!args
) SWIG_fail
;
25480 swig_obj
[0] = args
;
25481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25482 if (!SWIG_IsOK(res1
)) {
25483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25485 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25488 result
= (int)(arg1
)->GetMaxRows();
25489 wxPyEndAllowThreads(__tstate
);
25490 if (PyErr_Occurred()) SWIG_fail
;
25492 resultobj
= SWIG_From_int(static_cast< int >(result
));
25499 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25500 PyObject
*resultobj
= 0;
25501 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25505 PyObject
*swig_obj
[1] ;
25507 if (!args
) SWIG_fail
;
25508 swig_obj
[0] = args
;
25509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25510 if (!SWIG_IsOK(res1
)) {
25511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25513 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25516 result
= (int)(arg1
)->GetMaxCols();
25517 wxPyEndAllowThreads(__tstate
);
25518 if (PyErr_Occurred()) SWIG_fail
;
25520 resultobj
= SWIG_From_int(static_cast< int >(result
));
25527 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25528 PyObject
*resultobj
= 0;
25529 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25534 PyObject
* obj0
= 0 ;
25535 PyObject
* obj1
= 0 ;
25536 char * kwnames
[] = {
25537 (char *) "self",(char *) "size", NULL
25540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25542 if (!SWIG_IsOK(res1
)) {
25543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25545 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25548 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25552 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25553 wxPyEndAllowThreads(__tstate
);
25554 if (PyErr_Occurred()) SWIG_fail
;
25556 resultobj
= SWIG_Py_Void();
25563 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25564 PyObject
*resultobj
= 0;
25565 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25569 PyObject
*swig_obj
[1] ;
25571 if (!args
) SWIG_fail
;
25572 swig_obj
[0] = args
;
25573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25574 if (!SWIG_IsOK(res1
)) {
25575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25577 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25580 result
= (arg1
)->GetToolBitmapSize();
25581 wxPyEndAllowThreads(__tstate
);
25582 if (PyErr_Occurred()) SWIG_fail
;
25584 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25591 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25592 PyObject
*resultobj
= 0;
25593 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25597 PyObject
*swig_obj
[1] ;
25599 if (!args
) SWIG_fail
;
25600 swig_obj
[0] = args
;
25601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25602 if (!SWIG_IsOK(res1
)) {
25603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25605 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25608 result
= (arg1
)->GetToolSize();
25609 wxPyEndAllowThreads(__tstate
);
25610 if (PyErr_Occurred()) SWIG_fail
;
25612 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25619 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25620 PyObject
*resultobj
= 0;
25621 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25624 wxToolBarToolBase
*result
= 0 ;
25631 PyObject
* obj0
= 0 ;
25632 PyObject
* obj1
= 0 ;
25633 PyObject
* obj2
= 0 ;
25634 char * kwnames
[] = {
25635 (char *) "self",(char *) "x",(char *) "y", NULL
25638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25640 if (!SWIG_IsOK(res1
)) {
25641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25643 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25644 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25645 if (!SWIG_IsOK(ecode2
)) {
25646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25648 arg2
= static_cast< int >(val2
);
25649 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25650 if (!SWIG_IsOK(ecode3
)) {
25651 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25653 arg3
= static_cast< int >(val3
);
25655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25656 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25657 wxPyEndAllowThreads(__tstate
);
25658 if (PyErr_Occurred()) SWIG_fail
;
25661 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25669 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25670 PyObject
*resultobj
= 0;
25671 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25673 wxToolBarToolBase
*result
= 0 ;
25678 PyObject
* obj0
= 0 ;
25679 PyObject
* obj1
= 0 ;
25680 char * kwnames
[] = {
25681 (char *) "self",(char *) "toolid", NULL
25684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25686 if (!SWIG_IsOK(res1
)) {
25687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25689 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25690 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25691 if (!SWIG_IsOK(ecode2
)) {
25692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25694 arg2
= static_cast< int >(val2
);
25696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25697 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25698 wxPyEndAllowThreads(__tstate
);
25699 if (PyErr_Occurred()) SWIG_fail
;
25702 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25710 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25711 PyObject
*resultobj
= 0;
25712 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25716 PyObject
*swig_obj
[1] ;
25718 if (!args
) SWIG_fail
;
25719 swig_obj
[0] = args
;
25720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25721 if (!SWIG_IsOK(res1
)) {
25722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25724 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25727 result
= (bool)(arg1
)->IsVertical();
25728 wxPyEndAllowThreads(__tstate
);
25729 if (PyErr_Occurred()) SWIG_fail
;
25732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25740 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25741 PyObject
*resultobj
= 0;
25742 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25746 PyObject
*swig_obj
[1] ;
25748 if (!args
) SWIG_fail
;
25749 swig_obj
[0] = args
;
25750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25751 if (!SWIG_IsOK(res1
)) {
25752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25754 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25757 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25758 wxPyEndAllowThreads(__tstate
);
25759 if (PyErr_Occurred()) SWIG_fail
;
25761 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25768 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25770 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25771 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25772 return SWIG_Py_Void();
25775 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25776 PyObject
*resultobj
= 0;
25777 wxWindow
*arg1
= (wxWindow
*) 0 ;
25778 int arg2
= (int) -1 ;
25779 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25780 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25781 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25782 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25783 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25784 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25785 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25786 wxToolBar
*result
= 0 ;
25795 bool temp6
= false ;
25796 PyObject
* obj0
= 0 ;
25797 PyObject
* obj1
= 0 ;
25798 PyObject
* obj2
= 0 ;
25799 PyObject
* obj3
= 0 ;
25800 PyObject
* obj4
= 0 ;
25801 PyObject
* obj5
= 0 ;
25802 char * kwnames
[] = {
25803 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25808 if (!SWIG_IsOK(res1
)) {
25809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25811 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25814 if (!SWIG_IsOK(ecode2
)) {
25815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25817 arg2
= static_cast< int >(val2
);
25822 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25828 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25832 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25833 if (!SWIG_IsOK(ecode5
)) {
25834 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25836 arg5
= static_cast< long >(val5
);
25840 arg6
= wxString_in_helper(obj5
);
25841 if (arg6
== NULL
) SWIG_fail
;
25846 if (!wxPyCheckForApp()) SWIG_fail
;
25847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25848 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25849 wxPyEndAllowThreads(__tstate
);
25850 if (PyErr_Occurred()) SWIG_fail
;
25852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25867 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25868 PyObject
*resultobj
= 0;
25869 wxToolBar
*result
= 0 ;
25871 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25873 if (!wxPyCheckForApp()) SWIG_fail
;
25874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25875 result
= (wxToolBar
*)new wxToolBar();
25876 wxPyEndAllowThreads(__tstate
);
25877 if (PyErr_Occurred()) SWIG_fail
;
25879 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25886 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25887 PyObject
*resultobj
= 0;
25888 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25889 wxWindow
*arg2
= (wxWindow
*) 0 ;
25890 int arg3
= (int) -1 ;
25891 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25892 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25893 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25894 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25895 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25896 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25897 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25909 bool temp7
= false ;
25910 PyObject
* obj0
= 0 ;
25911 PyObject
* obj1
= 0 ;
25912 PyObject
* obj2
= 0 ;
25913 PyObject
* obj3
= 0 ;
25914 PyObject
* obj4
= 0 ;
25915 PyObject
* obj5
= 0 ;
25916 PyObject
* obj6
= 0 ;
25917 char * kwnames
[] = {
25918 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25923 if (!SWIG_IsOK(res1
)) {
25924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25926 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25927 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25928 if (!SWIG_IsOK(res2
)) {
25929 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25931 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25933 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25934 if (!SWIG_IsOK(ecode3
)) {
25935 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25937 arg3
= static_cast< int >(val3
);
25942 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25948 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25952 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25953 if (!SWIG_IsOK(ecode6
)) {
25954 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25956 arg6
= static_cast< long >(val6
);
25960 arg7
= wxString_in_helper(obj6
);
25961 if (arg7
== NULL
) SWIG_fail
;
25966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25967 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25968 wxPyEndAllowThreads(__tstate
);
25969 if (PyErr_Occurred()) SWIG_fail
;
25972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25988 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25989 PyObject
*resultobj
= 0;
25990 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25991 SwigValueWrapper
<wxVisualAttributes
> result
;
25994 PyObject
* obj0
= 0 ;
25995 char * kwnames
[] = {
25996 (char *) "variant", NULL
25999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
26001 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26002 if (!SWIG_IsOK(ecode1
)) {
26003 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
26005 arg1
= static_cast< wxWindowVariant
>(val1
);
26008 if (!wxPyCheckForApp()) SWIG_fail
;
26009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26010 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
26011 wxPyEndAllowThreads(__tstate
);
26012 if (PyErr_Occurred()) SWIG_fail
;
26014 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
26021 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26023 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26024 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
26025 return SWIG_Py_Void();
26028 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26029 return SWIG_Python_InitShadowInstance(args
);
26032 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
26033 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
26038 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
26039 PyObject
*pyobj
= 0;
26043 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26045 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26052 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26053 PyObject
*resultobj
= 0;
26054 wxColour
const &arg1_defvalue
= wxNullColour
;
26055 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
26056 wxColour
const &arg2_defvalue
= wxNullColour
;
26057 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
26058 wxFont
const &arg3_defvalue
= wxNullFont
;
26059 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
26060 wxListItemAttr
*result
= 0 ;
26065 PyObject
* obj0
= 0 ;
26066 PyObject
* obj1
= 0 ;
26067 PyObject
* obj2
= 0 ;
26068 char * kwnames
[] = {
26069 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26076 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
26082 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26086 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
26087 if (!SWIG_IsOK(res3
)) {
26088 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26091 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26093 arg3
= reinterpret_cast< wxFont
* >(argp3
);
26096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26097 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
26098 wxPyEndAllowThreads(__tstate
);
26099 if (PyErr_Occurred()) SWIG_fail
;
26101 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
26108 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26109 PyObject
*resultobj
= 0;
26110 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26113 PyObject
*swig_obj
[1] ;
26115 if (!args
) SWIG_fail
;
26116 swig_obj
[0] = args
;
26117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
26118 if (!SWIG_IsOK(res1
)) {
26119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26121 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26126 wxPyEndAllowThreads(__tstate
);
26127 if (PyErr_Occurred()) SWIG_fail
;
26129 resultobj
= SWIG_Py_Void();
26136 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26137 PyObject
*resultobj
= 0;
26138 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26139 wxColour
*arg2
= 0 ;
26143 PyObject
* obj0
= 0 ;
26144 PyObject
* obj1
= 0 ;
26145 char * kwnames
[] = {
26146 (char *) "self",(char *) "colText", NULL
26149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26151 if (!SWIG_IsOK(res1
)) {
26152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26154 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26157 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26161 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26162 wxPyEndAllowThreads(__tstate
);
26163 if (PyErr_Occurred()) SWIG_fail
;
26165 resultobj
= SWIG_Py_Void();
26172 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26173 PyObject
*resultobj
= 0;
26174 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26175 wxColour
*arg2
= 0 ;
26179 PyObject
* obj0
= 0 ;
26180 PyObject
* obj1
= 0 ;
26181 char * kwnames
[] = {
26182 (char *) "self",(char *) "colBack", NULL
26185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26187 if (!SWIG_IsOK(res1
)) {
26188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26190 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26193 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26197 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26198 wxPyEndAllowThreads(__tstate
);
26199 if (PyErr_Occurred()) SWIG_fail
;
26201 resultobj
= SWIG_Py_Void();
26208 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26209 PyObject
*resultobj
= 0;
26210 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26216 PyObject
* obj0
= 0 ;
26217 PyObject
* obj1
= 0 ;
26218 char * kwnames
[] = {
26219 (char *) "self",(char *) "font", NULL
26222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26224 if (!SWIG_IsOK(res1
)) {
26225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26227 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26228 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26229 if (!SWIG_IsOK(res2
)) {
26230 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26233 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26235 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26238 (arg1
)->SetFont((wxFont
const &)*arg2
);
26239 wxPyEndAllowThreads(__tstate
);
26240 if (PyErr_Occurred()) SWIG_fail
;
26242 resultobj
= SWIG_Py_Void();
26249 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26250 PyObject
*resultobj
= 0;
26251 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26255 PyObject
*swig_obj
[1] ;
26257 if (!args
) SWIG_fail
;
26258 swig_obj
[0] = args
;
26259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26260 if (!SWIG_IsOK(res1
)) {
26261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26263 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26266 result
= (bool)(arg1
)->HasTextColour();
26267 wxPyEndAllowThreads(__tstate
);
26268 if (PyErr_Occurred()) SWIG_fail
;
26271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26279 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26280 PyObject
*resultobj
= 0;
26281 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26285 PyObject
*swig_obj
[1] ;
26287 if (!args
) SWIG_fail
;
26288 swig_obj
[0] = args
;
26289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26290 if (!SWIG_IsOK(res1
)) {
26291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26293 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26296 result
= (bool)(arg1
)->HasBackgroundColour();
26297 wxPyEndAllowThreads(__tstate
);
26298 if (PyErr_Occurred()) SWIG_fail
;
26301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26309 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26310 PyObject
*resultobj
= 0;
26311 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26315 PyObject
*swig_obj
[1] ;
26317 if (!args
) SWIG_fail
;
26318 swig_obj
[0] = args
;
26319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26320 if (!SWIG_IsOK(res1
)) {
26321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26323 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26326 result
= (bool)(arg1
)->HasFont();
26327 wxPyEndAllowThreads(__tstate
);
26328 if (PyErr_Occurred()) SWIG_fail
;
26331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26339 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26340 PyObject
*resultobj
= 0;
26341 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26345 PyObject
*swig_obj
[1] ;
26347 if (!args
) SWIG_fail
;
26348 swig_obj
[0] = args
;
26349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26350 if (!SWIG_IsOK(res1
)) {
26351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26353 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26356 result
= (arg1
)->GetTextColour();
26357 wxPyEndAllowThreads(__tstate
);
26358 if (PyErr_Occurred()) SWIG_fail
;
26360 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26367 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26368 PyObject
*resultobj
= 0;
26369 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26373 PyObject
*swig_obj
[1] ;
26375 if (!args
) SWIG_fail
;
26376 swig_obj
[0] = args
;
26377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26378 if (!SWIG_IsOK(res1
)) {
26379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26381 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26384 result
= (arg1
)->GetBackgroundColour();
26385 wxPyEndAllowThreads(__tstate
);
26386 if (PyErr_Occurred()) SWIG_fail
;
26388 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26395 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26396 PyObject
*resultobj
= 0;
26397 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26401 PyObject
*swig_obj
[1] ;
26403 if (!args
) SWIG_fail
;
26404 swig_obj
[0] = args
;
26405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26406 if (!SWIG_IsOK(res1
)) {
26407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26409 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26412 result
= (arg1
)->GetFont();
26413 wxPyEndAllowThreads(__tstate
);
26414 if (PyErr_Occurred()) SWIG_fail
;
26416 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26423 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26424 PyObject
*resultobj
= 0;
26425 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26426 wxListItemAttr
*arg2
= 0 ;
26431 PyObject
* obj0
= 0 ;
26432 PyObject
* obj1
= 0 ;
26433 char * kwnames
[] = {
26434 (char *) "self",(char *) "source", NULL
26437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26439 if (!SWIG_IsOK(res1
)) {
26440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26442 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26443 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26444 if (!SWIG_IsOK(res2
)) {
26445 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26448 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26450 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26453 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26454 wxPyEndAllowThreads(__tstate
);
26455 if (PyErr_Occurred()) SWIG_fail
;
26457 resultobj
= SWIG_Py_Void();
26464 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26465 PyObject
*resultobj
= 0;
26466 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26469 PyObject
*swig_obj
[1] ;
26471 if (!args
) SWIG_fail
;
26472 swig_obj
[0] = args
;
26473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26474 if (!SWIG_IsOK(res1
)) {
26475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26477 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26480 wxListItemAttr_Destroy(arg1
);
26481 wxPyEndAllowThreads(__tstate
);
26482 if (PyErr_Occurred()) SWIG_fail
;
26484 resultobj
= SWIG_Py_Void();
26491 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26493 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26494 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26495 return SWIG_Py_Void();
26498 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26499 return SWIG_Python_InitShadowInstance(args
);
26502 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26503 PyObject
*resultobj
= 0;
26504 wxListItem
*result
= 0 ;
26506 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26509 result
= (wxListItem
*)new wxListItem();
26510 wxPyEndAllowThreads(__tstate
);
26511 if (PyErr_Occurred()) SWIG_fail
;
26513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, SWIG_POINTER_NEW
| 0 );
26520 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26521 PyObject
*resultobj
= 0;
26522 wxListItem
*arg1
= (wxListItem
*) 0 ;
26525 PyObject
*swig_obj
[1] ;
26527 if (!args
) SWIG_fail
;
26528 swig_obj
[0] = args
;
26529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26530 if (!SWIG_IsOK(res1
)) {
26531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26533 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26538 wxPyEndAllowThreads(__tstate
);
26539 if (PyErr_Occurred()) SWIG_fail
;
26541 resultobj
= SWIG_Py_Void();
26548 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26549 PyObject
*resultobj
= 0;
26550 wxListItem
*arg1
= (wxListItem
*) 0 ;
26553 PyObject
*swig_obj
[1] ;
26555 if (!args
) SWIG_fail
;
26556 swig_obj
[0] = args
;
26557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26558 if (!SWIG_IsOK(res1
)) {
26559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26561 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26565 wxPyEndAllowThreads(__tstate
);
26566 if (PyErr_Occurred()) SWIG_fail
;
26568 resultobj
= SWIG_Py_Void();
26575 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26576 PyObject
*resultobj
= 0;
26577 wxListItem
*arg1
= (wxListItem
*) 0 ;
26580 PyObject
*swig_obj
[1] ;
26582 if (!args
) SWIG_fail
;
26583 swig_obj
[0] = args
;
26584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26585 if (!SWIG_IsOK(res1
)) {
26586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26588 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26591 (arg1
)->ClearAttributes();
26592 wxPyEndAllowThreads(__tstate
);
26593 if (PyErr_Occurred()) SWIG_fail
;
26595 resultobj
= SWIG_Py_Void();
26602 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26603 PyObject
*resultobj
= 0;
26604 wxListItem
*arg1
= (wxListItem
*) 0 ;
26610 PyObject
* obj0
= 0 ;
26611 PyObject
* obj1
= 0 ;
26612 char * kwnames
[] = {
26613 (char *) "self",(char *) "mask", NULL
26616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26618 if (!SWIG_IsOK(res1
)) {
26619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26621 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26622 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26623 if (!SWIG_IsOK(ecode2
)) {
26624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26626 arg2
= static_cast< long >(val2
);
26628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26629 (arg1
)->SetMask(arg2
);
26630 wxPyEndAllowThreads(__tstate
);
26631 if (PyErr_Occurred()) SWIG_fail
;
26633 resultobj
= SWIG_Py_Void();
26640 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26641 PyObject
*resultobj
= 0;
26642 wxListItem
*arg1
= (wxListItem
*) 0 ;
26648 PyObject
* obj0
= 0 ;
26649 PyObject
* obj1
= 0 ;
26650 char * kwnames
[] = {
26651 (char *) "self",(char *) "id", NULL
26654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26656 if (!SWIG_IsOK(res1
)) {
26657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26659 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26660 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26661 if (!SWIG_IsOK(ecode2
)) {
26662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26664 arg2
= static_cast< long >(val2
);
26666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26667 (arg1
)->SetId(arg2
);
26668 wxPyEndAllowThreads(__tstate
);
26669 if (PyErr_Occurred()) SWIG_fail
;
26671 resultobj
= SWIG_Py_Void();
26678 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26679 PyObject
*resultobj
= 0;
26680 wxListItem
*arg1
= (wxListItem
*) 0 ;
26686 PyObject
* obj0
= 0 ;
26687 PyObject
* obj1
= 0 ;
26688 char * kwnames
[] = {
26689 (char *) "self",(char *) "col", NULL
26692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26694 if (!SWIG_IsOK(res1
)) {
26695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26697 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26698 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26699 if (!SWIG_IsOK(ecode2
)) {
26700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26702 arg2
= static_cast< int >(val2
);
26704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26705 (arg1
)->SetColumn(arg2
);
26706 wxPyEndAllowThreads(__tstate
);
26707 if (PyErr_Occurred()) SWIG_fail
;
26709 resultobj
= SWIG_Py_Void();
26716 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26717 PyObject
*resultobj
= 0;
26718 wxListItem
*arg1
= (wxListItem
*) 0 ;
26724 PyObject
* obj0
= 0 ;
26725 PyObject
* obj1
= 0 ;
26726 char * kwnames
[] = {
26727 (char *) "self",(char *) "state", NULL
26730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26732 if (!SWIG_IsOK(res1
)) {
26733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26735 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26736 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26737 if (!SWIG_IsOK(ecode2
)) {
26738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26740 arg2
= static_cast< long >(val2
);
26742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26743 (arg1
)->SetState(arg2
);
26744 wxPyEndAllowThreads(__tstate
);
26745 if (PyErr_Occurred()) SWIG_fail
;
26747 resultobj
= SWIG_Py_Void();
26754 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26755 PyObject
*resultobj
= 0;
26756 wxListItem
*arg1
= (wxListItem
*) 0 ;
26762 PyObject
* obj0
= 0 ;
26763 PyObject
* obj1
= 0 ;
26764 char * kwnames
[] = {
26765 (char *) "self",(char *) "stateMask", NULL
26768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26770 if (!SWIG_IsOK(res1
)) {
26771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26773 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26774 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26775 if (!SWIG_IsOK(ecode2
)) {
26776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26778 arg2
= static_cast< long >(val2
);
26780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26781 (arg1
)->SetStateMask(arg2
);
26782 wxPyEndAllowThreads(__tstate
);
26783 if (PyErr_Occurred()) SWIG_fail
;
26785 resultobj
= SWIG_Py_Void();
26792 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26793 PyObject
*resultobj
= 0;
26794 wxListItem
*arg1
= (wxListItem
*) 0 ;
26795 wxString
*arg2
= 0 ;
26798 bool temp2
= false ;
26799 PyObject
* obj0
= 0 ;
26800 PyObject
* obj1
= 0 ;
26801 char * kwnames
[] = {
26802 (char *) "self",(char *) "text", NULL
26805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26807 if (!SWIG_IsOK(res1
)) {
26808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26810 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26812 arg2
= wxString_in_helper(obj1
);
26813 if (arg2
== NULL
) SWIG_fail
;
26817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26818 (arg1
)->SetText((wxString
const &)*arg2
);
26819 wxPyEndAllowThreads(__tstate
);
26820 if (PyErr_Occurred()) SWIG_fail
;
26822 resultobj
= SWIG_Py_Void();
26837 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26838 PyObject
*resultobj
= 0;
26839 wxListItem
*arg1
= (wxListItem
*) 0 ;
26845 PyObject
* obj0
= 0 ;
26846 PyObject
* obj1
= 0 ;
26847 char * kwnames
[] = {
26848 (char *) "self",(char *) "image", NULL
26851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26853 if (!SWIG_IsOK(res1
)) {
26854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26856 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26857 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26858 if (!SWIG_IsOK(ecode2
)) {
26859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26861 arg2
= static_cast< int >(val2
);
26863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26864 (arg1
)->SetImage(arg2
);
26865 wxPyEndAllowThreads(__tstate
);
26866 if (PyErr_Occurred()) SWIG_fail
;
26868 resultobj
= SWIG_Py_Void();
26875 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26876 PyObject
*resultobj
= 0;
26877 wxListItem
*arg1
= (wxListItem
*) 0 ;
26883 PyObject
* obj0
= 0 ;
26884 PyObject
* obj1
= 0 ;
26885 char * kwnames
[] = {
26886 (char *) "self",(char *) "data", NULL
26889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26891 if (!SWIG_IsOK(res1
)) {
26892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26894 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26895 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26896 if (!SWIG_IsOK(ecode2
)) {
26897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26899 arg2
= static_cast< long >(val2
);
26901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26902 (arg1
)->SetData(arg2
);
26903 wxPyEndAllowThreads(__tstate
);
26904 if (PyErr_Occurred()) SWIG_fail
;
26906 resultobj
= SWIG_Py_Void();
26913 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26914 PyObject
*resultobj
= 0;
26915 wxListItem
*arg1
= (wxListItem
*) 0 ;
26921 PyObject
* obj0
= 0 ;
26922 PyObject
* obj1
= 0 ;
26923 char * kwnames
[] = {
26924 (char *) "self",(char *) "width", NULL
26927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26929 if (!SWIG_IsOK(res1
)) {
26930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26932 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26933 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26934 if (!SWIG_IsOK(ecode2
)) {
26935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26937 arg2
= static_cast< int >(val2
);
26939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26940 (arg1
)->SetWidth(arg2
);
26941 wxPyEndAllowThreads(__tstate
);
26942 if (PyErr_Occurred()) SWIG_fail
;
26944 resultobj
= SWIG_Py_Void();
26951 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26952 PyObject
*resultobj
= 0;
26953 wxListItem
*arg1
= (wxListItem
*) 0 ;
26954 wxListColumnFormat arg2
;
26959 PyObject
* obj0
= 0 ;
26960 PyObject
* obj1
= 0 ;
26961 char * kwnames
[] = {
26962 (char *) "self",(char *) "align", NULL
26965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26967 if (!SWIG_IsOK(res1
)) {
26968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26970 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26971 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26972 if (!SWIG_IsOK(ecode2
)) {
26973 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26975 arg2
= static_cast< wxListColumnFormat
>(val2
);
26977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26978 (arg1
)->SetAlign(arg2
);
26979 wxPyEndAllowThreads(__tstate
);
26980 if (PyErr_Occurred()) SWIG_fail
;
26982 resultobj
= SWIG_Py_Void();
26989 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26990 PyObject
*resultobj
= 0;
26991 wxListItem
*arg1
= (wxListItem
*) 0 ;
26992 wxColour
*arg2
= 0 ;
26996 PyObject
* obj0
= 0 ;
26997 PyObject
* obj1
= 0 ;
26998 char * kwnames
[] = {
26999 (char *) "self",(char *) "colText", NULL
27002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27004 if (!SWIG_IsOK(res1
)) {
27005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27007 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27010 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27014 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
27015 wxPyEndAllowThreads(__tstate
);
27016 if (PyErr_Occurred()) SWIG_fail
;
27018 resultobj
= SWIG_Py_Void();
27025 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27026 PyObject
*resultobj
= 0;
27027 wxListItem
*arg1
= (wxListItem
*) 0 ;
27028 wxColour
*arg2
= 0 ;
27032 PyObject
* obj0
= 0 ;
27033 PyObject
* obj1
= 0 ;
27034 char * kwnames
[] = {
27035 (char *) "self",(char *) "colBack", NULL
27038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27040 if (!SWIG_IsOK(res1
)) {
27041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27043 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27046 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27050 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
27051 wxPyEndAllowThreads(__tstate
);
27052 if (PyErr_Occurred()) SWIG_fail
;
27054 resultobj
= SWIG_Py_Void();
27061 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27062 PyObject
*resultobj
= 0;
27063 wxListItem
*arg1
= (wxListItem
*) 0 ;
27069 PyObject
* obj0
= 0 ;
27070 PyObject
* obj1
= 0 ;
27071 char * kwnames
[] = {
27072 (char *) "self",(char *) "font", NULL
27075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27077 if (!SWIG_IsOK(res1
)) {
27078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27080 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27081 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27082 if (!SWIG_IsOK(res2
)) {
27083 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27086 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27088 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27091 (arg1
)->SetFont((wxFont
const &)*arg2
);
27092 wxPyEndAllowThreads(__tstate
);
27093 if (PyErr_Occurred()) SWIG_fail
;
27095 resultobj
= SWIG_Py_Void();
27102 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27103 PyObject
*resultobj
= 0;
27104 wxListItem
*arg1
= (wxListItem
*) 0 ;
27108 PyObject
*swig_obj
[1] ;
27110 if (!args
) SWIG_fail
;
27111 swig_obj
[0] = args
;
27112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27113 if (!SWIG_IsOK(res1
)) {
27114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27116 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27119 result
= (long)(arg1
)->GetMask();
27120 wxPyEndAllowThreads(__tstate
);
27121 if (PyErr_Occurred()) SWIG_fail
;
27123 resultobj
= SWIG_From_long(static_cast< long >(result
));
27130 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27131 PyObject
*resultobj
= 0;
27132 wxListItem
*arg1
= (wxListItem
*) 0 ;
27136 PyObject
*swig_obj
[1] ;
27138 if (!args
) SWIG_fail
;
27139 swig_obj
[0] = args
;
27140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27141 if (!SWIG_IsOK(res1
)) {
27142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27144 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27147 result
= (long)(arg1
)->GetId();
27148 wxPyEndAllowThreads(__tstate
);
27149 if (PyErr_Occurred()) SWIG_fail
;
27151 resultobj
= SWIG_From_long(static_cast< long >(result
));
27158 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27159 PyObject
*resultobj
= 0;
27160 wxListItem
*arg1
= (wxListItem
*) 0 ;
27164 PyObject
*swig_obj
[1] ;
27166 if (!args
) SWIG_fail
;
27167 swig_obj
[0] = args
;
27168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27169 if (!SWIG_IsOK(res1
)) {
27170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27172 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27175 result
= (int)(arg1
)->GetColumn();
27176 wxPyEndAllowThreads(__tstate
);
27177 if (PyErr_Occurred()) SWIG_fail
;
27179 resultobj
= SWIG_From_int(static_cast< int >(result
));
27186 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27187 PyObject
*resultobj
= 0;
27188 wxListItem
*arg1
= (wxListItem
*) 0 ;
27192 PyObject
*swig_obj
[1] ;
27194 if (!args
) SWIG_fail
;
27195 swig_obj
[0] = args
;
27196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27197 if (!SWIG_IsOK(res1
)) {
27198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27200 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27203 result
= (long)(arg1
)->GetState();
27204 wxPyEndAllowThreads(__tstate
);
27205 if (PyErr_Occurred()) SWIG_fail
;
27207 resultobj
= SWIG_From_long(static_cast< long >(result
));
27214 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27215 PyObject
*resultobj
= 0;
27216 wxListItem
*arg1
= (wxListItem
*) 0 ;
27217 wxString
*result
= 0 ;
27220 PyObject
*swig_obj
[1] ;
27222 if (!args
) SWIG_fail
;
27223 swig_obj
[0] = args
;
27224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27225 if (!SWIG_IsOK(res1
)) {
27226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27228 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27232 wxString
const &_result_ref
= (arg1
)->GetText();
27233 result
= (wxString
*) &_result_ref
;
27235 wxPyEndAllowThreads(__tstate
);
27236 if (PyErr_Occurred()) SWIG_fail
;
27240 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27242 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27251 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27252 PyObject
*resultobj
= 0;
27253 wxListItem
*arg1
= (wxListItem
*) 0 ;
27257 PyObject
*swig_obj
[1] ;
27259 if (!args
) SWIG_fail
;
27260 swig_obj
[0] = args
;
27261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27262 if (!SWIG_IsOK(res1
)) {
27263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27265 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27268 result
= (int)(arg1
)->GetImage();
27269 wxPyEndAllowThreads(__tstate
);
27270 if (PyErr_Occurred()) SWIG_fail
;
27272 resultobj
= SWIG_From_int(static_cast< int >(result
));
27279 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27280 PyObject
*resultobj
= 0;
27281 wxListItem
*arg1
= (wxListItem
*) 0 ;
27285 PyObject
*swig_obj
[1] ;
27287 if (!args
) SWIG_fail
;
27288 swig_obj
[0] = args
;
27289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27290 if (!SWIG_IsOK(res1
)) {
27291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27293 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27296 result
= (long)(arg1
)->GetData();
27297 wxPyEndAllowThreads(__tstate
);
27298 if (PyErr_Occurred()) SWIG_fail
;
27300 resultobj
= SWIG_From_long(static_cast< long >(result
));
27307 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27308 PyObject
*resultobj
= 0;
27309 wxListItem
*arg1
= (wxListItem
*) 0 ;
27313 PyObject
*swig_obj
[1] ;
27315 if (!args
) SWIG_fail
;
27316 swig_obj
[0] = args
;
27317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27318 if (!SWIG_IsOK(res1
)) {
27319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27321 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27324 result
= (int)(arg1
)->GetWidth();
27325 wxPyEndAllowThreads(__tstate
);
27326 if (PyErr_Occurred()) SWIG_fail
;
27328 resultobj
= SWIG_From_int(static_cast< int >(result
));
27335 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27336 PyObject
*resultobj
= 0;
27337 wxListItem
*arg1
= (wxListItem
*) 0 ;
27338 wxListColumnFormat result
;
27341 PyObject
*swig_obj
[1] ;
27343 if (!args
) SWIG_fail
;
27344 swig_obj
[0] = args
;
27345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27346 if (!SWIG_IsOK(res1
)) {
27347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27349 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27352 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27353 wxPyEndAllowThreads(__tstate
);
27354 if (PyErr_Occurred()) SWIG_fail
;
27356 resultobj
= SWIG_From_int(static_cast< int >(result
));
27363 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27364 PyObject
*resultobj
= 0;
27365 wxListItem
*arg1
= (wxListItem
*) 0 ;
27366 wxListItemAttr
*result
= 0 ;
27369 PyObject
*swig_obj
[1] ;
27371 if (!args
) SWIG_fail
;
27372 swig_obj
[0] = args
;
27373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27374 if (!SWIG_IsOK(res1
)) {
27375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27377 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27380 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27381 wxPyEndAllowThreads(__tstate
);
27382 if (PyErr_Occurred()) SWIG_fail
;
27384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27391 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27392 PyObject
*resultobj
= 0;
27393 wxListItem
*arg1
= (wxListItem
*) 0 ;
27397 PyObject
*swig_obj
[1] ;
27399 if (!args
) SWIG_fail
;
27400 swig_obj
[0] = args
;
27401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27402 if (!SWIG_IsOK(res1
)) {
27403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27405 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27408 result
= (bool)(arg1
)->HasAttributes();
27409 wxPyEndAllowThreads(__tstate
);
27410 if (PyErr_Occurred()) SWIG_fail
;
27413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27421 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27422 PyObject
*resultobj
= 0;
27423 wxListItem
*arg1
= (wxListItem
*) 0 ;
27427 PyObject
*swig_obj
[1] ;
27429 if (!args
) SWIG_fail
;
27430 swig_obj
[0] = args
;
27431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27432 if (!SWIG_IsOK(res1
)) {
27433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27435 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27438 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27439 wxPyEndAllowThreads(__tstate
);
27440 if (PyErr_Occurred()) SWIG_fail
;
27442 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27449 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27450 PyObject
*resultobj
= 0;
27451 wxListItem
*arg1
= (wxListItem
*) 0 ;
27455 PyObject
*swig_obj
[1] ;
27457 if (!args
) SWIG_fail
;
27458 swig_obj
[0] = args
;
27459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27460 if (!SWIG_IsOK(res1
)) {
27461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27463 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27466 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27467 wxPyEndAllowThreads(__tstate
);
27468 if (PyErr_Occurred()) SWIG_fail
;
27470 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27477 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27478 PyObject
*resultobj
= 0;
27479 wxListItem
*arg1
= (wxListItem
*) 0 ;
27483 PyObject
*swig_obj
[1] ;
27485 if (!args
) SWIG_fail
;
27486 swig_obj
[0] = args
;
27487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27488 if (!SWIG_IsOK(res1
)) {
27489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27491 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27494 result
= ((wxListItem
const *)arg1
)->GetFont();
27495 wxPyEndAllowThreads(__tstate
);
27496 if (PyErr_Occurred()) SWIG_fail
;
27498 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27505 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27506 PyObject
*resultobj
= 0;
27507 wxListItem
*arg1
= (wxListItem
*) 0 ;
27513 PyObject
*swig_obj
[2] ;
27515 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27517 if (!SWIG_IsOK(res1
)) {
27518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27520 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27521 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27522 if (!SWIG_IsOK(ecode2
)) {
27523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27525 arg2
= static_cast< long >(val2
);
27526 if (arg1
) (arg1
)->m_mask
= arg2
;
27528 resultobj
= SWIG_Py_Void();
27535 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27536 PyObject
*resultobj
= 0;
27537 wxListItem
*arg1
= (wxListItem
*) 0 ;
27541 PyObject
*swig_obj
[1] ;
27543 if (!args
) SWIG_fail
;
27544 swig_obj
[0] = args
;
27545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27546 if (!SWIG_IsOK(res1
)) {
27547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27549 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27550 result
= (long) ((arg1
)->m_mask
);
27551 resultobj
= SWIG_From_long(static_cast< long >(result
));
27558 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27559 PyObject
*resultobj
= 0;
27560 wxListItem
*arg1
= (wxListItem
*) 0 ;
27566 PyObject
*swig_obj
[2] ;
27568 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27570 if (!SWIG_IsOK(res1
)) {
27571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27573 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27574 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27575 if (!SWIG_IsOK(ecode2
)) {
27576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27578 arg2
= static_cast< long >(val2
);
27579 if (arg1
) (arg1
)->m_itemId
= arg2
;
27581 resultobj
= SWIG_Py_Void();
27588 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27589 PyObject
*resultobj
= 0;
27590 wxListItem
*arg1
= (wxListItem
*) 0 ;
27594 PyObject
*swig_obj
[1] ;
27596 if (!args
) SWIG_fail
;
27597 swig_obj
[0] = args
;
27598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27599 if (!SWIG_IsOK(res1
)) {
27600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27602 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27603 result
= (long) ((arg1
)->m_itemId
);
27604 resultobj
= SWIG_From_long(static_cast< long >(result
));
27611 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27612 PyObject
*resultobj
= 0;
27613 wxListItem
*arg1
= (wxListItem
*) 0 ;
27619 PyObject
*swig_obj
[2] ;
27621 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27623 if (!SWIG_IsOK(res1
)) {
27624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27626 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27627 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27628 if (!SWIG_IsOK(ecode2
)) {
27629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27631 arg2
= static_cast< int >(val2
);
27632 if (arg1
) (arg1
)->m_col
= arg2
;
27634 resultobj
= SWIG_Py_Void();
27641 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27642 PyObject
*resultobj
= 0;
27643 wxListItem
*arg1
= (wxListItem
*) 0 ;
27647 PyObject
*swig_obj
[1] ;
27649 if (!args
) SWIG_fail
;
27650 swig_obj
[0] = args
;
27651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27652 if (!SWIG_IsOK(res1
)) {
27653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27655 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27656 result
= (int) ((arg1
)->m_col
);
27657 resultobj
= SWIG_From_int(static_cast< int >(result
));
27664 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27665 PyObject
*resultobj
= 0;
27666 wxListItem
*arg1
= (wxListItem
*) 0 ;
27672 PyObject
*swig_obj
[2] ;
27674 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27676 if (!SWIG_IsOK(res1
)) {
27677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27679 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27680 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27681 if (!SWIG_IsOK(ecode2
)) {
27682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27684 arg2
= static_cast< long >(val2
);
27685 if (arg1
) (arg1
)->m_state
= arg2
;
27687 resultobj
= SWIG_Py_Void();
27694 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27695 PyObject
*resultobj
= 0;
27696 wxListItem
*arg1
= (wxListItem
*) 0 ;
27700 PyObject
*swig_obj
[1] ;
27702 if (!args
) SWIG_fail
;
27703 swig_obj
[0] = args
;
27704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27705 if (!SWIG_IsOK(res1
)) {
27706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27708 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27709 result
= (long) ((arg1
)->m_state
);
27710 resultobj
= SWIG_From_long(static_cast< long >(result
));
27717 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27718 PyObject
*resultobj
= 0;
27719 wxListItem
*arg1
= (wxListItem
*) 0 ;
27725 PyObject
*swig_obj
[2] ;
27727 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27729 if (!SWIG_IsOK(res1
)) {
27730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27732 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27733 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27734 if (!SWIG_IsOK(ecode2
)) {
27735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27737 arg2
= static_cast< long >(val2
);
27738 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27740 resultobj
= SWIG_Py_Void();
27747 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27748 PyObject
*resultobj
= 0;
27749 wxListItem
*arg1
= (wxListItem
*) 0 ;
27753 PyObject
*swig_obj
[1] ;
27755 if (!args
) SWIG_fail
;
27756 swig_obj
[0] = args
;
27757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27758 if (!SWIG_IsOK(res1
)) {
27759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27761 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27762 result
= (long) ((arg1
)->m_stateMask
);
27763 resultobj
= SWIG_From_long(static_cast< long >(result
));
27770 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27771 PyObject
*resultobj
= 0;
27772 wxListItem
*arg1
= (wxListItem
*) 0 ;
27773 wxString
*arg2
= (wxString
*) 0 ;
27776 bool temp2
= false ;
27777 PyObject
*swig_obj
[2] ;
27779 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
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_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27784 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27786 arg2
= wxString_in_helper(swig_obj
[1]);
27787 if (arg2
== NULL
) SWIG_fail
;
27790 if (arg1
) (arg1
)->m_text
= *arg2
;
27792 resultobj
= SWIG_Py_Void();
27807 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27808 PyObject
*resultobj
= 0;
27809 wxListItem
*arg1
= (wxListItem
*) 0 ;
27810 wxString
*result
= 0 ;
27813 PyObject
*swig_obj
[1] ;
27815 if (!args
) SWIG_fail
;
27816 swig_obj
[0] = args
;
27817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27818 if (!SWIG_IsOK(res1
)) {
27819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27821 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27822 result
= (wxString
*)& ((arg1
)->m_text
);
27825 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27827 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27836 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27837 PyObject
*resultobj
= 0;
27838 wxListItem
*arg1
= (wxListItem
*) 0 ;
27844 PyObject
*swig_obj
[2] ;
27846 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27848 if (!SWIG_IsOK(res1
)) {
27849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27851 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27852 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27853 if (!SWIG_IsOK(ecode2
)) {
27854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27856 arg2
= static_cast< int >(val2
);
27857 if (arg1
) (arg1
)->m_image
= arg2
;
27859 resultobj
= SWIG_Py_Void();
27866 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27867 PyObject
*resultobj
= 0;
27868 wxListItem
*arg1
= (wxListItem
*) 0 ;
27872 PyObject
*swig_obj
[1] ;
27874 if (!args
) SWIG_fail
;
27875 swig_obj
[0] = args
;
27876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27877 if (!SWIG_IsOK(res1
)) {
27878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27880 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27881 result
= (int) ((arg1
)->m_image
);
27882 resultobj
= SWIG_From_int(static_cast< int >(result
));
27889 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27890 PyObject
*resultobj
= 0;
27891 wxListItem
*arg1
= (wxListItem
*) 0 ;
27897 PyObject
*swig_obj
[2] ;
27899 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27901 if (!SWIG_IsOK(res1
)) {
27902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27904 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27905 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27906 if (!SWIG_IsOK(ecode2
)) {
27907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27909 arg2
= static_cast< long >(val2
);
27910 if (arg1
) (arg1
)->m_data
= arg2
;
27912 resultobj
= SWIG_Py_Void();
27919 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27920 PyObject
*resultobj
= 0;
27921 wxListItem
*arg1
= (wxListItem
*) 0 ;
27925 PyObject
*swig_obj
[1] ;
27927 if (!args
) SWIG_fail
;
27928 swig_obj
[0] = args
;
27929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27930 if (!SWIG_IsOK(res1
)) {
27931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27933 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27934 result
= (long) ((arg1
)->m_data
);
27935 resultobj
= SWIG_From_long(static_cast< long >(result
));
27942 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27943 PyObject
*resultobj
= 0;
27944 wxListItem
*arg1
= (wxListItem
*) 0 ;
27950 PyObject
*swig_obj
[2] ;
27952 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27954 if (!SWIG_IsOK(res1
)) {
27955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27957 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27958 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27959 if (!SWIG_IsOK(ecode2
)) {
27960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27962 arg2
= static_cast< int >(val2
);
27963 if (arg1
) (arg1
)->m_format
= arg2
;
27965 resultobj
= SWIG_Py_Void();
27972 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27973 PyObject
*resultobj
= 0;
27974 wxListItem
*arg1
= (wxListItem
*) 0 ;
27978 PyObject
*swig_obj
[1] ;
27980 if (!args
) SWIG_fail
;
27981 swig_obj
[0] = args
;
27982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27983 if (!SWIG_IsOK(res1
)) {
27984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27986 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27987 result
= (int) ((arg1
)->m_format
);
27988 resultobj
= SWIG_From_int(static_cast< int >(result
));
27995 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27996 PyObject
*resultobj
= 0;
27997 wxListItem
*arg1
= (wxListItem
*) 0 ;
28003 PyObject
*swig_obj
[2] ;
28005 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
28006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28007 if (!SWIG_IsOK(res1
)) {
28008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28010 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28011 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28012 if (!SWIG_IsOK(ecode2
)) {
28013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
28015 arg2
= static_cast< int >(val2
);
28016 if (arg1
) (arg1
)->m_width
= arg2
;
28018 resultobj
= SWIG_Py_Void();
28025 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28026 PyObject
*resultobj
= 0;
28027 wxListItem
*arg1
= (wxListItem
*) 0 ;
28031 PyObject
*swig_obj
[1] ;
28033 if (!args
) SWIG_fail
;
28034 swig_obj
[0] = args
;
28035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28036 if (!SWIG_IsOK(res1
)) {
28037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28039 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28040 result
= (int) ((arg1
)->m_width
);
28041 resultobj
= SWIG_From_int(static_cast< int >(result
));
28048 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28050 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28051 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
28052 return SWIG_Py_Void();
28055 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28056 return SWIG_Python_InitShadowInstance(args
);
28059 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28060 PyObject
*resultobj
= 0;
28061 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28062 int arg2
= (int) 0 ;
28063 wxListEvent
*result
= 0 ;
28068 PyObject
* obj0
= 0 ;
28069 PyObject
* obj1
= 0 ;
28070 char * kwnames
[] = {
28071 (char *) "commandType",(char *) "id", NULL
28074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28076 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28077 if (!SWIG_IsOK(ecode1
)) {
28078 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28080 arg1
= static_cast< wxEventType
>(val1
);
28083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28084 if (!SWIG_IsOK(ecode2
)) {
28085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28087 arg2
= static_cast< int >(val2
);
28090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28091 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
28092 wxPyEndAllowThreads(__tstate
);
28093 if (PyErr_Occurred()) SWIG_fail
;
28095 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
28102 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28103 PyObject
*resultobj
= 0;
28104 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28110 PyObject
*swig_obj
[2] ;
28112 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
28113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28114 if (!SWIG_IsOK(res1
)) {
28115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28117 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28118 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28119 if (!SWIG_IsOK(ecode2
)) {
28120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28122 arg2
= static_cast< int >(val2
);
28123 if (arg1
) (arg1
)->m_code
= arg2
;
28125 resultobj
= SWIG_Py_Void();
28132 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28133 PyObject
*resultobj
= 0;
28134 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28138 PyObject
*swig_obj
[1] ;
28140 if (!args
) SWIG_fail
;
28141 swig_obj
[0] = args
;
28142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28143 if (!SWIG_IsOK(res1
)) {
28144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28146 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28147 result
= (int) ((arg1
)->m_code
);
28148 resultobj
= SWIG_From_int(static_cast< int >(result
));
28155 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28156 PyObject
*resultobj
= 0;
28157 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28163 PyObject
*swig_obj
[2] ;
28165 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28167 if (!SWIG_IsOK(res1
)) {
28168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28170 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28171 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28172 if (!SWIG_IsOK(ecode2
)) {
28173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28175 arg2
= static_cast< long >(val2
);
28176 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
28178 resultobj
= SWIG_Py_Void();
28185 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28186 PyObject
*resultobj
= 0;
28187 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28191 PyObject
*swig_obj
[1] ;
28193 if (!args
) SWIG_fail
;
28194 swig_obj
[0] = args
;
28195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28196 if (!SWIG_IsOK(res1
)) {
28197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28199 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28200 result
= (long) ((arg1
)->m_oldItemIndex
);
28201 resultobj
= SWIG_From_long(static_cast< long >(result
));
28208 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28209 PyObject
*resultobj
= 0;
28210 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28216 PyObject
*swig_obj
[2] ;
28218 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28220 if (!SWIG_IsOK(res1
)) {
28221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28223 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28224 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28225 if (!SWIG_IsOK(ecode2
)) {
28226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28228 arg2
= static_cast< long >(val2
);
28229 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
28231 resultobj
= SWIG_Py_Void();
28238 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28239 PyObject
*resultobj
= 0;
28240 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28244 PyObject
*swig_obj
[1] ;
28246 if (!args
) SWIG_fail
;
28247 swig_obj
[0] = args
;
28248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28249 if (!SWIG_IsOK(res1
)) {
28250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28252 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28253 result
= (long) ((arg1
)->m_itemIndex
);
28254 resultobj
= SWIG_From_long(static_cast< long >(result
));
28261 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28262 PyObject
*resultobj
= 0;
28263 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28269 PyObject
*swig_obj
[2] ;
28271 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28273 if (!SWIG_IsOK(res1
)) {
28274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28276 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28277 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28278 if (!SWIG_IsOK(ecode2
)) {
28279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28281 arg2
= static_cast< int >(val2
);
28282 if (arg1
) (arg1
)->m_col
= arg2
;
28284 resultobj
= SWIG_Py_Void();
28291 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28292 PyObject
*resultobj
= 0;
28293 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28297 PyObject
*swig_obj
[1] ;
28299 if (!args
) SWIG_fail
;
28300 swig_obj
[0] = args
;
28301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28302 if (!SWIG_IsOK(res1
)) {
28303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28305 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28306 result
= (int) ((arg1
)->m_col
);
28307 resultobj
= SWIG_From_int(static_cast< int >(result
));
28314 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28315 PyObject
*resultobj
= 0;
28316 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28317 wxPoint
*arg2
= (wxPoint
*) 0 ;
28322 PyObject
*swig_obj
[2] ;
28324 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28326 if (!SWIG_IsOK(res1
)) {
28327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28329 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28330 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28331 if (!SWIG_IsOK(res2
)) {
28332 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28334 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28335 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28337 resultobj
= SWIG_Py_Void();
28344 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28345 PyObject
*resultobj
= 0;
28346 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28347 wxPoint
*result
= 0 ;
28350 PyObject
*swig_obj
[1] ;
28352 if (!args
) SWIG_fail
;
28353 swig_obj
[0] = args
;
28354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28355 if (!SWIG_IsOK(res1
)) {
28356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28358 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28359 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28367 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28368 PyObject
*resultobj
= 0;
28369 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28370 wxListItem
*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_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28381 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28382 result
= (wxListItem
*)& ((arg1
)->m_item
);
28384 resultobj
= wxPyMake_wxObject(result
, 0);
28392 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28393 PyObject
*resultobj
= 0;
28394 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28398 PyObject
*swig_obj
[1] ;
28400 if (!args
) SWIG_fail
;
28401 swig_obj
[0] = args
;
28402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28403 if (!SWIG_IsOK(res1
)) {
28404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28406 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28409 result
= (int)(arg1
)->GetKeyCode();
28410 wxPyEndAllowThreads(__tstate
);
28411 if (PyErr_Occurred()) SWIG_fail
;
28413 resultobj
= SWIG_From_int(static_cast< int >(result
));
28420 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28421 PyObject
*resultobj
= 0;
28422 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28426 PyObject
*swig_obj
[1] ;
28428 if (!args
) SWIG_fail
;
28429 swig_obj
[0] = args
;
28430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28431 if (!SWIG_IsOK(res1
)) {
28432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28434 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28437 result
= (long)(arg1
)->GetIndex();
28438 wxPyEndAllowThreads(__tstate
);
28439 if (PyErr_Occurred()) SWIG_fail
;
28441 resultobj
= SWIG_From_long(static_cast< long >(result
));
28448 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28449 PyObject
*resultobj
= 0;
28450 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28454 PyObject
*swig_obj
[1] ;
28456 if (!args
) SWIG_fail
;
28457 swig_obj
[0] = args
;
28458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28459 if (!SWIG_IsOK(res1
)) {
28460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28462 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28465 result
= (int)(arg1
)->GetColumn();
28466 wxPyEndAllowThreads(__tstate
);
28467 if (PyErr_Occurred()) SWIG_fail
;
28469 resultobj
= SWIG_From_int(static_cast< int >(result
));
28476 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28477 PyObject
*resultobj
= 0;
28478 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28482 PyObject
*swig_obj
[1] ;
28484 if (!args
) SWIG_fail
;
28485 swig_obj
[0] = args
;
28486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28487 if (!SWIG_IsOK(res1
)) {
28488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28490 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28493 result
= (arg1
)->GetPoint();
28494 wxPyEndAllowThreads(__tstate
);
28495 if (PyErr_Occurred()) SWIG_fail
;
28497 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28504 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28505 PyObject
*resultobj
= 0;
28506 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28507 wxString
*result
= 0 ;
28510 PyObject
*swig_obj
[1] ;
28512 if (!args
) SWIG_fail
;
28513 swig_obj
[0] = args
;
28514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28515 if (!SWIG_IsOK(res1
)) {
28516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28518 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28522 wxString
const &_result_ref
= (arg1
)->GetLabel();
28523 result
= (wxString
*) &_result_ref
;
28525 wxPyEndAllowThreads(__tstate
);
28526 if (PyErr_Occurred()) SWIG_fail
;
28530 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28532 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28541 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28542 PyObject
*resultobj
= 0;
28543 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28544 wxString
*result
= 0 ;
28547 PyObject
*swig_obj
[1] ;
28549 if (!args
) SWIG_fail
;
28550 swig_obj
[0] = args
;
28551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28552 if (!SWIG_IsOK(res1
)) {
28553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28555 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28559 wxString
const &_result_ref
= (arg1
)->GetText();
28560 result
= (wxString
*) &_result_ref
;
28562 wxPyEndAllowThreads(__tstate
);
28563 if (PyErr_Occurred()) SWIG_fail
;
28567 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28569 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28578 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28579 PyObject
*resultobj
= 0;
28580 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28584 PyObject
*swig_obj
[1] ;
28586 if (!args
) SWIG_fail
;
28587 swig_obj
[0] = args
;
28588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28589 if (!SWIG_IsOK(res1
)) {
28590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28592 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28595 result
= (int)(arg1
)->GetImage();
28596 wxPyEndAllowThreads(__tstate
);
28597 if (PyErr_Occurred()) SWIG_fail
;
28599 resultobj
= SWIG_From_int(static_cast< int >(result
));
28606 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28607 PyObject
*resultobj
= 0;
28608 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28612 PyObject
*swig_obj
[1] ;
28614 if (!args
) SWIG_fail
;
28615 swig_obj
[0] = args
;
28616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28617 if (!SWIG_IsOK(res1
)) {
28618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28620 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28623 result
= (long)(arg1
)->GetData();
28624 wxPyEndAllowThreads(__tstate
);
28625 if (PyErr_Occurred()) SWIG_fail
;
28627 resultobj
= SWIG_From_long(static_cast< long >(result
));
28634 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28635 PyObject
*resultobj
= 0;
28636 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28640 PyObject
*swig_obj
[1] ;
28642 if (!args
) SWIG_fail
;
28643 swig_obj
[0] = args
;
28644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28645 if (!SWIG_IsOK(res1
)) {
28646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28648 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28651 result
= (long)(arg1
)->GetMask();
28652 wxPyEndAllowThreads(__tstate
);
28653 if (PyErr_Occurred()) SWIG_fail
;
28655 resultobj
= SWIG_From_long(static_cast< long >(result
));
28662 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28663 PyObject
*resultobj
= 0;
28664 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28665 wxListItem
*result
= 0 ;
28668 PyObject
*swig_obj
[1] ;
28670 if (!args
) SWIG_fail
;
28671 swig_obj
[0] = args
;
28672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28673 if (!SWIG_IsOK(res1
)) {
28674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28676 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28680 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28681 result
= (wxListItem
*) &_result_ref
;
28683 wxPyEndAllowThreads(__tstate
);
28684 if (PyErr_Occurred()) SWIG_fail
;
28686 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28693 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28694 PyObject
*resultobj
= 0;
28695 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28699 PyObject
*swig_obj
[1] ;
28701 if (!args
) SWIG_fail
;
28702 swig_obj
[0] = args
;
28703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28704 if (!SWIG_IsOK(res1
)) {
28705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28707 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28710 result
= (long)(arg1
)->GetCacheFrom();
28711 wxPyEndAllowThreads(__tstate
);
28712 if (PyErr_Occurred()) SWIG_fail
;
28714 resultobj
= SWIG_From_long(static_cast< long >(result
));
28721 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28722 PyObject
*resultobj
= 0;
28723 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28727 PyObject
*swig_obj
[1] ;
28729 if (!args
) SWIG_fail
;
28730 swig_obj
[0] = args
;
28731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28732 if (!SWIG_IsOK(res1
)) {
28733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28735 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28738 result
= (long)(arg1
)->GetCacheTo();
28739 wxPyEndAllowThreads(__tstate
);
28740 if (PyErr_Occurred()) SWIG_fail
;
28742 resultobj
= SWIG_From_long(static_cast< long >(result
));
28749 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28750 PyObject
*resultobj
= 0;
28751 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28755 PyObject
*swig_obj
[1] ;
28757 if (!args
) SWIG_fail
;
28758 swig_obj
[0] = args
;
28759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28760 if (!SWIG_IsOK(res1
)) {
28761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28763 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28766 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28767 wxPyEndAllowThreads(__tstate
);
28768 if (PyErr_Occurred()) SWIG_fail
;
28771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28779 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28780 PyObject
*resultobj
= 0;
28781 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28787 PyObject
* obj0
= 0 ;
28788 PyObject
* obj1
= 0 ;
28789 char * kwnames
[] = {
28790 (char *) "self",(char *) "editCancelled", NULL
28793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28795 if (!SWIG_IsOK(res1
)) {
28796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28798 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28799 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28800 if (!SWIG_IsOK(ecode2
)) {
28801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28803 arg2
= static_cast< bool >(val2
);
28805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28806 (arg1
)->SetEditCanceled(arg2
);
28807 wxPyEndAllowThreads(__tstate
);
28808 if (PyErr_Occurred()) SWIG_fail
;
28810 resultobj
= SWIG_Py_Void();
28817 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28819 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28820 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28821 return SWIG_Py_Void();
28824 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28825 return SWIG_Python_InitShadowInstance(args
);
28828 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28829 PyObject
*resultobj
= 0;
28830 wxWindow
*arg1
= (wxWindow
*) 0 ;
28831 int arg2
= (int) -1 ;
28832 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28833 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28834 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28835 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28836 long arg5
= (long) wxLC_ICON
;
28837 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28838 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28839 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28840 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28841 wxPyListCtrl
*result
= 0 ;
28852 bool temp7
= false ;
28853 PyObject
* obj0
= 0 ;
28854 PyObject
* obj1
= 0 ;
28855 PyObject
* obj2
= 0 ;
28856 PyObject
* obj3
= 0 ;
28857 PyObject
* obj4
= 0 ;
28858 PyObject
* obj5
= 0 ;
28859 PyObject
* obj6
= 0 ;
28860 char * kwnames
[] = {
28861 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28866 if (!SWIG_IsOK(res1
)) {
28867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28869 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28872 if (!SWIG_IsOK(ecode2
)) {
28873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28875 arg2
= static_cast< int >(val2
);
28880 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28886 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28890 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28891 if (!SWIG_IsOK(ecode5
)) {
28892 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28894 arg5
= static_cast< long >(val5
);
28897 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28898 if (!SWIG_IsOK(res6
)) {
28899 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28902 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28904 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28908 arg7
= wxString_in_helper(obj6
);
28909 if (arg7
== NULL
) SWIG_fail
;
28914 if (!wxPyCheckForApp()) SWIG_fail
;
28915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28916 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28917 wxPyEndAllowThreads(__tstate
);
28918 if (PyErr_Occurred()) SWIG_fail
;
28920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28935 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28936 PyObject
*resultobj
= 0;
28937 wxPyListCtrl
*result
= 0 ;
28939 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28941 if (!wxPyCheckForApp()) SWIG_fail
;
28942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28943 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28944 wxPyEndAllowThreads(__tstate
);
28945 if (PyErr_Occurred()) SWIG_fail
;
28947 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28954 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28955 PyObject
*resultobj
= 0;
28956 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28957 wxWindow
*arg2
= (wxWindow
*) 0 ;
28958 int arg3
= (int) -1 ;
28959 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28960 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28961 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28962 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28963 long arg6
= (long) wxLC_ICON
;
28964 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28965 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28966 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28967 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28981 bool temp8
= false ;
28982 PyObject
* obj0
= 0 ;
28983 PyObject
* obj1
= 0 ;
28984 PyObject
* obj2
= 0 ;
28985 PyObject
* obj3
= 0 ;
28986 PyObject
* obj4
= 0 ;
28987 PyObject
* obj5
= 0 ;
28988 PyObject
* obj6
= 0 ;
28989 PyObject
* obj7
= 0 ;
28990 char * kwnames
[] = {
28991 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28996 if (!SWIG_IsOK(res1
)) {
28997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28999 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29000 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29001 if (!SWIG_IsOK(res2
)) {
29002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29004 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29006 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29007 if (!SWIG_IsOK(ecode3
)) {
29008 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
29010 arg3
= static_cast< int >(val3
);
29015 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29021 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29025 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29026 if (!SWIG_IsOK(ecode6
)) {
29027 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
29029 arg6
= static_cast< long >(val6
);
29032 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
29033 if (!SWIG_IsOK(res7
)) {
29034 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29037 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29039 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
29043 arg8
= wxString_in_helper(obj7
);
29044 if (arg8
== NULL
) SWIG_fail
;
29049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29050 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
29051 wxPyEndAllowThreads(__tstate
);
29052 if (PyErr_Occurred()) SWIG_fail
;
29055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29071 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29072 PyObject
*resultobj
= 0;
29073 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29074 PyObject
*arg2
= (PyObject
*) 0 ;
29075 PyObject
*arg3
= (PyObject
*) 0 ;
29078 PyObject
* obj0
= 0 ;
29079 PyObject
* obj1
= 0 ;
29080 PyObject
* obj2
= 0 ;
29081 char * kwnames
[] = {
29082 (char *) "self",(char *) "self",(char *) "_class", NULL
29085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29087 if (!SWIG_IsOK(res1
)) {
29088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29090 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29095 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29096 wxPyEndAllowThreads(__tstate
);
29097 if (PyErr_Occurred()) SWIG_fail
;
29099 resultobj
= SWIG_Py_Void();
29106 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29107 PyObject
*resultobj
= 0;
29108 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29110 wxListItem
*result
= 0 ;
29115 PyObject
* obj0
= 0 ;
29116 PyObject
* obj1
= 0 ;
29117 char * kwnames
[] = {
29118 (char *) "self",(char *) "col", NULL
29121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29123 if (!SWIG_IsOK(res1
)) {
29124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29126 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29127 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29128 if (!SWIG_IsOK(ecode2
)) {
29129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29131 arg2
= static_cast< int >(val2
);
29133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29134 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
29135 wxPyEndAllowThreads(__tstate
);
29136 if (PyErr_Occurred()) SWIG_fail
;
29139 resultobj
= wxPyMake_wxObject(result
, 0);
29147 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29148 PyObject
*resultobj
= 0;
29149 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29151 wxListItem
*arg3
= 0 ;
29159 PyObject
* obj0
= 0 ;
29160 PyObject
* obj1
= 0 ;
29161 PyObject
* obj2
= 0 ;
29162 char * kwnames
[] = {
29163 (char *) "self",(char *) "col",(char *) "item", NULL
29166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29168 if (!SWIG_IsOK(res1
)) {
29169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29171 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29172 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29173 if (!SWIG_IsOK(ecode2
)) {
29174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29176 arg2
= static_cast< int >(val2
);
29177 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
29178 if (!SWIG_IsOK(res3
)) {
29179 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29182 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29184 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
29186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29187 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
29188 wxPyEndAllowThreads(__tstate
);
29189 if (PyErr_Occurred()) SWIG_fail
;
29192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29200 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29201 PyObject
*resultobj
= 0;
29202 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29209 PyObject
* obj0
= 0 ;
29210 PyObject
* obj1
= 0 ;
29211 char * kwnames
[] = {
29212 (char *) "self",(char *) "col", NULL
29215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29217 if (!SWIG_IsOK(res1
)) {
29218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29220 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29221 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29222 if (!SWIG_IsOK(ecode2
)) {
29223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29225 arg2
= static_cast< int >(val2
);
29227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29228 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
29229 wxPyEndAllowThreads(__tstate
);
29230 if (PyErr_Occurred()) SWIG_fail
;
29232 resultobj
= SWIG_From_int(static_cast< int >(result
));
29239 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29240 PyObject
*resultobj
= 0;
29241 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29251 PyObject
* obj0
= 0 ;
29252 PyObject
* obj1
= 0 ;
29253 PyObject
* obj2
= 0 ;
29254 char * kwnames
[] = {
29255 (char *) "self",(char *) "col",(char *) "width", NULL
29258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29260 if (!SWIG_IsOK(res1
)) {
29261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29263 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29265 if (!SWIG_IsOK(ecode2
)) {
29266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29268 arg2
= static_cast< int >(val2
);
29269 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29270 if (!SWIG_IsOK(ecode3
)) {
29271 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29273 arg3
= static_cast< int >(val3
);
29275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29276 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29277 wxPyEndAllowThreads(__tstate
);
29278 if (PyErr_Occurred()) SWIG_fail
;
29281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29289 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29290 PyObject
*resultobj
= 0;
29291 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29295 PyObject
*swig_obj
[1] ;
29297 if (!args
) SWIG_fail
;
29298 swig_obj
[0] = args
;
29299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29300 if (!SWIG_IsOK(res1
)) {
29301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29303 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29306 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29307 wxPyEndAllowThreads(__tstate
);
29308 if (PyErr_Occurred()) SWIG_fail
;
29310 resultobj
= SWIG_From_int(static_cast< int >(result
));
29317 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29318 PyObject
*resultobj
= 0;
29319 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29323 PyObject
*swig_obj
[1] ;
29325 if (!args
) SWIG_fail
;
29326 swig_obj
[0] = args
;
29327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29328 if (!SWIG_IsOK(res1
)) {
29329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29331 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29334 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29335 wxPyEndAllowThreads(__tstate
);
29336 if (PyErr_Occurred()) SWIG_fail
;
29338 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29345 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29346 PyObject
*resultobj
= 0;
29347 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29348 wxTextCtrl
*result
= 0 ;
29351 PyObject
*swig_obj
[1] ;
29353 if (!args
) SWIG_fail
;
29354 swig_obj
[0] = args
;
29355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29356 if (!SWIG_IsOK(res1
)) {
29357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29359 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29362 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29363 wxPyEndAllowThreads(__tstate
);
29364 if (PyErr_Occurred()) SWIG_fail
;
29367 resultobj
= wxPyMake_wxObject(result
, 0);
29375 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29376 PyObject
*resultobj
= 0;
29377 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29379 int arg3
= (int) 0 ;
29380 wxListItem
*result
= 0 ;
29387 PyObject
* obj0
= 0 ;
29388 PyObject
* obj1
= 0 ;
29389 PyObject
* obj2
= 0 ;
29390 char * kwnames
[] = {
29391 (char *) "self",(char *) "itemId",(char *) "col", NULL
29394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29396 if (!SWIG_IsOK(res1
)) {
29397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29399 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29400 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29401 if (!SWIG_IsOK(ecode2
)) {
29402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29404 arg2
= static_cast< long >(val2
);
29406 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29407 if (!SWIG_IsOK(ecode3
)) {
29408 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29410 arg3
= static_cast< int >(val3
);
29413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29414 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29415 wxPyEndAllowThreads(__tstate
);
29416 if (PyErr_Occurred()) SWIG_fail
;
29419 resultobj
= wxPyMake_wxObject(result
, 0);
29427 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29428 PyObject
*resultobj
= 0;
29429 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29430 wxListItem
*arg2
= 0 ;
29436 PyObject
* obj0
= 0 ;
29437 PyObject
* obj1
= 0 ;
29438 char * kwnames
[] = {
29439 (char *) "self",(char *) "info", NULL
29442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29444 if (!SWIG_IsOK(res1
)) {
29445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29447 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29448 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29449 if (!SWIG_IsOK(res2
)) {
29450 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29453 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29455 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29458 result
= (bool)(arg1
)->SetItem(*arg2
);
29459 wxPyEndAllowThreads(__tstate
);
29460 if (PyErr_Occurred()) SWIG_fail
;
29463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29471 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29472 PyObject
*resultobj
= 0;
29473 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29476 wxString
*arg4
= 0 ;
29477 int arg5
= (int) -1 ;
29485 bool temp4
= false ;
29488 PyObject
* obj0
= 0 ;
29489 PyObject
* obj1
= 0 ;
29490 PyObject
* obj2
= 0 ;
29491 PyObject
* obj3
= 0 ;
29492 PyObject
* obj4
= 0 ;
29493 char * kwnames
[] = {
29494 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29499 if (!SWIG_IsOK(res1
)) {
29500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29502 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29503 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29504 if (!SWIG_IsOK(ecode2
)) {
29505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29507 arg2
= static_cast< long >(val2
);
29508 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29509 if (!SWIG_IsOK(ecode3
)) {
29510 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29512 arg3
= static_cast< int >(val3
);
29514 arg4
= wxString_in_helper(obj3
);
29515 if (arg4
== NULL
) SWIG_fail
;
29519 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29520 if (!SWIG_IsOK(ecode5
)) {
29521 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29523 arg5
= static_cast< int >(val5
);
29526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29527 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29528 wxPyEndAllowThreads(__tstate
);
29529 if (PyErr_Occurred()) SWIG_fail
;
29531 resultobj
= SWIG_From_long(static_cast< long >(result
));
29546 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29547 PyObject
*resultobj
= 0;
29548 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29558 PyObject
* obj0
= 0 ;
29559 PyObject
* obj1
= 0 ;
29560 PyObject
* obj2
= 0 ;
29561 char * kwnames
[] = {
29562 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29567 if (!SWIG_IsOK(res1
)) {
29568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29570 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29571 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29572 if (!SWIG_IsOK(ecode2
)) {
29573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29575 arg2
= static_cast< long >(val2
);
29576 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29577 if (!SWIG_IsOK(ecode3
)) {
29578 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29580 arg3
= static_cast< long >(val3
);
29582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29583 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29584 wxPyEndAllowThreads(__tstate
);
29585 if (PyErr_Occurred()) SWIG_fail
;
29587 resultobj
= SWIG_From_int(static_cast< int >(result
));
29594 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29595 PyObject
*resultobj
= 0;
29596 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29609 PyObject
* obj0
= 0 ;
29610 PyObject
* obj1
= 0 ;
29611 PyObject
* obj2
= 0 ;
29612 PyObject
* obj3
= 0 ;
29613 char * kwnames
[] = {
29614 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29619 if (!SWIG_IsOK(res1
)) {
29620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29622 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29623 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29624 if (!SWIG_IsOK(ecode2
)) {
29625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29627 arg2
= static_cast< long >(val2
);
29628 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29629 if (!SWIG_IsOK(ecode3
)) {
29630 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29632 arg3
= static_cast< long >(val3
);
29633 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29634 if (!SWIG_IsOK(ecode4
)) {
29635 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29637 arg4
= static_cast< long >(val4
);
29639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29640 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29641 wxPyEndAllowThreads(__tstate
);
29642 if (PyErr_Occurred()) SWIG_fail
;
29645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29653 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29654 PyObject
*resultobj
= 0;
29655 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29658 int arg4
= (int) -1 ;
29668 PyObject
* obj0
= 0 ;
29669 PyObject
* obj1
= 0 ;
29670 PyObject
* obj2
= 0 ;
29671 PyObject
* obj3
= 0 ;
29672 char * kwnames
[] = {
29673 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29678 if (!SWIG_IsOK(res1
)) {
29679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29681 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29682 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29683 if (!SWIG_IsOK(ecode2
)) {
29684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29686 arg2
= static_cast< long >(val2
);
29687 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29688 if (!SWIG_IsOK(ecode3
)) {
29689 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29691 arg3
= static_cast< int >(val3
);
29693 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29694 if (!SWIG_IsOK(ecode4
)) {
29695 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29697 arg4
= static_cast< int >(val4
);
29700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29701 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29702 wxPyEndAllowThreads(__tstate
);
29703 if (PyErr_Occurred()) SWIG_fail
;
29706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29714 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29715 PyObject
*resultobj
= 0;
29716 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29729 PyObject
* obj0
= 0 ;
29730 PyObject
* obj1
= 0 ;
29731 PyObject
* obj2
= 0 ;
29732 PyObject
* obj3
= 0 ;
29733 char * kwnames
[] = {
29734 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29739 if (!SWIG_IsOK(res1
)) {
29740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29742 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29743 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29744 if (!SWIG_IsOK(ecode2
)) {
29745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29747 arg2
= static_cast< long >(val2
);
29748 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29749 if (!SWIG_IsOK(ecode3
)) {
29750 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29752 arg3
= static_cast< long >(val3
);
29753 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29754 if (!SWIG_IsOK(ecode4
)) {
29755 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29757 arg4
= static_cast< int >(val4
);
29759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29760 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29761 wxPyEndAllowThreads(__tstate
);
29762 if (PyErr_Occurred()) SWIG_fail
;
29765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29773 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29774 PyObject
*resultobj
= 0;
29775 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29782 PyObject
* obj0
= 0 ;
29783 PyObject
* obj1
= 0 ;
29784 char * kwnames
[] = {
29785 (char *) "self",(char *) "item", NULL
29788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29790 if (!SWIG_IsOK(res1
)) {
29791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29793 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29794 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29795 if (!SWIG_IsOK(ecode2
)) {
29796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29798 arg2
= static_cast< long >(val2
);
29800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29801 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29802 wxPyEndAllowThreads(__tstate
);
29803 if (PyErr_Occurred()) SWIG_fail
;
29807 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29809 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29818 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29819 PyObject
*resultobj
= 0;
29820 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29822 wxString
*arg3
= 0 ;
29827 bool temp3
= false ;
29828 PyObject
* obj0
= 0 ;
29829 PyObject
* obj1
= 0 ;
29830 PyObject
* obj2
= 0 ;
29831 char * kwnames
[] = {
29832 (char *) "self",(char *) "item",(char *) "str", NULL
29835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29837 if (!SWIG_IsOK(res1
)) {
29838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29840 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29841 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29842 if (!SWIG_IsOK(ecode2
)) {
29843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29845 arg2
= static_cast< long >(val2
);
29847 arg3
= wxString_in_helper(obj2
);
29848 if (arg3
== NULL
) SWIG_fail
;
29852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29853 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29854 wxPyEndAllowThreads(__tstate
);
29855 if (PyErr_Occurred()) SWIG_fail
;
29857 resultobj
= SWIG_Py_Void();
29872 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29873 PyObject
*resultobj
= 0;
29874 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29881 PyObject
* obj0
= 0 ;
29882 PyObject
* obj1
= 0 ;
29883 char * kwnames
[] = {
29884 (char *) "self",(char *) "item", NULL
29887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29889 if (!SWIG_IsOK(res1
)) {
29890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29892 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29893 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29894 if (!SWIG_IsOK(ecode2
)) {
29895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29897 arg2
= static_cast< long >(val2
);
29899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29900 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29901 wxPyEndAllowThreads(__tstate
);
29902 if (PyErr_Occurred()) SWIG_fail
;
29904 resultobj
= SWIG_From_long(static_cast< long >(result
));
29911 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29912 PyObject
*resultobj
= 0;
29913 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29923 PyObject
* obj0
= 0 ;
29924 PyObject
* obj1
= 0 ;
29925 PyObject
* obj2
= 0 ;
29926 char * kwnames
[] = {
29927 (char *) "self",(char *) "item",(char *) "data", NULL
29930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29932 if (!SWIG_IsOK(res1
)) {
29933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29935 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29936 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29937 if (!SWIG_IsOK(ecode2
)) {
29938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29940 arg2
= static_cast< long >(val2
);
29941 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29942 if (!SWIG_IsOK(ecode3
)) {
29943 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29945 arg3
= static_cast< long >(val3
);
29947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29948 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29949 wxPyEndAllowThreads(__tstate
);
29950 if (PyErr_Occurred()) SWIG_fail
;
29953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29961 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29962 PyObject
*resultobj
= 0;
29963 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29970 PyObject
* obj0
= 0 ;
29971 PyObject
* obj1
= 0 ;
29972 char * kwnames
[] = {
29973 (char *) "self",(char *) "item", NULL
29976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29978 if (!SWIG_IsOK(res1
)) {
29979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29981 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29982 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29983 if (!SWIG_IsOK(ecode2
)) {
29984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29986 arg2
= static_cast< long >(val2
);
29988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29989 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29990 wxPyEndAllowThreads(__tstate
);
29991 if (PyErr_Occurred()) SWIG_fail
;
29993 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30000 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30001 PyObject
*resultobj
= 0;
30002 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30004 int arg3
= (int) wxLIST_RECT_BOUNDS
;
30012 PyObject
* obj0
= 0 ;
30013 PyObject
* obj1
= 0 ;
30014 PyObject
* obj2
= 0 ;
30015 char * kwnames
[] = {
30016 (char *) "self",(char *) "item",(char *) "code", NULL
30019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30021 if (!SWIG_IsOK(res1
)) {
30022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30024 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30025 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30026 if (!SWIG_IsOK(ecode2
)) {
30027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
30029 arg2
= static_cast< long >(val2
);
30031 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30032 if (!SWIG_IsOK(ecode3
)) {
30033 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
30035 arg3
= static_cast< int >(val3
);
30038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30039 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
30040 wxPyEndAllowThreads(__tstate
);
30041 if (PyErr_Occurred()) SWIG_fail
;
30043 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30050 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30051 PyObject
*resultobj
= 0;
30052 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30054 wxPoint
*arg3
= 0 ;
30061 PyObject
* obj0
= 0 ;
30062 PyObject
* obj1
= 0 ;
30063 PyObject
* obj2
= 0 ;
30064 char * kwnames
[] = {
30065 (char *) "self",(char *) "item",(char *) "pos", NULL
30068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30070 if (!SWIG_IsOK(res1
)) {
30071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30073 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30074 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30075 if (!SWIG_IsOK(ecode2
)) {
30076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30078 arg2
= static_cast< long >(val2
);
30081 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30085 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
30086 wxPyEndAllowThreads(__tstate
);
30087 if (PyErr_Occurred()) SWIG_fail
;
30090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30098 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30099 PyObject
*resultobj
= 0;
30100 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30104 PyObject
*swig_obj
[1] ;
30106 if (!args
) SWIG_fail
;
30107 swig_obj
[0] = args
;
30108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30109 if (!SWIG_IsOK(res1
)) {
30110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30112 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30115 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
30116 wxPyEndAllowThreads(__tstate
);
30117 if (PyErr_Occurred()) SWIG_fail
;
30119 resultobj
= SWIG_From_int(static_cast< int >(result
));
30126 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30127 PyObject
*resultobj
= 0;
30128 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30132 PyObject
*swig_obj
[1] ;
30134 if (!args
) SWIG_fail
;
30135 swig_obj
[0] = args
;
30136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30137 if (!SWIG_IsOK(res1
)) {
30138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30140 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30143 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
30144 wxPyEndAllowThreads(__tstate
);
30145 if (PyErr_Occurred()) SWIG_fail
;
30147 resultobj
= SWIG_From_int(static_cast< int >(result
));
30154 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30155 PyObject
*resultobj
= 0;
30156 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30160 PyObject
*swig_obj
[1] ;
30162 if (!args
) SWIG_fail
;
30163 swig_obj
[0] = args
;
30164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30165 if (!SWIG_IsOK(res1
)) {
30166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30168 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30171 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
30172 wxPyEndAllowThreads(__tstate
);
30173 if (PyErr_Occurred()) SWIG_fail
;
30175 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30182 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30183 PyObject
*resultobj
= 0;
30184 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30186 bool arg3
= (bool) false ;
30193 PyObject
* obj0
= 0 ;
30194 PyObject
* obj1
= 0 ;
30195 PyObject
* obj2
= 0 ;
30196 char * kwnames
[] = {
30197 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
30200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30202 if (!SWIG_IsOK(res1
)) {
30203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30205 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30206 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30207 if (!SWIG_IsOK(ecode2
)) {
30208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
30210 arg2
= static_cast< int >(val2
);
30212 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30213 if (!SWIG_IsOK(ecode3
)) {
30214 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
30216 arg3
= static_cast< bool >(val3
);
30219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30220 (arg1
)->SetItemSpacing(arg2
,arg3
);
30221 wxPyEndAllowThreads(__tstate
);
30222 if (PyErr_Occurred()) SWIG_fail
;
30224 resultobj
= SWIG_Py_Void();
30231 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30232 PyObject
*resultobj
= 0;
30233 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30237 PyObject
*swig_obj
[1] ;
30239 if (!args
) SWIG_fail
;
30240 swig_obj
[0] = args
;
30241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30242 if (!SWIG_IsOK(res1
)) {
30243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30245 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30248 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
30249 wxPyEndAllowThreads(__tstate
);
30250 if (PyErr_Occurred()) SWIG_fail
;
30252 resultobj
= SWIG_From_int(static_cast< int >(result
));
30259 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30260 PyObject
*resultobj
= 0;
30261 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30265 PyObject
*swig_obj
[1] ;
30267 if (!args
) SWIG_fail
;
30268 swig_obj
[0] = args
;
30269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30270 if (!SWIG_IsOK(res1
)) {
30271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30273 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30276 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30277 wxPyEndAllowThreads(__tstate
);
30278 if (PyErr_Occurred()) SWIG_fail
;
30280 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30287 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30288 PyObject
*resultobj
= 0;
30289 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30290 wxColour
*arg2
= 0 ;
30294 PyObject
* obj0
= 0 ;
30295 PyObject
* obj1
= 0 ;
30296 char * kwnames
[] = {
30297 (char *) "self",(char *) "col", NULL
30300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30302 if (!SWIG_IsOK(res1
)) {
30303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30305 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30308 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30312 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30313 wxPyEndAllowThreads(__tstate
);
30314 if (PyErr_Occurred()) SWIG_fail
;
30316 resultobj
= SWIG_Py_Void();
30323 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30324 PyObject
*resultobj
= 0;
30325 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30329 PyObject
*swig_obj
[1] ;
30331 if (!args
) SWIG_fail
;
30332 swig_obj
[0] = args
;
30333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30334 if (!SWIG_IsOK(res1
)) {
30335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30337 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30340 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30341 wxPyEndAllowThreads(__tstate
);
30342 if (PyErr_Occurred()) SWIG_fail
;
30344 resultobj
= SWIG_From_long(static_cast< long >(result
));
30351 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30352 PyObject
*resultobj
= 0;
30353 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30355 bool arg3
= (bool) true ;
30362 PyObject
* obj0
= 0 ;
30363 PyObject
* obj1
= 0 ;
30364 PyObject
* obj2
= 0 ;
30365 char * kwnames
[] = {
30366 (char *) "self",(char *) "style",(char *) "add", NULL
30369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30371 if (!SWIG_IsOK(res1
)) {
30372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30374 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30375 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30376 if (!SWIG_IsOK(ecode2
)) {
30377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30379 arg2
= static_cast< long >(val2
);
30381 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30382 if (!SWIG_IsOK(ecode3
)) {
30383 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30385 arg3
= static_cast< bool >(val3
);
30388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30389 (arg1
)->SetSingleStyle(arg2
,arg3
);
30390 wxPyEndAllowThreads(__tstate
);
30391 if (PyErr_Occurred()) SWIG_fail
;
30393 resultobj
= SWIG_Py_Void();
30400 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30401 PyObject
*resultobj
= 0;
30402 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30404 int arg3
= (int) wxLIST_NEXT_ALL
;
30405 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30415 PyObject
* obj0
= 0 ;
30416 PyObject
* obj1
= 0 ;
30417 PyObject
* obj2
= 0 ;
30418 PyObject
* obj3
= 0 ;
30419 char * kwnames
[] = {
30420 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30425 if (!SWIG_IsOK(res1
)) {
30426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30428 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30429 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30430 if (!SWIG_IsOK(ecode2
)) {
30431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30433 arg2
= static_cast< long >(val2
);
30435 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30436 if (!SWIG_IsOK(ecode3
)) {
30437 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30439 arg3
= static_cast< int >(val3
);
30442 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30443 if (!SWIG_IsOK(ecode4
)) {
30444 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30446 arg4
= static_cast< int >(val4
);
30449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30450 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30451 wxPyEndAllowThreads(__tstate
);
30452 if (PyErr_Occurred()) SWIG_fail
;
30454 resultobj
= SWIG_From_long(static_cast< long >(result
));
30461 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30462 PyObject
*resultobj
= 0;
30463 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30465 wxImageList
*result
= 0 ;
30470 PyObject
* obj0
= 0 ;
30471 PyObject
* obj1
= 0 ;
30472 char * kwnames
[] = {
30473 (char *) "self",(char *) "which", NULL
30476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30478 if (!SWIG_IsOK(res1
)) {
30479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30481 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30482 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30483 if (!SWIG_IsOK(ecode2
)) {
30484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30486 arg2
= static_cast< int >(val2
);
30488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30489 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30490 wxPyEndAllowThreads(__tstate
);
30491 if (PyErr_Occurred()) SWIG_fail
;
30494 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30502 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30503 PyObject
*resultobj
= 0;
30504 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30505 wxImageList
*arg2
= (wxImageList
*) 0 ;
30513 PyObject
* obj0
= 0 ;
30514 PyObject
* obj1
= 0 ;
30515 PyObject
* obj2
= 0 ;
30516 char * kwnames
[] = {
30517 (char *) "self",(char *) "imageList",(char *) "which", NULL
30520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30522 if (!SWIG_IsOK(res1
)) {
30523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30525 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30526 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30527 if (!SWIG_IsOK(res2
)) {
30528 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30530 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30531 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30532 if (!SWIG_IsOK(ecode3
)) {
30533 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30535 arg3
= static_cast< int >(val3
);
30537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30538 (arg1
)->SetImageList(arg2
,arg3
);
30539 wxPyEndAllowThreads(__tstate
);
30540 if (PyErr_Occurred()) SWIG_fail
;
30542 resultobj
= SWIG_Py_Void();
30549 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30550 PyObject
*resultobj
= 0;
30551 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30552 wxImageList
*arg2
= (wxImageList
*) 0 ;
30559 PyObject
* obj0
= 0 ;
30560 PyObject
* obj1
= 0 ;
30561 PyObject
* obj2
= 0 ;
30562 char * kwnames
[] = {
30563 (char *) "self",(char *) "imageList",(char *) "which", NULL
30566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30568 if (!SWIG_IsOK(res1
)) {
30569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30571 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30572 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30573 if (!SWIG_IsOK(res2
)) {
30574 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30576 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30577 if (!SWIG_IsOK(ecode3
)) {
30578 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30580 arg3
= static_cast< int >(val3
);
30582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30583 (arg1
)->AssignImageList(arg2
,arg3
);
30584 wxPyEndAllowThreads(__tstate
);
30585 if (PyErr_Occurred()) SWIG_fail
;
30587 resultobj
= SWIG_Py_Void();
30594 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30595 PyObject
*resultobj
= 0;
30596 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30600 PyObject
*swig_obj
[1] ;
30602 if (!args
) SWIG_fail
;
30603 swig_obj
[0] = args
;
30604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30605 if (!SWIG_IsOK(res1
)) {
30606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30608 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30611 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30612 wxPyEndAllowThreads(__tstate
);
30613 if (PyErr_Occurred()) SWIG_fail
;
30616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30624 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30625 PyObject
*resultobj
= 0;
30626 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30630 PyObject
*swig_obj
[1] ;
30632 if (!args
) SWIG_fail
;
30633 swig_obj
[0] = args
;
30634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30635 if (!SWIG_IsOK(res1
)) {
30636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30638 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30641 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30642 wxPyEndAllowThreads(__tstate
);
30643 if (PyErr_Occurred()) SWIG_fail
;
30646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30654 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30655 PyObject
*resultobj
= 0;
30656 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30662 PyObject
* obj0
= 0 ;
30663 PyObject
* obj1
= 0 ;
30664 char * kwnames
[] = {
30665 (char *) "self",(char *) "item", NULL
30668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30670 if (!SWIG_IsOK(res1
)) {
30671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30673 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30674 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30675 if (!SWIG_IsOK(ecode2
)) {
30676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30678 arg2
= static_cast< long >(val2
);
30680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30681 (arg1
)->RefreshItem(arg2
);
30682 wxPyEndAllowThreads(__tstate
);
30683 if (PyErr_Occurred()) SWIG_fail
;
30685 resultobj
= SWIG_Py_Void();
30692 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30693 PyObject
*resultobj
= 0;
30694 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30703 PyObject
* obj0
= 0 ;
30704 PyObject
* obj1
= 0 ;
30705 PyObject
* obj2
= 0 ;
30706 char * kwnames
[] = {
30707 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30712 if (!SWIG_IsOK(res1
)) {
30713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30715 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30716 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30717 if (!SWIG_IsOK(ecode2
)) {
30718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30720 arg2
= static_cast< long >(val2
);
30721 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30722 if (!SWIG_IsOK(ecode3
)) {
30723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30725 arg3
= static_cast< long >(val3
);
30727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30728 (arg1
)->RefreshItems(arg2
,arg3
);
30729 wxPyEndAllowThreads(__tstate
);
30730 if (PyErr_Occurred()) SWIG_fail
;
30732 resultobj
= SWIG_Py_Void();
30739 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30740 PyObject
*resultobj
= 0;
30741 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30742 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30748 PyObject
* obj0
= 0 ;
30749 PyObject
* obj1
= 0 ;
30750 char * kwnames
[] = {
30751 (char *) "self",(char *) "flag", NULL
30754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30756 if (!SWIG_IsOK(res1
)) {
30757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30759 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30761 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30762 if (!SWIG_IsOK(ecode2
)) {
30763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30765 arg2
= static_cast< int >(val2
);
30768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30769 result
= (bool)(arg1
)->Arrange(arg2
);
30770 wxPyEndAllowThreads(__tstate
);
30771 if (PyErr_Occurred()) SWIG_fail
;
30774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30782 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30783 PyObject
*resultobj
= 0;
30784 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30791 PyObject
* obj0
= 0 ;
30792 PyObject
* obj1
= 0 ;
30793 char * kwnames
[] = {
30794 (char *) "self",(char *) "item", NULL
30797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30799 if (!SWIG_IsOK(res1
)) {
30800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30802 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30803 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30804 if (!SWIG_IsOK(ecode2
)) {
30805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30807 arg2
= static_cast< long >(val2
);
30809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30810 result
= (bool)(arg1
)->DeleteItem(arg2
);
30811 wxPyEndAllowThreads(__tstate
);
30812 if (PyErr_Occurred()) SWIG_fail
;
30815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30823 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30824 PyObject
*resultobj
= 0;
30825 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30829 PyObject
*swig_obj
[1] ;
30831 if (!args
) SWIG_fail
;
30832 swig_obj
[0] = args
;
30833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30834 if (!SWIG_IsOK(res1
)) {
30835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30837 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30840 result
= (bool)(arg1
)->DeleteAllItems();
30841 wxPyEndAllowThreads(__tstate
);
30842 if (PyErr_Occurred()) SWIG_fail
;
30845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30853 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30854 PyObject
*resultobj
= 0;
30855 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30862 PyObject
* obj0
= 0 ;
30863 PyObject
* obj1
= 0 ;
30864 char * kwnames
[] = {
30865 (char *) "self",(char *) "col", NULL
30868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30870 if (!SWIG_IsOK(res1
)) {
30871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30873 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30875 if (!SWIG_IsOK(ecode2
)) {
30876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30878 arg2
= static_cast< int >(val2
);
30880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30881 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30882 wxPyEndAllowThreads(__tstate
);
30883 if (PyErr_Occurred()) SWIG_fail
;
30886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30894 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30895 PyObject
*resultobj
= 0;
30896 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30900 PyObject
*swig_obj
[1] ;
30902 if (!args
) SWIG_fail
;
30903 swig_obj
[0] = args
;
30904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30905 if (!SWIG_IsOK(res1
)) {
30906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30908 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30911 result
= (bool)(arg1
)->DeleteAllColumns();
30912 wxPyEndAllowThreads(__tstate
);
30913 if (PyErr_Occurred()) SWIG_fail
;
30916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30924 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30925 PyObject
*resultobj
= 0;
30926 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30929 PyObject
*swig_obj
[1] ;
30931 if (!args
) SWIG_fail
;
30932 swig_obj
[0] = args
;
30933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30934 if (!SWIG_IsOK(res1
)) {
30935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30937 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30940 (arg1
)->ClearAll();
30941 wxPyEndAllowThreads(__tstate
);
30942 if (PyErr_Occurred()) SWIG_fail
;
30944 resultobj
= SWIG_Py_Void();
30951 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30952 PyObject
*resultobj
= 0;
30953 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30959 PyObject
* obj0
= 0 ;
30960 PyObject
* obj1
= 0 ;
30961 char * kwnames
[] = {
30962 (char *) "self",(char *) "item", NULL
30965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30967 if (!SWIG_IsOK(res1
)) {
30968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30970 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30971 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30972 if (!SWIG_IsOK(ecode2
)) {
30973 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30975 arg2
= static_cast< long >(val2
);
30977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30978 (arg1
)->EditLabel(arg2
);
30979 wxPyEndAllowThreads(__tstate
);
30980 if (PyErr_Occurred()) SWIG_fail
;
30982 resultobj
= SWIG_Py_Void();
30989 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30990 PyObject
*resultobj
= 0;
30991 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30998 PyObject
* obj0
= 0 ;
30999 PyObject
* obj1
= 0 ;
31000 char * kwnames
[] = {
31001 (char *) "self",(char *) "item", NULL
31004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31006 if (!SWIG_IsOK(res1
)) {
31007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31009 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31010 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31011 if (!SWIG_IsOK(ecode2
)) {
31012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
31014 arg2
= static_cast< long >(val2
);
31016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31017 result
= (bool)(arg1
)->EnsureVisible(arg2
);
31018 wxPyEndAllowThreads(__tstate
);
31019 if (PyErr_Occurred()) SWIG_fail
;
31022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31030 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31031 PyObject
*resultobj
= 0;
31032 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31034 wxString
*arg3
= 0 ;
31035 bool arg4
= (bool) false ;
31041 bool temp3
= false ;
31044 PyObject
* obj0
= 0 ;
31045 PyObject
* obj1
= 0 ;
31046 PyObject
* obj2
= 0 ;
31047 PyObject
* obj3
= 0 ;
31048 char * kwnames
[] = {
31049 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31054 if (!SWIG_IsOK(res1
)) {
31055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31057 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31058 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31059 if (!SWIG_IsOK(ecode2
)) {
31060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31062 arg2
= static_cast< long >(val2
);
31064 arg3
= wxString_in_helper(obj2
);
31065 if (arg3
== NULL
) SWIG_fail
;
31069 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
31070 if (!SWIG_IsOK(ecode4
)) {
31071 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31073 arg4
= static_cast< bool >(val4
);
31076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31077 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
31078 wxPyEndAllowThreads(__tstate
);
31079 if (PyErr_Occurred()) SWIG_fail
;
31081 resultobj
= SWIG_From_long(static_cast< long >(result
));
31096 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31097 PyObject
*resultobj
= 0;
31098 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31108 PyObject
* obj0
= 0 ;
31109 PyObject
* obj1
= 0 ;
31110 PyObject
* obj2
= 0 ;
31111 char * kwnames
[] = {
31112 (char *) "self",(char *) "start",(char *) "data", NULL
31115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31117 if (!SWIG_IsOK(res1
)) {
31118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31120 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31121 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31122 if (!SWIG_IsOK(ecode2
)) {
31123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31125 arg2
= static_cast< long >(val2
);
31126 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
31127 if (!SWIG_IsOK(ecode3
)) {
31128 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31130 arg3
= static_cast< long >(val3
);
31132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31133 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
31134 wxPyEndAllowThreads(__tstate
);
31135 if (PyErr_Occurred()) SWIG_fail
;
31137 resultobj
= SWIG_From_long(static_cast< long >(result
));
31144 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31145 PyObject
*resultobj
= 0;
31146 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31148 wxPoint
*arg3
= 0 ;
31158 PyObject
* obj0
= 0 ;
31159 PyObject
* obj1
= 0 ;
31160 PyObject
* obj2
= 0 ;
31161 PyObject
* obj3
= 0 ;
31162 char * kwnames
[] = {
31163 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31168 if (!SWIG_IsOK(res1
)) {
31169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31171 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31172 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31173 if (!SWIG_IsOK(ecode2
)) {
31174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31176 arg2
= static_cast< long >(val2
);
31179 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31181 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31182 if (!SWIG_IsOK(ecode4
)) {
31183 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31185 arg4
= static_cast< int >(val4
);
31187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31188 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
31189 wxPyEndAllowThreads(__tstate
);
31190 if (PyErr_Occurred()) SWIG_fail
;
31192 resultobj
= SWIG_From_long(static_cast< long >(result
));
31199 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31200 PyObject
*resultobj
= 0;
31201 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31202 wxPoint
*arg2
= 0 ;
31209 int res3
= SWIG_TMPOBJ
;
31210 PyObject
* obj0
= 0 ;
31211 PyObject
* obj1
= 0 ;
31212 char * kwnames
[] = {
31213 (char *) "self",(char *) "point", NULL
31217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31219 if (!SWIG_IsOK(res1
)) {
31220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31222 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31225 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31229 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31230 wxPyEndAllowThreads(__tstate
);
31231 if (PyErr_Occurred()) SWIG_fail
;
31233 resultobj
= SWIG_From_long(static_cast< long >(result
));
31234 if (SWIG_IsTmpObj(res3
)) {
31235 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31237 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31238 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31246 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31247 PyObject
*resultobj
= 0;
31248 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31249 wxPoint
*arg2
= 0 ;
31251 long *arg4
= (long *) 0 ;
31257 int res3
= SWIG_TMPOBJ
;
31259 int res4
= SWIG_TMPOBJ
;
31260 PyObject
* obj0
= 0 ;
31261 PyObject
* obj1
= 0 ;
31262 char * kwnames
[] = {
31263 (char *) "self",(char *) "point", NULL
31268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31270 if (!SWIG_IsOK(res1
)) {
31271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31273 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31276 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31280 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31281 wxPyEndAllowThreads(__tstate
);
31282 if (PyErr_Occurred()) SWIG_fail
;
31284 resultobj
= SWIG_From_long(static_cast< long >(result
));
31285 if (SWIG_IsTmpObj(res3
)) {
31286 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31288 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31289 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31291 if (SWIG_IsTmpObj(res4
)) {
31292 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31294 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31295 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31303 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31304 PyObject
*resultobj
= 0;
31305 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31306 wxListItem
*arg2
= 0 ;
31312 PyObject
* obj0
= 0 ;
31313 PyObject
* obj1
= 0 ;
31314 char * kwnames
[] = {
31315 (char *) "self",(char *) "info", NULL
31318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31320 if (!SWIG_IsOK(res1
)) {
31321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31323 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31324 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31325 if (!SWIG_IsOK(res2
)) {
31326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31331 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31334 result
= (long)(arg1
)->InsertItem(*arg2
);
31335 wxPyEndAllowThreads(__tstate
);
31336 if (PyErr_Occurred()) SWIG_fail
;
31338 resultobj
= SWIG_From_long(static_cast< long >(result
));
31345 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31346 PyObject
*resultobj
= 0;
31347 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31349 wxString
*arg3
= 0 ;
31350 int arg4
= (int) -1 ;
31356 bool temp3
= false ;
31359 PyObject
* obj0
= 0 ;
31360 PyObject
* obj1
= 0 ;
31361 PyObject
* obj2
= 0 ;
31362 PyObject
* obj3
= 0 ;
31363 char * kwnames
[] = {
31364 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31369 if (!SWIG_IsOK(res1
)) {
31370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31372 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31373 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31374 if (!SWIG_IsOK(ecode2
)) {
31375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31377 arg2
= static_cast< long >(val2
);
31379 arg3
= wxString_in_helper(obj2
);
31380 if (arg3
== NULL
) SWIG_fail
;
31384 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31385 if (!SWIG_IsOK(ecode4
)) {
31386 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31388 arg4
= static_cast< int >(val4
);
31391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31392 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31393 wxPyEndAllowThreads(__tstate
);
31394 if (PyErr_Occurred()) SWIG_fail
;
31396 resultobj
= SWIG_From_long(static_cast< long >(result
));
31411 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31412 PyObject
*resultobj
= 0;
31413 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31423 PyObject
* obj0
= 0 ;
31424 PyObject
* obj1
= 0 ;
31425 PyObject
* obj2
= 0 ;
31426 char * kwnames
[] = {
31427 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31432 if (!SWIG_IsOK(res1
)) {
31433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31435 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31436 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31437 if (!SWIG_IsOK(ecode2
)) {
31438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31440 arg2
= static_cast< long >(val2
);
31441 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31442 if (!SWIG_IsOK(ecode3
)) {
31443 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31445 arg3
= static_cast< int >(val3
);
31447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31448 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31449 wxPyEndAllowThreads(__tstate
);
31450 if (PyErr_Occurred()) SWIG_fail
;
31452 resultobj
= SWIG_From_long(static_cast< long >(result
));
31459 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31460 PyObject
*resultobj
= 0;
31461 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31463 wxString
*arg3
= 0 ;
31470 bool temp3
= false ;
31473 PyObject
* obj0
= 0 ;
31474 PyObject
* obj1
= 0 ;
31475 PyObject
* obj2
= 0 ;
31476 PyObject
* obj3
= 0 ;
31477 char * kwnames
[] = {
31478 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31483 if (!SWIG_IsOK(res1
)) {
31484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31486 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31487 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31488 if (!SWIG_IsOK(ecode2
)) {
31489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31491 arg2
= static_cast< long >(val2
);
31493 arg3
= wxString_in_helper(obj2
);
31494 if (arg3
== NULL
) SWIG_fail
;
31497 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31498 if (!SWIG_IsOK(ecode4
)) {
31499 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31501 arg4
= static_cast< int >(val4
);
31503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31504 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31505 wxPyEndAllowThreads(__tstate
);
31506 if (PyErr_Occurred()) SWIG_fail
;
31508 resultobj
= SWIG_From_long(static_cast< long >(result
));
31523 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31524 PyObject
*resultobj
= 0;
31525 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31527 wxListItem
*arg3
= 0 ;
31535 PyObject
* obj0
= 0 ;
31536 PyObject
* obj1
= 0 ;
31537 PyObject
* obj2
= 0 ;
31538 char * kwnames
[] = {
31539 (char *) "self",(char *) "col",(char *) "info", NULL
31542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31544 if (!SWIG_IsOK(res1
)) {
31545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31547 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31548 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31549 if (!SWIG_IsOK(ecode2
)) {
31550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31552 arg2
= static_cast< long >(val2
);
31553 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31554 if (!SWIG_IsOK(res3
)) {
31555 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31558 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31560 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31563 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31564 wxPyEndAllowThreads(__tstate
);
31565 if (PyErr_Occurred()) SWIG_fail
;
31567 resultobj
= SWIG_From_long(static_cast< long >(result
));
31574 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31575 PyObject
*resultobj
= 0;
31576 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31578 wxString
*arg3
= 0 ;
31579 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31580 int arg5
= (int) -1 ;
31586 bool temp3
= false ;
31591 PyObject
* obj0
= 0 ;
31592 PyObject
* obj1
= 0 ;
31593 PyObject
* obj2
= 0 ;
31594 PyObject
* obj3
= 0 ;
31595 PyObject
* obj4
= 0 ;
31596 char * kwnames
[] = {
31597 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31602 if (!SWIG_IsOK(res1
)) {
31603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31605 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31606 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31607 if (!SWIG_IsOK(ecode2
)) {
31608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31610 arg2
= static_cast< long >(val2
);
31612 arg3
= wxString_in_helper(obj2
);
31613 if (arg3
== NULL
) SWIG_fail
;
31617 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31618 if (!SWIG_IsOK(ecode4
)) {
31619 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31621 arg4
= static_cast< int >(val4
);
31624 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31625 if (!SWIG_IsOK(ecode5
)) {
31626 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31628 arg5
= static_cast< int >(val5
);
31631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31632 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31633 wxPyEndAllowThreads(__tstate
);
31634 if (PyErr_Occurred()) SWIG_fail
;
31636 resultobj
= SWIG_From_long(static_cast< long >(result
));
31651 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31652 PyObject
*resultobj
= 0;
31653 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31659 PyObject
* obj0
= 0 ;
31660 PyObject
* obj1
= 0 ;
31661 char * kwnames
[] = {
31662 (char *) "self",(char *) "count", NULL
31665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31667 if (!SWIG_IsOK(res1
)) {
31668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31670 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31671 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31672 if (!SWIG_IsOK(ecode2
)) {
31673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31675 arg2
= static_cast< long >(val2
);
31677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31678 (arg1
)->SetItemCount(arg2
);
31679 wxPyEndAllowThreads(__tstate
);
31680 if (PyErr_Occurred()) SWIG_fail
;
31682 resultobj
= SWIG_Py_Void();
31689 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31690 PyObject
*resultobj
= 0;
31691 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31701 PyObject
* obj0
= 0 ;
31702 PyObject
* obj1
= 0 ;
31703 PyObject
* obj2
= 0 ;
31704 char * kwnames
[] = {
31705 (char *) "self",(char *) "dx",(char *) "dy", NULL
31708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31710 if (!SWIG_IsOK(res1
)) {
31711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31713 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31715 if (!SWIG_IsOK(ecode2
)) {
31716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31718 arg2
= static_cast< int >(val2
);
31719 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31720 if (!SWIG_IsOK(ecode3
)) {
31721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31723 arg3
= static_cast< int >(val3
);
31725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31726 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31727 wxPyEndAllowThreads(__tstate
);
31728 if (PyErr_Occurred()) SWIG_fail
;
31731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31739 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31740 PyObject
*resultobj
= 0;
31741 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31743 wxColour
*arg3
= 0 ;
31749 PyObject
* obj0
= 0 ;
31750 PyObject
* obj1
= 0 ;
31751 PyObject
* obj2
= 0 ;
31752 char * kwnames
[] = {
31753 (char *) "self",(char *) "item",(char *) "col", NULL
31756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31758 if (!SWIG_IsOK(res1
)) {
31759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31761 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31762 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31763 if (!SWIG_IsOK(ecode2
)) {
31764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31766 arg2
= static_cast< long >(val2
);
31769 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31773 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31774 wxPyEndAllowThreads(__tstate
);
31775 if (PyErr_Occurred()) SWIG_fail
;
31777 resultobj
= SWIG_Py_Void();
31784 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31785 PyObject
*resultobj
= 0;
31786 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31793 PyObject
* obj0
= 0 ;
31794 PyObject
* obj1
= 0 ;
31795 char * kwnames
[] = {
31796 (char *) "self",(char *) "item", NULL
31799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31801 if (!SWIG_IsOK(res1
)) {
31802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31804 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31805 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31806 if (!SWIG_IsOK(ecode2
)) {
31807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31809 arg2
= static_cast< long >(val2
);
31811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31812 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31813 wxPyEndAllowThreads(__tstate
);
31814 if (PyErr_Occurred()) SWIG_fail
;
31816 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31823 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31824 PyObject
*resultobj
= 0;
31825 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31827 wxColour
*arg3
= 0 ;
31833 PyObject
* obj0
= 0 ;
31834 PyObject
* obj1
= 0 ;
31835 PyObject
* obj2
= 0 ;
31836 char * kwnames
[] = {
31837 (char *) "self",(char *) "item",(char *) "col", NULL
31840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31842 if (!SWIG_IsOK(res1
)) {
31843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31845 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31846 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31847 if (!SWIG_IsOK(ecode2
)) {
31848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31850 arg2
= static_cast< long >(val2
);
31853 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31857 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31858 wxPyEndAllowThreads(__tstate
);
31859 if (PyErr_Occurred()) SWIG_fail
;
31861 resultobj
= SWIG_Py_Void();
31868 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31869 PyObject
*resultobj
= 0;
31870 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31877 PyObject
* obj0
= 0 ;
31878 PyObject
* obj1
= 0 ;
31879 char * kwnames
[] = {
31880 (char *) "self",(char *) "item", NULL
31883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31885 if (!SWIG_IsOK(res1
)) {
31886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31888 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31889 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31890 if (!SWIG_IsOK(ecode2
)) {
31891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31893 arg2
= static_cast< long >(val2
);
31895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31896 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31897 wxPyEndAllowThreads(__tstate
);
31898 if (PyErr_Occurred()) SWIG_fail
;
31900 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31907 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31908 PyObject
*resultobj
= 0;
31909 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31918 PyObject
* obj0
= 0 ;
31919 PyObject
* obj1
= 0 ;
31920 PyObject
* obj2
= 0 ;
31921 char * kwnames
[] = {
31922 (char *) "self",(char *) "item",(char *) "f", NULL
31925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31927 if (!SWIG_IsOK(res1
)) {
31928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31930 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31931 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31932 if (!SWIG_IsOK(ecode2
)) {
31933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31935 arg2
= static_cast< long >(val2
);
31936 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31937 if (!SWIG_IsOK(res3
)) {
31938 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31941 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31943 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31946 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31947 wxPyEndAllowThreads(__tstate
);
31948 if (PyErr_Occurred()) SWIG_fail
;
31950 resultobj
= SWIG_Py_Void();
31957 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31958 PyObject
*resultobj
= 0;
31959 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31966 PyObject
* obj0
= 0 ;
31967 PyObject
* obj1
= 0 ;
31968 char * kwnames
[] = {
31969 (char *) "self",(char *) "item", NULL
31972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31974 if (!SWIG_IsOK(res1
)) {
31975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31977 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31978 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31979 if (!SWIG_IsOK(ecode2
)) {
31980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31982 arg2
= static_cast< long >(val2
);
31984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31985 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31986 wxPyEndAllowThreads(__tstate
);
31987 if (PyErr_Occurred()) SWIG_fail
;
31989 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31996 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31997 PyObject
*resultobj
= 0;
31998 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31999 PyObject
*arg2
= (PyObject
*) 0 ;
32003 PyObject
* obj0
= 0 ;
32004 PyObject
* obj1
= 0 ;
32005 char * kwnames
[] = {
32006 (char *) "self",(char *) "func", NULL
32009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32011 if (!SWIG_IsOK(res1
)) {
32012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32014 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32018 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
32019 wxPyEndAllowThreads(__tstate
);
32020 if (PyErr_Occurred()) SWIG_fail
;
32023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32031 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32032 PyObject
*resultobj
= 0;
32033 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32034 wxWindow
*result
= 0 ;
32037 PyObject
*swig_obj
[1] ;
32039 if (!args
) SWIG_fail
;
32040 swig_obj
[0] = args
;
32041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32042 if (!SWIG_IsOK(res1
)) {
32043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32045 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32048 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
32049 wxPyEndAllowThreads(__tstate
);
32050 if (PyErr_Occurred()) SWIG_fail
;
32053 resultobj
= wxPyMake_wxObject(result
, 0);
32061 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32062 PyObject
*resultobj
= 0;
32063 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
32064 SwigValueWrapper
<wxVisualAttributes
> result
;
32067 PyObject
* obj0
= 0 ;
32068 char * kwnames
[] = {
32069 (char *) "variant", NULL
32072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
32074 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32075 if (!SWIG_IsOK(ecode1
)) {
32076 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32078 arg1
= static_cast< wxWindowVariant
>(val1
);
32081 if (!wxPyCheckForApp()) SWIG_fail
;
32082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32083 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
32084 wxPyEndAllowThreads(__tstate
);
32085 if (PyErr_Occurred()) SWIG_fail
;
32087 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
32094 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32096 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32097 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
32098 return SWIG_Py_Void();
32101 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32102 return SWIG_Python_InitShadowInstance(args
);
32105 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32106 PyObject
*resultobj
= 0;
32107 wxWindow
*arg1
= (wxWindow
*) 0 ;
32108 int arg2
= (int) -1 ;
32109 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32110 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32111 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32112 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32113 long arg5
= (long) wxLC_REPORT
;
32114 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32115 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32116 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
32117 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32118 wxListView
*result
= 0 ;
32129 bool temp7
= false ;
32130 PyObject
* obj0
= 0 ;
32131 PyObject
* obj1
= 0 ;
32132 PyObject
* obj2
= 0 ;
32133 PyObject
* obj3
= 0 ;
32134 PyObject
* obj4
= 0 ;
32135 PyObject
* obj5
= 0 ;
32136 PyObject
* obj6
= 0 ;
32137 char * kwnames
[] = {
32138 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32143 if (!SWIG_IsOK(res1
)) {
32144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32146 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32148 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32149 if (!SWIG_IsOK(ecode2
)) {
32150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32152 arg2
= static_cast< int >(val2
);
32157 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32163 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32167 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
32168 if (!SWIG_IsOK(ecode5
)) {
32169 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32171 arg5
= static_cast< long >(val5
);
32174 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
32175 if (!SWIG_IsOK(res6
)) {
32176 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32179 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32181 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
32185 arg7
= wxString_in_helper(obj6
);
32186 if (arg7
== NULL
) SWIG_fail
;
32191 if (!wxPyCheckForApp()) SWIG_fail
;
32192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32193 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32194 wxPyEndAllowThreads(__tstate
);
32195 if (PyErr_Occurred()) SWIG_fail
;
32197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
32212 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32213 PyObject
*resultobj
= 0;
32214 wxListView
*result
= 0 ;
32216 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
32218 if (!wxPyCheckForApp()) SWIG_fail
;
32219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32220 result
= (wxListView
*)new wxListView();
32221 wxPyEndAllowThreads(__tstate
);
32222 if (PyErr_Occurred()) SWIG_fail
;
32224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
32231 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32232 PyObject
*resultobj
= 0;
32233 wxListView
*arg1
= (wxListView
*) 0 ;
32234 wxWindow
*arg2
= (wxWindow
*) 0 ;
32235 int arg3
= (int) -1 ;
32236 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32237 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32238 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32239 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32240 long arg6
= (long) wxLC_REPORT
;
32241 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32242 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32243 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
32244 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32258 bool temp8
= false ;
32259 PyObject
* obj0
= 0 ;
32260 PyObject
* obj1
= 0 ;
32261 PyObject
* obj2
= 0 ;
32262 PyObject
* obj3
= 0 ;
32263 PyObject
* obj4
= 0 ;
32264 PyObject
* obj5
= 0 ;
32265 PyObject
* obj6
= 0 ;
32266 PyObject
* obj7
= 0 ;
32267 char * kwnames
[] = {
32268 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32273 if (!SWIG_IsOK(res1
)) {
32274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32276 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32277 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32278 if (!SWIG_IsOK(res2
)) {
32279 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32281 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32283 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32284 if (!SWIG_IsOK(ecode3
)) {
32285 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32287 arg3
= static_cast< int >(val3
);
32292 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32298 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32302 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32303 if (!SWIG_IsOK(ecode6
)) {
32304 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32306 arg6
= static_cast< long >(val6
);
32309 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32310 if (!SWIG_IsOK(res7
)) {
32311 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32314 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32316 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32320 arg8
= wxString_in_helper(obj7
);
32321 if (arg8
== NULL
) SWIG_fail
;
32326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32327 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32328 wxPyEndAllowThreads(__tstate
);
32329 if (PyErr_Occurred()) SWIG_fail
;
32332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32348 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32349 PyObject
*resultobj
= 0;
32350 wxListView
*arg1
= (wxListView
*) 0 ;
32352 bool arg3
= (bool) true ;
32359 PyObject
* obj0
= 0 ;
32360 PyObject
* obj1
= 0 ;
32361 PyObject
* obj2
= 0 ;
32362 char * kwnames
[] = {
32363 (char *) "self",(char *) "n",(char *) "on", NULL
32366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32368 if (!SWIG_IsOK(res1
)) {
32369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32371 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32372 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32373 if (!SWIG_IsOK(ecode2
)) {
32374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32376 arg2
= static_cast< long >(val2
);
32378 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32379 if (!SWIG_IsOK(ecode3
)) {
32380 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32382 arg3
= static_cast< bool >(val3
);
32385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32386 (arg1
)->Select(arg2
,arg3
);
32387 wxPyEndAllowThreads(__tstate
);
32388 if (PyErr_Occurred()) SWIG_fail
;
32390 resultobj
= SWIG_Py_Void();
32397 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32398 PyObject
*resultobj
= 0;
32399 wxListView
*arg1
= (wxListView
*) 0 ;
32405 PyObject
* obj0
= 0 ;
32406 PyObject
* obj1
= 0 ;
32407 char * kwnames
[] = {
32408 (char *) "self",(char *) "index", NULL
32411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32413 if (!SWIG_IsOK(res1
)) {
32414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32416 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32417 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32418 if (!SWIG_IsOK(ecode2
)) {
32419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32421 arg2
= static_cast< long >(val2
);
32423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32424 (arg1
)->Focus(arg2
);
32425 wxPyEndAllowThreads(__tstate
);
32426 if (PyErr_Occurred()) SWIG_fail
;
32428 resultobj
= SWIG_Py_Void();
32435 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32436 PyObject
*resultobj
= 0;
32437 wxListView
*arg1
= (wxListView
*) 0 ;
32441 PyObject
*swig_obj
[1] ;
32443 if (!args
) SWIG_fail
;
32444 swig_obj
[0] = args
;
32445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32446 if (!SWIG_IsOK(res1
)) {
32447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32449 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32452 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32453 wxPyEndAllowThreads(__tstate
);
32454 if (PyErr_Occurred()) SWIG_fail
;
32456 resultobj
= SWIG_From_long(static_cast< long >(result
));
32463 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32464 PyObject
*resultobj
= 0;
32465 wxListView
*arg1
= (wxListView
*) 0 ;
32472 PyObject
* obj0
= 0 ;
32473 PyObject
* obj1
= 0 ;
32474 char * kwnames
[] = {
32475 (char *) "self",(char *) "item", NULL
32478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32480 if (!SWIG_IsOK(res1
)) {
32481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32483 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32484 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32485 if (!SWIG_IsOK(ecode2
)) {
32486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32488 arg2
= static_cast< long >(val2
);
32490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32491 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32492 wxPyEndAllowThreads(__tstate
);
32493 if (PyErr_Occurred()) SWIG_fail
;
32495 resultobj
= SWIG_From_long(static_cast< long >(result
));
32502 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32503 PyObject
*resultobj
= 0;
32504 wxListView
*arg1
= (wxListView
*) 0 ;
32508 PyObject
*swig_obj
[1] ;
32510 if (!args
) SWIG_fail
;
32511 swig_obj
[0] = args
;
32512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32513 if (!SWIG_IsOK(res1
)) {
32514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32516 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32519 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32520 wxPyEndAllowThreads(__tstate
);
32521 if (PyErr_Occurred()) SWIG_fail
;
32523 resultobj
= SWIG_From_long(static_cast< long >(result
));
32530 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32531 PyObject
*resultobj
= 0;
32532 wxListView
*arg1
= (wxListView
*) 0 ;
32539 PyObject
* obj0
= 0 ;
32540 PyObject
* obj1
= 0 ;
32541 char * kwnames
[] = {
32542 (char *) "self",(char *) "index", NULL
32545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32547 if (!SWIG_IsOK(res1
)) {
32548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32550 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32551 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32552 if (!SWIG_IsOK(ecode2
)) {
32553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32555 arg2
= static_cast< long >(val2
);
32557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32558 result
= (bool)(arg1
)->IsSelected(arg2
);
32559 wxPyEndAllowThreads(__tstate
);
32560 if (PyErr_Occurred()) SWIG_fail
;
32563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32571 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32572 PyObject
*resultobj
= 0;
32573 wxListView
*arg1
= (wxListView
*) 0 ;
32582 PyObject
* obj0
= 0 ;
32583 PyObject
* obj1
= 0 ;
32584 PyObject
* obj2
= 0 ;
32585 char * kwnames
[] = {
32586 (char *) "self",(char *) "col",(char *) "image", NULL
32589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32591 if (!SWIG_IsOK(res1
)) {
32592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32594 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32595 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32596 if (!SWIG_IsOK(ecode2
)) {
32597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32599 arg2
= static_cast< int >(val2
);
32600 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32601 if (!SWIG_IsOK(ecode3
)) {
32602 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32604 arg3
= static_cast< int >(val3
);
32606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32607 (arg1
)->SetColumnImage(arg2
,arg3
);
32608 wxPyEndAllowThreads(__tstate
);
32609 if (PyErr_Occurred()) SWIG_fail
;
32611 resultobj
= SWIG_Py_Void();
32618 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32619 PyObject
*resultobj
= 0;
32620 wxListView
*arg1
= (wxListView
*) 0 ;
32626 PyObject
* obj0
= 0 ;
32627 PyObject
* obj1
= 0 ;
32628 char * kwnames
[] = {
32629 (char *) "self",(char *) "col", NULL
32632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32634 if (!SWIG_IsOK(res1
)) {
32635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32637 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32638 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32639 if (!SWIG_IsOK(ecode2
)) {
32640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32642 arg2
= static_cast< int >(val2
);
32644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32645 (arg1
)->ClearColumnImage(arg2
);
32646 wxPyEndAllowThreads(__tstate
);
32647 if (PyErr_Occurred()) SWIG_fail
;
32649 resultobj
= SWIG_Py_Void();
32656 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32658 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32659 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32660 return SWIG_Py_Void();
32663 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32664 return SWIG_Python_InitShadowInstance(args
);
32667 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32668 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32673 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32674 PyObject
*pyobj
= 0;
32678 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32680 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32687 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32688 PyObject
*resultobj
= 0;
32689 wxTreeItemId
*result
= 0 ;
32691 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32694 result
= (wxTreeItemId
*)new wxTreeItemId();
32695 wxPyEndAllowThreads(__tstate
);
32696 if (PyErr_Occurred()) SWIG_fail
;
32698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32705 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32706 PyObject
*resultobj
= 0;
32707 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32710 PyObject
*swig_obj
[1] ;
32712 if (!args
) SWIG_fail
;
32713 swig_obj
[0] = args
;
32714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32715 if (!SWIG_IsOK(res1
)) {
32716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32718 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32723 wxPyEndAllowThreads(__tstate
);
32724 if (PyErr_Occurred()) SWIG_fail
;
32726 resultobj
= SWIG_Py_Void();
32733 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32734 PyObject
*resultobj
= 0;
32735 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32739 PyObject
*swig_obj
[1] ;
32741 if (!args
) SWIG_fail
;
32742 swig_obj
[0] = args
;
32743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32744 if (!SWIG_IsOK(res1
)) {
32745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32747 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32750 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32751 wxPyEndAllowThreads(__tstate
);
32752 if (PyErr_Occurred()) SWIG_fail
;
32755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32763 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32764 PyObject
*resultobj
= 0;
32765 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32766 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32772 PyObject
* obj0
= 0 ;
32773 PyObject
* obj1
= 0 ;
32774 char * kwnames
[] = {
32775 (char *) "self",(char *) "other", NULL
32778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32780 if (!SWIG_IsOK(res1
)) {
32781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32783 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32784 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32785 if (!SWIG_IsOK(res2
)) {
32786 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32788 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32791 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32792 wxPyEndAllowThreads(__tstate
);
32793 if (PyErr_Occurred()) SWIG_fail
;
32796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32804 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32805 PyObject
*resultobj
= 0;
32806 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32807 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32813 PyObject
* obj0
= 0 ;
32814 PyObject
* obj1
= 0 ;
32815 char * kwnames
[] = {
32816 (char *) "self",(char *) "other", NULL
32819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32821 if (!SWIG_IsOK(res1
)) {
32822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32824 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32825 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32826 if (!SWIG_IsOK(res2
)) {
32827 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32829 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32832 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32833 wxPyEndAllowThreads(__tstate
);
32834 if (PyErr_Occurred()) SWIG_fail
;
32837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32845 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32846 PyObject
*resultobj
= 0;
32847 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32848 void *arg2
= (void *) 0 ;
32852 PyObject
*swig_obj
[2] ;
32854 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32856 if (!SWIG_IsOK(res1
)) {
32857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32859 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32860 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32861 if (!SWIG_IsOK(res2
)) {
32862 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32864 if (arg1
) (arg1
)->m_pItem
= arg2
;
32866 resultobj
= SWIG_Py_Void();
32873 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32874 PyObject
*resultobj
= 0;
32875 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32879 PyObject
*swig_obj
[1] ;
32881 if (!args
) SWIG_fail
;
32882 swig_obj
[0] = args
;
32883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32884 if (!SWIG_IsOK(res1
)) {
32885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32887 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32888 result
= (void *) ((arg1
)->m_pItem
);
32889 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32896 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32898 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32899 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32900 return SWIG_Py_Void();
32903 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32904 return SWIG_Python_InitShadowInstance(args
);
32907 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32908 PyObject
*resultobj
= 0;
32909 PyObject
*arg1
= (PyObject
*) NULL
;
32910 wxPyTreeItemData
*result
= 0 ;
32911 PyObject
* obj0
= 0 ;
32912 char * kwnames
[] = {
32913 (char *) "obj", NULL
32916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32922 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32923 wxPyEndAllowThreads(__tstate
);
32924 if (PyErr_Occurred()) SWIG_fail
;
32926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32933 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32934 PyObject
*resultobj
= 0;
32935 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32938 PyObject
*swig_obj
[1] ;
32940 if (!args
) SWIG_fail
;
32941 swig_obj
[0] = args
;
32942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32943 if (!SWIG_IsOK(res1
)) {
32944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32946 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32951 wxPyEndAllowThreads(__tstate
);
32952 if (PyErr_Occurred()) SWIG_fail
;
32954 resultobj
= SWIG_Py_Void();
32961 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32962 PyObject
*resultobj
= 0;
32963 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32964 PyObject
*result
= 0 ;
32967 PyObject
*swig_obj
[1] ;
32969 if (!args
) SWIG_fail
;
32970 swig_obj
[0] = args
;
32971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32972 if (!SWIG_IsOK(res1
)) {
32973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32975 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32978 result
= (PyObject
*)(arg1
)->GetData();
32979 wxPyEndAllowThreads(__tstate
);
32980 if (PyErr_Occurred()) SWIG_fail
;
32982 resultobj
= result
;
32989 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32990 PyObject
*resultobj
= 0;
32991 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32992 PyObject
*arg2
= (PyObject
*) 0 ;
32995 PyObject
* obj0
= 0 ;
32996 PyObject
* obj1
= 0 ;
32997 char * kwnames
[] = {
32998 (char *) "self",(char *) "obj", NULL
33001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33003 if (!SWIG_IsOK(res1
)) {
33004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33006 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33010 (arg1
)->SetData(arg2
);
33011 wxPyEndAllowThreads(__tstate
);
33012 if (PyErr_Occurred()) SWIG_fail
;
33014 resultobj
= SWIG_Py_Void();
33021 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33022 PyObject
*resultobj
= 0;
33023 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33024 wxTreeItemId
*result
= 0 ;
33027 PyObject
*swig_obj
[1] ;
33029 if (!args
) SWIG_fail
;
33030 swig_obj
[0] = args
;
33031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33032 if (!SWIG_IsOK(res1
)) {
33033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33035 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33039 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
33040 result
= (wxTreeItemId
*) &_result_ref
;
33042 wxPyEndAllowThreads(__tstate
);
33043 if (PyErr_Occurred()) SWIG_fail
;
33045 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33052 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33053 PyObject
*resultobj
= 0;
33054 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33055 wxTreeItemId
*arg2
= 0 ;
33060 PyObject
* obj0
= 0 ;
33061 PyObject
* obj1
= 0 ;
33062 char * kwnames
[] = {
33063 (char *) "self",(char *) "id", NULL
33066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33068 if (!SWIG_IsOK(res1
)) {
33069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33071 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33072 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33073 if (!SWIG_IsOK(res2
)) {
33074 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33077 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33079 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33082 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
33083 wxPyEndAllowThreads(__tstate
);
33084 if (PyErr_Occurred()) SWIG_fail
;
33086 resultobj
= SWIG_Py_Void();
33093 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33094 PyObject
*resultobj
= 0;
33095 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33098 PyObject
*swig_obj
[1] ;
33100 if (!args
) SWIG_fail
;
33101 swig_obj
[0] = args
;
33102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33103 if (!SWIG_IsOK(res1
)) {
33104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33106 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33109 wxPyTreeItemData_Destroy(arg1
);
33110 wxPyEndAllowThreads(__tstate
);
33111 if (PyErr_Occurred()) SWIG_fail
;
33113 resultobj
= SWIG_Py_Void();
33120 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33122 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33123 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
33124 return SWIG_Py_Void();
33127 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33128 return SWIG_Python_InitShadowInstance(args
);
33131 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
33134 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33135 if (!SWIG_IsOK(res
)) {
33136 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33139 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33141 wxTreeItemId
* temp
;
33142 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
33143 wxNullTreeItemId
= *temp
;
33144 if (SWIG_IsNewObj(res
)) delete temp
;
33153 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
33154 PyObject
*pyobj
= 0;
33156 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
33161 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33162 PyObject
*resultobj
= 0;
33163 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33164 int arg2
= (int) 0 ;
33165 wxTreeEvent
*result
= 0 ;
33171 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
33173 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33174 if (!SWIG_IsOK(ecode1
)) {
33175 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33177 arg1
= static_cast< wxEventType
>(val1
);
33180 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33181 if (!SWIG_IsOK(ecode2
)) {
33182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33184 arg2
= static_cast< int >(val2
);
33187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33188 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
33189 wxPyEndAllowThreads(__tstate
);
33190 if (PyErr_Occurred()) SWIG_fail
;
33192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33199 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33200 PyObject
*resultobj
= 0;
33202 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
33203 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
33204 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
33205 wxTreeEvent
*result
= 0 ;
33213 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33214 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33215 if (!SWIG_IsOK(ecode1
)) {
33216 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33218 arg1
= static_cast< wxEventType
>(val1
);
33219 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33220 if (!SWIG_IsOK(res2
)) {
33221 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33223 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
33225 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
33226 if (!SWIG_IsOK(res3
)) {
33227 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33230 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33232 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
33235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33236 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
33237 wxPyEndAllowThreads(__tstate
);
33238 if (PyErr_Occurred()) SWIG_fail
;
33240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33247 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
33251 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
33253 if ((argc
>= 0) && (argc
<= 2)) {
33258 int res
= SWIG_AsVal_int(argv
[1], NULL
);
33259 _v
= SWIG_CheckState(res
);
33262 if (!_v
) goto check_1
;
33264 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
33268 if ((argc
>= 2) && (argc
<= 3)) {
33269 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33273 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33278 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33279 PyObject
*resultobj
= 0;
33280 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33281 wxTreeItemId result
;
33284 PyObject
*swig_obj
[1] ;
33286 if (!args
) SWIG_fail
;
33287 swig_obj
[0] = args
;
33288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33289 if (!SWIG_IsOK(res1
)) {
33290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33292 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33295 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33296 wxPyEndAllowThreads(__tstate
);
33297 if (PyErr_Occurred()) SWIG_fail
;
33299 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33306 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33307 PyObject
*resultobj
= 0;
33308 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33309 wxTreeItemId
*arg2
= 0 ;
33314 PyObject
* obj0
= 0 ;
33315 PyObject
* obj1
= 0 ;
33316 char * kwnames
[] = {
33317 (char *) "self",(char *) "item", NULL
33320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33322 if (!SWIG_IsOK(res1
)) {
33323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33325 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33326 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33327 if (!SWIG_IsOK(res2
)) {
33328 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33331 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33333 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33336 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33337 wxPyEndAllowThreads(__tstate
);
33338 if (PyErr_Occurred()) SWIG_fail
;
33340 resultobj
= SWIG_Py_Void();
33347 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33348 PyObject
*resultobj
= 0;
33349 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33350 wxTreeItemId result
;
33353 PyObject
*swig_obj
[1] ;
33355 if (!args
) SWIG_fail
;
33356 swig_obj
[0] = args
;
33357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33358 if (!SWIG_IsOK(res1
)) {
33359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33361 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33364 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33365 wxPyEndAllowThreads(__tstate
);
33366 if (PyErr_Occurred()) SWIG_fail
;
33368 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33375 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33376 PyObject
*resultobj
= 0;
33377 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33378 wxTreeItemId
*arg2
= 0 ;
33383 PyObject
* obj0
= 0 ;
33384 PyObject
* obj1
= 0 ;
33385 char * kwnames
[] = {
33386 (char *) "self",(char *) "item", NULL
33389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33391 if (!SWIG_IsOK(res1
)) {
33392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33394 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33395 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33396 if (!SWIG_IsOK(res2
)) {
33397 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33400 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33402 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33405 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33406 wxPyEndAllowThreads(__tstate
);
33407 if (PyErr_Occurred()) SWIG_fail
;
33409 resultobj
= SWIG_Py_Void();
33416 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33417 PyObject
*resultobj
= 0;
33418 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33422 PyObject
*swig_obj
[1] ;
33424 if (!args
) SWIG_fail
;
33425 swig_obj
[0] = args
;
33426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33427 if (!SWIG_IsOK(res1
)) {
33428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33430 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33433 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33434 wxPyEndAllowThreads(__tstate
);
33435 if (PyErr_Occurred()) SWIG_fail
;
33437 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33444 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33445 PyObject
*resultobj
= 0;
33446 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33447 wxPoint
*arg2
= 0 ;
33451 PyObject
* obj0
= 0 ;
33452 PyObject
* obj1
= 0 ;
33453 char * kwnames
[] = {
33454 (char *) "self",(char *) "pt", NULL
33457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33459 if (!SWIG_IsOK(res1
)) {
33460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33462 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33465 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33469 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33470 wxPyEndAllowThreads(__tstate
);
33471 if (PyErr_Occurred()) SWIG_fail
;
33473 resultobj
= SWIG_Py_Void();
33480 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33481 PyObject
*resultobj
= 0;
33482 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33483 wxKeyEvent
*result
= 0 ;
33486 PyObject
*swig_obj
[1] ;
33488 if (!args
) SWIG_fail
;
33489 swig_obj
[0] = args
;
33490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33491 if (!SWIG_IsOK(res1
)) {
33492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33494 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33498 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33499 result
= (wxKeyEvent
*) &_result_ref
;
33501 wxPyEndAllowThreads(__tstate
);
33502 if (PyErr_Occurred()) SWIG_fail
;
33504 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33511 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33512 PyObject
*resultobj
= 0;
33513 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33517 PyObject
*swig_obj
[1] ;
33519 if (!args
) SWIG_fail
;
33520 swig_obj
[0] = args
;
33521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33522 if (!SWIG_IsOK(res1
)) {
33523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33525 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33528 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33529 wxPyEndAllowThreads(__tstate
);
33530 if (PyErr_Occurred()) SWIG_fail
;
33532 resultobj
= SWIG_From_int(static_cast< int >(result
));
33539 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33540 PyObject
*resultobj
= 0;
33541 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33542 wxKeyEvent
*arg2
= 0 ;
33547 PyObject
* obj0
= 0 ;
33548 PyObject
* obj1
= 0 ;
33549 char * kwnames
[] = {
33550 (char *) "self",(char *) "evt", NULL
33553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33555 if (!SWIG_IsOK(res1
)) {
33556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33558 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33559 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33560 if (!SWIG_IsOK(res2
)) {
33561 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33564 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33566 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33569 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33570 wxPyEndAllowThreads(__tstate
);
33571 if (PyErr_Occurred()) SWIG_fail
;
33573 resultobj
= SWIG_Py_Void();
33580 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33581 PyObject
*resultobj
= 0;
33582 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33583 wxString
*result
= 0 ;
33586 PyObject
*swig_obj
[1] ;
33588 if (!args
) SWIG_fail
;
33589 swig_obj
[0] = args
;
33590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33591 if (!SWIG_IsOK(res1
)) {
33592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33594 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33598 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33599 result
= (wxString
*) &_result_ref
;
33601 wxPyEndAllowThreads(__tstate
);
33602 if (PyErr_Occurred()) SWIG_fail
;
33606 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33608 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33617 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33618 PyObject
*resultobj
= 0;
33619 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33620 wxString
*arg2
= 0 ;
33623 bool temp2
= false ;
33624 PyObject
* obj0
= 0 ;
33625 PyObject
* obj1
= 0 ;
33626 char * kwnames
[] = {
33627 (char *) "self",(char *) "label", NULL
33630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33632 if (!SWIG_IsOK(res1
)) {
33633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33635 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33637 arg2
= wxString_in_helper(obj1
);
33638 if (arg2
== NULL
) SWIG_fail
;
33642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33643 (arg1
)->SetLabel((wxString
const &)*arg2
);
33644 wxPyEndAllowThreads(__tstate
);
33645 if (PyErr_Occurred()) SWIG_fail
;
33647 resultobj
= SWIG_Py_Void();
33662 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33663 PyObject
*resultobj
= 0;
33664 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33668 PyObject
*swig_obj
[1] ;
33670 if (!args
) SWIG_fail
;
33671 swig_obj
[0] = args
;
33672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33673 if (!SWIG_IsOK(res1
)) {
33674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33676 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33679 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33680 wxPyEndAllowThreads(__tstate
);
33681 if (PyErr_Occurred()) SWIG_fail
;
33684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33692 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33693 PyObject
*resultobj
= 0;
33694 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33700 PyObject
* obj0
= 0 ;
33701 PyObject
* obj1
= 0 ;
33702 char * kwnames
[] = {
33703 (char *) "self",(char *) "editCancelled", NULL
33706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33708 if (!SWIG_IsOK(res1
)) {
33709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33711 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33712 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33713 if (!SWIG_IsOK(ecode2
)) {
33714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33716 arg2
= static_cast< bool >(val2
);
33718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33719 (arg1
)->SetEditCanceled(arg2
);
33720 wxPyEndAllowThreads(__tstate
);
33721 if (PyErr_Occurred()) SWIG_fail
;
33723 resultobj
= SWIG_Py_Void();
33730 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33731 PyObject
*resultobj
= 0;
33732 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33733 wxString
*arg2
= 0 ;
33736 bool temp2
= false ;
33737 PyObject
* obj0
= 0 ;
33738 PyObject
* obj1
= 0 ;
33739 char * kwnames
[] = {
33740 (char *) "self",(char *) "toolTip", NULL
33743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33745 if (!SWIG_IsOK(res1
)) {
33746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33748 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33750 arg2
= wxString_in_helper(obj1
);
33751 if (arg2
== NULL
) SWIG_fail
;
33755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33756 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33757 wxPyEndAllowThreads(__tstate
);
33758 if (PyErr_Occurred()) SWIG_fail
;
33760 resultobj
= SWIG_Py_Void();
33775 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33776 PyObject
*resultobj
= 0;
33777 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33781 PyObject
*swig_obj
[1] ;
33783 if (!args
) SWIG_fail
;
33784 swig_obj
[0] = args
;
33785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33786 if (!SWIG_IsOK(res1
)) {
33787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33789 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33792 result
= (arg1
)->GetToolTip();
33793 wxPyEndAllowThreads(__tstate
);
33794 if (PyErr_Occurred()) SWIG_fail
;
33798 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33800 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33809 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33811 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33812 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33813 return SWIG_Py_Void();
33816 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33817 return SWIG_Python_InitShadowInstance(args
);
33820 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33821 PyObject
*resultobj
= 0;
33822 wxWindow
*arg1
= (wxWindow
*) 0 ;
33823 int arg2
= (int) -1 ;
33824 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33825 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33826 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33827 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33828 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33829 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33830 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33831 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33832 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33833 wxPyTreeCtrl
*result
= 0 ;
33844 bool temp7
= false ;
33845 PyObject
* obj0
= 0 ;
33846 PyObject
* obj1
= 0 ;
33847 PyObject
* obj2
= 0 ;
33848 PyObject
* obj3
= 0 ;
33849 PyObject
* obj4
= 0 ;
33850 PyObject
* obj5
= 0 ;
33851 PyObject
* obj6
= 0 ;
33852 char * kwnames
[] = {
33853 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33858 if (!SWIG_IsOK(res1
)) {
33859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33861 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33864 if (!SWIG_IsOK(ecode2
)) {
33865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33867 arg2
= static_cast< int >(val2
);
33872 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33878 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33882 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33883 if (!SWIG_IsOK(ecode5
)) {
33884 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33886 arg5
= static_cast< long >(val5
);
33889 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33890 if (!SWIG_IsOK(res6
)) {
33891 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33894 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33896 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33900 arg7
= wxString_in_helper(obj6
);
33901 if (arg7
== NULL
) SWIG_fail
;
33906 if (!wxPyCheckForApp()) SWIG_fail
;
33907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33908 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33909 wxPyEndAllowThreads(__tstate
);
33910 if (PyErr_Occurred()) SWIG_fail
;
33912 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33927 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33928 PyObject
*resultobj
= 0;
33929 wxPyTreeCtrl
*result
= 0 ;
33931 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33933 if (!wxPyCheckForApp()) SWIG_fail
;
33934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33935 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33936 wxPyEndAllowThreads(__tstate
);
33937 if (PyErr_Occurred()) SWIG_fail
;
33939 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33946 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33947 PyObject
*resultobj
= 0;
33948 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33949 wxWindow
*arg2
= (wxWindow
*) 0 ;
33950 int arg3
= (int) -1 ;
33951 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33952 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33953 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33954 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33955 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33956 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33957 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33958 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33959 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33973 bool temp8
= false ;
33974 PyObject
* obj0
= 0 ;
33975 PyObject
* obj1
= 0 ;
33976 PyObject
* obj2
= 0 ;
33977 PyObject
* obj3
= 0 ;
33978 PyObject
* obj4
= 0 ;
33979 PyObject
* obj5
= 0 ;
33980 PyObject
* obj6
= 0 ;
33981 PyObject
* obj7
= 0 ;
33982 char * kwnames
[] = {
33983 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33988 if (!SWIG_IsOK(res1
)) {
33989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33991 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33992 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33993 if (!SWIG_IsOK(res2
)) {
33994 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33996 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33998 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33999 if (!SWIG_IsOK(ecode3
)) {
34000 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
34002 arg3
= static_cast< int >(val3
);
34007 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34013 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34017 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
34018 if (!SWIG_IsOK(ecode6
)) {
34019 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
34021 arg6
= static_cast< long >(val6
);
34024 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
34025 if (!SWIG_IsOK(res7
)) {
34026 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34029 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34031 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
34035 arg8
= wxString_in_helper(obj7
);
34036 if (arg8
== NULL
) SWIG_fail
;
34041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34042 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34043 wxPyEndAllowThreads(__tstate
);
34044 if (PyErr_Occurred()) SWIG_fail
;
34047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34063 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34064 PyObject
*resultobj
= 0;
34065 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34066 PyObject
*arg2
= (PyObject
*) 0 ;
34067 PyObject
*arg3
= (PyObject
*) 0 ;
34070 PyObject
* obj0
= 0 ;
34071 PyObject
* obj1
= 0 ;
34072 PyObject
* obj2
= 0 ;
34073 char * kwnames
[] = {
34074 (char *) "self",(char *) "self",(char *) "_class", NULL
34077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34079 if (!SWIG_IsOK(res1
)) {
34080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34082 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34087 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34088 wxPyEndAllowThreads(__tstate
);
34089 if (PyErr_Occurred()) SWIG_fail
;
34091 resultobj
= SWIG_Py_Void();
34098 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34099 PyObject
*resultobj
= 0;
34100 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34101 unsigned int result
;
34104 PyObject
*swig_obj
[1] ;
34106 if (!args
) SWIG_fail
;
34107 swig_obj
[0] = args
;
34108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34109 if (!SWIG_IsOK(res1
)) {
34110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34112 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34115 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
34116 wxPyEndAllowThreads(__tstate
);
34117 if (PyErr_Occurred()) SWIG_fail
;
34119 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34126 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34127 PyObject
*resultobj
= 0;
34128 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34129 unsigned int result
;
34132 PyObject
*swig_obj
[1] ;
34134 if (!args
) SWIG_fail
;
34135 swig_obj
[0] = args
;
34136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34137 if (!SWIG_IsOK(res1
)) {
34138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34140 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34143 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
34144 wxPyEndAllowThreads(__tstate
);
34145 if (PyErr_Occurred()) SWIG_fail
;
34147 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34154 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34155 PyObject
*resultobj
= 0;
34156 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34157 unsigned int arg2
;
34160 unsigned int val2
;
34162 PyObject
* obj0
= 0 ;
34163 PyObject
* obj1
= 0 ;
34164 char * kwnames
[] = {
34165 (char *) "self",(char *) "indent", NULL
34168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34170 if (!SWIG_IsOK(res1
)) {
34171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34173 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34174 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34175 if (!SWIG_IsOK(ecode2
)) {
34176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34178 arg2
= static_cast< unsigned int >(val2
);
34180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34181 (arg1
)->SetIndent(arg2
);
34182 wxPyEndAllowThreads(__tstate
);
34183 if (PyErr_Occurred()) SWIG_fail
;
34185 resultobj
= SWIG_Py_Void();
34192 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34193 PyObject
*resultobj
= 0;
34194 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34195 unsigned int result
;
34198 PyObject
*swig_obj
[1] ;
34200 if (!args
) SWIG_fail
;
34201 swig_obj
[0] = args
;
34202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34203 if (!SWIG_IsOK(res1
)) {
34204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34206 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34209 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
34210 wxPyEndAllowThreads(__tstate
);
34211 if (PyErr_Occurred()) SWIG_fail
;
34213 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34220 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34221 PyObject
*resultobj
= 0;
34222 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34223 unsigned int arg2
;
34226 unsigned int val2
;
34228 PyObject
* obj0
= 0 ;
34229 PyObject
* obj1
= 0 ;
34230 char * kwnames
[] = {
34231 (char *) "self",(char *) "spacing", NULL
34234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34236 if (!SWIG_IsOK(res1
)) {
34237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34239 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34240 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34241 if (!SWIG_IsOK(ecode2
)) {
34242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34244 arg2
= static_cast< unsigned int >(val2
);
34246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34247 (arg1
)->SetSpacing(arg2
);
34248 wxPyEndAllowThreads(__tstate
);
34249 if (PyErr_Occurred()) SWIG_fail
;
34251 resultobj
= SWIG_Py_Void();
34258 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34259 PyObject
*resultobj
= 0;
34260 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34261 wxImageList
*result
= 0 ;
34264 PyObject
*swig_obj
[1] ;
34266 if (!args
) SWIG_fail
;
34267 swig_obj
[0] = args
;
34268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34269 if (!SWIG_IsOK(res1
)) {
34270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34272 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34275 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34276 wxPyEndAllowThreads(__tstate
);
34277 if (PyErr_Occurred()) SWIG_fail
;
34280 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34288 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34289 PyObject
*resultobj
= 0;
34290 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34291 wxImageList
*result
= 0 ;
34294 PyObject
*swig_obj
[1] ;
34296 if (!args
) SWIG_fail
;
34297 swig_obj
[0] = args
;
34298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34299 if (!SWIG_IsOK(res1
)) {
34300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34302 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34305 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34306 wxPyEndAllowThreads(__tstate
);
34307 if (PyErr_Occurred()) SWIG_fail
;
34310 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34318 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34319 PyObject
*resultobj
= 0;
34320 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34321 wxImageList
*arg2
= (wxImageList
*) 0 ;
34326 PyObject
* obj0
= 0 ;
34327 PyObject
* obj1
= 0 ;
34328 char * kwnames
[] = {
34329 (char *) "self",(char *) "imageList", NULL
34332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34334 if (!SWIG_IsOK(res1
)) {
34335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34337 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34338 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34339 if (!SWIG_IsOK(res2
)) {
34340 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34342 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34345 (arg1
)->SetImageList(arg2
);
34346 wxPyEndAllowThreads(__tstate
);
34347 if (PyErr_Occurred()) SWIG_fail
;
34349 resultobj
= SWIG_Py_Void();
34356 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34357 PyObject
*resultobj
= 0;
34358 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34359 wxImageList
*arg2
= (wxImageList
*) 0 ;
34364 PyObject
* obj0
= 0 ;
34365 PyObject
* obj1
= 0 ;
34366 char * kwnames
[] = {
34367 (char *) "self",(char *) "imageList", NULL
34370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34372 if (!SWIG_IsOK(res1
)) {
34373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34375 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34376 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34377 if (!SWIG_IsOK(res2
)) {
34378 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34380 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34383 (arg1
)->SetStateImageList(arg2
);
34384 wxPyEndAllowThreads(__tstate
);
34385 if (PyErr_Occurred()) SWIG_fail
;
34387 resultobj
= SWIG_Py_Void();
34394 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34395 PyObject
*resultobj
= 0;
34396 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34397 wxImageList
*arg2
= (wxImageList
*) 0 ;
34401 PyObject
* obj0
= 0 ;
34402 PyObject
* obj1
= 0 ;
34403 char * kwnames
[] = {
34404 (char *) "self",(char *) "imageList", NULL
34407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34409 if (!SWIG_IsOK(res1
)) {
34410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34412 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34413 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34414 if (!SWIG_IsOK(res2
)) {
34415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34419 (arg1
)->AssignImageList(arg2
);
34420 wxPyEndAllowThreads(__tstate
);
34421 if (PyErr_Occurred()) SWIG_fail
;
34423 resultobj
= SWIG_Py_Void();
34430 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34431 PyObject
*resultobj
= 0;
34432 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34433 wxImageList
*arg2
= (wxImageList
*) 0 ;
34437 PyObject
* obj0
= 0 ;
34438 PyObject
* obj1
= 0 ;
34439 char * kwnames
[] = {
34440 (char *) "self",(char *) "imageList", NULL
34443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34445 if (!SWIG_IsOK(res1
)) {
34446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34448 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34449 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34450 if (!SWIG_IsOK(res2
)) {
34451 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34455 (arg1
)->AssignStateImageList(arg2
);
34456 wxPyEndAllowThreads(__tstate
);
34457 if (PyErr_Occurred()) SWIG_fail
;
34459 resultobj
= SWIG_Py_Void();
34466 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34467 PyObject
*resultobj
= 0;
34468 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34469 wxTreeItemId
*arg2
= 0 ;
34475 PyObject
* obj0
= 0 ;
34476 PyObject
* obj1
= 0 ;
34477 char * kwnames
[] = {
34478 (char *) "self",(char *) "item", NULL
34481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34483 if (!SWIG_IsOK(res1
)) {
34484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34486 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34487 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34488 if (!SWIG_IsOK(res2
)) {
34489 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34492 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34494 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34497 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34498 wxPyEndAllowThreads(__tstate
);
34499 if (PyErr_Occurred()) SWIG_fail
;
34503 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34505 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34514 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34515 PyObject
*resultobj
= 0;
34516 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34517 wxTreeItemId
*arg2
= 0 ;
34518 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34526 PyObject
* obj0
= 0 ;
34527 PyObject
* obj1
= 0 ;
34528 PyObject
* obj2
= 0 ;
34529 char * kwnames
[] = {
34530 (char *) "self",(char *) "item",(char *) "which", NULL
34533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34535 if (!SWIG_IsOK(res1
)) {
34536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34538 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34539 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34540 if (!SWIG_IsOK(res2
)) {
34541 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34544 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34546 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34548 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34549 if (!SWIG_IsOK(ecode3
)) {
34550 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34552 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34556 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34557 wxPyEndAllowThreads(__tstate
);
34558 if (PyErr_Occurred()) SWIG_fail
;
34560 resultobj
= SWIG_From_int(static_cast< int >(result
));
34567 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34568 PyObject
*resultobj
= 0;
34569 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34570 wxTreeItemId
*arg2
= 0 ;
34571 wxPyTreeItemData
*result
= 0 ;
34576 PyObject
* obj0
= 0 ;
34577 PyObject
* obj1
= 0 ;
34578 char * kwnames
[] = {
34579 (char *) "self",(char *) "item", NULL
34582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34584 if (!SWIG_IsOK(res1
)) {
34585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34587 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34588 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34589 if (!SWIG_IsOK(res2
)) {
34590 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34593 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34595 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34598 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34599 wxPyEndAllowThreads(__tstate
);
34600 if (PyErr_Occurred()) SWIG_fail
;
34602 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34609 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34610 PyObject
*resultobj
= 0;
34611 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34612 wxTreeItemId
*arg2
= 0 ;
34613 PyObject
*result
= 0 ;
34618 PyObject
* obj0
= 0 ;
34619 PyObject
* obj1
= 0 ;
34620 char * kwnames
[] = {
34621 (char *) "self",(char *) "item", NULL
34624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34626 if (!SWIG_IsOK(res1
)) {
34627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34629 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34630 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34631 if (!SWIG_IsOK(res2
)) {
34632 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34635 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34637 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34640 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34641 wxPyEndAllowThreads(__tstate
);
34642 if (PyErr_Occurred()) SWIG_fail
;
34644 resultobj
= result
;
34651 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34652 PyObject
*resultobj
= 0;
34653 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34654 wxTreeItemId
*arg2
= 0 ;
34660 PyObject
* obj0
= 0 ;
34661 PyObject
* obj1
= 0 ;
34662 char * kwnames
[] = {
34663 (char *) "self",(char *) "item", NULL
34666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34668 if (!SWIG_IsOK(res1
)) {
34669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34671 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34672 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34673 if (!SWIG_IsOK(res2
)) {
34674 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34677 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34679 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34682 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34683 wxPyEndAllowThreads(__tstate
);
34684 if (PyErr_Occurred()) SWIG_fail
;
34686 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34693 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34694 PyObject
*resultobj
= 0;
34695 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34696 wxTreeItemId
*arg2
= 0 ;
34702 PyObject
* obj0
= 0 ;
34703 PyObject
* obj1
= 0 ;
34704 char * kwnames
[] = {
34705 (char *) "self",(char *) "item", NULL
34708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34710 if (!SWIG_IsOK(res1
)) {
34711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34713 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34714 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34715 if (!SWIG_IsOK(res2
)) {
34716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34719 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34721 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34724 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34725 wxPyEndAllowThreads(__tstate
);
34726 if (PyErr_Occurred()) SWIG_fail
;
34728 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34735 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34736 PyObject
*resultobj
= 0;
34737 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34738 wxTreeItemId
*arg2
= 0 ;
34744 PyObject
* obj0
= 0 ;
34745 PyObject
* obj1
= 0 ;
34746 char * kwnames
[] = {
34747 (char *) "self",(char *) "item", NULL
34750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34752 if (!SWIG_IsOK(res1
)) {
34753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34755 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34756 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34757 if (!SWIG_IsOK(res2
)) {
34758 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34761 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34763 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34766 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34767 wxPyEndAllowThreads(__tstate
);
34768 if (PyErr_Occurred()) SWIG_fail
;
34770 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34777 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34778 PyObject
*resultobj
= 0;
34779 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34780 wxTreeItemId
*arg2
= 0 ;
34781 wxString
*arg3
= 0 ;
34786 bool temp3
= false ;
34787 PyObject
* obj0
= 0 ;
34788 PyObject
* obj1
= 0 ;
34789 PyObject
* obj2
= 0 ;
34790 char * kwnames
[] = {
34791 (char *) "self",(char *) "item",(char *) "text", NULL
34794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34796 if (!SWIG_IsOK(res1
)) {
34797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34799 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34800 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34801 if (!SWIG_IsOK(res2
)) {
34802 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34805 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34807 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34809 arg3
= wxString_in_helper(obj2
);
34810 if (arg3
== NULL
) SWIG_fail
;
34814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34815 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34816 wxPyEndAllowThreads(__tstate
);
34817 if (PyErr_Occurred()) SWIG_fail
;
34819 resultobj
= SWIG_Py_Void();
34834 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34835 PyObject
*resultobj
= 0;
34836 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34837 wxTreeItemId
*arg2
= 0 ;
34839 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34848 PyObject
* obj0
= 0 ;
34849 PyObject
* obj1
= 0 ;
34850 PyObject
* obj2
= 0 ;
34851 PyObject
* obj3
= 0 ;
34852 char * kwnames
[] = {
34853 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34858 if (!SWIG_IsOK(res1
)) {
34859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34861 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34862 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34863 if (!SWIG_IsOK(res2
)) {
34864 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34867 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34869 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34870 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34871 if (!SWIG_IsOK(ecode3
)) {
34872 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34874 arg3
= static_cast< int >(val3
);
34876 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34877 if (!SWIG_IsOK(ecode4
)) {
34878 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34880 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34884 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34885 wxPyEndAllowThreads(__tstate
);
34886 if (PyErr_Occurred()) SWIG_fail
;
34888 resultobj
= SWIG_Py_Void();
34895 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34896 PyObject
*resultobj
= 0;
34897 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34898 wxTreeItemId
*arg2
= 0 ;
34899 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34905 PyObject
* obj0
= 0 ;
34906 PyObject
* obj1
= 0 ;
34907 PyObject
* obj2
= 0 ;
34908 char * kwnames
[] = {
34909 (char *) "self",(char *) "item",(char *) "data", NULL
34912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34914 if (!SWIG_IsOK(res1
)) {
34915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34917 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34918 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34919 if (!SWIG_IsOK(res2
)) {
34920 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34923 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34925 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34926 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34927 if (!SWIG_IsOK(res3
)) {
34928 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34932 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34933 wxPyEndAllowThreads(__tstate
);
34934 if (PyErr_Occurred()) SWIG_fail
;
34936 resultobj
= SWIG_Py_Void();
34943 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34944 PyObject
*resultobj
= 0;
34945 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34946 wxTreeItemId
*arg2
= 0 ;
34947 PyObject
*arg3
= (PyObject
*) 0 ;
34952 PyObject
* obj0
= 0 ;
34953 PyObject
* obj1
= 0 ;
34954 PyObject
* obj2
= 0 ;
34955 char * kwnames
[] = {
34956 (char *) "self",(char *) "item",(char *) "obj", NULL
34959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34961 if (!SWIG_IsOK(res1
)) {
34962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34964 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34965 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34966 if (!SWIG_IsOK(res2
)) {
34967 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34970 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34972 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34976 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34977 wxPyEndAllowThreads(__tstate
);
34978 if (PyErr_Occurred()) SWIG_fail
;
34980 resultobj
= SWIG_Py_Void();
34987 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34988 PyObject
*resultobj
= 0;
34989 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34990 wxTreeItemId
*arg2
= 0 ;
34991 bool arg3
= (bool) true ;
34998 PyObject
* obj0
= 0 ;
34999 PyObject
* obj1
= 0 ;
35000 PyObject
* obj2
= 0 ;
35001 char * kwnames
[] = {
35002 (char *) "self",(char *) "item",(char *) "has", NULL
35005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35007 if (!SWIG_IsOK(res1
)) {
35008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35010 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35011 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35012 if (!SWIG_IsOK(res2
)) {
35013 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35016 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35018 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35020 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35021 if (!SWIG_IsOK(ecode3
)) {
35022 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
35024 arg3
= static_cast< bool >(val3
);
35027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35028 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
35029 wxPyEndAllowThreads(__tstate
);
35030 if (PyErr_Occurred()) SWIG_fail
;
35032 resultobj
= SWIG_Py_Void();
35039 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35040 PyObject
*resultobj
= 0;
35041 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35042 wxTreeItemId
*arg2
= 0 ;
35043 bool arg3
= (bool) true ;
35050 PyObject
* obj0
= 0 ;
35051 PyObject
* obj1
= 0 ;
35052 PyObject
* obj2
= 0 ;
35053 char * kwnames
[] = {
35054 (char *) "self",(char *) "item",(char *) "bold", NULL
35057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35059 if (!SWIG_IsOK(res1
)) {
35060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35062 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35063 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35064 if (!SWIG_IsOK(res2
)) {
35065 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35068 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35070 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35072 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35073 if (!SWIG_IsOK(ecode3
)) {
35074 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35076 arg3
= static_cast< bool >(val3
);
35079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35080 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
35081 wxPyEndAllowThreads(__tstate
);
35082 if (PyErr_Occurred()) SWIG_fail
;
35084 resultobj
= SWIG_Py_Void();
35091 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35092 PyObject
*resultobj
= 0;
35093 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35094 wxTreeItemId
*arg2
= 0 ;
35095 bool arg3
= (bool) true ;
35102 PyObject
* obj0
= 0 ;
35103 PyObject
* obj1
= 0 ;
35104 PyObject
* obj2
= 0 ;
35105 char * kwnames
[] = {
35106 (char *) "self",(char *) "item",(char *) "highlight", NULL
35109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35111 if (!SWIG_IsOK(res1
)) {
35112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35114 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35115 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35116 if (!SWIG_IsOK(res2
)) {
35117 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35120 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35122 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35124 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35125 if (!SWIG_IsOK(ecode3
)) {
35126 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35128 arg3
= static_cast< bool >(val3
);
35131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35132 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
35133 wxPyEndAllowThreads(__tstate
);
35134 if (PyErr_Occurred()) SWIG_fail
;
35136 resultobj
= SWIG_Py_Void();
35143 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35144 PyObject
*resultobj
= 0;
35145 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35146 wxTreeItemId
*arg2
= 0 ;
35147 wxColour
*arg3
= 0 ;
35153 PyObject
* obj0
= 0 ;
35154 PyObject
* obj1
= 0 ;
35155 PyObject
* obj2
= 0 ;
35156 char * kwnames
[] = {
35157 (char *) "self",(char *) "item",(char *) "col", NULL
35160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35162 if (!SWIG_IsOK(res1
)) {
35163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35165 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35166 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35167 if (!SWIG_IsOK(res2
)) {
35168 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35171 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35173 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35176 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35180 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35181 wxPyEndAllowThreads(__tstate
);
35182 if (PyErr_Occurred()) SWIG_fail
;
35184 resultobj
= SWIG_Py_Void();
35191 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35192 PyObject
*resultobj
= 0;
35193 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35194 wxTreeItemId
*arg2
= 0 ;
35195 wxColour
*arg3
= 0 ;
35201 PyObject
* obj0
= 0 ;
35202 PyObject
* obj1
= 0 ;
35203 PyObject
* obj2
= 0 ;
35204 char * kwnames
[] = {
35205 (char *) "self",(char *) "item",(char *) "col", NULL
35208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35210 if (!SWIG_IsOK(res1
)) {
35211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35213 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35214 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35215 if (!SWIG_IsOK(res2
)) {
35216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35221 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35224 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35228 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35229 wxPyEndAllowThreads(__tstate
);
35230 if (PyErr_Occurred()) SWIG_fail
;
35232 resultobj
= SWIG_Py_Void();
35239 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35240 PyObject
*resultobj
= 0;
35241 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35242 wxTreeItemId
*arg2
= 0 ;
35250 PyObject
* obj0
= 0 ;
35251 PyObject
* obj1
= 0 ;
35252 PyObject
* obj2
= 0 ;
35253 char * kwnames
[] = {
35254 (char *) "self",(char *) "item",(char *) "font", NULL
35257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35259 if (!SWIG_IsOK(res1
)) {
35260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35262 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35263 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35264 if (!SWIG_IsOK(res2
)) {
35265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35268 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35270 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35271 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35272 if (!SWIG_IsOK(res3
)) {
35273 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35276 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35278 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35281 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35282 wxPyEndAllowThreads(__tstate
);
35283 if (PyErr_Occurred()) SWIG_fail
;
35285 resultobj
= SWIG_Py_Void();
35292 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35293 PyObject
*resultobj
= 0;
35294 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35295 wxTreeItemId
*arg2
= 0 ;
35301 PyObject
* obj0
= 0 ;
35302 PyObject
* obj1
= 0 ;
35303 char * kwnames
[] = {
35304 (char *) "self",(char *) "item", NULL
35307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35309 if (!SWIG_IsOK(res1
)) {
35310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35312 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35313 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35314 if (!SWIG_IsOK(res2
)) {
35315 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35318 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35320 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35323 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35324 wxPyEndAllowThreads(__tstate
);
35325 if (PyErr_Occurred()) SWIG_fail
;
35328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35336 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35337 PyObject
*resultobj
= 0;
35338 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35339 wxTreeItemId
*arg2
= 0 ;
35345 PyObject
* obj0
= 0 ;
35346 PyObject
* obj1
= 0 ;
35347 char * kwnames
[] = {
35348 (char *) "self",(char *) "item", NULL
35351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35353 if (!SWIG_IsOK(res1
)) {
35354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35356 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35357 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35358 if (!SWIG_IsOK(res2
)) {
35359 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35362 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35364 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35367 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35368 wxPyEndAllowThreads(__tstate
);
35369 if (PyErr_Occurred()) SWIG_fail
;
35372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35380 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35381 PyObject
*resultobj
= 0;
35382 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35383 wxTreeItemId
*arg2
= 0 ;
35389 PyObject
* obj0
= 0 ;
35390 PyObject
* obj1
= 0 ;
35391 char * kwnames
[] = {
35392 (char *) "self",(char *) "item", NULL
35395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35397 if (!SWIG_IsOK(res1
)) {
35398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35400 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35401 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35402 if (!SWIG_IsOK(res2
)) {
35403 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35406 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35408 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35411 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35412 wxPyEndAllowThreads(__tstate
);
35413 if (PyErr_Occurred()) SWIG_fail
;
35416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35424 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35425 PyObject
*resultobj
= 0;
35426 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35427 wxTreeItemId
*arg2
= 0 ;
35433 PyObject
* obj0
= 0 ;
35434 PyObject
* obj1
= 0 ;
35435 char * kwnames
[] = {
35436 (char *) "self",(char *) "item", NULL
35439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35441 if (!SWIG_IsOK(res1
)) {
35442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35444 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35445 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35446 if (!SWIG_IsOK(res2
)) {
35447 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35450 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35452 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35455 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35456 wxPyEndAllowThreads(__tstate
);
35457 if (PyErr_Occurred()) SWIG_fail
;
35460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35468 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35469 PyObject
*resultobj
= 0;
35470 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35471 wxTreeItemId
*arg2
= 0 ;
35477 PyObject
* obj0
= 0 ;
35478 PyObject
* obj1
= 0 ;
35479 char * kwnames
[] = {
35480 (char *) "self",(char *) "item", NULL
35483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35485 if (!SWIG_IsOK(res1
)) {
35486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35488 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35489 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35490 if (!SWIG_IsOK(res2
)) {
35491 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35494 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35496 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35499 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35500 wxPyEndAllowThreads(__tstate
);
35501 if (PyErr_Occurred()) SWIG_fail
;
35504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35512 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35513 PyObject
*resultobj
= 0;
35514 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35515 wxTreeItemId
*arg2
= 0 ;
35516 bool arg3
= (bool) true ;
35524 PyObject
* obj0
= 0 ;
35525 PyObject
* obj1
= 0 ;
35526 PyObject
* obj2
= 0 ;
35527 char * kwnames
[] = {
35528 (char *) "self",(char *) "item",(char *) "recursively", NULL
35531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35533 if (!SWIG_IsOK(res1
)) {
35534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35536 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35537 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35538 if (!SWIG_IsOK(res2
)) {
35539 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35542 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35544 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35546 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35547 if (!SWIG_IsOK(ecode3
)) {
35548 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35550 arg3
= static_cast< bool >(val3
);
35553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35554 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35555 wxPyEndAllowThreads(__tstate
);
35556 if (PyErr_Occurred()) SWIG_fail
;
35558 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35565 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35566 PyObject
*resultobj
= 0;
35567 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35568 wxTreeItemId result
;
35571 PyObject
*swig_obj
[1] ;
35573 if (!args
) SWIG_fail
;
35574 swig_obj
[0] = args
;
35575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35576 if (!SWIG_IsOK(res1
)) {
35577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35579 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35582 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35583 wxPyEndAllowThreads(__tstate
);
35584 if (PyErr_Occurred()) SWIG_fail
;
35586 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35593 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35594 PyObject
*resultobj
= 0;
35595 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35596 wxTreeItemId result
;
35599 PyObject
*swig_obj
[1] ;
35601 if (!args
) SWIG_fail
;
35602 swig_obj
[0] = args
;
35603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35604 if (!SWIG_IsOK(res1
)) {
35605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35607 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35610 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35611 wxPyEndAllowThreads(__tstate
);
35612 if (PyErr_Occurred()) SWIG_fail
;
35614 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35621 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35622 PyObject
*resultobj
= 0;
35623 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35624 PyObject
*result
= 0 ;
35627 PyObject
*swig_obj
[1] ;
35629 if (!args
) SWIG_fail
;
35630 swig_obj
[0] = args
;
35631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35632 if (!SWIG_IsOK(res1
)) {
35633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35635 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35638 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35639 wxPyEndAllowThreads(__tstate
);
35640 if (PyErr_Occurred()) SWIG_fail
;
35642 resultobj
= result
;
35649 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35650 PyObject
*resultobj
= 0;
35651 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35652 wxTreeItemId
*arg2
= 0 ;
35653 wxTreeItemId result
;
35658 PyObject
* obj0
= 0 ;
35659 PyObject
* obj1
= 0 ;
35660 char * kwnames
[] = {
35661 (char *) "self",(char *) "item", NULL
35664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35666 if (!SWIG_IsOK(res1
)) {
35667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35669 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35670 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35671 if (!SWIG_IsOK(res2
)) {
35672 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35675 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35677 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35680 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35681 wxPyEndAllowThreads(__tstate
);
35682 if (PyErr_Occurred()) SWIG_fail
;
35684 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35691 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35692 PyObject
*resultobj
= 0;
35693 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35694 wxTreeItemId
*arg2
= 0 ;
35695 PyObject
*result
= 0 ;
35700 PyObject
* obj0
= 0 ;
35701 PyObject
* obj1
= 0 ;
35702 char * kwnames
[] = {
35703 (char *) "self",(char *) "item", NULL
35706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35708 if (!SWIG_IsOK(res1
)) {
35709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35711 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35712 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35713 if (!SWIG_IsOK(res2
)) {
35714 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35717 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35719 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35722 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35723 wxPyEndAllowThreads(__tstate
);
35724 if (PyErr_Occurred()) SWIG_fail
;
35726 resultobj
= result
;
35733 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35734 PyObject
*resultobj
= 0;
35735 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35736 wxTreeItemId
*arg2
= 0 ;
35737 void *arg3
= (void *) 0 ;
35738 PyObject
*result
= 0 ;
35744 PyObject
* obj0
= 0 ;
35745 PyObject
* obj1
= 0 ;
35746 PyObject
* obj2
= 0 ;
35747 char * kwnames
[] = {
35748 (char *) "self",(char *) "item",(char *) "cookie", NULL
35751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35753 if (!SWIG_IsOK(res1
)) {
35754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35756 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35757 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35758 if (!SWIG_IsOK(res2
)) {
35759 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35762 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35764 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35765 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35766 if (!SWIG_IsOK(res3
)) {
35767 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35771 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35772 wxPyEndAllowThreads(__tstate
);
35773 if (PyErr_Occurred()) SWIG_fail
;
35775 resultobj
= result
;
35782 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35783 PyObject
*resultobj
= 0;
35784 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35785 wxTreeItemId
*arg2
= 0 ;
35786 wxTreeItemId result
;
35791 PyObject
* obj0
= 0 ;
35792 PyObject
* obj1
= 0 ;
35793 char * kwnames
[] = {
35794 (char *) "self",(char *) "item", NULL
35797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35799 if (!SWIG_IsOK(res1
)) {
35800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35802 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35803 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35804 if (!SWIG_IsOK(res2
)) {
35805 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35808 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35810 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35813 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35814 wxPyEndAllowThreads(__tstate
);
35815 if (PyErr_Occurred()) SWIG_fail
;
35817 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35824 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35825 PyObject
*resultobj
= 0;
35826 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35827 wxTreeItemId
*arg2
= 0 ;
35828 wxTreeItemId result
;
35833 PyObject
* obj0
= 0 ;
35834 PyObject
* obj1
= 0 ;
35835 char * kwnames
[] = {
35836 (char *) "self",(char *) "item", NULL
35839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35841 if (!SWIG_IsOK(res1
)) {
35842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35844 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35845 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35846 if (!SWIG_IsOK(res2
)) {
35847 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35850 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35852 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35855 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35856 wxPyEndAllowThreads(__tstate
);
35857 if (PyErr_Occurred()) SWIG_fail
;
35859 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35866 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35867 PyObject
*resultobj
= 0;
35868 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35869 wxTreeItemId
*arg2
= 0 ;
35870 wxTreeItemId result
;
35875 PyObject
* obj0
= 0 ;
35876 PyObject
* obj1
= 0 ;
35877 char * kwnames
[] = {
35878 (char *) "self",(char *) "item", NULL
35881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35883 if (!SWIG_IsOK(res1
)) {
35884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35886 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35887 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35888 if (!SWIG_IsOK(res2
)) {
35889 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35892 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35894 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35897 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35898 wxPyEndAllowThreads(__tstate
);
35899 if (PyErr_Occurred()) SWIG_fail
;
35901 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35908 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35909 PyObject
*resultobj
= 0;
35910 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35911 wxTreeItemId result
;
35914 PyObject
*swig_obj
[1] ;
35916 if (!args
) SWIG_fail
;
35917 swig_obj
[0] = args
;
35918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35919 if (!SWIG_IsOK(res1
)) {
35920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35922 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35925 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35926 wxPyEndAllowThreads(__tstate
);
35927 if (PyErr_Occurred()) SWIG_fail
;
35929 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35936 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35937 PyObject
*resultobj
= 0;
35938 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35939 wxTreeItemId
*arg2
= 0 ;
35940 wxTreeItemId result
;
35945 PyObject
* obj0
= 0 ;
35946 PyObject
* obj1
= 0 ;
35947 char * kwnames
[] = {
35948 (char *) "self",(char *) "item", NULL
35951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35953 if (!SWIG_IsOK(res1
)) {
35954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35956 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35957 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35958 if (!SWIG_IsOK(res2
)) {
35959 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35962 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35964 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35967 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35968 wxPyEndAllowThreads(__tstate
);
35969 if (PyErr_Occurred()) SWIG_fail
;
35971 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35978 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35979 PyObject
*resultobj
= 0;
35980 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35981 wxTreeItemId
*arg2
= 0 ;
35982 wxTreeItemId result
;
35987 PyObject
* obj0
= 0 ;
35988 PyObject
* obj1
= 0 ;
35989 char * kwnames
[] = {
35990 (char *) "self",(char *) "item", NULL
35993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35995 if (!SWIG_IsOK(res1
)) {
35996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35998 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35999 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36000 if (!SWIG_IsOK(res2
)) {
36001 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36004 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36006 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36009 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
36010 wxPyEndAllowThreads(__tstate
);
36011 if (PyErr_Occurred()) SWIG_fail
;
36013 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36020 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36021 PyObject
*resultobj
= 0;
36022 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36023 wxString
*arg2
= 0 ;
36024 int arg3
= (int) -1 ;
36025 int arg4
= (int) -1 ;
36026 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
36027 wxTreeItemId result
;
36030 bool temp2
= false ;
36036 PyObject
* obj0
= 0 ;
36037 PyObject
* obj1
= 0 ;
36038 PyObject
* obj2
= 0 ;
36039 PyObject
* obj3
= 0 ;
36040 PyObject
* obj4
= 0 ;
36041 char * kwnames
[] = {
36042 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36047 if (!SWIG_IsOK(res1
)) {
36048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36050 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36052 arg2
= wxString_in_helper(obj1
);
36053 if (arg2
== NULL
) SWIG_fail
;
36057 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36058 if (!SWIG_IsOK(ecode3
)) {
36059 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36061 arg3
= static_cast< int >(val3
);
36064 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36065 if (!SWIG_IsOK(ecode4
)) {
36066 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36068 arg4
= static_cast< int >(val4
);
36071 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36072 if (!SWIG_IsOK(res5
)) {
36073 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36078 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
36079 wxPyEndAllowThreads(__tstate
);
36080 if (PyErr_Occurred()) SWIG_fail
;
36082 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36097 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36098 PyObject
*resultobj
= 0;
36099 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36100 wxTreeItemId
*arg2
= 0 ;
36101 wxString
*arg3
= 0 ;
36102 int arg4
= (int) -1 ;
36103 int arg5
= (int) -1 ;
36104 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36105 wxTreeItemId result
;
36110 bool temp3
= false ;
36116 PyObject
* obj0
= 0 ;
36117 PyObject
* obj1
= 0 ;
36118 PyObject
* obj2
= 0 ;
36119 PyObject
* obj3
= 0 ;
36120 PyObject
* obj4
= 0 ;
36121 PyObject
* obj5
= 0 ;
36122 char * kwnames
[] = {
36123 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36128 if (!SWIG_IsOK(res1
)) {
36129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36131 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36132 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36133 if (!SWIG_IsOK(res2
)) {
36134 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36137 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36139 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36141 arg3
= wxString_in_helper(obj2
);
36142 if (arg3
== NULL
) SWIG_fail
;
36146 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36147 if (!SWIG_IsOK(ecode4
)) {
36148 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36150 arg4
= static_cast< int >(val4
);
36153 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36154 if (!SWIG_IsOK(ecode5
)) {
36155 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36157 arg5
= static_cast< int >(val5
);
36160 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36161 if (!SWIG_IsOK(res6
)) {
36162 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36167 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36168 wxPyEndAllowThreads(__tstate
);
36169 if (PyErr_Occurred()) SWIG_fail
;
36171 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36186 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36187 PyObject
*resultobj
= 0;
36188 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36189 wxTreeItemId
*arg2
= 0 ;
36190 wxTreeItemId
*arg3
= 0 ;
36191 wxString
*arg4
= 0 ;
36192 int arg5
= (int) -1 ;
36193 int arg6
= (int) -1 ;
36194 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36195 wxTreeItemId result
;
36202 bool temp4
= false ;
36208 PyObject
* obj0
= 0 ;
36209 PyObject
* obj1
= 0 ;
36210 PyObject
* obj2
= 0 ;
36211 PyObject
* obj3
= 0 ;
36212 PyObject
* obj4
= 0 ;
36213 PyObject
* obj5
= 0 ;
36214 PyObject
* obj6
= 0 ;
36215 char * kwnames
[] = {
36216 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36221 if (!SWIG_IsOK(res1
)) {
36222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36224 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36225 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36226 if (!SWIG_IsOK(res2
)) {
36227 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36230 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36232 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36233 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36234 if (!SWIG_IsOK(res3
)) {
36235 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36238 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36240 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
36242 arg4
= wxString_in_helper(obj3
);
36243 if (arg4
== NULL
) SWIG_fail
;
36247 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36248 if (!SWIG_IsOK(ecode5
)) {
36249 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36251 arg5
= static_cast< int >(val5
);
36254 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36255 if (!SWIG_IsOK(ecode6
)) {
36256 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36258 arg6
= static_cast< int >(val6
);
36261 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36262 if (!SWIG_IsOK(res7
)) {
36263 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36268 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36269 wxPyEndAllowThreads(__tstate
);
36270 if (PyErr_Occurred()) SWIG_fail
;
36272 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36287 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36288 PyObject
*resultobj
= 0;
36289 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36290 wxTreeItemId
*arg2
= 0 ;
36292 wxString
*arg4
= 0 ;
36293 int arg5
= (int) -1 ;
36294 int arg6
= (int) -1 ;
36295 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36296 wxTreeItemId result
;
36303 bool temp4
= false ;
36309 PyObject
* obj0
= 0 ;
36310 PyObject
* obj1
= 0 ;
36311 PyObject
* obj2
= 0 ;
36312 PyObject
* obj3
= 0 ;
36313 PyObject
* obj4
= 0 ;
36314 PyObject
* obj5
= 0 ;
36315 PyObject
* obj6
= 0 ;
36316 char * kwnames
[] = {
36317 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36322 if (!SWIG_IsOK(res1
)) {
36323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36325 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36326 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36327 if (!SWIG_IsOK(res2
)) {
36328 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36331 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36333 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36334 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36335 if (!SWIG_IsOK(ecode3
)) {
36336 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36338 arg3
= static_cast< size_t >(val3
);
36340 arg4
= wxString_in_helper(obj3
);
36341 if (arg4
== NULL
) SWIG_fail
;
36345 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36346 if (!SWIG_IsOK(ecode5
)) {
36347 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36349 arg5
= static_cast< int >(val5
);
36352 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36353 if (!SWIG_IsOK(ecode6
)) {
36354 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36356 arg6
= static_cast< int >(val6
);
36359 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36360 if (!SWIG_IsOK(res7
)) {
36361 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36366 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36367 wxPyEndAllowThreads(__tstate
);
36368 if (PyErr_Occurred()) SWIG_fail
;
36370 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36385 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36386 PyObject
*resultobj
= 0;
36387 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36388 wxTreeItemId
*arg2
= 0 ;
36389 wxString
*arg3
= 0 ;
36390 int arg4
= (int) -1 ;
36391 int arg5
= (int) -1 ;
36392 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36393 wxTreeItemId result
;
36398 bool temp3
= false ;
36404 PyObject
* obj0
= 0 ;
36405 PyObject
* obj1
= 0 ;
36406 PyObject
* obj2
= 0 ;
36407 PyObject
* obj3
= 0 ;
36408 PyObject
* obj4
= 0 ;
36409 PyObject
* obj5
= 0 ;
36410 char * kwnames
[] = {
36411 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36416 if (!SWIG_IsOK(res1
)) {
36417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36419 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36420 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36421 if (!SWIG_IsOK(res2
)) {
36422 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36425 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36427 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36429 arg3
= wxString_in_helper(obj2
);
36430 if (arg3
== NULL
) SWIG_fail
;
36434 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36435 if (!SWIG_IsOK(ecode4
)) {
36436 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36438 arg4
= static_cast< int >(val4
);
36441 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36442 if (!SWIG_IsOK(ecode5
)) {
36443 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36445 arg5
= static_cast< int >(val5
);
36448 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36449 if (!SWIG_IsOK(res6
)) {
36450 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36455 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36456 wxPyEndAllowThreads(__tstate
);
36457 if (PyErr_Occurred()) SWIG_fail
;
36459 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36474 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36475 PyObject
*resultobj
= 0;
36476 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36477 wxTreeItemId
*arg2
= 0 ;
36482 PyObject
* obj0
= 0 ;
36483 PyObject
* obj1
= 0 ;
36484 char * kwnames
[] = {
36485 (char *) "self",(char *) "item", NULL
36488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36490 if (!SWIG_IsOK(res1
)) {
36491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36493 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36494 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36495 if (!SWIG_IsOK(res2
)) {
36496 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36499 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36501 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36504 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36505 wxPyEndAllowThreads(__tstate
);
36506 if (PyErr_Occurred()) SWIG_fail
;
36508 resultobj
= SWIG_Py_Void();
36515 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36516 PyObject
*resultobj
= 0;
36517 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36518 wxTreeItemId
*arg2
= 0 ;
36523 PyObject
* obj0
= 0 ;
36524 PyObject
* obj1
= 0 ;
36525 char * kwnames
[] = {
36526 (char *) "self",(char *) "item", NULL
36529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36531 if (!SWIG_IsOK(res1
)) {
36532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36534 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36535 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36536 if (!SWIG_IsOK(res2
)) {
36537 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36540 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36542 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36545 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36546 wxPyEndAllowThreads(__tstate
);
36547 if (PyErr_Occurred()) SWIG_fail
;
36549 resultobj
= SWIG_Py_Void();
36556 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36557 PyObject
*resultobj
= 0;
36558 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36561 PyObject
*swig_obj
[1] ;
36563 if (!args
) SWIG_fail
;
36564 swig_obj
[0] = args
;
36565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36566 if (!SWIG_IsOK(res1
)) {
36567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36569 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36572 (arg1
)->DeleteAllItems();
36573 wxPyEndAllowThreads(__tstate
);
36574 if (PyErr_Occurred()) SWIG_fail
;
36576 resultobj
= SWIG_Py_Void();
36583 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36584 PyObject
*resultobj
= 0;
36585 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36586 wxTreeItemId
*arg2
= 0 ;
36591 PyObject
* obj0
= 0 ;
36592 PyObject
* obj1
= 0 ;
36593 char * kwnames
[] = {
36594 (char *) "self",(char *) "item", NULL
36597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36599 if (!SWIG_IsOK(res1
)) {
36600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36602 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36603 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36604 if (!SWIG_IsOK(res2
)) {
36605 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36608 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36610 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36613 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36614 wxPyEndAllowThreads(__tstate
);
36615 if (PyErr_Occurred()) SWIG_fail
;
36617 resultobj
= SWIG_Py_Void();
36624 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36625 PyObject
*resultobj
= 0;
36626 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36627 wxTreeItemId
*arg2
= 0 ;
36632 PyObject
* obj0
= 0 ;
36633 PyObject
* obj1
= 0 ;
36634 char * kwnames
[] = {
36635 (char *) "self",(char *) "item", NULL
36638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36640 if (!SWIG_IsOK(res1
)) {
36641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36643 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36644 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36645 if (!SWIG_IsOK(res2
)) {
36646 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36649 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36651 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36654 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36655 wxPyEndAllowThreads(__tstate
);
36656 if (PyErr_Occurred()) SWIG_fail
;
36658 resultobj
= SWIG_Py_Void();
36665 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36666 PyObject
*resultobj
= 0;
36667 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36670 PyObject
*swig_obj
[1] ;
36672 if (!args
) SWIG_fail
;
36673 swig_obj
[0] = args
;
36674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36675 if (!SWIG_IsOK(res1
)) {
36676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36678 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36681 (arg1
)->ExpandAll();
36682 wxPyEndAllowThreads(__tstate
);
36683 if (PyErr_Occurred()) SWIG_fail
;
36685 resultobj
= SWIG_Py_Void();
36692 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36693 PyObject
*resultobj
= 0;
36694 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36695 wxTreeItemId
*arg2
= 0 ;
36700 PyObject
* obj0
= 0 ;
36701 PyObject
* obj1
= 0 ;
36702 char * kwnames
[] = {
36703 (char *) "self",(char *) "item", NULL
36706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36708 if (!SWIG_IsOK(res1
)) {
36709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36711 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36712 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36713 if (!SWIG_IsOK(res2
)) {
36714 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36717 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36719 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36722 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36723 wxPyEndAllowThreads(__tstate
);
36724 if (PyErr_Occurred()) SWIG_fail
;
36726 resultobj
= SWIG_Py_Void();
36733 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36734 PyObject
*resultobj
= 0;
36735 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36736 wxTreeItemId
*arg2
= 0 ;
36741 PyObject
* obj0
= 0 ;
36742 PyObject
* obj1
= 0 ;
36743 char * kwnames
[] = {
36744 (char *) "self",(char *) "item", NULL
36747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36749 if (!SWIG_IsOK(res1
)) {
36750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36752 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36753 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36754 if (!SWIG_IsOK(res2
)) {
36755 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36758 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36760 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36763 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36764 wxPyEndAllowThreads(__tstate
);
36765 if (PyErr_Occurred()) SWIG_fail
;
36767 resultobj
= SWIG_Py_Void();
36774 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36775 PyObject
*resultobj
= 0;
36776 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36777 wxTreeItemId
*arg2
= 0 ;
36782 PyObject
* obj0
= 0 ;
36783 PyObject
* obj1
= 0 ;
36784 char * kwnames
[] = {
36785 (char *) "self",(char *) "item", NULL
36788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36790 if (!SWIG_IsOK(res1
)) {
36791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36793 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36794 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36795 if (!SWIG_IsOK(res2
)) {
36796 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36799 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36801 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36804 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36805 wxPyEndAllowThreads(__tstate
);
36806 if (PyErr_Occurred()) SWIG_fail
;
36808 resultobj
= SWIG_Py_Void();
36815 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36816 PyObject
*resultobj
= 0;
36817 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36820 PyObject
*swig_obj
[1] ;
36822 if (!args
) SWIG_fail
;
36823 swig_obj
[0] = args
;
36824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36825 if (!SWIG_IsOK(res1
)) {
36826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36828 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36831 (arg1
)->Unselect();
36832 wxPyEndAllowThreads(__tstate
);
36833 if (PyErr_Occurred()) SWIG_fail
;
36835 resultobj
= SWIG_Py_Void();
36842 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36843 PyObject
*resultobj
= 0;
36844 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36845 wxTreeItemId
*arg2
= 0 ;
36850 PyObject
* obj0
= 0 ;
36851 PyObject
* obj1
= 0 ;
36852 char * kwnames
[] = {
36853 (char *) "self",(char *) "item", NULL
36856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36858 if (!SWIG_IsOK(res1
)) {
36859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36861 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36862 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36863 if (!SWIG_IsOK(res2
)) {
36864 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36867 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36869 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36872 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36873 wxPyEndAllowThreads(__tstate
);
36874 if (PyErr_Occurred()) SWIG_fail
;
36876 resultobj
= SWIG_Py_Void();
36883 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36884 PyObject
*resultobj
= 0;
36885 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36888 PyObject
*swig_obj
[1] ;
36890 if (!args
) SWIG_fail
;
36891 swig_obj
[0] = args
;
36892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36893 if (!SWIG_IsOK(res1
)) {
36894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36896 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36899 (arg1
)->UnselectAll();
36900 wxPyEndAllowThreads(__tstate
);
36901 if (PyErr_Occurred()) SWIG_fail
;
36903 resultobj
= SWIG_Py_Void();
36910 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36911 PyObject
*resultobj
= 0;
36912 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36913 wxTreeItemId
*arg2
= 0 ;
36914 bool arg3
= (bool) true ;
36921 PyObject
* obj0
= 0 ;
36922 PyObject
* obj1
= 0 ;
36923 PyObject
* obj2
= 0 ;
36924 char * kwnames
[] = {
36925 (char *) "self",(char *) "item",(char *) "select", NULL
36928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36930 if (!SWIG_IsOK(res1
)) {
36931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36933 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36934 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36935 if (!SWIG_IsOK(res2
)) {
36936 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36939 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36941 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36943 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36944 if (!SWIG_IsOK(ecode3
)) {
36945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36947 arg3
= static_cast< bool >(val3
);
36950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36951 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36952 wxPyEndAllowThreads(__tstate
);
36953 if (PyErr_Occurred()) SWIG_fail
;
36955 resultobj
= SWIG_Py_Void();
36962 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36963 PyObject
*resultobj
= 0;
36964 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36965 wxTreeItemId
*arg2
= 0 ;
36970 PyObject
* obj0
= 0 ;
36971 PyObject
* obj1
= 0 ;
36972 char * kwnames
[] = {
36973 (char *) "self",(char *) "item", NULL
36976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36978 if (!SWIG_IsOK(res1
)) {
36979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36981 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36982 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36983 if (!SWIG_IsOK(res2
)) {
36984 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36987 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36989 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36992 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36993 wxPyEndAllowThreads(__tstate
);
36994 if (PyErr_Occurred()) SWIG_fail
;
36996 resultobj
= SWIG_Py_Void();
37003 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37004 PyObject
*resultobj
= 0;
37005 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37006 wxTreeItemId
*arg2
= 0 ;
37011 PyObject
* obj0
= 0 ;
37012 PyObject
* obj1
= 0 ;
37013 char * kwnames
[] = {
37014 (char *) "self",(char *) "item", NULL
37017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37019 if (!SWIG_IsOK(res1
)) {
37020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37022 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37023 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37024 if (!SWIG_IsOK(res2
)) {
37025 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37028 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37030 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37033 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
37034 wxPyEndAllowThreads(__tstate
);
37035 if (PyErr_Occurred()) SWIG_fail
;
37037 resultobj
= SWIG_Py_Void();
37044 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37045 PyObject
*resultobj
= 0;
37046 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37047 wxTreeItemId
*arg2
= 0 ;
37052 PyObject
* obj0
= 0 ;
37053 PyObject
* obj1
= 0 ;
37054 char * kwnames
[] = {
37055 (char *) "self",(char *) "item", NULL
37058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37060 if (!SWIG_IsOK(res1
)) {
37061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37063 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37064 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37065 if (!SWIG_IsOK(res2
)) {
37066 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37069 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37071 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37074 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
37075 wxPyEndAllowThreads(__tstate
);
37076 if (PyErr_Occurred()) SWIG_fail
;
37078 resultobj
= SWIG_Py_Void();
37085 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37086 PyObject
*resultobj
= 0;
37087 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37088 wxTreeItemId
*arg2
= 0 ;
37093 PyObject
* obj0
= 0 ;
37094 PyObject
* obj1
= 0 ;
37095 char * kwnames
[] = {
37096 (char *) "self",(char *) "item", NULL
37099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37101 if (!SWIG_IsOK(res1
)) {
37102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37104 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37105 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37106 if (!SWIG_IsOK(res2
)) {
37107 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37110 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37112 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37115 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
37116 wxPyEndAllowThreads(__tstate
);
37117 if (PyErr_Occurred()) SWIG_fail
;
37119 resultobj
= SWIG_Py_Void();
37126 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37127 PyObject
*resultobj
= 0;
37128 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37129 wxTextCtrl
*result
= 0 ;
37132 PyObject
*swig_obj
[1] ;
37134 if (!args
) SWIG_fail
;
37135 swig_obj
[0] = args
;
37136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37137 if (!SWIG_IsOK(res1
)) {
37138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37140 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37143 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
37144 wxPyEndAllowThreads(__tstate
);
37145 if (PyErr_Occurred()) SWIG_fail
;
37148 resultobj
= wxPyMake_wxObject(result
, 0);
37156 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37157 PyObject
*resultobj
= 0;
37158 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37159 wxTreeItemId
*arg2
= 0 ;
37164 PyObject
* obj0
= 0 ;
37165 PyObject
* obj1
= 0 ;
37166 char * kwnames
[] = {
37167 (char *) "self",(char *) "item", NULL
37170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37172 if (!SWIG_IsOK(res1
)) {
37173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37175 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37176 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37177 if (!SWIG_IsOK(res2
)) {
37178 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37181 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37183 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37186 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
37187 wxPyEndAllowThreads(__tstate
);
37188 if (PyErr_Occurred()) SWIG_fail
;
37190 resultobj
= SWIG_Py_Void();
37197 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37198 PyObject
*resultobj
= 0;
37199 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37200 wxPoint
*arg2
= 0 ;
37202 wxTreeItemId result
;
37207 int res3
= SWIG_TMPOBJ
;
37208 PyObject
* obj0
= 0 ;
37209 PyObject
* obj1
= 0 ;
37210 char * kwnames
[] = {
37211 (char *) "self",(char *) "point", NULL
37215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37217 if (!SWIG_IsOK(res1
)) {
37218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37220 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37223 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37227 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
37228 wxPyEndAllowThreads(__tstate
);
37229 if (PyErr_Occurred()) SWIG_fail
;
37231 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37232 if (SWIG_IsTmpObj(res3
)) {
37233 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
37235 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37236 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
37244 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37245 PyObject
*resultobj
= 0;
37246 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37247 wxTreeItemId
*arg2
= 0 ;
37248 bool arg3
= (bool) false ;
37249 PyObject
*result
= 0 ;
37256 PyObject
* obj0
= 0 ;
37257 PyObject
* obj1
= 0 ;
37258 PyObject
* obj2
= 0 ;
37259 char * kwnames
[] = {
37260 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37265 if (!SWIG_IsOK(res1
)) {
37266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37268 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37269 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37270 if (!SWIG_IsOK(res2
)) {
37271 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37274 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37276 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37278 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37279 if (!SWIG_IsOK(ecode3
)) {
37280 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37282 arg3
= static_cast< bool >(val3
);
37285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37286 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37287 wxPyEndAllowThreads(__tstate
);
37288 if (PyErr_Occurred()) SWIG_fail
;
37290 resultobj
= result
;
37297 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37298 PyObject
*resultobj
= 0;
37299 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37300 SwigValueWrapper
<wxVisualAttributes
> result
;
37303 PyObject
* obj0
= 0 ;
37304 char * kwnames
[] = {
37305 (char *) "variant", NULL
37308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37310 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37311 if (!SWIG_IsOK(ecode1
)) {
37312 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37314 arg1
= static_cast< wxWindowVariant
>(val1
);
37317 if (!wxPyCheckForApp()) SWIG_fail
;
37318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37319 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37320 wxPyEndAllowThreads(__tstate
);
37321 if (PyErr_Occurred()) SWIG_fail
;
37323 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37330 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37331 PyObject
*resultobj
= 0;
37332 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37338 PyObject
* obj0
= 0 ;
37339 PyObject
* obj1
= 0 ;
37340 char * kwnames
[] = {
37341 (char *) "self",(char *) "q", NULL
37344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37346 if (!SWIG_IsOK(res1
)) {
37347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37349 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37350 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37351 if (!SWIG_IsOK(ecode2
)) {
37352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37354 arg2
= static_cast< bool >(val2
);
37356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37357 (arg1
)->SetQuickBestSize(arg2
);
37358 wxPyEndAllowThreads(__tstate
);
37359 if (PyErr_Occurred()) SWIG_fail
;
37361 resultobj
= SWIG_Py_Void();
37368 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37369 PyObject
*resultobj
= 0;
37370 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37374 PyObject
*swig_obj
[1] ;
37376 if (!args
) SWIG_fail
;
37377 swig_obj
[0] = args
;
37378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37379 if (!SWIG_IsOK(res1
)) {
37380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37382 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37385 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37386 wxPyEndAllowThreads(__tstate
);
37387 if (PyErr_Occurred()) SWIG_fail
;
37390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37398 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37400 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37401 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37402 return SWIG_Py_Void();
37405 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37406 return SWIG_Python_InitShadowInstance(args
);
37409 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37410 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37415 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37416 PyObject
*pyobj
= 0;
37420 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37422 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37429 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37430 PyObject
*resultobj
= 0;
37431 wxWindow
*arg1
= (wxWindow
*) 0 ;
37432 int arg2
= (int) (int)-1 ;
37433 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37434 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37435 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37436 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37437 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37438 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37439 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37440 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37441 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37442 int arg8
= (int) 0 ;
37443 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37444 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37445 wxGenericDirCtrl
*result
= 0 ;
37450 bool temp3
= false ;
37455 bool temp7
= false ;
37458 bool temp9
= false ;
37459 PyObject
* obj0
= 0 ;
37460 PyObject
* obj1
= 0 ;
37461 PyObject
* obj2
= 0 ;
37462 PyObject
* obj3
= 0 ;
37463 PyObject
* obj4
= 0 ;
37464 PyObject
* obj5
= 0 ;
37465 PyObject
* obj6
= 0 ;
37466 PyObject
* obj7
= 0 ;
37467 PyObject
* obj8
= 0 ;
37468 char * kwnames
[] = {
37469 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37474 if (!SWIG_IsOK(res1
)) {
37475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37477 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37479 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37480 if (!SWIG_IsOK(ecode2
)) {
37481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37483 arg2
= static_cast< int >(val2
);
37487 arg3
= wxString_in_helper(obj2
);
37488 if (arg3
== NULL
) SWIG_fail
;
37495 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37501 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37505 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37506 if (!SWIG_IsOK(ecode6
)) {
37507 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37509 arg6
= static_cast< long >(val6
);
37513 arg7
= wxString_in_helper(obj6
);
37514 if (arg7
== NULL
) SWIG_fail
;
37519 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37520 if (!SWIG_IsOK(ecode8
)) {
37521 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37523 arg8
= static_cast< int >(val8
);
37527 arg9
= wxString_in_helper(obj8
);
37528 if (arg9
== NULL
) SWIG_fail
;
37533 if (!wxPyCheckForApp()) SWIG_fail
;
37534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37535 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37536 wxPyEndAllowThreads(__tstate
);
37537 if (PyErr_Occurred()) SWIG_fail
;
37539 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37570 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37571 PyObject
*resultobj
= 0;
37572 wxGenericDirCtrl
*result
= 0 ;
37574 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37576 if (!wxPyCheckForApp()) SWIG_fail
;
37577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37578 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37579 wxPyEndAllowThreads(__tstate
);
37580 if (PyErr_Occurred()) SWIG_fail
;
37582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37589 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37590 PyObject
*resultobj
= 0;
37591 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37592 wxWindow
*arg2
= (wxWindow
*) 0 ;
37593 int arg3
= (int) (int)-1 ;
37594 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37595 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37596 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37597 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37598 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37599 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37600 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37601 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37602 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37603 int arg9
= (int) 0 ;
37604 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37605 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37613 bool temp4
= false ;
37618 bool temp8
= false ;
37621 bool temp10
= false ;
37622 PyObject
* obj0
= 0 ;
37623 PyObject
* obj1
= 0 ;
37624 PyObject
* obj2
= 0 ;
37625 PyObject
* obj3
= 0 ;
37626 PyObject
* obj4
= 0 ;
37627 PyObject
* obj5
= 0 ;
37628 PyObject
* obj6
= 0 ;
37629 PyObject
* obj7
= 0 ;
37630 PyObject
* obj8
= 0 ;
37631 PyObject
* obj9
= 0 ;
37632 char * kwnames
[] = {
37633 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37638 if (!SWIG_IsOK(res1
)) {
37639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37641 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37642 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37643 if (!SWIG_IsOK(res2
)) {
37644 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37646 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37648 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37649 if (!SWIG_IsOK(ecode3
)) {
37650 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37652 arg3
= static_cast< int >(val3
);
37656 arg4
= wxString_in_helper(obj3
);
37657 if (arg4
== NULL
) SWIG_fail
;
37664 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37670 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37674 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37675 if (!SWIG_IsOK(ecode7
)) {
37676 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37678 arg7
= static_cast< long >(val7
);
37682 arg8
= wxString_in_helper(obj7
);
37683 if (arg8
== NULL
) SWIG_fail
;
37688 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37689 if (!SWIG_IsOK(ecode9
)) {
37690 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37692 arg9
= static_cast< int >(val9
);
37696 arg10
= wxString_in_helper(obj9
);
37697 if (arg10
== NULL
) SWIG_fail
;
37702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37703 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37704 wxPyEndAllowThreads(__tstate
);
37705 if (PyErr_Occurred()) SWIG_fail
;
37708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37740 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37741 PyObject
*resultobj
= 0;
37742 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37743 wxString
*arg2
= 0 ;
37747 bool temp2
= false ;
37748 PyObject
* obj0
= 0 ;
37749 PyObject
* obj1
= 0 ;
37750 char * kwnames
[] = {
37751 (char *) "self",(char *) "path", NULL
37754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37756 if (!SWIG_IsOK(res1
)) {
37757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37759 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37761 arg2
= wxString_in_helper(obj1
);
37762 if (arg2
== NULL
) SWIG_fail
;
37766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37767 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37768 wxPyEndAllowThreads(__tstate
);
37769 if (PyErr_Occurred()) SWIG_fail
;
37772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37788 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37789 PyObject
*resultobj
= 0;
37790 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37791 wxString
*arg2
= 0 ;
37795 bool temp2
= false ;
37796 PyObject
* obj0
= 0 ;
37797 PyObject
* obj1
= 0 ;
37798 char * kwnames
[] = {
37799 (char *) "self",(char *) "path", NULL
37802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37804 if (!SWIG_IsOK(res1
)) {
37805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37807 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37809 arg2
= wxString_in_helper(obj1
);
37810 if (arg2
== NULL
) SWIG_fail
;
37814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37815 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
37816 wxPyEndAllowThreads(__tstate
);
37817 if (PyErr_Occurred()) SWIG_fail
;
37820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37836 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37837 PyObject
*resultobj
= 0;
37838 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37842 PyObject
*swig_obj
[1] ;
37844 if (!args
) SWIG_fail
;
37845 swig_obj
[0] = args
;
37846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37847 if (!SWIG_IsOK(res1
)) {
37848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37850 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37853 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37854 wxPyEndAllowThreads(__tstate
);
37855 if (PyErr_Occurred()) SWIG_fail
;
37859 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37861 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37870 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37871 PyObject
*resultobj
= 0;
37872 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37873 wxString
*arg2
= 0 ;
37876 bool temp2
= false ;
37877 PyObject
* obj0
= 0 ;
37878 PyObject
* obj1
= 0 ;
37879 char * kwnames
[] = {
37880 (char *) "self",(char *) "path", NULL
37883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37885 if (!SWIG_IsOK(res1
)) {
37886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37888 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37890 arg2
= wxString_in_helper(obj1
);
37891 if (arg2
== NULL
) SWIG_fail
;
37895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37896 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37897 wxPyEndAllowThreads(__tstate
);
37898 if (PyErr_Occurred()) SWIG_fail
;
37900 resultobj
= SWIG_Py_Void();
37915 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37916 PyObject
*resultobj
= 0;
37917 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37921 PyObject
*swig_obj
[1] ;
37923 if (!args
) SWIG_fail
;
37924 swig_obj
[0] = args
;
37925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37926 if (!SWIG_IsOK(res1
)) {
37927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37929 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37932 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37933 wxPyEndAllowThreads(__tstate
);
37934 if (PyErr_Occurred()) SWIG_fail
;
37938 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37940 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37949 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37950 PyObject
*resultobj
= 0;
37951 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37955 PyObject
*swig_obj
[1] ;
37957 if (!args
) SWIG_fail
;
37958 swig_obj
[0] = args
;
37959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37960 if (!SWIG_IsOK(res1
)) {
37961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37963 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37966 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37967 wxPyEndAllowThreads(__tstate
);
37968 if (PyErr_Occurred()) SWIG_fail
;
37972 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37974 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37983 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37984 PyObject
*resultobj
= 0;
37985 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37986 wxString
*arg2
= 0 ;
37989 bool temp2
= false ;
37990 PyObject
* obj0
= 0 ;
37991 PyObject
* obj1
= 0 ;
37992 char * kwnames
[] = {
37993 (char *) "self",(char *) "path", NULL
37996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37998 if (!SWIG_IsOK(res1
)) {
37999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38001 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38003 arg2
= wxString_in_helper(obj1
);
38004 if (arg2
== NULL
) SWIG_fail
;
38008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38009 (arg1
)->SetPath((wxString
const &)*arg2
);
38010 wxPyEndAllowThreads(__tstate
);
38011 if (PyErr_Occurred()) SWIG_fail
;
38013 resultobj
= SWIG_Py_Void();
38028 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38029 PyObject
*resultobj
= 0;
38030 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38036 PyObject
* obj0
= 0 ;
38037 PyObject
* obj1
= 0 ;
38038 char * kwnames
[] = {
38039 (char *) "self",(char *) "show", NULL
38042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38044 if (!SWIG_IsOK(res1
)) {
38045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38047 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38048 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38049 if (!SWIG_IsOK(ecode2
)) {
38050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38052 arg2
= static_cast< bool >(val2
);
38054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38055 (arg1
)->ShowHidden(arg2
);
38056 wxPyEndAllowThreads(__tstate
);
38057 if (PyErr_Occurred()) SWIG_fail
;
38059 resultobj
= SWIG_Py_Void();
38066 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38067 PyObject
*resultobj
= 0;
38068 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38072 PyObject
*swig_obj
[1] ;
38074 if (!args
) SWIG_fail
;
38075 swig_obj
[0] = args
;
38076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38077 if (!SWIG_IsOK(res1
)) {
38078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38080 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38083 result
= (bool)(arg1
)->GetShowHidden();
38084 wxPyEndAllowThreads(__tstate
);
38085 if (PyErr_Occurred()) SWIG_fail
;
38088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38096 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38097 PyObject
*resultobj
= 0;
38098 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38102 PyObject
*swig_obj
[1] ;
38104 if (!args
) SWIG_fail
;
38105 swig_obj
[0] = args
;
38106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38107 if (!SWIG_IsOK(res1
)) {
38108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38110 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38113 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
38114 wxPyEndAllowThreads(__tstate
);
38115 if (PyErr_Occurred()) SWIG_fail
;
38119 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38121 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38130 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38131 PyObject
*resultobj
= 0;
38132 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38133 wxString
*arg2
= 0 ;
38136 bool temp2
= false ;
38137 PyObject
* obj0
= 0 ;
38138 PyObject
* obj1
= 0 ;
38139 char * kwnames
[] = {
38140 (char *) "self",(char *) "filter", NULL
38143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38145 if (!SWIG_IsOK(res1
)) {
38146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38148 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38150 arg2
= wxString_in_helper(obj1
);
38151 if (arg2
== NULL
) SWIG_fail
;
38155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38156 (arg1
)->SetFilter((wxString
const &)*arg2
);
38157 wxPyEndAllowThreads(__tstate
);
38158 if (PyErr_Occurred()) SWIG_fail
;
38160 resultobj
= SWIG_Py_Void();
38175 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38176 PyObject
*resultobj
= 0;
38177 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38181 PyObject
*swig_obj
[1] ;
38183 if (!args
) SWIG_fail
;
38184 swig_obj
[0] = args
;
38185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38186 if (!SWIG_IsOK(res1
)) {
38187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38189 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38192 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
38193 wxPyEndAllowThreads(__tstate
);
38194 if (PyErr_Occurred()) SWIG_fail
;
38196 resultobj
= SWIG_From_int(static_cast< int >(result
));
38203 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38204 PyObject
*resultobj
= 0;
38205 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38211 PyObject
* obj0
= 0 ;
38212 PyObject
* obj1
= 0 ;
38213 char * kwnames
[] = {
38214 (char *) "self",(char *) "n", NULL
38217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38219 if (!SWIG_IsOK(res1
)) {
38220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38222 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38223 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38224 if (!SWIG_IsOK(ecode2
)) {
38225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38227 arg2
= static_cast< int >(val2
);
38229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38230 (arg1
)->SetFilterIndex(arg2
);
38231 wxPyEndAllowThreads(__tstate
);
38232 if (PyErr_Occurred()) SWIG_fail
;
38234 resultobj
= SWIG_Py_Void();
38241 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38242 PyObject
*resultobj
= 0;
38243 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38244 wxTreeItemId result
;
38247 PyObject
*swig_obj
[1] ;
38249 if (!args
) SWIG_fail
;
38250 swig_obj
[0] = args
;
38251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38252 if (!SWIG_IsOK(res1
)) {
38253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38255 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38258 result
= (arg1
)->GetRootId();
38259 wxPyEndAllowThreads(__tstate
);
38260 if (PyErr_Occurred()) SWIG_fail
;
38262 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38269 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38270 PyObject
*resultobj
= 0;
38271 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38272 wxPyTreeCtrl
*result
= 0 ;
38275 PyObject
*swig_obj
[1] ;
38277 if (!args
) SWIG_fail
;
38278 swig_obj
[0] = args
;
38279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38280 if (!SWIG_IsOK(res1
)) {
38281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38283 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38286 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38287 wxPyEndAllowThreads(__tstate
);
38288 if (PyErr_Occurred()) SWIG_fail
;
38291 resultobj
= wxPyMake_wxObject(result
, 0);
38299 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38300 PyObject
*resultobj
= 0;
38301 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38302 wxDirFilterListCtrl
*result
= 0 ;
38305 PyObject
*swig_obj
[1] ;
38307 if (!args
) SWIG_fail
;
38308 swig_obj
[0] = args
;
38309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38310 if (!SWIG_IsOK(res1
)) {
38311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38313 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38316 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38317 wxPyEndAllowThreads(__tstate
);
38318 if (PyErr_Occurred()) SWIG_fail
;
38320 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38327 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38328 PyObject
*resultobj
= 0;
38329 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38330 wxTreeItemId arg2
;
38331 wxString
*arg3
= 0 ;
38333 wxTreeItemId result
;
38338 bool temp3
= false ;
38340 int res4
= SWIG_TMPOBJ
;
38341 PyObject
* obj0
= 0 ;
38342 PyObject
* obj1
= 0 ;
38343 PyObject
* obj2
= 0 ;
38344 char * kwnames
[] = {
38345 (char *) "self",(char *) "parentId",(char *) "path", NULL
38349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38351 if (!SWIG_IsOK(res1
)) {
38352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38354 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38356 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38357 if (!SWIG_IsOK(res2
)) {
38358 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38361 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38363 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38365 if (SWIG_IsNewObj(res2
)) delete temp
;
38369 arg3
= wxString_in_helper(obj2
);
38370 if (arg3
== NULL
) SWIG_fail
;
38374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38375 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38376 wxPyEndAllowThreads(__tstate
);
38377 if (PyErr_Occurred()) SWIG_fail
;
38379 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38380 if (SWIG_IsTmpObj(res4
)) {
38381 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38383 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38384 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38400 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38401 PyObject
*resultobj
= 0;
38402 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38405 PyObject
*swig_obj
[1] ;
38407 if (!args
) SWIG_fail
;
38408 swig_obj
[0] = args
;
38409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38410 if (!SWIG_IsOK(res1
)) {
38411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38413 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38416 (arg1
)->DoResize();
38417 wxPyEndAllowThreads(__tstate
);
38418 if (PyErr_Occurred()) SWIG_fail
;
38420 resultobj
= SWIG_Py_Void();
38427 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38428 PyObject
*resultobj
= 0;
38429 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38432 PyObject
*swig_obj
[1] ;
38434 if (!args
) SWIG_fail
;
38435 swig_obj
[0] = args
;
38436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38437 if (!SWIG_IsOK(res1
)) {
38438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38440 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38443 (arg1
)->ReCreateTree();
38444 wxPyEndAllowThreads(__tstate
);
38445 if (PyErr_Occurred()) SWIG_fail
;
38447 resultobj
= SWIG_Py_Void();
38454 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38456 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38457 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38458 return SWIG_Py_Void();
38461 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38462 return SWIG_Python_InitShadowInstance(args
);
38465 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38466 PyObject
*resultobj
= 0;
38467 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38468 int arg2
= (int) (int)-1 ;
38469 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38470 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38471 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38472 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38473 long arg5
= (long) 0 ;
38474 wxDirFilterListCtrl
*result
= 0 ;
38483 PyObject
* obj0
= 0 ;
38484 PyObject
* obj1
= 0 ;
38485 PyObject
* obj2
= 0 ;
38486 PyObject
* obj3
= 0 ;
38487 PyObject
* obj4
= 0 ;
38488 char * kwnames
[] = {
38489 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38494 if (!SWIG_IsOK(res1
)) {
38495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38497 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38500 if (!SWIG_IsOK(ecode2
)) {
38501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38503 arg2
= static_cast< int >(val2
);
38508 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38514 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38518 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38519 if (!SWIG_IsOK(ecode5
)) {
38520 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38522 arg5
= static_cast< long >(val5
);
38525 if (!wxPyCheckForApp()) SWIG_fail
;
38526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38527 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38528 wxPyEndAllowThreads(__tstate
);
38529 if (PyErr_Occurred()) SWIG_fail
;
38531 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38538 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38539 PyObject
*resultobj
= 0;
38540 wxDirFilterListCtrl
*result
= 0 ;
38542 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38544 if (!wxPyCheckForApp()) SWIG_fail
;
38545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38546 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38547 wxPyEndAllowThreads(__tstate
);
38548 if (PyErr_Occurred()) SWIG_fail
;
38550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38557 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38558 PyObject
*resultobj
= 0;
38559 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38560 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38561 int arg3
= (int) (int)-1 ;
38562 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38563 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38564 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38565 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38566 long arg6
= (long) 0 ;
38578 PyObject
* obj0
= 0 ;
38579 PyObject
* obj1
= 0 ;
38580 PyObject
* obj2
= 0 ;
38581 PyObject
* obj3
= 0 ;
38582 PyObject
* obj4
= 0 ;
38583 PyObject
* obj5
= 0 ;
38584 char * kwnames
[] = {
38585 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38590 if (!SWIG_IsOK(res1
)) {
38591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38593 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38594 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38595 if (!SWIG_IsOK(res2
)) {
38596 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38598 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38600 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38601 if (!SWIG_IsOK(ecode3
)) {
38602 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38604 arg3
= static_cast< int >(val3
);
38609 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38615 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38619 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38620 if (!SWIG_IsOK(ecode6
)) {
38621 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38623 arg6
= static_cast< long >(val6
);
38626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38627 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38628 wxPyEndAllowThreads(__tstate
);
38629 if (PyErr_Occurred()) SWIG_fail
;
38632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38640 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38641 PyObject
*resultobj
= 0;
38642 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38643 wxString
*arg2
= 0 ;
38647 bool temp2
= false ;
38650 PyObject
* obj0
= 0 ;
38651 PyObject
* obj1
= 0 ;
38652 PyObject
* obj2
= 0 ;
38653 char * kwnames
[] = {
38654 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38659 if (!SWIG_IsOK(res1
)) {
38660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38662 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38664 arg2
= wxString_in_helper(obj1
);
38665 if (arg2
== NULL
) SWIG_fail
;
38668 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38669 if (!SWIG_IsOK(ecode3
)) {
38670 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38672 arg3
= static_cast< int >(val3
);
38674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38675 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38676 wxPyEndAllowThreads(__tstate
);
38677 if (PyErr_Occurred()) SWIG_fail
;
38679 resultobj
= SWIG_Py_Void();
38694 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38696 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38697 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38698 return SWIG_Py_Void();
38701 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38702 return SWIG_Python_InitShadowInstance(args
);
38705 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38706 PyObject
*resultobj
= 0;
38707 wxWindow
*arg1
= (wxWindow
*) 0 ;
38708 int arg2
= (int) (int)-1 ;
38709 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38710 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38711 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38712 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38713 long arg5
= (long) 0 ;
38714 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38715 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38716 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38717 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38718 wxPyControl
*result
= 0 ;
38729 bool temp7
= false ;
38730 PyObject
* obj0
= 0 ;
38731 PyObject
* obj1
= 0 ;
38732 PyObject
* obj2
= 0 ;
38733 PyObject
* obj3
= 0 ;
38734 PyObject
* obj4
= 0 ;
38735 PyObject
* obj5
= 0 ;
38736 PyObject
* obj6
= 0 ;
38737 char * kwnames
[] = {
38738 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38743 if (!SWIG_IsOK(res1
)) {
38744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38746 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38748 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38749 if (!SWIG_IsOK(ecode2
)) {
38750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38752 arg2
= static_cast< int >(val2
);
38757 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38763 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38767 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38768 if (!SWIG_IsOK(ecode5
)) {
38769 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38771 arg5
= static_cast< long >(val5
);
38774 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38775 if (!SWIG_IsOK(res6
)) {
38776 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38779 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38781 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38785 arg7
= wxString_in_helper(obj6
);
38786 if (arg7
== NULL
) SWIG_fail
;
38791 if (!wxPyCheckForApp()) SWIG_fail
;
38792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38793 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38794 wxPyEndAllowThreads(__tstate
);
38795 if (PyErr_Occurred()) SWIG_fail
;
38797 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38812 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38813 PyObject
*resultobj
= 0;
38814 wxPyControl
*result
= 0 ;
38816 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38818 if (!wxPyCheckForApp()) SWIG_fail
;
38819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38820 result
= (wxPyControl
*)new wxPyControl();
38821 wxPyEndAllowThreads(__tstate
);
38822 if (PyErr_Occurred()) SWIG_fail
;
38824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38831 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38832 PyObject
*resultobj
= 0;
38833 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38834 PyObject
*arg2
= (PyObject
*) 0 ;
38835 PyObject
*arg3
= (PyObject
*) 0 ;
38838 PyObject
* obj0
= 0 ;
38839 PyObject
* obj1
= 0 ;
38840 PyObject
* obj2
= 0 ;
38841 char * kwnames
[] = {
38842 (char *) "self",(char *) "self",(char *) "_class", NULL
38845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38847 if (!SWIG_IsOK(res1
)) {
38848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38850 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38855 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38856 wxPyEndAllowThreads(__tstate
);
38857 if (PyErr_Occurred()) SWIG_fail
;
38859 resultobj
= SWIG_Py_Void();
38866 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38867 PyObject
*resultobj
= 0;
38868 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38869 wxDC
*arg2
= (wxDC
*) 0 ;
38875 PyObject
* obj0
= 0 ;
38876 PyObject
* obj1
= 0 ;
38877 char * kwnames
[] = {
38878 (char *) "self",(char *) "dc", NULL
38881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38883 if (!SWIG_IsOK(res1
)) {
38884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38886 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38887 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38888 if (!SWIG_IsOK(res2
)) {
38889 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38891 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38894 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38895 wxPyEndAllowThreads(__tstate
);
38896 if (PyErr_Occurred()) SWIG_fail
;
38899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38907 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38908 PyObject
*resultobj
= 0;
38909 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38924 PyObject
* obj0
= 0 ;
38925 PyObject
* obj1
= 0 ;
38926 PyObject
* obj2
= 0 ;
38927 PyObject
* obj3
= 0 ;
38928 PyObject
* obj4
= 0 ;
38929 char * kwnames
[] = {
38930 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38935 if (!SWIG_IsOK(res1
)) {
38936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38938 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38940 if (!SWIG_IsOK(ecode2
)) {
38941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38943 arg2
= static_cast< int >(val2
);
38944 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38945 if (!SWIG_IsOK(ecode3
)) {
38946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38948 arg3
= static_cast< int >(val3
);
38949 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38950 if (!SWIG_IsOK(ecode4
)) {
38951 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38953 arg4
= static_cast< int >(val4
);
38954 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38955 if (!SWIG_IsOK(ecode5
)) {
38956 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38958 arg5
= static_cast< int >(val5
);
38960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38961 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38962 wxPyEndAllowThreads(__tstate
);
38963 if (PyErr_Occurred()) SWIG_fail
;
38965 resultobj
= SWIG_Py_Void();
38972 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38973 PyObject
*resultobj
= 0;
38974 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38979 int arg6
= (int) wxSIZE_AUTO
;
38992 PyObject
* obj0
= 0 ;
38993 PyObject
* obj1
= 0 ;
38994 PyObject
* obj2
= 0 ;
38995 PyObject
* obj3
= 0 ;
38996 PyObject
* obj4
= 0 ;
38997 PyObject
* obj5
= 0 ;
38998 char * kwnames
[] = {
38999 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
39003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39004 if (!SWIG_IsOK(res1
)) {
39005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39007 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39009 if (!SWIG_IsOK(ecode2
)) {
39010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39012 arg2
= static_cast< int >(val2
);
39013 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39014 if (!SWIG_IsOK(ecode3
)) {
39015 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39017 arg3
= static_cast< int >(val3
);
39018 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39019 if (!SWIG_IsOK(ecode4
)) {
39020 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39022 arg4
= static_cast< int >(val4
);
39023 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39024 if (!SWIG_IsOK(ecode5
)) {
39025 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39027 arg5
= static_cast< int >(val5
);
39029 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
39030 if (!SWIG_IsOK(ecode6
)) {
39031 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39033 arg6
= static_cast< int >(val6
);
39036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39037 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
39038 wxPyEndAllowThreads(__tstate
);
39039 if (PyErr_Occurred()) SWIG_fail
;
39041 resultobj
= SWIG_Py_Void();
39048 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39049 PyObject
*resultobj
= 0;
39050 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39059 PyObject
* obj0
= 0 ;
39060 PyObject
* obj1
= 0 ;
39061 PyObject
* obj2
= 0 ;
39062 char * kwnames
[] = {
39063 (char *) "self",(char *) "width",(char *) "height", NULL
39066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39068 if (!SWIG_IsOK(res1
)) {
39069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39071 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39073 if (!SWIG_IsOK(ecode2
)) {
39074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39076 arg2
= static_cast< int >(val2
);
39077 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39078 if (!SWIG_IsOK(ecode3
)) {
39079 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39081 arg3
= static_cast< int >(val3
);
39083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39084 (arg1
)->DoSetClientSize(arg2
,arg3
);
39085 wxPyEndAllowThreads(__tstate
);
39086 if (PyErr_Occurred()) SWIG_fail
;
39088 resultobj
= SWIG_Py_Void();
39095 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39096 PyObject
*resultobj
= 0;
39097 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39106 PyObject
* obj0
= 0 ;
39107 PyObject
* obj1
= 0 ;
39108 PyObject
* obj2
= 0 ;
39109 char * kwnames
[] = {
39110 (char *) "self",(char *) "x",(char *) "y", NULL
39113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39115 if (!SWIG_IsOK(res1
)) {
39116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39118 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39119 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39120 if (!SWIG_IsOK(ecode2
)) {
39121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39123 arg2
= static_cast< int >(val2
);
39124 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39125 if (!SWIG_IsOK(ecode3
)) {
39126 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39128 arg3
= static_cast< int >(val3
);
39130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39131 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
39132 wxPyEndAllowThreads(__tstate
);
39133 if (PyErr_Occurred()) SWIG_fail
;
39135 resultobj
= SWIG_Py_Void();
39142 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39143 PyObject
*resultobj
= 0;
39144 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39145 int *arg2
= (int *) 0 ;
39146 int *arg3
= (int *) 0 ;
39150 int res2
= SWIG_TMPOBJ
;
39152 int res3
= SWIG_TMPOBJ
;
39153 PyObject
*swig_obj
[1] ;
39157 if (!args
) SWIG_fail
;
39158 swig_obj
[0] = args
;
39159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39160 if (!SWIG_IsOK(res1
)) {
39161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39163 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39166 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
39167 wxPyEndAllowThreads(__tstate
);
39168 if (PyErr_Occurred()) SWIG_fail
;
39170 resultobj
= SWIG_Py_Void();
39171 if (SWIG_IsTmpObj(res2
)) {
39172 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39174 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39175 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39177 if (SWIG_IsTmpObj(res3
)) {
39178 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39180 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39181 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39189 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39190 PyObject
*resultobj
= 0;
39191 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39192 int *arg2
= (int *) 0 ;
39193 int *arg3
= (int *) 0 ;
39197 int res2
= SWIG_TMPOBJ
;
39199 int res3
= SWIG_TMPOBJ
;
39200 PyObject
*swig_obj
[1] ;
39204 if (!args
) SWIG_fail
;
39205 swig_obj
[0] = args
;
39206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39207 if (!SWIG_IsOK(res1
)) {
39208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39210 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39213 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
39214 wxPyEndAllowThreads(__tstate
);
39215 if (PyErr_Occurred()) SWIG_fail
;
39217 resultobj
= SWIG_Py_Void();
39218 if (SWIG_IsTmpObj(res2
)) {
39219 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39221 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39222 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39224 if (SWIG_IsTmpObj(res3
)) {
39225 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39227 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39228 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39236 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39237 PyObject
*resultobj
= 0;
39238 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39239 int *arg2
= (int *) 0 ;
39240 int *arg3
= (int *) 0 ;
39244 int res2
= SWIG_TMPOBJ
;
39246 int res3
= SWIG_TMPOBJ
;
39247 PyObject
*swig_obj
[1] ;
39251 if (!args
) SWIG_fail
;
39252 swig_obj
[0] = args
;
39253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39254 if (!SWIG_IsOK(res1
)) {
39255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39257 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39260 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39261 wxPyEndAllowThreads(__tstate
);
39262 if (PyErr_Occurred()) SWIG_fail
;
39264 resultobj
= SWIG_Py_Void();
39265 if (SWIG_IsTmpObj(res2
)) {
39266 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39268 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39269 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39271 if (SWIG_IsTmpObj(res3
)) {
39272 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39274 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39275 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39283 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39284 PyObject
*resultobj
= 0;
39285 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39289 PyObject
*swig_obj
[1] ;
39291 if (!args
) SWIG_fail
;
39292 swig_obj
[0] = args
;
39293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39294 if (!SWIG_IsOK(res1
)) {
39295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39297 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39300 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39301 wxPyEndAllowThreads(__tstate
);
39302 if (PyErr_Occurred()) SWIG_fail
;
39304 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39311 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39312 PyObject
*resultobj
= 0;
39313 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39317 PyObject
*swig_obj
[1] ;
39319 if (!args
) SWIG_fail
;
39320 swig_obj
[0] = args
;
39321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39322 if (!SWIG_IsOK(res1
)) {
39323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39325 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39328 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39329 wxPyEndAllowThreads(__tstate
);
39330 if (PyErr_Occurred()) SWIG_fail
;
39332 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39339 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39340 PyObject
*resultobj
= 0;
39341 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39342 SwigValueWrapper
<wxVisualAttributes
> result
;
39345 PyObject
*swig_obj
[1] ;
39347 if (!args
) SWIG_fail
;
39348 swig_obj
[0] = args
;
39349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39350 if (!SWIG_IsOK(res1
)) {
39351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39353 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39356 result
= (arg1
)->GetDefaultAttributes();
39357 wxPyEndAllowThreads(__tstate
);
39358 if (PyErr_Occurred()) SWIG_fail
;
39360 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39367 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39368 PyObject
*resultobj
= 0;
39369 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39372 PyObject
*swig_obj
[1] ;
39374 if (!args
) SWIG_fail
;
39375 swig_obj
[0] = args
;
39376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39377 if (!SWIG_IsOK(res1
)) {
39378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39380 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39383 (arg1
)->OnInternalIdle();
39384 wxPyEndAllowThreads(__tstate
);
39385 if (PyErr_Occurred()) SWIG_fail
;
39387 resultobj
= SWIG_Py_Void();
39394 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39396 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39397 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39398 return SWIG_Py_Void();
39401 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39402 return SWIG_Python_InitShadowInstance(args
);
39405 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39406 PyObject
*resultobj
= 0;
39407 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39408 int arg2
= (int) 0 ;
39409 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39410 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39411 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39412 wxHelpEvent
*result
= 0 ;
39420 PyObject
* obj0
= 0 ;
39421 PyObject
* obj1
= 0 ;
39422 PyObject
* obj2
= 0 ;
39423 PyObject
* obj3
= 0 ;
39424 char * kwnames
[] = {
39425 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39430 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39431 if (!SWIG_IsOK(ecode1
)) {
39432 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39434 arg1
= static_cast< wxEventType
>(val1
);
39437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39438 if (!SWIG_IsOK(ecode2
)) {
39439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39441 arg2
= static_cast< int >(val2
);
39446 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39450 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39451 if (!SWIG_IsOK(ecode4
)) {
39452 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39454 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39458 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39459 wxPyEndAllowThreads(__tstate
);
39460 if (PyErr_Occurred()) SWIG_fail
;
39462 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39469 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39470 PyObject
*resultobj
= 0;
39471 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39475 PyObject
*swig_obj
[1] ;
39477 if (!args
) SWIG_fail
;
39478 swig_obj
[0] = args
;
39479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39480 if (!SWIG_IsOK(res1
)) {
39481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39483 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39486 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39487 wxPyEndAllowThreads(__tstate
);
39488 if (PyErr_Occurred()) SWIG_fail
;
39490 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39497 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39498 PyObject
*resultobj
= 0;
39499 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39500 wxPoint
*arg2
= 0 ;
39504 PyObject
* obj0
= 0 ;
39505 PyObject
* obj1
= 0 ;
39506 char * kwnames
[] = {
39507 (char *) "self",(char *) "pos", NULL
39510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39512 if (!SWIG_IsOK(res1
)) {
39513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39515 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39518 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39522 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39523 wxPyEndAllowThreads(__tstate
);
39524 if (PyErr_Occurred()) SWIG_fail
;
39526 resultobj
= SWIG_Py_Void();
39533 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39534 PyObject
*resultobj
= 0;
39535 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39536 wxString
*result
= 0 ;
39539 PyObject
*swig_obj
[1] ;
39541 if (!args
) SWIG_fail
;
39542 swig_obj
[0] = args
;
39543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39544 if (!SWIG_IsOK(res1
)) {
39545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39547 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39551 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39552 result
= (wxString
*) &_result_ref
;
39554 wxPyEndAllowThreads(__tstate
);
39555 if (PyErr_Occurred()) SWIG_fail
;
39559 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39561 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39570 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39571 PyObject
*resultobj
= 0;
39572 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39573 wxString
*arg2
= 0 ;
39576 bool temp2
= false ;
39577 PyObject
* obj0
= 0 ;
39578 PyObject
* obj1
= 0 ;
39579 char * kwnames
[] = {
39580 (char *) "self",(char *) "link", NULL
39583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39585 if (!SWIG_IsOK(res1
)) {
39586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39588 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39590 arg2
= wxString_in_helper(obj1
);
39591 if (arg2
== NULL
) SWIG_fail
;
39595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39596 (arg1
)->SetLink((wxString
const &)*arg2
);
39597 wxPyEndAllowThreads(__tstate
);
39598 if (PyErr_Occurred()) SWIG_fail
;
39600 resultobj
= SWIG_Py_Void();
39615 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39616 PyObject
*resultobj
= 0;
39617 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39618 wxString
*result
= 0 ;
39621 PyObject
*swig_obj
[1] ;
39623 if (!args
) SWIG_fail
;
39624 swig_obj
[0] = args
;
39625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39626 if (!SWIG_IsOK(res1
)) {
39627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39629 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39633 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39634 result
= (wxString
*) &_result_ref
;
39636 wxPyEndAllowThreads(__tstate
);
39637 if (PyErr_Occurred()) SWIG_fail
;
39641 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39643 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39652 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39653 PyObject
*resultobj
= 0;
39654 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39655 wxString
*arg2
= 0 ;
39658 bool temp2
= false ;
39659 PyObject
* obj0
= 0 ;
39660 PyObject
* obj1
= 0 ;
39661 char * kwnames
[] = {
39662 (char *) "self",(char *) "target", NULL
39665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39667 if (!SWIG_IsOK(res1
)) {
39668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39670 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39672 arg2
= wxString_in_helper(obj1
);
39673 if (arg2
== NULL
) SWIG_fail
;
39677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39678 (arg1
)->SetTarget((wxString
const &)*arg2
);
39679 wxPyEndAllowThreads(__tstate
);
39680 if (PyErr_Occurred()) SWIG_fail
;
39682 resultobj
= SWIG_Py_Void();
39697 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39698 PyObject
*resultobj
= 0;
39699 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39700 wxHelpEvent::Origin result
;
39703 PyObject
*swig_obj
[1] ;
39705 if (!args
) SWIG_fail
;
39706 swig_obj
[0] = args
;
39707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39708 if (!SWIG_IsOK(res1
)) {
39709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39711 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39714 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39715 wxPyEndAllowThreads(__tstate
);
39716 if (PyErr_Occurred()) SWIG_fail
;
39718 resultobj
= SWIG_From_int(static_cast< int >(result
));
39725 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39726 PyObject
*resultobj
= 0;
39727 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39728 wxHelpEvent::Origin arg2
;
39733 PyObject
* obj0
= 0 ;
39734 PyObject
* obj1
= 0 ;
39735 char * kwnames
[] = {
39736 (char *) "self",(char *) "origin", NULL
39739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39741 if (!SWIG_IsOK(res1
)) {
39742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39744 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39745 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39746 if (!SWIG_IsOK(ecode2
)) {
39747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39749 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39752 (arg1
)->SetOrigin(arg2
);
39753 wxPyEndAllowThreads(__tstate
);
39754 if (PyErr_Occurred()) SWIG_fail
;
39756 resultobj
= SWIG_Py_Void();
39763 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39765 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39766 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39767 return SWIG_Py_Void();
39770 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39771 return SWIG_Python_InitShadowInstance(args
);
39774 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39775 PyObject
*resultobj
= 0;
39776 wxWindow
*arg1
= (wxWindow
*) NULL
;
39777 bool arg2
= (bool) true ;
39778 wxContextHelp
*result
= 0 ;
39783 PyObject
* obj0
= 0 ;
39784 PyObject
* obj1
= 0 ;
39785 char * kwnames
[] = {
39786 (char *) "window",(char *) "doNow", NULL
39789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39792 if (!SWIG_IsOK(res1
)) {
39793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39795 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39798 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39799 if (!SWIG_IsOK(ecode2
)) {
39800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39802 arg2
= static_cast< bool >(val2
);
39805 if (!wxPyCheckForApp()) SWIG_fail
;
39806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39807 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39808 wxPyEndAllowThreads(__tstate
);
39809 if (PyErr_Occurred()) SWIG_fail
;
39811 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39818 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39819 PyObject
*resultobj
= 0;
39820 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39823 PyObject
*swig_obj
[1] ;
39825 if (!args
) SWIG_fail
;
39826 swig_obj
[0] = args
;
39827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39828 if (!SWIG_IsOK(res1
)) {
39829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39831 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39836 wxPyEndAllowThreads(__tstate
);
39837 if (PyErr_Occurred()) SWIG_fail
;
39839 resultobj
= SWIG_Py_Void();
39846 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39847 PyObject
*resultobj
= 0;
39848 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39849 wxWindow
*arg2
= (wxWindow
*) NULL
;
39855 PyObject
* obj0
= 0 ;
39856 PyObject
* obj1
= 0 ;
39857 char * kwnames
[] = {
39858 (char *) "self",(char *) "window", NULL
39861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39863 if (!SWIG_IsOK(res1
)) {
39864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39866 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39868 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39869 if (!SWIG_IsOK(res2
)) {
39870 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39872 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39876 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39877 wxPyEndAllowThreads(__tstate
);
39878 if (PyErr_Occurred()) SWIG_fail
;
39881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39889 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39890 PyObject
*resultobj
= 0;
39891 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39895 PyObject
*swig_obj
[1] ;
39897 if (!args
) SWIG_fail
;
39898 swig_obj
[0] = args
;
39899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39900 if (!SWIG_IsOK(res1
)) {
39901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39903 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39906 result
= (bool)(arg1
)->EndContextHelp();
39907 wxPyEndAllowThreads(__tstate
);
39908 if (PyErr_Occurred()) SWIG_fail
;
39911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39919 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39921 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39922 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39923 return SWIG_Py_Void();
39926 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39927 return SWIG_Python_InitShadowInstance(args
);
39930 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39931 PyObject
*resultobj
= 0;
39932 wxWindow
*arg1
= (wxWindow
*) 0 ;
39933 int arg2
= (int) wxID_CONTEXT_HELP
;
39934 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39935 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39936 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39937 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39938 long arg5
= (long) wxBU_AUTODRAW
;
39939 wxContextHelpButton
*result
= 0 ;
39948 PyObject
* obj0
= 0 ;
39949 PyObject
* obj1
= 0 ;
39950 PyObject
* obj2
= 0 ;
39951 PyObject
* obj3
= 0 ;
39952 PyObject
* obj4
= 0 ;
39953 char * kwnames
[] = {
39954 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39959 if (!SWIG_IsOK(res1
)) {
39960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39962 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39965 if (!SWIG_IsOK(ecode2
)) {
39966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39968 arg2
= static_cast< int >(val2
);
39973 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39979 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39983 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39984 if (!SWIG_IsOK(ecode5
)) {
39985 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39987 arg5
= static_cast< long >(val5
);
39990 if (!wxPyCheckForApp()) SWIG_fail
;
39991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39992 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39993 wxPyEndAllowThreads(__tstate
);
39994 if (PyErr_Occurred()) SWIG_fail
;
39996 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
40003 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40005 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40006 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
40007 return SWIG_Py_Void();
40010 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40011 return SWIG_Python_InitShadowInstance(args
);
40014 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40015 PyObject
*resultobj
= 0;
40016 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40019 PyObject
*swig_obj
[1] ;
40021 if (!args
) SWIG_fail
;
40022 swig_obj
[0] = args
;
40023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40024 if (!SWIG_IsOK(res1
)) {
40025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40027 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40032 wxPyEndAllowThreads(__tstate
);
40033 if (PyErr_Occurred()) SWIG_fail
;
40035 resultobj
= SWIG_Py_Void();
40042 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40043 PyObject
*resultobj
= 0;
40044 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40045 wxHelpProvider
*result
= 0 ;
40047 PyObject
* obj0
= 0 ;
40048 char * kwnames
[] = {
40049 (char *) "helpProvider", NULL
40052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
40053 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40054 if (!SWIG_IsOK(res1
)) {
40055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40059 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
40060 wxPyEndAllowThreads(__tstate
);
40061 if (PyErr_Occurred()) SWIG_fail
;
40063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
40070 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40071 PyObject
*resultobj
= 0;
40072 wxHelpProvider
*result
= 0 ;
40074 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
40076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40077 result
= (wxHelpProvider
*)wxHelpProvider::Get();
40078 wxPyEndAllowThreads(__tstate
);
40079 if (PyErr_Occurred()) SWIG_fail
;
40081 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40088 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40089 PyObject
*resultobj
= 0;
40090 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40091 wxWindow
*arg2
= (wxWindow
*) 0 ;
40097 PyObject
* obj0
= 0 ;
40098 PyObject
* obj1
= 0 ;
40099 char * kwnames
[] = {
40100 (char *) "self",(char *) "window", NULL
40103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40105 if (!SWIG_IsOK(res1
)) {
40106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40108 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40109 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40110 if (!SWIG_IsOK(res2
)) {
40111 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40113 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40116 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
40117 wxPyEndAllowThreads(__tstate
);
40118 if (PyErr_Occurred()) SWIG_fail
;
40122 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40124 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40133 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40134 PyObject
*resultobj
= 0;
40135 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40136 wxWindow
*arg2
= (wxWindow
*) 0 ;
40142 PyObject
* obj0
= 0 ;
40143 PyObject
* obj1
= 0 ;
40144 char * kwnames
[] = {
40145 (char *) "self",(char *) "window", NULL
40148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40150 if (!SWIG_IsOK(res1
)) {
40151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40153 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40154 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40155 if (!SWIG_IsOK(res2
)) {
40156 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40158 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40161 result
= (bool)(arg1
)->ShowHelp(arg2
);
40162 wxPyEndAllowThreads(__tstate
);
40163 if (PyErr_Occurred()) SWIG_fail
;
40166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40174 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40175 PyObject
*resultobj
= 0;
40176 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40177 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
40178 wxPoint
*arg3
= 0 ;
40179 wxHelpEvent::Origin arg4
;
40188 PyObject
* obj0
= 0 ;
40189 PyObject
* obj1
= 0 ;
40190 PyObject
* obj2
= 0 ;
40191 PyObject
* obj3
= 0 ;
40192 char * kwnames
[] = {
40193 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40198 if (!SWIG_IsOK(res1
)) {
40199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40201 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40202 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
40203 if (!SWIG_IsOK(res2
)) {
40204 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40206 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
40209 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40211 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40212 if (!SWIG_IsOK(ecode4
)) {
40213 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40215 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
40217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40218 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
40219 wxPyEndAllowThreads(__tstate
);
40220 if (PyErr_Occurred()) SWIG_fail
;
40223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40231 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40232 PyObject
*resultobj
= 0;
40233 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40234 wxWindow
*arg2
= (wxWindow
*) 0 ;
40235 wxString
*arg3
= 0 ;
40240 bool temp3
= false ;
40241 PyObject
* obj0
= 0 ;
40242 PyObject
* obj1
= 0 ;
40243 PyObject
* obj2
= 0 ;
40244 char * kwnames
[] = {
40245 (char *) "self",(char *) "window",(char *) "text", NULL
40248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40250 if (!SWIG_IsOK(res1
)) {
40251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40253 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40254 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40255 if (!SWIG_IsOK(res2
)) {
40256 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40258 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40260 arg3
= wxString_in_helper(obj2
);
40261 if (arg3
== NULL
) SWIG_fail
;
40265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40266 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40267 wxPyEndAllowThreads(__tstate
);
40268 if (PyErr_Occurred()) SWIG_fail
;
40270 resultobj
= SWIG_Py_Void();
40285 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40286 PyObject
*resultobj
= 0;
40287 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40289 wxString
*arg3
= 0 ;
40294 bool temp3
= false ;
40295 PyObject
* obj0
= 0 ;
40296 PyObject
* obj1
= 0 ;
40297 PyObject
* obj2
= 0 ;
40298 char * kwnames
[] = {
40299 (char *) "self",(char *) "id",(char *) "text", NULL
40302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40304 if (!SWIG_IsOK(res1
)) {
40305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40307 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40309 if (!SWIG_IsOK(ecode2
)) {
40310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40312 arg2
= static_cast< int >(val2
);
40314 arg3
= wxString_in_helper(obj2
);
40315 if (arg3
== NULL
) SWIG_fail
;
40319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40320 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40321 wxPyEndAllowThreads(__tstate
);
40322 if (PyErr_Occurred()) SWIG_fail
;
40324 resultobj
= SWIG_Py_Void();
40339 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40340 PyObject
*resultobj
= 0;
40341 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40342 wxWindow
*arg2
= (wxWindow
*) 0 ;
40347 PyObject
* obj0
= 0 ;
40348 PyObject
* obj1
= 0 ;
40349 char * kwnames
[] = {
40350 (char *) "self",(char *) "window", NULL
40353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40355 if (!SWIG_IsOK(res1
)) {
40356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40358 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40359 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40360 if (!SWIG_IsOK(res2
)) {
40361 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40363 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40366 (arg1
)->RemoveHelp(arg2
);
40367 wxPyEndAllowThreads(__tstate
);
40368 if (PyErr_Occurred()) SWIG_fail
;
40370 resultobj
= SWIG_Py_Void();
40377 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40378 PyObject
*resultobj
= 0;
40379 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40382 PyObject
*swig_obj
[1] ;
40384 if (!args
) SWIG_fail
;
40385 swig_obj
[0] = args
;
40386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40387 if (!SWIG_IsOK(res1
)) {
40388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40390 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40393 wxHelpProvider_Destroy(arg1
);
40394 wxPyEndAllowThreads(__tstate
);
40395 if (PyErr_Occurred()) SWIG_fail
;
40397 resultobj
= SWIG_Py_Void();
40404 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40406 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40407 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40408 return SWIG_Py_Void();
40411 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40412 PyObject
*resultobj
= 0;
40413 wxSimpleHelpProvider
*result
= 0 ;
40415 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40418 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40419 wxPyEndAllowThreads(__tstate
);
40420 if (PyErr_Occurred()) SWIG_fail
;
40422 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40429 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40431 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40432 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40433 return SWIG_Py_Void();
40436 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40437 return SWIG_Python_InitShadowInstance(args
);
40440 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40441 PyObject
*resultobj
= 0;
40442 wxBitmap
*arg1
= 0 ;
40443 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40444 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40445 wxGenericDragImage
*result
= 0 ;
40450 PyObject
* obj0
= 0 ;
40451 PyObject
* obj1
= 0 ;
40452 char * kwnames
[] = {
40453 (char *) "image",(char *) "cursor", NULL
40456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40457 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40458 if (!SWIG_IsOK(res1
)) {
40459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40462 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40464 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40466 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40467 if (!SWIG_IsOK(res2
)) {
40468 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40471 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40473 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40476 if (!wxPyCheckForApp()) SWIG_fail
;
40477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40478 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40479 wxPyEndAllowThreads(__tstate
);
40480 if (PyErr_Occurred()) SWIG_fail
;
40482 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40489 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40490 PyObject
*resultobj
= 0;
40492 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40493 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40494 wxGenericDragImage
*result
= 0 ;
40499 PyObject
* obj0
= 0 ;
40500 PyObject
* obj1
= 0 ;
40501 char * kwnames
[] = {
40502 (char *) "image",(char *) "cursor", NULL
40505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40506 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40507 if (!SWIG_IsOK(res1
)) {
40508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40511 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40513 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40515 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40516 if (!SWIG_IsOK(res2
)) {
40517 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40520 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40522 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40525 if (!wxPyCheckForApp()) SWIG_fail
;
40526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40527 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40528 wxPyEndAllowThreads(__tstate
);
40529 if (PyErr_Occurred()) SWIG_fail
;
40531 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40538 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40539 PyObject
*resultobj
= 0;
40540 wxString
*arg1
= 0 ;
40541 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40542 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40543 wxGenericDragImage
*result
= 0 ;
40544 bool temp1
= false ;
40547 PyObject
* obj0
= 0 ;
40548 PyObject
* obj1
= 0 ;
40549 char * kwnames
[] = {
40550 (char *) "str",(char *) "cursor", NULL
40553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40555 arg1
= wxString_in_helper(obj0
);
40556 if (arg1
== NULL
) SWIG_fail
;
40560 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40561 if (!SWIG_IsOK(res2
)) {
40562 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40565 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40567 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40570 if (!wxPyCheckForApp()) SWIG_fail
;
40571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40572 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40573 wxPyEndAllowThreads(__tstate
);
40574 if (PyErr_Occurred()) SWIG_fail
;
40576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40591 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40592 PyObject
*resultobj
= 0;
40593 wxPyTreeCtrl
*arg1
= 0 ;
40594 wxTreeItemId
*arg2
= 0 ;
40595 wxGenericDragImage
*result
= 0 ;
40600 PyObject
* obj0
= 0 ;
40601 PyObject
* obj1
= 0 ;
40602 char * kwnames
[] = {
40603 (char *) "treeCtrl",(char *) "id", NULL
40606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40607 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40608 if (!SWIG_IsOK(res1
)) {
40609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40612 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40614 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40615 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40616 if (!SWIG_IsOK(res2
)) {
40617 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40620 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40622 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40624 if (!wxPyCheckForApp()) SWIG_fail
;
40625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40626 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40627 wxPyEndAllowThreads(__tstate
);
40628 if (PyErr_Occurred()) SWIG_fail
;
40630 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40637 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40638 PyObject
*resultobj
= 0;
40639 wxPyListCtrl
*arg1
= 0 ;
40641 wxGenericDragImage
*result
= 0 ;
40646 PyObject
* obj0
= 0 ;
40647 PyObject
* obj1
= 0 ;
40648 char * kwnames
[] = {
40649 (char *) "listCtrl",(char *) "id", NULL
40652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40653 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40654 if (!SWIG_IsOK(res1
)) {
40655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40658 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40660 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40661 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40662 if (!SWIG_IsOK(ecode2
)) {
40663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40665 arg2
= static_cast< long >(val2
);
40667 if (!wxPyCheckForApp()) SWIG_fail
;
40668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40669 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40670 wxPyEndAllowThreads(__tstate
);
40671 if (PyErr_Occurred()) SWIG_fail
;
40673 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40680 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40681 PyObject
*resultobj
= 0;
40682 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40685 PyObject
*swig_obj
[1] ;
40687 if (!args
) SWIG_fail
;
40688 swig_obj
[0] = args
;
40689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40690 if (!SWIG_IsOK(res1
)) {
40691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40693 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40698 wxPyEndAllowThreads(__tstate
);
40699 if (PyErr_Occurred()) SWIG_fail
;
40701 resultobj
= SWIG_Py_Void();
40708 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40709 PyObject
*resultobj
= 0;
40710 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40711 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40716 PyObject
* obj0
= 0 ;
40717 PyObject
* obj1
= 0 ;
40718 char * kwnames
[] = {
40719 (char *) "self",(char *) "bitmap", NULL
40722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40724 if (!SWIG_IsOK(res1
)) {
40725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40727 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40728 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40729 if (!SWIG_IsOK(res2
)) {
40730 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40732 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40735 (arg1
)->SetBackingBitmap(arg2
);
40736 wxPyEndAllowThreads(__tstate
);
40737 if (PyErr_Occurred()) SWIG_fail
;
40739 resultobj
= SWIG_Py_Void();
40746 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40747 PyObject
*resultobj
= 0;
40748 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40749 wxPoint
*arg2
= 0 ;
40750 wxWindow
*arg3
= (wxWindow
*) 0 ;
40751 bool arg4
= (bool) false ;
40752 wxRect
*arg5
= (wxRect
*) NULL
;
40763 PyObject
* obj0
= 0 ;
40764 PyObject
* obj1
= 0 ;
40765 PyObject
* obj2
= 0 ;
40766 PyObject
* obj3
= 0 ;
40767 PyObject
* obj4
= 0 ;
40768 char * kwnames
[] = {
40769 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40774 if (!SWIG_IsOK(res1
)) {
40775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40777 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40780 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40782 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40783 if (!SWIG_IsOK(res3
)) {
40784 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40786 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40788 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40789 if (!SWIG_IsOK(ecode4
)) {
40790 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40792 arg4
= static_cast< bool >(val4
);
40795 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40796 if (!SWIG_IsOK(res5
)) {
40797 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40799 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40803 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40804 wxPyEndAllowThreads(__tstate
);
40805 if (PyErr_Occurred()) SWIG_fail
;
40808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40816 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40817 PyObject
*resultobj
= 0;
40818 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40819 wxPoint
*arg2
= 0 ;
40820 wxWindow
*arg3
= (wxWindow
*) 0 ;
40821 wxWindow
*arg4
= (wxWindow
*) 0 ;
40830 PyObject
* obj0
= 0 ;
40831 PyObject
* obj1
= 0 ;
40832 PyObject
* obj2
= 0 ;
40833 PyObject
* obj3
= 0 ;
40834 char * kwnames
[] = {
40835 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40840 if (!SWIG_IsOK(res1
)) {
40841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40843 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40846 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40848 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40849 if (!SWIG_IsOK(res3
)) {
40850 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40852 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40853 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40854 if (!SWIG_IsOK(res4
)) {
40855 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40857 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40860 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40861 wxPyEndAllowThreads(__tstate
);
40862 if (PyErr_Occurred()) SWIG_fail
;
40865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40873 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40874 PyObject
*resultobj
= 0;
40875 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40879 PyObject
*swig_obj
[1] ;
40881 if (!args
) SWIG_fail
;
40882 swig_obj
[0] = args
;
40883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40884 if (!SWIG_IsOK(res1
)) {
40885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40887 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40890 result
= (bool)(arg1
)->EndDrag();
40891 wxPyEndAllowThreads(__tstate
);
40892 if (PyErr_Occurred()) SWIG_fail
;
40895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40903 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40904 PyObject
*resultobj
= 0;
40905 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40906 wxPoint
*arg2
= 0 ;
40911 PyObject
* obj0
= 0 ;
40912 PyObject
* obj1
= 0 ;
40913 char * kwnames
[] = {
40914 (char *) "self",(char *) "pt", NULL
40917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40919 if (!SWIG_IsOK(res1
)) {
40920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40922 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40925 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40929 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40930 wxPyEndAllowThreads(__tstate
);
40931 if (PyErr_Occurred()) SWIG_fail
;
40934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40942 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40943 PyObject
*resultobj
= 0;
40944 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40948 PyObject
*swig_obj
[1] ;
40950 if (!args
) SWIG_fail
;
40951 swig_obj
[0] = args
;
40952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40953 if (!SWIG_IsOK(res1
)) {
40954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40956 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40959 result
= (bool)(arg1
)->Show();
40960 wxPyEndAllowThreads(__tstate
);
40961 if (PyErr_Occurred()) SWIG_fail
;
40964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40972 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40973 PyObject
*resultobj
= 0;
40974 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40978 PyObject
*swig_obj
[1] ;
40980 if (!args
) SWIG_fail
;
40981 swig_obj
[0] = args
;
40982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40983 if (!SWIG_IsOK(res1
)) {
40984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40986 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40989 result
= (bool)(arg1
)->Hide();
40990 wxPyEndAllowThreads(__tstate
);
40991 if (PyErr_Occurred()) SWIG_fail
;
40994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41002 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41003 PyObject
*resultobj
= 0;
41004 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41005 wxPoint
*arg2
= 0 ;
41010 PyObject
* obj0
= 0 ;
41011 PyObject
* obj1
= 0 ;
41012 char * kwnames
[] = {
41013 (char *) "self",(char *) "pos", NULL
41016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41018 if (!SWIG_IsOK(res1
)) {
41019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41021 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41024 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41028 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
41029 wxPyEndAllowThreads(__tstate
);
41030 if (PyErr_Occurred()) SWIG_fail
;
41032 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
41039 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41040 PyObject
*resultobj
= 0;
41041 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41043 wxPoint
*arg3
= 0 ;
41050 PyObject
* obj0
= 0 ;
41051 PyObject
* obj1
= 0 ;
41052 PyObject
* obj2
= 0 ;
41053 char * kwnames
[] = {
41054 (char *) "self",(char *) "dc",(char *) "pos", NULL
41057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41059 if (!SWIG_IsOK(res1
)) {
41060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41062 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41063 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41064 if (!SWIG_IsOK(res2
)) {
41065 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41068 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41070 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41073 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41077 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
41078 wxPyEndAllowThreads(__tstate
);
41079 if (PyErr_Occurred()) SWIG_fail
;
41082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41090 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41091 PyObject
*resultobj
= 0;
41092 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41094 wxMemoryDC
*arg3
= 0 ;
41106 PyObject
* obj0
= 0 ;
41107 PyObject
* obj1
= 0 ;
41108 PyObject
* obj2
= 0 ;
41109 PyObject
* obj3
= 0 ;
41110 PyObject
* obj4
= 0 ;
41111 char * kwnames
[] = {
41112 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41117 if (!SWIG_IsOK(res1
)) {
41118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41120 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41121 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41122 if (!SWIG_IsOK(res2
)) {
41123 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41126 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41128 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41129 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
41130 if (!SWIG_IsOK(res3
)) {
41131 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41134 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41136 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
41139 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
41143 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
41146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41147 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
41148 wxPyEndAllowThreads(__tstate
);
41149 if (PyErr_Occurred()) SWIG_fail
;
41152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41160 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41161 PyObject
*resultobj
= 0;
41162 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41163 wxPoint
*arg2
= 0 ;
41164 wxPoint
*arg3
= 0 ;
41176 PyObject
* obj0
= 0 ;
41177 PyObject
* obj1
= 0 ;
41178 PyObject
* obj2
= 0 ;
41179 PyObject
* obj3
= 0 ;
41180 PyObject
* obj4
= 0 ;
41181 char * kwnames
[] = {
41182 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41187 if (!SWIG_IsOK(res1
)) {
41188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41190 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41193 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41197 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41199 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41200 if (!SWIG_IsOK(ecode4
)) {
41201 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41203 arg4
= static_cast< bool >(val4
);
41204 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
41205 if (!SWIG_IsOK(ecode5
)) {
41206 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41208 arg5
= static_cast< bool >(val5
);
41210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41211 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
41212 wxPyEndAllowThreads(__tstate
);
41213 if (PyErr_Occurred()) SWIG_fail
;
41216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41224 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41226 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41227 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
41228 return SWIG_Py_Void();
41231 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41232 return SWIG_Python_InitShadowInstance(args
);
41235 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41236 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41241 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41242 PyObject
*pyobj
= 0;
41246 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41248 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41255 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41256 PyObject
*resultobj
= 0;
41257 wxWindow
*arg1
= (wxWindow
*) 0 ;
41258 int arg2
= (int) -1 ;
41259 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41260 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41261 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41262 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41263 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41264 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41265 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41266 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41267 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41268 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41269 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41270 wxDatePickerCtrl
*result
= 0 ;
41283 bool temp8
= false ;
41284 PyObject
* obj0
= 0 ;
41285 PyObject
* obj1
= 0 ;
41286 PyObject
* obj2
= 0 ;
41287 PyObject
* obj3
= 0 ;
41288 PyObject
* obj4
= 0 ;
41289 PyObject
* obj5
= 0 ;
41290 PyObject
* obj6
= 0 ;
41291 PyObject
* obj7
= 0 ;
41292 char * kwnames
[] = {
41293 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41298 if (!SWIG_IsOK(res1
)) {
41299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41301 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41303 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41304 if (!SWIG_IsOK(ecode2
)) {
41305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41307 arg2
= static_cast< int >(val2
);
41310 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41311 if (!SWIG_IsOK(res3
)) {
41312 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41315 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41317 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41322 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41328 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41332 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41333 if (!SWIG_IsOK(ecode6
)) {
41334 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41336 arg6
= static_cast< long >(val6
);
41339 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41340 if (!SWIG_IsOK(res7
)) {
41341 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41344 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41346 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41350 arg8
= wxString_in_helper(obj7
);
41351 if (arg8
== NULL
) SWIG_fail
;
41356 if (!wxPyCheckForApp()) SWIG_fail
;
41357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41358 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41359 wxPyEndAllowThreads(__tstate
);
41360 if (PyErr_Occurred()) SWIG_fail
;
41362 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41377 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41378 PyObject
*resultobj
= 0;
41379 wxDatePickerCtrl
*result
= 0 ;
41381 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41383 if (!wxPyCheckForApp()) SWIG_fail
;
41384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41385 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41386 wxPyEndAllowThreads(__tstate
);
41387 if (PyErr_Occurred()) SWIG_fail
;
41389 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41396 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41397 PyObject
*resultobj
= 0;
41398 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41399 wxWindow
*arg2
= (wxWindow
*) 0 ;
41400 int arg3
= (int) -1 ;
41401 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41402 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41403 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41404 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41405 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41406 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41407 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41408 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41409 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41410 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41411 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41427 bool temp9
= false ;
41428 PyObject
* obj0
= 0 ;
41429 PyObject
* obj1
= 0 ;
41430 PyObject
* obj2
= 0 ;
41431 PyObject
* obj3
= 0 ;
41432 PyObject
* obj4
= 0 ;
41433 PyObject
* obj5
= 0 ;
41434 PyObject
* obj6
= 0 ;
41435 PyObject
* obj7
= 0 ;
41436 PyObject
* obj8
= 0 ;
41437 char * kwnames
[] = {
41438 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41443 if (!SWIG_IsOK(res1
)) {
41444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41446 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41447 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41448 if (!SWIG_IsOK(res2
)) {
41449 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41451 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41453 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41454 if (!SWIG_IsOK(ecode3
)) {
41455 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41457 arg3
= static_cast< int >(val3
);
41460 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41461 if (!SWIG_IsOK(res4
)) {
41462 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41465 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41467 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41472 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41478 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41482 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41483 if (!SWIG_IsOK(ecode7
)) {
41484 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41486 arg7
= static_cast< long >(val7
);
41489 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41490 if (!SWIG_IsOK(res8
)) {
41491 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41494 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41496 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41500 arg9
= wxString_in_helper(obj8
);
41501 if (arg9
== NULL
) SWIG_fail
;
41506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41507 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41508 wxPyEndAllowThreads(__tstate
);
41509 if (PyErr_Occurred()) SWIG_fail
;
41512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41528 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41529 PyObject
*resultobj
= 0;
41530 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41531 wxDateTime
*arg2
= 0 ;
41536 PyObject
* obj0
= 0 ;
41537 PyObject
* obj1
= 0 ;
41538 char * kwnames
[] = {
41539 (char *) "self",(char *) "dt", NULL
41542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41544 if (!SWIG_IsOK(res1
)) {
41545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41547 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41548 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41549 if (!SWIG_IsOK(res2
)) {
41550 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41553 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41555 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41558 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41559 wxPyEndAllowThreads(__tstate
);
41560 if (PyErr_Occurred()) SWIG_fail
;
41562 resultobj
= SWIG_Py_Void();
41569 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41570 PyObject
*resultobj
= 0;
41571 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41575 PyObject
*swig_obj
[1] ;
41577 if (!args
) SWIG_fail
;
41578 swig_obj
[0] = args
;
41579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41580 if (!SWIG_IsOK(res1
)) {
41581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41583 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41586 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41587 wxPyEndAllowThreads(__tstate
);
41588 if (PyErr_Occurred()) SWIG_fail
;
41590 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41597 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41598 PyObject
*resultobj
= 0;
41599 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41600 wxDateTime
*arg2
= 0 ;
41601 wxDateTime
*arg3
= 0 ;
41608 PyObject
* obj0
= 0 ;
41609 PyObject
* obj1
= 0 ;
41610 PyObject
* obj2
= 0 ;
41611 char * kwnames
[] = {
41612 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41617 if (!SWIG_IsOK(res1
)) {
41618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41620 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41621 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41622 if (!SWIG_IsOK(res2
)) {
41623 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41626 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41628 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41629 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41630 if (!SWIG_IsOK(res3
)) {
41631 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41634 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41636 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41639 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41640 wxPyEndAllowThreads(__tstate
);
41641 if (PyErr_Occurred()) SWIG_fail
;
41643 resultobj
= SWIG_Py_Void();
41650 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41651 PyObject
*resultobj
= 0;
41652 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41656 PyObject
*swig_obj
[1] ;
41658 if (!args
) SWIG_fail
;
41659 swig_obj
[0] = args
;
41660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41661 if (!SWIG_IsOK(res1
)) {
41662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41664 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41667 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41668 wxPyEndAllowThreads(__tstate
);
41669 if (PyErr_Occurred()) SWIG_fail
;
41671 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41678 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41679 PyObject
*resultobj
= 0;
41680 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41684 PyObject
*swig_obj
[1] ;
41686 if (!args
) SWIG_fail
;
41687 swig_obj
[0] = args
;
41688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41689 if (!SWIG_IsOK(res1
)) {
41690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41692 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41695 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41696 wxPyEndAllowThreads(__tstate
);
41697 if (PyErr_Occurred()) SWIG_fail
;
41699 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41706 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41708 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41709 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41710 return SWIG_Py_Void();
41713 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41714 return SWIG_Python_InitShadowInstance(args
);
41717 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41718 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41723 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41724 PyObject
*pyobj
= 0;
41728 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41730 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41737 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41738 PyObject
*resultobj
= 0;
41739 wxWindow
*arg1
= (wxWindow
*) 0 ;
41741 wxString
*arg3
= 0 ;
41742 wxString
*arg4
= 0 ;
41743 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41744 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41745 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41746 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41747 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41748 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41749 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41750 wxHyperlinkCtrl
*result
= 0 ;
41755 bool temp3
= false ;
41756 bool temp4
= false ;
41761 bool temp8
= false ;
41762 PyObject
* obj0
= 0 ;
41763 PyObject
* obj1
= 0 ;
41764 PyObject
* obj2
= 0 ;
41765 PyObject
* obj3
= 0 ;
41766 PyObject
* obj4
= 0 ;
41767 PyObject
* obj5
= 0 ;
41768 PyObject
* obj6
= 0 ;
41769 PyObject
* obj7
= 0 ;
41770 char * kwnames
[] = {
41771 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41776 if (!SWIG_IsOK(res1
)) {
41777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41779 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41780 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41781 if (!SWIG_IsOK(ecode2
)) {
41782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41784 arg2
= static_cast< int >(val2
);
41786 arg3
= wxString_in_helper(obj2
);
41787 if (arg3
== NULL
) SWIG_fail
;
41791 arg4
= wxString_in_helper(obj3
);
41792 if (arg4
== NULL
) SWIG_fail
;
41798 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41804 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41808 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41809 if (!SWIG_IsOK(ecode7
)) {
41810 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41812 arg7
= static_cast< long >(val7
);
41816 arg8
= wxString_in_helper(obj7
);
41817 if (arg8
== NULL
) SWIG_fail
;
41822 if (!wxPyCheckForApp()) SWIG_fail
;
41823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41824 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
41825 wxPyEndAllowThreads(__tstate
);
41826 if (PyErr_Occurred()) SWIG_fail
;
41828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
41859 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41860 PyObject
*resultobj
= 0;
41861 wxHyperlinkCtrl
*result
= 0 ;
41863 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
41865 if (!wxPyCheckForApp()) SWIG_fail
;
41866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41867 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
41868 wxPyEndAllowThreads(__tstate
);
41869 if (PyErr_Occurred()) SWIG_fail
;
41871 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
41878 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41879 PyObject
*resultobj
= 0;
41880 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41881 wxWindow
*arg2
= (wxWindow
*) 0 ;
41883 wxString
*arg4
= 0 ;
41884 wxString
*arg5
= 0 ;
41885 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
41886 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
41887 wxSize
const &arg7_defvalue
= wxDefaultSize
;
41888 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
41889 long arg8
= (long) wxHL_DEFAULT_STYLE
;
41890 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
41891 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41899 bool temp4
= false ;
41900 bool temp5
= false ;
41905 bool temp9
= false ;
41906 PyObject
* obj0
= 0 ;
41907 PyObject
* obj1
= 0 ;
41908 PyObject
* obj2
= 0 ;
41909 PyObject
* obj3
= 0 ;
41910 PyObject
* obj4
= 0 ;
41911 PyObject
* obj5
= 0 ;
41912 PyObject
* obj6
= 0 ;
41913 PyObject
* obj7
= 0 ;
41914 PyObject
* obj8
= 0 ;
41915 char * kwnames
[] = {
41916 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41921 if (!SWIG_IsOK(res1
)) {
41922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41924 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41925 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41926 if (!SWIG_IsOK(res2
)) {
41927 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41929 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41930 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41931 if (!SWIG_IsOK(ecode3
)) {
41932 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41934 arg3
= static_cast< int >(val3
);
41936 arg4
= wxString_in_helper(obj3
);
41937 if (arg4
== NULL
) SWIG_fail
;
41941 arg5
= wxString_in_helper(obj4
);
41942 if (arg5
== NULL
) SWIG_fail
;
41948 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
41954 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
41958 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
41959 if (!SWIG_IsOK(ecode8
)) {
41960 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41962 arg8
= static_cast< long >(val8
);
41966 arg9
= wxString_in_helper(obj8
);
41967 if (arg9
== NULL
) SWIG_fail
;
41972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41973 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
41974 wxPyEndAllowThreads(__tstate
);
41975 if (PyErr_Occurred()) SWIG_fail
;
41978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42010 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42011 PyObject
*resultobj
= 0;
42012 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42016 PyObject
*swig_obj
[1] ;
42018 if (!args
) SWIG_fail
;
42019 swig_obj
[0] = args
;
42020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42021 if (!SWIG_IsOK(res1
)) {
42022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42024 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42027 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
42028 wxPyEndAllowThreads(__tstate
);
42029 if (PyErr_Occurred()) SWIG_fail
;
42031 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42038 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42039 PyObject
*resultobj
= 0;
42040 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42041 wxColour
*arg2
= 0 ;
42045 PyObject
* obj0
= 0 ;
42046 PyObject
* obj1
= 0 ;
42047 char * kwnames
[] = {
42048 (char *) "self",(char *) "colour", NULL
42051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42053 if (!SWIG_IsOK(res1
)) {
42054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42056 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42059 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42063 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
42064 wxPyEndAllowThreads(__tstate
);
42065 if (PyErr_Occurred()) SWIG_fail
;
42067 resultobj
= SWIG_Py_Void();
42074 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42075 PyObject
*resultobj
= 0;
42076 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42080 PyObject
*swig_obj
[1] ;
42082 if (!args
) SWIG_fail
;
42083 swig_obj
[0] = args
;
42084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42085 if (!SWIG_IsOK(res1
)) {
42086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42088 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42091 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
42092 wxPyEndAllowThreads(__tstate
);
42093 if (PyErr_Occurred()) SWIG_fail
;
42095 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42102 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42103 PyObject
*resultobj
= 0;
42104 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42105 wxColour
*arg2
= 0 ;
42109 PyObject
* obj0
= 0 ;
42110 PyObject
* obj1
= 0 ;
42111 char * kwnames
[] = {
42112 (char *) "self",(char *) "colour", NULL
42115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42117 if (!SWIG_IsOK(res1
)) {
42118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42120 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42123 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42127 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
42128 wxPyEndAllowThreads(__tstate
);
42129 if (PyErr_Occurred()) SWIG_fail
;
42131 resultobj
= SWIG_Py_Void();
42138 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42139 PyObject
*resultobj
= 0;
42140 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42144 PyObject
*swig_obj
[1] ;
42146 if (!args
) SWIG_fail
;
42147 swig_obj
[0] = args
;
42148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42149 if (!SWIG_IsOK(res1
)) {
42150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42152 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42155 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
42156 wxPyEndAllowThreads(__tstate
);
42157 if (PyErr_Occurred()) SWIG_fail
;
42159 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42166 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42167 PyObject
*resultobj
= 0;
42168 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42169 wxColour
*arg2
= 0 ;
42173 PyObject
* obj0
= 0 ;
42174 PyObject
* obj1
= 0 ;
42175 char * kwnames
[] = {
42176 (char *) "self",(char *) "colour", NULL
42179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42181 if (!SWIG_IsOK(res1
)) {
42182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42184 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42187 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42191 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
42192 wxPyEndAllowThreads(__tstate
);
42193 if (PyErr_Occurred()) SWIG_fail
;
42195 resultobj
= SWIG_Py_Void();
42202 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42203 PyObject
*resultobj
= 0;
42204 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42208 PyObject
*swig_obj
[1] ;
42210 if (!args
) SWIG_fail
;
42211 swig_obj
[0] = args
;
42212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42213 if (!SWIG_IsOK(res1
)) {
42214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42216 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42219 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
42220 wxPyEndAllowThreads(__tstate
);
42221 if (PyErr_Occurred()) SWIG_fail
;
42225 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42227 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42236 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42237 PyObject
*resultobj
= 0;
42238 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42239 wxString
*arg2
= 0 ;
42242 bool temp2
= false ;
42243 PyObject
* obj0
= 0 ;
42244 PyObject
* obj1
= 0 ;
42245 char * kwnames
[] = {
42246 (char *) "self",(char *) "url", NULL
42249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42251 if (!SWIG_IsOK(res1
)) {
42252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42254 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42256 arg2
= wxString_in_helper(obj1
);
42257 if (arg2
== NULL
) SWIG_fail
;
42261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42262 (arg1
)->SetURL((wxString
const &)*arg2
);
42263 wxPyEndAllowThreads(__tstate
);
42264 if (PyErr_Occurred()) SWIG_fail
;
42266 resultobj
= SWIG_Py_Void();
42281 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42282 PyObject
*resultobj
= 0;
42283 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42284 bool arg2
= (bool) true ;
42289 PyObject
* obj0
= 0 ;
42290 PyObject
* obj1
= 0 ;
42291 char * kwnames
[] = {
42292 (char *) "self",(char *) "visited", NULL
42295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42297 if (!SWIG_IsOK(res1
)) {
42298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42300 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42302 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42303 if (!SWIG_IsOK(ecode2
)) {
42304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42306 arg2
= static_cast< bool >(val2
);
42309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42310 (arg1
)->SetVisited(arg2
);
42311 wxPyEndAllowThreads(__tstate
);
42312 if (PyErr_Occurred()) SWIG_fail
;
42314 resultobj
= SWIG_Py_Void();
42321 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42322 PyObject
*resultobj
= 0;
42323 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42327 PyObject
*swig_obj
[1] ;
42329 if (!args
) SWIG_fail
;
42330 swig_obj
[0] = args
;
42331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42332 if (!SWIG_IsOK(res1
)) {
42333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42335 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42338 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42339 wxPyEndAllowThreads(__tstate
);
42340 if (PyErr_Occurred()) SWIG_fail
;
42343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42351 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42353 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42354 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42355 return SWIG_Py_Void();
42358 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42359 return SWIG_Python_InitShadowInstance(args
);
42362 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42363 PyObject
*resultobj
= 0;
42364 wxObject
*arg1
= (wxObject
*) 0 ;
42366 wxString
*arg3
= 0 ;
42367 wxHyperlinkEvent
*result
= 0 ;
42372 bool temp3
= false ;
42373 PyObject
* obj0
= 0 ;
42374 PyObject
* obj1
= 0 ;
42375 PyObject
* obj2
= 0 ;
42376 char * kwnames
[] = {
42377 (char *) "generator",(char *) "id",(char *) "url", NULL
42380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42382 if (!SWIG_IsOK(res1
)) {
42383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42385 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42387 if (!SWIG_IsOK(ecode2
)) {
42388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42390 arg2
= static_cast< int >(val2
);
42392 arg3
= wxString_in_helper(obj2
);
42393 if (arg3
== NULL
) SWIG_fail
;
42397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42398 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42399 wxPyEndAllowThreads(__tstate
);
42400 if (PyErr_Occurred()) SWIG_fail
;
42402 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42417 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42418 PyObject
*resultobj
= 0;
42419 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42423 PyObject
*swig_obj
[1] ;
42425 if (!args
) SWIG_fail
;
42426 swig_obj
[0] = args
;
42427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42428 if (!SWIG_IsOK(res1
)) {
42429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42431 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42434 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42435 wxPyEndAllowThreads(__tstate
);
42436 if (PyErr_Occurred()) SWIG_fail
;
42440 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42442 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42451 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42452 PyObject
*resultobj
= 0;
42453 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42454 wxString
*arg2
= 0 ;
42457 bool temp2
= false ;
42458 PyObject
* obj0
= 0 ;
42459 PyObject
* obj1
= 0 ;
42460 char * kwnames
[] = {
42461 (char *) "self",(char *) "url", NULL
42464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42466 if (!SWIG_IsOK(res1
)) {
42467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42469 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42471 arg2
= wxString_in_helper(obj1
);
42472 if (arg2
== NULL
) SWIG_fail
;
42476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42477 (arg1
)->SetURL((wxString
const &)*arg2
);
42478 wxPyEndAllowThreads(__tstate
);
42479 if (PyErr_Occurred()) SWIG_fail
;
42481 resultobj
= SWIG_Py_Void();
42496 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42498 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42499 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42500 return SWIG_Py_Void();
42503 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42504 return SWIG_Python_InitShadowInstance(args
);
42507 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42508 PyObject
*resultobj
= 0;
42509 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42510 wxWindow
*arg2
= (wxWindow
*) 0 ;
42512 wxString
const &arg4_defvalue
= wxEmptyString
;
42513 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42514 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42515 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42516 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42517 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42518 long arg7
= (long) 0 ;
42519 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42520 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42521 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42522 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42530 bool temp4
= false ;
42537 bool temp9
= false ;
42538 PyObject
* obj0
= 0 ;
42539 PyObject
* obj1
= 0 ;
42540 PyObject
* obj2
= 0 ;
42541 PyObject
* obj3
= 0 ;
42542 PyObject
* obj4
= 0 ;
42543 PyObject
* obj5
= 0 ;
42544 PyObject
* obj6
= 0 ;
42545 PyObject
* obj7
= 0 ;
42546 PyObject
* obj8
= 0 ;
42547 char * kwnames
[] = {
42548 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42553 if (!SWIG_IsOK(res1
)) {
42554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42556 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42557 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42558 if (!SWIG_IsOK(res2
)) {
42559 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42561 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42562 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42563 if (!SWIG_IsOK(ecode3
)) {
42564 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42566 arg3
= static_cast< int >(val3
);
42569 arg4
= wxString_in_helper(obj3
);
42570 if (arg4
== NULL
) SWIG_fail
;
42577 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42583 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42587 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42588 if (!SWIG_IsOK(ecode7
)) {
42589 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42591 arg7
= static_cast< long >(val7
);
42594 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42595 if (!SWIG_IsOK(res8
)) {
42596 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42599 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42601 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42605 arg9
= wxString_in_helper(obj8
);
42606 if (arg9
== NULL
) SWIG_fail
;
42611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42612 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42613 wxPyEndAllowThreads(__tstate
);
42614 if (PyErr_Occurred()) SWIG_fail
;
42617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42641 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42642 PyObject
*resultobj
= 0;
42643 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42649 PyObject
* obj0
= 0 ;
42650 PyObject
* obj1
= 0 ;
42651 char * kwnames
[] = {
42652 (char *) "self",(char *) "newmargin", NULL
42655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42657 if (!SWIG_IsOK(res1
)) {
42658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42660 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42662 if (!SWIG_IsOK(ecode2
)) {
42663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42665 arg2
= static_cast< int >(val2
);
42667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42668 (arg1
)->SetInternalMargin(arg2
);
42669 wxPyEndAllowThreads(__tstate
);
42670 if (PyErr_Occurred()) SWIG_fail
;
42672 resultobj
= SWIG_Py_Void();
42679 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42680 PyObject
*resultobj
= 0;
42681 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42685 PyObject
*swig_obj
[1] ;
42687 if (!args
) SWIG_fail
;
42688 swig_obj
[0] = args
;
42689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42690 if (!SWIG_IsOK(res1
)) {
42691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42693 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42696 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42697 wxPyEndAllowThreads(__tstate
);
42698 if (PyErr_Occurred()) SWIG_fail
;
42700 resultobj
= SWIG_From_int(static_cast< int >(result
));
42707 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42708 PyObject
*resultobj
= 0;
42709 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42715 PyObject
* obj0
= 0 ;
42716 PyObject
* obj1
= 0 ;
42717 char * kwnames
[] = {
42718 (char *) "self",(char *) "prop", NULL
42721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42723 if (!SWIG_IsOK(res1
)) {
42724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42726 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42728 if (!SWIG_IsOK(ecode2
)) {
42729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42731 arg2
= static_cast< int >(val2
);
42733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42734 (arg1
)->SetTextCtrlProportion(arg2
);
42735 wxPyEndAllowThreads(__tstate
);
42736 if (PyErr_Occurred()) SWIG_fail
;
42738 resultobj
= SWIG_Py_Void();
42745 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42746 PyObject
*resultobj
= 0;
42747 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42751 PyObject
*swig_obj
[1] ;
42753 if (!args
) SWIG_fail
;
42754 swig_obj
[0] = args
;
42755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42756 if (!SWIG_IsOK(res1
)) {
42757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42759 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42762 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42763 wxPyEndAllowThreads(__tstate
);
42764 if (PyErr_Occurred()) SWIG_fail
;
42766 resultobj
= SWIG_From_int(static_cast< int >(result
));
42773 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42774 PyObject
*resultobj
= 0;
42775 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42781 PyObject
* obj0
= 0 ;
42782 PyObject
* obj1
= 0 ;
42783 char * kwnames
[] = {
42784 (char *) "self",(char *) "prop", NULL
42787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42789 if (!SWIG_IsOK(res1
)) {
42790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42792 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42794 if (!SWIG_IsOK(ecode2
)) {
42795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42797 arg2
= static_cast< int >(val2
);
42799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42800 (arg1
)->SetPickerCtrlProportion(arg2
);
42801 wxPyEndAllowThreads(__tstate
);
42802 if (PyErr_Occurred()) SWIG_fail
;
42804 resultobj
= SWIG_Py_Void();
42811 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42812 PyObject
*resultobj
= 0;
42813 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42817 PyObject
*swig_obj
[1] ;
42819 if (!args
) SWIG_fail
;
42820 swig_obj
[0] = args
;
42821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42822 if (!SWIG_IsOK(res1
)) {
42823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42825 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42828 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
42829 wxPyEndAllowThreads(__tstate
);
42830 if (PyErr_Occurred()) SWIG_fail
;
42832 resultobj
= SWIG_From_int(static_cast< int >(result
));
42839 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42840 PyObject
*resultobj
= 0;
42841 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42845 PyObject
*swig_obj
[1] ;
42847 if (!args
) SWIG_fail
;
42848 swig_obj
[0] = args
;
42849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42850 if (!SWIG_IsOK(res1
)) {
42851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42853 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42856 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
42857 wxPyEndAllowThreads(__tstate
);
42858 if (PyErr_Occurred()) SWIG_fail
;
42861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42869 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42870 PyObject
*resultobj
= 0;
42871 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42872 bool arg2
= (bool) true ;
42877 PyObject
* obj0
= 0 ;
42878 PyObject
* obj1
= 0 ;
42879 char * kwnames
[] = {
42880 (char *) "self",(char *) "grow", NULL
42883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42885 if (!SWIG_IsOK(res1
)) {
42886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42888 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42890 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42891 if (!SWIG_IsOK(ecode2
)) {
42892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42894 arg2
= static_cast< bool >(val2
);
42897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42898 (arg1
)->SetTextCtrlGrowable(arg2
);
42899 wxPyEndAllowThreads(__tstate
);
42900 if (PyErr_Occurred()) SWIG_fail
;
42902 resultobj
= SWIG_Py_Void();
42909 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42910 PyObject
*resultobj
= 0;
42911 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42915 PyObject
*swig_obj
[1] ;
42917 if (!args
) SWIG_fail
;
42918 swig_obj
[0] = args
;
42919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42920 if (!SWIG_IsOK(res1
)) {
42921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42923 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42926 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
42927 wxPyEndAllowThreads(__tstate
);
42928 if (PyErr_Occurred()) SWIG_fail
;
42931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42939 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42940 PyObject
*resultobj
= 0;
42941 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42942 bool arg2
= (bool) true ;
42947 PyObject
* obj0
= 0 ;
42948 PyObject
* obj1
= 0 ;
42949 char * kwnames
[] = {
42950 (char *) "self",(char *) "grow", NULL
42953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42955 if (!SWIG_IsOK(res1
)) {
42956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42958 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42960 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42961 if (!SWIG_IsOK(ecode2
)) {
42962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42964 arg2
= static_cast< bool >(val2
);
42967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42968 (arg1
)->SetPickerCtrlGrowable(arg2
);
42969 wxPyEndAllowThreads(__tstate
);
42970 if (PyErr_Occurred()) SWIG_fail
;
42972 resultobj
= SWIG_Py_Void();
42979 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42980 PyObject
*resultobj
= 0;
42981 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42985 PyObject
*swig_obj
[1] ;
42987 if (!args
) SWIG_fail
;
42988 swig_obj
[0] = args
;
42989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42990 if (!SWIG_IsOK(res1
)) {
42991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42993 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42996 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
42997 wxPyEndAllowThreads(__tstate
);
42998 if (PyErr_Occurred()) SWIG_fail
;
43001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43009 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43010 PyObject
*resultobj
= 0;
43011 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43012 wxTextCtrl
*result
= 0 ;
43015 PyObject
*swig_obj
[1] ;
43017 if (!args
) SWIG_fail
;
43018 swig_obj
[0] = args
;
43019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43020 if (!SWIG_IsOK(res1
)) {
43021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43023 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43026 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
43027 wxPyEndAllowThreads(__tstate
);
43028 if (PyErr_Occurred()) SWIG_fail
;
43031 resultobj
= wxPyMake_wxObject(result
, 0);
43039 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43040 PyObject
*resultobj
= 0;
43041 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43042 wxControl
*result
= 0 ;
43045 PyObject
*swig_obj
[1] ;
43047 if (!args
) SWIG_fail
;
43048 swig_obj
[0] = args
;
43049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43050 if (!SWIG_IsOK(res1
)) {
43051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43053 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43056 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
43057 wxPyEndAllowThreads(__tstate
);
43058 if (PyErr_Occurred()) SWIG_fail
;
43061 resultobj
= wxPyMake_wxObject(result
, 0);
43069 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43071 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43072 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
43073 return SWIG_Py_Void();
43076 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
43077 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
43082 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
43083 PyObject
*pyobj
= 0;
43087 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43089 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43096 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43097 PyObject
*resultobj
= 0;
43098 wxWindow
*arg1
= (wxWindow
*) 0 ;
43099 int arg2
= (int) -1 ;
43100 wxColour
const &arg3_defvalue
= *wxBLACK
;
43101 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
43102 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43103 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43104 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43105 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43106 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
43107 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43108 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43109 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
43110 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43111 wxColourPickerCtrl
*result
= 0 ;
43123 bool temp8
= false ;
43124 PyObject
* obj0
= 0 ;
43125 PyObject
* obj1
= 0 ;
43126 PyObject
* obj2
= 0 ;
43127 PyObject
* obj3
= 0 ;
43128 PyObject
* obj4
= 0 ;
43129 PyObject
* obj5
= 0 ;
43130 PyObject
* obj6
= 0 ;
43131 PyObject
* obj7
= 0 ;
43132 char * kwnames
[] = {
43133 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43138 if (!SWIG_IsOK(res1
)) {
43139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43141 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43143 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43144 if (!SWIG_IsOK(ecode2
)) {
43145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43147 arg2
= static_cast< int >(val2
);
43152 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43158 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43164 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43168 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43169 if (!SWIG_IsOK(ecode6
)) {
43170 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43172 arg6
= static_cast< long >(val6
);
43175 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43176 if (!SWIG_IsOK(res7
)) {
43177 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43182 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43186 arg8
= wxString_in_helper(obj7
);
43187 if (arg8
== NULL
) SWIG_fail
;
43192 if (!wxPyCheckForApp()) SWIG_fail
;
43193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43194 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43195 wxPyEndAllowThreads(__tstate
);
43196 if (PyErr_Occurred()) SWIG_fail
;
43198 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43213 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43214 PyObject
*resultobj
= 0;
43215 wxColourPickerCtrl
*result
= 0 ;
43217 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
43219 if (!wxPyCheckForApp()) SWIG_fail
;
43220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43221 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
43222 wxPyEndAllowThreads(__tstate
);
43223 if (PyErr_Occurred()) SWIG_fail
;
43225 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43232 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43233 PyObject
*resultobj
= 0;
43234 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43235 wxWindow
*arg2
= (wxWindow
*) 0 ;
43237 wxColour
const &arg4_defvalue
= *wxBLACK
;
43238 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
43239 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43240 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43241 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43242 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43243 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
43244 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43245 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43246 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
43247 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43262 bool temp9
= false ;
43263 PyObject
* obj0
= 0 ;
43264 PyObject
* obj1
= 0 ;
43265 PyObject
* obj2
= 0 ;
43266 PyObject
* obj3
= 0 ;
43267 PyObject
* obj4
= 0 ;
43268 PyObject
* obj5
= 0 ;
43269 PyObject
* obj6
= 0 ;
43270 PyObject
* obj7
= 0 ;
43271 PyObject
* obj8
= 0 ;
43272 char * kwnames
[] = {
43273 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43278 if (!SWIG_IsOK(res1
)) {
43279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43281 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43282 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43283 if (!SWIG_IsOK(res2
)) {
43284 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43286 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43287 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43288 if (!SWIG_IsOK(ecode3
)) {
43289 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43291 arg3
= static_cast< int >(val3
);
43295 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43301 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43307 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43311 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43312 if (!SWIG_IsOK(ecode7
)) {
43313 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43315 arg7
= static_cast< long >(val7
);
43318 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43319 if (!SWIG_IsOK(res8
)) {
43320 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43323 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43325 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43329 arg9
= wxString_in_helper(obj8
);
43330 if (arg9
== NULL
) SWIG_fail
;
43335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43336 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43337 wxPyEndAllowThreads(__tstate
);
43338 if (PyErr_Occurred()) SWIG_fail
;
43341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43357 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43358 PyObject
*resultobj
= 0;
43359 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43363 PyObject
*swig_obj
[1] ;
43365 if (!args
) SWIG_fail
;
43366 swig_obj
[0] = args
;
43367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43368 if (!SWIG_IsOK(res1
)) {
43369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43371 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43374 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43375 wxPyEndAllowThreads(__tstate
);
43376 if (PyErr_Occurred()) SWIG_fail
;
43378 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43385 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43386 PyObject
*resultobj
= 0;
43387 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43388 wxColour
*arg2
= 0 ;
43392 PyObject
* obj0
= 0 ;
43393 PyObject
* obj1
= 0 ;
43394 char * kwnames
[] = {
43395 (char *) "self",(char *) "col", NULL
43398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43400 if (!SWIG_IsOK(res1
)) {
43401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43403 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43406 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43410 (arg1
)->SetColour((wxColour
const &)*arg2
);
43411 wxPyEndAllowThreads(__tstate
);
43412 if (PyErr_Occurred()) SWIG_fail
;
43414 resultobj
= SWIG_Py_Void();
43421 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43423 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43424 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43425 return SWIG_Py_Void();
43428 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43429 return SWIG_Python_InitShadowInstance(args
);
43432 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43433 PyObject
*resultobj
= 0;
43434 wxObject
*arg1
= (wxObject
*) 0 ;
43436 wxColour
*arg3
= 0 ;
43437 wxColourPickerEvent
*result
= 0 ;
43443 PyObject
* obj0
= 0 ;
43444 PyObject
* obj1
= 0 ;
43445 PyObject
* obj2
= 0 ;
43446 char * kwnames
[] = {
43447 (char *) "generator",(char *) "id",(char *) "col", NULL
43450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43452 if (!SWIG_IsOK(res1
)) {
43453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43455 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43457 if (!SWIG_IsOK(ecode2
)) {
43458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43460 arg2
= static_cast< int >(val2
);
43463 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43467 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43468 wxPyEndAllowThreads(__tstate
);
43469 if (PyErr_Occurred()) SWIG_fail
;
43471 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43478 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43479 PyObject
*resultobj
= 0;
43480 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43484 PyObject
*swig_obj
[1] ;
43486 if (!args
) SWIG_fail
;
43487 swig_obj
[0] = args
;
43488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43489 if (!SWIG_IsOK(res1
)) {
43490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43492 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43495 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43496 wxPyEndAllowThreads(__tstate
);
43497 if (PyErr_Occurred()) SWIG_fail
;
43499 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43506 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43507 PyObject
*resultobj
= 0;
43508 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43509 wxColour
*arg2
= 0 ;
43513 PyObject
* obj0
= 0 ;
43514 PyObject
* obj1
= 0 ;
43515 char * kwnames
[] = {
43516 (char *) "self",(char *) "c", NULL
43519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43521 if (!SWIG_IsOK(res1
)) {
43522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43524 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43527 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43531 (arg1
)->SetColour((wxColour
const &)*arg2
);
43532 wxPyEndAllowThreads(__tstate
);
43533 if (PyErr_Occurred()) SWIG_fail
;
43535 resultobj
= SWIG_Py_Void();
43542 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43544 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43545 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43546 return SWIG_Py_Void();
43549 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43550 return SWIG_Python_InitShadowInstance(args
);
43553 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43554 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43559 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43560 PyObject
*pyobj
= 0;
43564 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43566 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43573 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43574 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43579 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43580 PyObject
*pyobj
= 0;
43584 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43586 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43593 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43594 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43599 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43600 PyObject
*pyobj
= 0;
43604 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43606 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43613 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43614 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43619 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43620 PyObject
*pyobj
= 0;
43624 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43626 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43633 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43634 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43639 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43640 PyObject
*pyobj
= 0;
43644 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43646 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43653 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43654 PyObject
*resultobj
= 0;
43655 wxWindow
*arg1
= (wxWindow
*) 0 ;
43656 int arg2
= (int) -1 ;
43657 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43658 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43659 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43660 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43661 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43662 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43663 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43664 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43665 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43666 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43667 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43668 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43669 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43670 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43671 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43672 wxFilePickerCtrl
*result
= 0 ;
43677 bool temp3
= false ;
43678 bool temp4
= false ;
43679 bool temp5
= false ;
43686 bool temp10
= false ;
43687 PyObject
* obj0
= 0 ;
43688 PyObject
* obj1
= 0 ;
43689 PyObject
* obj2
= 0 ;
43690 PyObject
* obj3
= 0 ;
43691 PyObject
* obj4
= 0 ;
43692 PyObject
* obj5
= 0 ;
43693 PyObject
* obj6
= 0 ;
43694 PyObject
* obj7
= 0 ;
43695 PyObject
* obj8
= 0 ;
43696 PyObject
* obj9
= 0 ;
43697 char * kwnames
[] = {
43698 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43703 if (!SWIG_IsOK(res1
)) {
43704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43706 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43709 if (!SWIG_IsOK(ecode2
)) {
43710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43712 arg2
= static_cast< int >(val2
);
43716 arg3
= wxString_in_helper(obj2
);
43717 if (arg3
== NULL
) SWIG_fail
;
43723 arg4
= wxString_in_helper(obj3
);
43724 if (arg4
== NULL
) SWIG_fail
;
43730 arg5
= wxString_in_helper(obj4
);
43731 if (arg5
== NULL
) SWIG_fail
;
43738 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43744 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43748 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43749 if (!SWIG_IsOK(ecode8
)) {
43750 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43752 arg8
= static_cast< long >(val8
);
43755 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43756 if (!SWIG_IsOK(res9
)) {
43757 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43760 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43762 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43766 arg10
= wxString_in_helper(obj9
);
43767 if (arg10
== NULL
) SWIG_fail
;
43772 if (!wxPyCheckForApp()) SWIG_fail
;
43773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43774 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
);
43775 wxPyEndAllowThreads(__tstate
);
43776 if (PyErr_Occurred()) SWIG_fail
;
43778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
43817 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43818 PyObject
*resultobj
= 0;
43819 wxFilePickerCtrl
*result
= 0 ;
43821 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
43823 if (!wxPyCheckForApp()) SWIG_fail
;
43824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43825 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
43826 wxPyEndAllowThreads(__tstate
);
43827 if (PyErr_Occurred()) SWIG_fail
;
43829 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
43836 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43837 PyObject
*resultobj
= 0;
43838 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43839 wxWindow
*arg2
= (wxWindow
*) 0 ;
43840 int arg3
= (int) -1 ;
43841 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43842 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43843 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
43844 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43845 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43846 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
43847 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
43848 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
43849 wxSize
const &arg8_defvalue
= wxDefaultSize
;
43850 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
43851 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
43852 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
43853 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
43854 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
43855 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
43863 bool temp4
= false ;
43864 bool temp5
= false ;
43865 bool temp6
= false ;
43872 bool temp11
= false ;
43873 PyObject
* obj0
= 0 ;
43874 PyObject
* obj1
= 0 ;
43875 PyObject
* obj2
= 0 ;
43876 PyObject
* obj3
= 0 ;
43877 PyObject
* obj4
= 0 ;
43878 PyObject
* obj5
= 0 ;
43879 PyObject
* obj6
= 0 ;
43880 PyObject
* obj7
= 0 ;
43881 PyObject
* obj8
= 0 ;
43882 PyObject
* obj9
= 0 ;
43883 PyObject
* obj10
= 0 ;
43884 char * kwnames
[] = {
43885 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
43889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43890 if (!SWIG_IsOK(res1
)) {
43891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43893 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43894 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43895 if (!SWIG_IsOK(res2
)) {
43896 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43898 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43900 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43901 if (!SWIG_IsOK(ecode3
)) {
43902 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43904 arg3
= static_cast< int >(val3
);
43908 arg4
= wxString_in_helper(obj3
);
43909 if (arg4
== NULL
) SWIG_fail
;
43915 arg5
= wxString_in_helper(obj4
);
43916 if (arg5
== NULL
) SWIG_fail
;
43922 arg6
= wxString_in_helper(obj5
);
43923 if (arg6
== NULL
) SWIG_fail
;
43930 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
43936 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
43940 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
43941 if (!SWIG_IsOK(ecode9
)) {
43942 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
43944 arg9
= static_cast< long >(val9
);
43947 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
43948 if (!SWIG_IsOK(res10
)) {
43949 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43952 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43954 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
43958 arg11
= wxString_in_helper(obj10
);
43959 if (arg11
== NULL
) SWIG_fail
;
43964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43965 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
);
43966 wxPyEndAllowThreads(__tstate
);
43967 if (PyErr_Occurred()) SWIG_fail
;
43970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44010 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44011 PyObject
*resultobj
= 0;
44012 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44016 PyObject
*swig_obj
[1] ;
44018 if (!args
) SWIG_fail
;
44019 swig_obj
[0] = args
;
44020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44021 if (!SWIG_IsOK(res1
)) {
44022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44024 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44027 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
44028 wxPyEndAllowThreads(__tstate
);
44029 if (PyErr_Occurred()) SWIG_fail
;
44033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44044 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44045 PyObject
*resultobj
= 0;
44046 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44047 wxString
*arg2
= 0 ;
44050 bool temp2
= false ;
44051 PyObject
* obj0
= 0 ;
44052 PyObject
* obj1
= 0 ;
44053 char * kwnames
[] = {
44054 (char *) "self",(char *) "str", NULL
44057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44059 if (!SWIG_IsOK(res1
)) {
44060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44062 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44064 arg2
= wxString_in_helper(obj1
);
44065 if (arg2
== NULL
) SWIG_fail
;
44069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44070 (arg1
)->SetPath((wxString
const &)*arg2
);
44071 wxPyEndAllowThreads(__tstate
);
44072 if (PyErr_Occurred()) SWIG_fail
;
44074 resultobj
= SWIG_Py_Void();
44089 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44090 PyObject
*resultobj
= 0;
44091 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44092 wxString
*arg2
= 0 ;
44096 bool temp2
= false ;
44097 PyObject
* obj0
= 0 ;
44098 PyObject
* obj1
= 0 ;
44099 char * kwnames
[] = {
44100 (char *) "self",(char *) "path", NULL
44103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44105 if (!SWIG_IsOK(res1
)) {
44106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44108 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44110 arg2
= wxString_in_helper(obj1
);
44111 if (arg2
== NULL
) SWIG_fail
;
44115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44116 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44117 wxPyEndAllowThreads(__tstate
);
44118 if (PyErr_Occurred()) SWIG_fail
;
44121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44137 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44138 PyObject
*resultobj
= 0;
44139 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44143 PyObject
*swig_obj
[1] ;
44145 if (!args
) SWIG_fail
;
44146 swig_obj
[0] = args
;
44147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44148 if (!SWIG_IsOK(res1
)) {
44149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44151 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44154 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
44155 wxPyEndAllowThreads(__tstate
);
44156 if (PyErr_Occurred()) SWIG_fail
;
44160 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44162 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44171 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44173 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44174 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
44175 return SWIG_Py_Void();
44178 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44179 return SWIG_Python_InitShadowInstance(args
);
44182 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44183 PyObject
*resultobj
= 0;
44184 wxWindow
*arg1
= (wxWindow
*) 0 ;
44185 int arg2
= (int) -1 ;
44186 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44187 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44188 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
44189 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44190 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44191 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44192 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44193 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44194 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
44195 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44196 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44197 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
44198 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44199 wxDirPickerCtrl
*result
= 0 ;
44204 bool temp3
= false ;
44205 bool temp4
= false ;
44212 bool temp9
= false ;
44213 PyObject
* obj0
= 0 ;
44214 PyObject
* obj1
= 0 ;
44215 PyObject
* obj2
= 0 ;
44216 PyObject
* obj3
= 0 ;
44217 PyObject
* obj4
= 0 ;
44218 PyObject
* obj5
= 0 ;
44219 PyObject
* obj6
= 0 ;
44220 PyObject
* obj7
= 0 ;
44221 PyObject
* obj8
= 0 ;
44222 char * kwnames
[] = {
44223 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44228 if (!SWIG_IsOK(res1
)) {
44229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44231 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44233 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44234 if (!SWIG_IsOK(ecode2
)) {
44235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44237 arg2
= static_cast< int >(val2
);
44241 arg3
= wxString_in_helper(obj2
);
44242 if (arg3
== NULL
) SWIG_fail
;
44248 arg4
= wxString_in_helper(obj3
);
44249 if (arg4
== NULL
) SWIG_fail
;
44256 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44262 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44266 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44267 if (!SWIG_IsOK(ecode7
)) {
44268 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44270 arg7
= static_cast< long >(val7
);
44273 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44274 if (!SWIG_IsOK(res8
)) {
44275 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44278 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44280 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44284 arg9
= wxString_in_helper(obj8
);
44285 if (arg9
== NULL
) SWIG_fail
;
44290 if (!wxPyCheckForApp()) SWIG_fail
;
44291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44292 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
);
44293 wxPyEndAllowThreads(__tstate
);
44294 if (PyErr_Occurred()) SWIG_fail
;
44296 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44327 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44328 PyObject
*resultobj
= 0;
44329 wxDirPickerCtrl
*result
= 0 ;
44331 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44333 if (!wxPyCheckForApp()) SWIG_fail
;
44334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44335 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44336 wxPyEndAllowThreads(__tstate
);
44337 if (PyErr_Occurred()) SWIG_fail
;
44339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44346 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44347 PyObject
*resultobj
= 0;
44348 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44349 wxWindow
*arg2
= (wxWindow
*) 0 ;
44350 int arg3
= (int) -1 ;
44351 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44352 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44353 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44354 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44355 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44356 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44357 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44358 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44359 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44360 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44361 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44362 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44363 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44371 bool temp4
= false ;
44372 bool temp5
= false ;
44379 bool temp10
= false ;
44380 PyObject
* obj0
= 0 ;
44381 PyObject
* obj1
= 0 ;
44382 PyObject
* obj2
= 0 ;
44383 PyObject
* obj3
= 0 ;
44384 PyObject
* obj4
= 0 ;
44385 PyObject
* obj5
= 0 ;
44386 PyObject
* obj6
= 0 ;
44387 PyObject
* obj7
= 0 ;
44388 PyObject
* obj8
= 0 ;
44389 PyObject
* obj9
= 0 ;
44390 char * kwnames
[] = {
44391 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44396 if (!SWIG_IsOK(res1
)) {
44397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44399 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44400 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44401 if (!SWIG_IsOK(res2
)) {
44402 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44404 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44406 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44407 if (!SWIG_IsOK(ecode3
)) {
44408 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44410 arg3
= static_cast< int >(val3
);
44414 arg4
= wxString_in_helper(obj3
);
44415 if (arg4
== NULL
) SWIG_fail
;
44421 arg5
= wxString_in_helper(obj4
);
44422 if (arg5
== NULL
) SWIG_fail
;
44429 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44435 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44439 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44440 if (!SWIG_IsOK(ecode8
)) {
44441 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44443 arg8
= static_cast< long >(val8
);
44446 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44447 if (!SWIG_IsOK(res9
)) {
44448 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44451 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44453 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44457 arg10
= wxString_in_helper(obj9
);
44458 if (arg10
== NULL
) SWIG_fail
;
44463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44464 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
);
44465 wxPyEndAllowThreads(__tstate
);
44466 if (PyErr_Occurred()) SWIG_fail
;
44469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44501 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44502 PyObject
*resultobj
= 0;
44503 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44507 PyObject
*swig_obj
[1] ;
44509 if (!args
) SWIG_fail
;
44510 swig_obj
[0] = args
;
44511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44512 if (!SWIG_IsOK(res1
)) {
44513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44515 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44518 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44519 wxPyEndAllowThreads(__tstate
);
44520 if (PyErr_Occurred()) SWIG_fail
;
44524 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44526 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44535 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44536 PyObject
*resultobj
= 0;
44537 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44538 wxString
*arg2
= 0 ;
44541 bool temp2
= false ;
44542 PyObject
* obj0
= 0 ;
44543 PyObject
* obj1
= 0 ;
44544 char * kwnames
[] = {
44545 (char *) "self",(char *) "str", NULL
44548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44550 if (!SWIG_IsOK(res1
)) {
44551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44553 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44555 arg2
= wxString_in_helper(obj1
);
44556 if (arg2
== NULL
) SWIG_fail
;
44560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44561 (arg1
)->SetPath((wxString
const &)*arg2
);
44562 wxPyEndAllowThreads(__tstate
);
44563 if (PyErr_Occurred()) SWIG_fail
;
44565 resultobj
= SWIG_Py_Void();
44580 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44581 PyObject
*resultobj
= 0;
44582 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44583 wxString
*arg2
= 0 ;
44587 bool temp2
= false ;
44588 PyObject
* obj0
= 0 ;
44589 PyObject
* obj1
= 0 ;
44590 char * kwnames
[] = {
44591 (char *) "self",(char *) "path", NULL
44594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44596 if (!SWIG_IsOK(res1
)) {
44597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44599 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44601 arg2
= wxString_in_helper(obj1
);
44602 if (arg2
== NULL
) SWIG_fail
;
44606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44607 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44608 wxPyEndAllowThreads(__tstate
);
44609 if (PyErr_Occurred()) SWIG_fail
;
44612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44628 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44629 PyObject
*resultobj
= 0;
44630 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44634 PyObject
*swig_obj
[1] ;
44636 if (!args
) SWIG_fail
;
44637 swig_obj
[0] = args
;
44638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44639 if (!SWIG_IsOK(res1
)) {
44640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44642 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44645 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44646 wxPyEndAllowThreads(__tstate
);
44647 if (PyErr_Occurred()) SWIG_fail
;
44651 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44653 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44662 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44664 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44665 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44666 return SWIG_Py_Void();
44669 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44670 return SWIG_Python_InitShadowInstance(args
);
44673 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44674 PyObject
*resultobj
= 0;
44676 wxObject
*arg2
= (wxObject
*) 0 ;
44678 wxString
*arg4
= 0 ;
44679 wxFileDirPickerEvent
*result
= 0 ;
44686 bool temp4
= false ;
44687 PyObject
* obj0
= 0 ;
44688 PyObject
* obj1
= 0 ;
44689 PyObject
* obj2
= 0 ;
44690 PyObject
* obj3
= 0 ;
44691 char * kwnames
[] = {
44692 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44696 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44697 if (!SWIG_IsOK(ecode1
)) {
44698 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44700 arg1
= static_cast< wxEventType
>(val1
);
44701 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44702 if (!SWIG_IsOK(res2
)) {
44703 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44705 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44706 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44707 if (!SWIG_IsOK(ecode3
)) {
44708 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44710 arg3
= static_cast< int >(val3
);
44712 arg4
= wxString_in_helper(obj3
);
44713 if (arg4
== NULL
) SWIG_fail
;
44717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44718 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44719 wxPyEndAllowThreads(__tstate
);
44720 if (PyErr_Occurred()) SWIG_fail
;
44722 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
44737 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44738 PyObject
*resultobj
= 0;
44739 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44743 PyObject
*swig_obj
[1] ;
44745 if (!args
) SWIG_fail
;
44746 swig_obj
[0] = args
;
44747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44748 if (!SWIG_IsOK(res1
)) {
44749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44751 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44754 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
44755 wxPyEndAllowThreads(__tstate
);
44756 if (PyErr_Occurred()) SWIG_fail
;
44760 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44762 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44771 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44772 PyObject
*resultobj
= 0;
44773 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44774 wxString
*arg2
= 0 ;
44777 bool temp2
= false ;
44778 PyObject
* obj0
= 0 ;
44779 PyObject
* obj1
= 0 ;
44780 char * kwnames
[] = {
44781 (char *) "self",(char *) "p", NULL
44784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44786 if (!SWIG_IsOK(res1
)) {
44787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44789 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44791 arg2
= wxString_in_helper(obj1
);
44792 if (arg2
== NULL
) SWIG_fail
;
44796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44797 (arg1
)->SetPath((wxString
const &)*arg2
);
44798 wxPyEndAllowThreads(__tstate
);
44799 if (PyErr_Occurred()) SWIG_fail
;
44801 resultobj
= SWIG_Py_Void();
44816 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44818 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44819 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
44820 return SWIG_Py_Void();
44823 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44824 return SWIG_Python_InitShadowInstance(args
);
44827 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
44828 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
44833 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
44834 PyObject
*pyobj
= 0;
44838 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44840 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44847 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44848 PyObject
*resultobj
= 0;
44849 wxWindow
*arg1
= (wxWindow
*) 0 ;
44850 int arg2
= (int) -1 ;
44851 wxFont
const &arg3_defvalue
= wxNullFont
;
44852 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
44853 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
44854 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
44855 wxSize
const &arg5_defvalue
= wxDefaultSize
;
44856 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
44857 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
44858 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
44859 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
44860 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
44861 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
44862 wxFontPickerCtrl
*result
= 0 ;
44875 bool temp8
= false ;
44876 PyObject
* obj0
= 0 ;
44877 PyObject
* obj1
= 0 ;
44878 PyObject
* obj2
= 0 ;
44879 PyObject
* obj3
= 0 ;
44880 PyObject
* obj4
= 0 ;
44881 PyObject
* obj5
= 0 ;
44882 PyObject
* obj6
= 0 ;
44883 PyObject
* obj7
= 0 ;
44884 char * kwnames
[] = {
44885 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
44889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44890 if (!SWIG_IsOK(res1
)) {
44891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44893 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44895 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44896 if (!SWIG_IsOK(ecode2
)) {
44897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44899 arg2
= static_cast< int >(val2
);
44902 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44903 if (!SWIG_IsOK(res3
)) {
44904 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44907 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44909 arg3
= reinterpret_cast< wxFont
* >(argp3
);
44914 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
44920 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
44924 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
44925 if (!SWIG_IsOK(ecode6
)) {
44926 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
44928 arg6
= static_cast< long >(val6
);
44931 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
44932 if (!SWIG_IsOK(res7
)) {
44933 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44936 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44938 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
44942 arg8
= wxString_in_helper(obj7
);
44943 if (arg8
== NULL
) SWIG_fail
;
44948 if (!wxPyCheckForApp()) SWIG_fail
;
44949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44950 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
44951 wxPyEndAllowThreads(__tstate
);
44952 if (PyErr_Occurred()) SWIG_fail
;
44954 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44969 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44970 PyObject
*resultobj
= 0;
44971 wxFontPickerCtrl
*result
= 0 ;
44973 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
44975 if (!wxPyCheckForApp()) SWIG_fail
;
44976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44977 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
44978 wxPyEndAllowThreads(__tstate
);
44979 if (PyErr_Occurred()) SWIG_fail
;
44981 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44988 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44989 PyObject
*resultobj
= 0;
44990 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44991 wxWindow
*arg2
= (wxWindow
*) 0 ;
44992 int arg3
= (int) -1 ;
44993 wxFont
const &arg4_defvalue
= wxNullFont
;
44994 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
44995 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44996 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44997 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44998 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44999 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
45000 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45001 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45002 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
45003 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45019 bool temp9
= false ;
45020 PyObject
* obj0
= 0 ;
45021 PyObject
* obj1
= 0 ;
45022 PyObject
* obj2
= 0 ;
45023 PyObject
* obj3
= 0 ;
45024 PyObject
* obj4
= 0 ;
45025 PyObject
* obj5
= 0 ;
45026 PyObject
* obj6
= 0 ;
45027 PyObject
* obj7
= 0 ;
45028 PyObject
* obj8
= 0 ;
45029 char * kwnames
[] = {
45030 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45035 if (!SWIG_IsOK(res1
)) {
45036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45038 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45039 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45040 if (!SWIG_IsOK(res2
)) {
45041 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45043 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45045 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45046 if (!SWIG_IsOK(ecode3
)) {
45047 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45049 arg3
= static_cast< int >(val3
);
45052 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
45053 if (!SWIG_IsOK(res4
)) {
45054 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45057 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45059 arg4
= reinterpret_cast< wxFont
* >(argp4
);
45064 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45070 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45074 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45075 if (!SWIG_IsOK(ecode7
)) {
45076 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45078 arg7
= static_cast< long >(val7
);
45081 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45082 if (!SWIG_IsOK(res8
)) {
45083 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45086 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45088 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45092 arg9
= wxString_in_helper(obj8
);
45093 if (arg9
== NULL
) SWIG_fail
;
45098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45099 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45100 wxPyEndAllowThreads(__tstate
);
45101 if (PyErr_Occurred()) SWIG_fail
;
45104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45120 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45121 PyObject
*resultobj
= 0;
45122 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45126 PyObject
*swig_obj
[1] ;
45128 if (!args
) SWIG_fail
;
45129 swig_obj
[0] = args
;
45130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45131 if (!SWIG_IsOK(res1
)) {
45132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45134 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45137 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
45138 wxPyEndAllowThreads(__tstate
);
45139 if (PyErr_Occurred()) SWIG_fail
;
45141 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45148 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45149 PyObject
*resultobj
= 0;
45150 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45156 PyObject
* obj0
= 0 ;
45157 PyObject
* obj1
= 0 ;
45158 char * kwnames
[] = {
45159 (char *) "self",(char *) "f", NULL
45162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45164 if (!SWIG_IsOK(res1
)) {
45165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45167 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45168 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45169 if (!SWIG_IsOK(res2
)) {
45170 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45173 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45175 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45178 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
45179 wxPyEndAllowThreads(__tstate
);
45180 if (PyErr_Occurred()) SWIG_fail
;
45182 resultobj
= SWIG_Py_Void();
45189 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45190 PyObject
*resultobj
= 0;
45191 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45192 unsigned int arg2
;
45195 unsigned int val2
;
45197 PyObject
* obj0
= 0 ;
45198 PyObject
* obj1
= 0 ;
45199 char * kwnames
[] = {
45200 (char *) "self",(char *) "max", NULL
45203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45205 if (!SWIG_IsOK(res1
)) {
45206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45208 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45209 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45210 if (!SWIG_IsOK(ecode2
)) {
45211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45213 arg2
= static_cast< unsigned int >(val2
);
45215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45216 (arg1
)->SetMaxPointSize(arg2
);
45217 wxPyEndAllowThreads(__tstate
);
45218 if (PyErr_Occurred()) SWIG_fail
;
45220 resultobj
= SWIG_Py_Void();
45227 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45228 PyObject
*resultobj
= 0;
45229 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45230 unsigned int result
;
45233 PyObject
*swig_obj
[1] ;
45235 if (!args
) SWIG_fail
;
45236 swig_obj
[0] = args
;
45237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45238 if (!SWIG_IsOK(res1
)) {
45239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45241 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45244 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
45245 wxPyEndAllowThreads(__tstate
);
45246 if (PyErr_Occurred()) SWIG_fail
;
45248 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45255 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45257 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45258 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45259 return SWIG_Py_Void();
45262 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45263 return SWIG_Python_InitShadowInstance(args
);
45266 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45267 PyObject
*resultobj
= 0;
45268 wxObject
*arg1
= (wxObject
*) 0 ;
45271 wxFontPickerEvent
*result
= 0 ;
45278 PyObject
* obj0
= 0 ;
45279 PyObject
* obj1
= 0 ;
45280 PyObject
* obj2
= 0 ;
45281 char * kwnames
[] = {
45282 (char *) "generator",(char *) "id",(char *) "f", NULL
45285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45287 if (!SWIG_IsOK(res1
)) {
45288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45290 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45292 if (!SWIG_IsOK(ecode2
)) {
45293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45295 arg2
= static_cast< int >(val2
);
45296 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45297 if (!SWIG_IsOK(res3
)) {
45298 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45301 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45303 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45306 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45307 wxPyEndAllowThreads(__tstate
);
45308 if (PyErr_Occurred()) SWIG_fail
;
45310 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45317 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45318 PyObject
*resultobj
= 0;
45319 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45323 PyObject
*swig_obj
[1] ;
45325 if (!args
) SWIG_fail
;
45326 swig_obj
[0] = args
;
45327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45328 if (!SWIG_IsOK(res1
)) {
45329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45331 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45334 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45335 wxPyEndAllowThreads(__tstate
);
45336 if (PyErr_Occurred()) SWIG_fail
;
45338 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45345 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45346 PyObject
*resultobj
= 0;
45347 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45353 PyObject
* obj0
= 0 ;
45354 PyObject
* obj1
= 0 ;
45355 char * kwnames
[] = {
45356 (char *) "self",(char *) "c", NULL
45359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45361 if (!SWIG_IsOK(res1
)) {
45362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45364 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45365 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45366 if (!SWIG_IsOK(res2
)) {
45367 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45370 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45372 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45375 (arg1
)->SetFont((wxFont
const &)*arg2
);
45376 wxPyEndAllowThreads(__tstate
);
45377 if (PyErr_Occurred()) SWIG_fail
;
45379 resultobj
= SWIG_Py_Void();
45386 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45388 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45389 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45390 return SWIG_Py_Void();
45393 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45394 return SWIG_Python_InitShadowInstance(args
);
45397 SWIGINTERN
int CollapsiblePaneNameStr_set(PyObject
*) {
45398 SWIG_Error(SWIG_AttributeError
,"Variable CollapsiblePaneNameStr is read-only.");
45403 SWIGINTERN PyObject
*CollapsiblePaneNameStr_get(void) {
45404 PyObject
*pyobj
= 0;
45408 pyobj
= PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45410 pyobj
= PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45417 SWIGINTERN PyObject
*_wrap_new_CollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45418 PyObject
*resultobj
= 0;
45419 wxWindow
*arg1
= (wxWindow
*) 0 ;
45420 int arg2
= (int) -1 ;
45421 wxString
const &arg3_defvalue
= wxPyEmptyString
;
45422 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
45423 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45424 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45425 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45426 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45427 long arg6
= (long) wxCP_DEFAULT_STYLE
;
45428 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45429 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45430 wxString
const &arg8_defvalue
= wxPyCollapsiblePaneNameStr
;
45431 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45432 wxCollapsiblePane
*result
= 0 ;
45437 bool temp3
= false ;
45444 bool temp8
= false ;
45445 PyObject
* obj0
= 0 ;
45446 PyObject
* obj1
= 0 ;
45447 PyObject
* obj2
= 0 ;
45448 PyObject
* obj3
= 0 ;
45449 PyObject
* obj4
= 0 ;
45450 PyObject
* obj5
= 0 ;
45451 PyObject
* obj6
= 0 ;
45452 PyObject
* obj7
= 0 ;
45453 char * kwnames
[] = {
45454 (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45459 if (!SWIG_IsOK(res1
)) {
45460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'");
45462 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45464 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45465 if (!SWIG_IsOK(ecode2
)) {
45466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'");
45468 arg2
= static_cast< int >(val2
);
45472 arg3
= wxString_in_helper(obj2
);
45473 if (arg3
== NULL
) SWIG_fail
;
45480 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45486 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45490 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45491 if (!SWIG_IsOK(ecode6
)) {
45492 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'");
45494 arg6
= static_cast< long >(val6
);
45497 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45498 if (!SWIG_IsOK(res7
)) {
45499 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45502 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45504 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45508 arg8
= wxString_in_helper(obj7
);
45509 if (arg8
== NULL
) SWIG_fail
;
45514 if (!wxPyCheckForApp()) SWIG_fail
;
45515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45516 result
= (wxCollapsiblePane
*)new wxCollapsiblePane(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45517 wxPyEndAllowThreads(__tstate
);
45518 if (PyErr_Occurred()) SWIG_fail
;
45520 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_NEW
| 0 );
45543 SWIGINTERN PyObject
*_wrap_new_PreCollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45544 PyObject
*resultobj
= 0;
45545 wxCollapsiblePane
*result
= 0 ;
45547 if (!SWIG_Python_UnpackTuple(args
,"new_PreCollapsiblePane",0,0,0)) SWIG_fail
;
45549 if (!wxPyCheckForApp()) SWIG_fail
;
45550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45551 result
= (wxCollapsiblePane
*)new wxCollapsiblePane();
45552 wxPyEndAllowThreads(__tstate
);
45553 if (PyErr_Occurred()) SWIG_fail
;
45555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_OWN
| 0 );
45562 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45563 PyObject
*resultobj
= 0;
45564 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45565 wxWindow
*arg2
= (wxWindow
*) 0 ;
45566 int arg3
= (int) -1 ;
45567 wxString
const &arg4_defvalue
= wxPyEmptyString
;
45568 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
45569 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45570 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45571 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45572 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45573 long arg7
= (long) wxCP_DEFAULT_STYLE
;
45574 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45575 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45576 wxString
const &arg9_defvalue
= wxPyCollapsiblePaneNameStr
;
45577 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45585 bool temp4
= false ;
45592 bool temp9
= false ;
45593 PyObject
* obj0
= 0 ;
45594 PyObject
* obj1
= 0 ;
45595 PyObject
* obj2
= 0 ;
45596 PyObject
* obj3
= 0 ;
45597 PyObject
* obj4
= 0 ;
45598 PyObject
* obj5
= 0 ;
45599 PyObject
* obj6
= 0 ;
45600 PyObject
* obj7
= 0 ;
45601 PyObject
* obj8
= 0 ;
45602 char * kwnames
[] = {
45603 (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45608 if (!SWIG_IsOK(res1
)) {
45609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45611 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45612 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45613 if (!SWIG_IsOK(res2
)) {
45614 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45616 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45618 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45619 if (!SWIG_IsOK(ecode3
)) {
45620 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'");
45622 arg3
= static_cast< int >(val3
);
45626 arg4
= wxString_in_helper(obj3
);
45627 if (arg4
== NULL
) SWIG_fail
;
45634 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45640 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45644 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45645 if (!SWIG_IsOK(ecode7
)) {
45646 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'");
45648 arg7
= static_cast< long >(val7
);
45651 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45652 if (!SWIG_IsOK(res8
)) {
45653 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45656 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45658 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45662 arg9
= wxString_in_helper(obj8
);
45663 if (arg9
== NULL
) SWIG_fail
;
45668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45669 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45670 wxPyEndAllowThreads(__tstate
);
45671 if (PyErr_Occurred()) SWIG_fail
;
45674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45698 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45699 PyObject
*resultobj
= 0;
45700 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45701 bool arg2
= (bool) true ;
45706 PyObject
* obj0
= 0 ;
45707 PyObject
* obj1
= 0 ;
45708 char * kwnames
[] = {
45709 (char *) "self",(char *) "collapse", NULL
45712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CollapsiblePane_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45714 if (!SWIG_IsOK(res1
)) {
45715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45717 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45719 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
45720 if (!SWIG_IsOK(ecode2
)) {
45721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'");
45723 arg2
= static_cast< bool >(val2
);
45726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45727 (arg1
)->Collapse(arg2
);
45728 wxPyEndAllowThreads(__tstate
);
45729 if (PyErr_Occurred()) SWIG_fail
;
45731 resultobj
= SWIG_Py_Void();
45738 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45739 PyObject
*resultobj
= 0;
45740 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45743 PyObject
*swig_obj
[1] ;
45745 if (!args
) SWIG_fail
;
45746 swig_obj
[0] = args
;
45747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45748 if (!SWIG_IsOK(res1
)) {
45749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45751 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45755 wxPyEndAllowThreads(__tstate
);
45756 if (PyErr_Occurred()) SWIG_fail
;
45758 resultobj
= SWIG_Py_Void();
45765 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45766 PyObject
*resultobj
= 0;
45767 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45771 PyObject
*swig_obj
[1] ;
45773 if (!args
) SWIG_fail
;
45774 swig_obj
[0] = args
;
45775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45776 if (!SWIG_IsOK(res1
)) {
45777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45779 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45782 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsCollapsed();
45783 wxPyEndAllowThreads(__tstate
);
45784 if (PyErr_Occurred()) SWIG_fail
;
45787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45795 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45796 PyObject
*resultobj
= 0;
45797 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45801 PyObject
*swig_obj
[1] ;
45803 if (!args
) SWIG_fail
;
45804 swig_obj
[0] = args
;
45805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45806 if (!SWIG_IsOK(res1
)) {
45807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45809 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45812 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsExpanded();
45813 wxPyEndAllowThreads(__tstate
);
45814 if (PyErr_Occurred()) SWIG_fail
;
45817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45825 SWIGINTERN PyObject
*_wrap_CollapsiblePane_GetPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45826 PyObject
*resultobj
= 0;
45827 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45828 wxWindow
*result
= 0 ;
45831 PyObject
*swig_obj
[1] ;
45833 if (!args
) SWIG_fail
;
45834 swig_obj
[0] = args
;
45835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45836 if (!SWIG_IsOK(res1
)) {
45837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45839 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45842 result
= (wxWindow
*)((wxCollapsiblePane
const *)arg1
)->GetPane();
45843 wxPyEndAllowThreads(__tstate
);
45844 if (PyErr_Occurred()) SWIG_fail
;
45847 resultobj
= wxPyMake_wxObject(result
, 0);
45855 SWIGINTERN PyObject
*CollapsiblePane_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45857 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45858 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane
, SWIG_NewClientData(obj
));
45859 return SWIG_Py_Void();
45862 SWIGINTERN PyObject
*CollapsiblePane_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45863 return SWIG_Python_InitShadowInstance(args
);
45866 SWIGINTERN PyObject
*_wrap_new_CollapsiblePaneEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45867 PyObject
*resultobj
= 0;
45868 wxObject
*arg1
= (wxObject
*) 0 ;
45871 wxCollapsiblePaneEvent
*result
= 0 ;
45878 PyObject
* obj0
= 0 ;
45879 PyObject
* obj1
= 0 ;
45880 PyObject
* obj2
= 0 ;
45881 char * kwnames
[] = {
45882 (char *) "generator",(char *) "id",(char *) "collapsed", NULL
45885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_CollapsiblePaneEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45887 if (!SWIG_IsOK(res1
)) {
45888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45890 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45891 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45892 if (!SWIG_IsOK(ecode2
)) {
45893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'");
45895 arg2
= static_cast< int >(val2
);
45896 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
45897 if (!SWIG_IsOK(ecode3
)) {
45898 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'");
45900 arg3
= static_cast< bool >(val3
);
45902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45903 result
= (wxCollapsiblePaneEvent
*)new wxCollapsiblePaneEvent(arg1
,arg2
,arg3
);
45904 wxPyEndAllowThreads(__tstate
);
45905 if (PyErr_Occurred()) SWIG_fail
;
45907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_POINTER_NEW
| 0 );
45914 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45915 PyObject
*resultobj
= 0;
45916 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
45920 PyObject
*swig_obj
[1] ;
45922 if (!args
) SWIG_fail
;
45923 swig_obj
[0] = args
;
45924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
45925 if (!SWIG_IsOK(res1
)) {
45926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'");
45928 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
45930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45931 result
= (bool)((wxCollapsiblePaneEvent
const *)arg1
)->GetCollapsed();
45932 wxPyEndAllowThreads(__tstate
);
45933 if (PyErr_Occurred()) SWIG_fail
;
45936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45944 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45945 PyObject
*resultobj
= 0;
45946 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
45952 PyObject
* obj0
= 0 ;
45953 PyObject
* obj1
= 0 ;
45954 char * kwnames
[] = {
45955 (char *) "self",(char *) "c", NULL
45958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
45960 if (!SWIG_IsOK(res1
)) {
45961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'");
45963 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
45964 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
45965 if (!SWIG_IsOK(ecode2
)) {
45966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'");
45968 arg2
= static_cast< bool >(val2
);
45970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45971 (arg1
)->SetCollapsed(arg2
);
45972 wxPyEndAllowThreads(__tstate
);
45973 if (PyErr_Occurred()) SWIG_fail
;
45975 resultobj
= SWIG_Py_Void();
45982 SWIGINTERN PyObject
*CollapsiblePaneEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45984 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45985 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_NewClientData(obj
));
45986 return SWIG_Py_Void();
45989 SWIGINTERN PyObject
*CollapsiblePaneEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45990 return SWIG_Python_InitShadowInstance(args
);
45993 static PyMethodDef SwigMethods
[] = {
45994 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
45996 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45997 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
45998 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
45999 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
46001 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
46002 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46003 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
46004 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46005 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
46006 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
46007 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
46008 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
46009 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
46010 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46014 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
46017 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
46018 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
46019 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
46020 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
46022 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
46024 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
46025 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
46027 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
46029 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
46030 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46031 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
46032 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
46033 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
46035 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
46037 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
46039 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
46040 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
46042 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46043 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
46044 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
46046 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
46047 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
46048 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
46050 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
46051 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
46054 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
46055 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
46058 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46059 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
46060 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
46061 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
46062 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
46063 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
46064 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
46065 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
46066 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
46067 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
46068 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
46070 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
46071 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
46073 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46075 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
46076 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
46078 { (char *)"Gauge_Pulse", (PyCFunction
)_wrap_Gauge_Pulse
, METH_O
, NULL
},
46079 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
46080 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46081 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
46082 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46083 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
46084 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
46086 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
46087 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
46089 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46090 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
46092 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
46093 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
46095 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46096 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
46097 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
46098 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46099 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
46100 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
46101 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
46103 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46105 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
46107 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
46108 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46109 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
46110 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46111 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
46112 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46114 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46115 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
46116 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
46117 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46118 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
46119 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46121 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46122 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46124 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46125 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46126 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46127 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46128 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46129 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
46130 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46131 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46132 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46133 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46134 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
46135 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46136 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46137 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46138 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46139 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46140 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
46141 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
46142 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46143 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
46144 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46145 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46147 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
46148 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
46149 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
46150 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46151 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
46152 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
46153 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46154 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46155 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46157 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46158 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46159 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46160 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46161 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46162 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
46163 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
46164 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
46165 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
46166 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
46167 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
46168 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
46169 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46170 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
46171 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
46172 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
46173 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
46174 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
46175 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
46176 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
46177 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
46178 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
46179 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
46180 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46181 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
46182 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
46183 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46184 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
46185 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46186 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
46187 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46188 { (char *)"TextCtrl_IsEmpty", (PyCFunction
)_wrap_TextCtrl_IsEmpty
, METH_O
, NULL
},
46189 { (char *)"TextCtrl_ChangeValue", (PyCFunction
) _wrap_TextCtrl_ChangeValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46190 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46191 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46192 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46193 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
46194 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
46195 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
46196 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
46197 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
46198 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
46199 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
46200 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
46201 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46202 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46203 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46204 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46205 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
46206 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
46207 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46208 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46209 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46210 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46211 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46212 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46213 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46214 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46215 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
46216 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46217 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46218 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46219 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46220 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46221 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
46222 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
46223 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
46224 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
46225 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
46226 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
46227 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
46228 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
46229 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
46230 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
46231 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46232 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
46233 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
46234 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
46235 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46236 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
46237 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46238 { (char *)"TextCtrl_MacCheckSpelling", (PyCFunction
) _wrap_TextCtrl_MacCheckSpelling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46239 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction
)_wrap_TextCtrl_SendTextUpdatedEvent
, METH_O
, NULL
},
46240 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46241 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46242 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46243 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
46244 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
46245 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46246 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
46247 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
46248 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
46249 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
46250 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
46251 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46252 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
46253 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46254 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
46255 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
46256 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
46257 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
46258 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
46259 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46260 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46261 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
46262 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
46263 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46264 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
46265 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46266 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
46267 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
46268 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
46269 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46270 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46271 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46272 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46273 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
46274 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46275 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
46276 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
46277 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46278 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
46279 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46280 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
46281 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46282 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46283 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46284 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
46285 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
46286 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46287 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46288 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
46289 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
46290 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46291 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
46292 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46293 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
46294 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
46295 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46296 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
46297 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46298 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46299 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
46300 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
46301 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46302 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
46303 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46304 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46305 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46306 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46307 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46308 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46309 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46310 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
46311 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
46312 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46313 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46314 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46315 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46316 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46317 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46318 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
46319 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
46320 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46321 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
46322 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46323 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
46324 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46325 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46326 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
46327 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
46328 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46329 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
46330 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46331 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
46332 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46333 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46334 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
46335 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
46336 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46337 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46338 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46339 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46340 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
46341 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
46342 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46343 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
46344 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46345 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
46346 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
46347 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46348 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
46349 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
46350 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
46351 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46352 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46353 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
46354 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
46355 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46356 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
46357 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46358 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46359 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
46360 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46361 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
46362 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
46363 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
46364 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46365 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
46366 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
46367 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46368 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46369 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46370 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46371 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
46372 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46373 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46374 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46375 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46376 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
46377 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46378 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
46379 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46380 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
46381 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46382 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
46383 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
46384 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46385 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46386 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
46387 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46388 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46389 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46390 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction
) _wrap_BookCtrlBase_ChangeSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46391 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46392 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46393 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46394 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
46395 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46396 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
46397 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46398 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
46399 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46400 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
46401 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
46402 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46403 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
46404 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46405 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
46406 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46407 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46408 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
46409 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46410 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction
) _wrap_Notebook_SendPageChangingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46411 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction
) _wrap_Notebook_SendPageChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46412 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
46413 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
46414 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46415 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
46416 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
46417 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46418 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
46419 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46420 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
46421 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
46422 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
46423 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46424 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
46425 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
46426 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46427 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
46428 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46429 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
46430 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
46431 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
46432 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46433 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
46434 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
46435 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46436 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
46437 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46438 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46439 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46440 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46441 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46442 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46443 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46444 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
46445 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
46446 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
46447 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46448 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
46449 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
46450 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46451 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
46452 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46453 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
46454 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
46455 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
46456 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
46457 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46458 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
46459 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
46460 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
46461 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
46462 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
46463 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
46464 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
46465 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
46466 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
46467 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
46468 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
46469 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
46470 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
46471 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
46472 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
46473 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
46474 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
46475 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
46476 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
46477 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46478 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
46479 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46480 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46481 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46482 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46483 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46484 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46485 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
46486 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46487 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
46488 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46489 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
46490 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46491 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46492 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46493 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46494 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46495 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46496 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46497 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
46498 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46499 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46500 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46501 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46502 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
46503 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
46504 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46505 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46506 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46507 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46508 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46509 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46510 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46511 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46512 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46513 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46514 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46515 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46516 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46517 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46518 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46519 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46520 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
46521 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
46522 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
46523 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
46524 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46525 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46526 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
46527 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
46528 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46529 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
46530 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
46531 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46532 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46533 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
46534 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
46535 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
46536 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46537 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
46538 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46539 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46540 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
46541 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
46542 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46543 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
46544 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46545 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46546 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46547 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
46548 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
46549 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
46550 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
46551 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
46552 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
46553 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46554 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
46555 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
46556 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
46557 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
46558 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
46559 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
46560 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
46561 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46562 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46563 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46564 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46565 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46566 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46567 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46568 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46569 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46570 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46571 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46572 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46573 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46574 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
46575 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
46576 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
46577 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
46578 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
46579 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
46580 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
46581 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
46582 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
46583 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
46584 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
46585 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
46586 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
46587 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
46588 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
46589 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
46590 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
46591 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
46592 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
46593 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
46594 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
46595 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
46596 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
46597 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
46598 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
46599 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
46600 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
46601 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
46602 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
46603 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
46604 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
46605 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
46606 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
46607 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
46608 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
46609 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
46610 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46611 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
46612 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
46613 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
46614 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
46615 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
46616 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
46617 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
46618 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
46619 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
46620 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
46621 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
46622 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
46623 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
46624 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
46625 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
46626 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
46627 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
46628 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
46629 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
46630 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
46631 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
46632 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
46633 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
46634 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
46635 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46636 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
46637 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
46638 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46639 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
46640 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46641 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46642 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46643 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46644 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46645 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46646 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
46647 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
46648 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
46649 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46650 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46651 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46652 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46653 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46654 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46655 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46656 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46657 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46658 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46659 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46660 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46661 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46662 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46663 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
46664 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
46665 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
46666 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46667 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
46668 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
46669 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46670 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
46671 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46672 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46673 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46674 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46675 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46676 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
46677 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
46678 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46679 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46680 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46681 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46682 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
46683 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46684 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
46685 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
46686 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46687 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46688 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46689 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46690 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46691 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46692 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46693 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46694 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46695 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46696 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46697 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46698 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46699 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46700 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46701 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46702 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46703 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46704 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46705 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46706 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46707 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46708 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
46709 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46710 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
46711 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
46712 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46713 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
46714 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46715 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46716 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46717 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
46718 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46719 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
46720 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46721 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46722 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46723 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
46724 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
46725 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
46726 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
46727 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
46728 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46729 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46730 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
46731 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
46732 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
46733 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
46734 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46735 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
46736 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
46737 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46738 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
46739 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46740 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
46741 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
46742 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
46743 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
46744 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
46745 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46746 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
46747 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46748 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
46749 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46750 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
46751 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
46752 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46753 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
46754 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46755 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
46756 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46757 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46758 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
46759 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
46760 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
46761 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46762 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
46763 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46764 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46765 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
46766 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
46767 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46768 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
46769 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46770 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
46771 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
46772 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46773 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46774 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46775 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46776 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46777 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46778 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46779 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46780 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46781 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46782 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46783 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46784 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46785 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46786 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46787 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46788 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46789 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46790 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46791 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46792 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46793 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46794 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46795 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46796 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46797 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46798 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46799 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
46800 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
46801 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
46802 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46803 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46804 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46805 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46806 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46807 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46808 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
46809 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46810 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46811 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46812 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46813 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46814 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46815 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46816 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46817 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46818 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
46819 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46820 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46821 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
46822 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46823 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46824 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46825 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
46826 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46827 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
46828 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46829 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46830 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46831 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46832 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46833 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
46834 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46835 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46836 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46837 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46838 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46839 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
46840 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
46841 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
46842 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46843 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
46844 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46845 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46846 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46847 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
46848 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46849 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
46850 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
46851 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46852 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46853 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
46854 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
46855 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46856 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
46857 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46858 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
46859 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
46860 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
46861 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46862 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
46863 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
46864 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
46865 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
46866 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46867 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
46868 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46869 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46870 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
46871 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
46872 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46873 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
46874 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46875 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46876 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46877 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46878 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46879 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46880 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
46881 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
46882 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
46883 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
46884 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
46885 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
46886 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
46887 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
46888 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
46889 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46890 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
46891 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46892 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
46893 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46894 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
46895 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46896 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
46897 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46898 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
46899 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
46900 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46901 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
46902 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46903 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
46904 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
46905 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
46906 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46907 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
46908 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
46909 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
46910 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46911 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
46912 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46913 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46914 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46915 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46916 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46917 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46918 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
46919 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
46920 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
46921 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
46922 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
46923 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46924 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46925 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46926 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46927 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46928 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
46929 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46930 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46931 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46932 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
46933 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46934 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
46935 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
46936 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46937 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46938 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46939 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46940 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
46941 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
46942 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46943 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
46944 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46945 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46946 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
46947 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46948 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
46949 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
46950 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46951 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46952 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46953 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
46954 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46955 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
46956 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46957 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
46958 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46959 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
46960 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46961 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
46962 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46963 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46964 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
46965 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
46966 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
46967 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46968 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
46969 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46970 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
46971 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
46972 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46973 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46974 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
46975 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46976 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
46977 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46978 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
46979 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
46980 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46981 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
46982 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46983 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
46984 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
46985 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
46986 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
46987 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46988 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
46989 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46990 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
46991 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46992 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46993 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46994 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46995 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
46996 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46997 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46998 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46999 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47000 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
47001 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47002 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
47003 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47004 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47005 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
47006 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47007 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47008 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47009 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
47010 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47011 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
47012 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47013 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47014 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
47015 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47016 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47017 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47018 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
47019 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47020 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47021 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47022 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47023 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
47024 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47025 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
47026 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47027 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47028 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
47029 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47030 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47031 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47032 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
47033 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47034 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47035 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47036 { (char *)"new_CollapsiblePane", (PyCFunction
) _wrap_new_CollapsiblePane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47037 { (char *)"new_PreCollapsiblePane", (PyCFunction
)_wrap_new_PreCollapsiblePane
, METH_NOARGS
, NULL
},
47038 { (char *)"CollapsiblePane_Create", (PyCFunction
) _wrap_CollapsiblePane_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47039 { (char *)"CollapsiblePane_Collapse", (PyCFunction
) _wrap_CollapsiblePane_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47040 { (char *)"CollapsiblePane_Expand", (PyCFunction
)_wrap_CollapsiblePane_Expand
, METH_O
, NULL
},
47041 { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction
)_wrap_CollapsiblePane_IsCollapsed
, METH_O
, NULL
},
47042 { (char *)"CollapsiblePane_IsExpanded", (PyCFunction
)_wrap_CollapsiblePane_IsExpanded
, METH_O
, NULL
},
47043 { (char *)"CollapsiblePane_GetPane", (PyCFunction
)_wrap_CollapsiblePane_GetPane
, METH_O
, NULL
},
47044 { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister
, METH_VARARGS
, NULL
},
47045 { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit
, METH_VARARGS
, NULL
},
47046 { (char *)"new_CollapsiblePaneEvent", (PyCFunction
) _wrap_new_CollapsiblePaneEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47047 { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction
)_wrap_CollapsiblePaneEvent_GetCollapsed
, METH_O
, NULL
},
47048 { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction
) _wrap_CollapsiblePaneEvent_SetCollapsed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47049 { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister
, METH_VARARGS
, NULL
},
47050 { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit
, METH_VARARGS
, NULL
},
47051 { NULL
, NULL
, 0, NULL
}
47055 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
47057 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
47058 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47060 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
47061 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
47063 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
47064 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
47066 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
47067 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
47069 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
47070 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
47072 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
47073 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47075 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
47076 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47078 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
47079 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
47081 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
47082 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47084 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
47085 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47087 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
47088 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47090 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
47091 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
47093 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
47094 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
47096 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
47097 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47099 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
47100 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47102 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
47103 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
47105 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
47106 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
47108 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
47109 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
47111 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
47112 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47114 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
47115 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47117 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
47118 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47120 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
47121 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47123 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
47124 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47126 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
47127 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
47129 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
47130 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
47132 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
47133 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47135 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
47136 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47138 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
47139 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
47141 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
47142 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
47144 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
47145 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
47147 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
47148 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
47150 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
47151 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
47153 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
47154 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
47156 static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x
) {
47157 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
47159 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
47160 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
47162 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
47163 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
47165 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
47166 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47168 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
47169 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47171 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
47172 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
47174 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
47175 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
47177 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
47178 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
47180 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
47181 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47183 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
47184 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47186 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
47187 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
47189 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
47190 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
47192 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
47193 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47195 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
47196 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
47198 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
47199 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
47201 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
47202 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47204 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
47205 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47207 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
47208 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47210 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
47211 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
47213 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
47214 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
47216 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
47217 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47219 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
47220 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47222 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
47223 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47225 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
47226 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47228 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
47229 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47231 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
47232 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
47234 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
47235 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47237 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
47238 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
47240 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
47241 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
47243 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
47244 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
47246 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
47247 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47249 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
47250 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
47252 static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x
) {
47253 return (void *)((wxControl
*) ((wxCollapsiblePane
*) x
));
47255 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
47256 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
47258 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
47259 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
47261 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
47262 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
47264 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
47265 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
47267 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
47268 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
47270 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
47271 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
47273 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
47274 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
47276 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
47277 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47279 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
47280 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
47282 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
47283 return (void *)((wxControl
*) ((wxComboBox
*) x
));
47285 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
47286 return (void *)((wxControl
*) ((wxPyControl
*) x
));
47288 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
47289 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
47291 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
47292 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
47294 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
47295 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
47297 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
47298 return (void *)((wxControl
*) ((wxGauge
*) x
));
47300 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
47301 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
47303 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
47304 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47306 static void *_p_wxListbookTo_p_wxControl(void *x
) {
47307 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
47309 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
47310 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
47312 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
47313 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
47315 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
47316 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
47318 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
47319 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
47321 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
47322 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
47324 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
47325 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
47327 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
47328 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47330 static void *_p_wxListViewTo_p_wxControl(void *x
) {
47331 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
47333 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
47334 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
47336 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
47337 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
47339 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
47340 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
47342 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
47343 return (void *)((wxControl
*) ((wxStaticText
*) x
));
47345 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
47346 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
47348 static void *_p_wxSliderTo_p_wxControl(void *x
) {
47349 return (void *)((wxControl
*) ((wxSlider
*) x
));
47351 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
47352 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
47354 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
47355 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
47357 static void *_p_wxButtonTo_p_wxControl(void *x
) {
47358 return (void *)((wxControl
*) ((wxButton
*) x
));
47360 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
47361 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
47363 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
47364 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47366 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
47367 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
47369 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
47370 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47372 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
47373 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47375 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
47376 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47378 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
47379 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47381 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
47382 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
47384 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
47385 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
47387 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
47388 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47390 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
47391 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47393 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
47394 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47396 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
47397 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
47399 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
47400 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47402 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
47403 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47405 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
47406 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47408 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
47409 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47411 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
47412 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47414 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
47415 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47417 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
47418 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47420 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
47421 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
47423 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
47424 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
47426 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
47427 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
47429 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
47430 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
47432 static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x
) {
47433 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
47435 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
47436 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
47438 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
47439 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
47441 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
47442 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
47444 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
47445 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
47447 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
47448 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47450 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
47451 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
47453 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
47454 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
47456 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
47457 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
47459 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
47460 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
47462 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
47463 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47465 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
47466 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
47468 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
47469 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
47471 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
47472 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
47474 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
47475 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
47477 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
47478 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
47480 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
47481 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47483 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
47484 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
47486 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
47487 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
47489 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
47490 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
47492 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
47493 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
47495 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
47496 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47498 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
47499 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
47501 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
47502 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
47504 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
47505 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47507 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
47508 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47510 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
47511 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
47513 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
47514 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
47516 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
47517 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
47519 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
47520 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
47522 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
47523 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47525 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
47526 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47528 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
47529 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47531 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
47532 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47534 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
47535 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
47537 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
47538 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47540 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
47541 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
47543 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
47544 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
47546 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
47547 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
47549 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
47550 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
47552 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
47553 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47555 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
47556 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
47558 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
47559 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
47561 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
47562 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47564 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
47565 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47567 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
47568 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
47570 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
47571 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47573 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
47574 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47576 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
47577 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47579 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
47580 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47582 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
47583 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
47585 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
47586 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
47588 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
47589 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
47591 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
47592 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47594 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
47595 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47597 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
47598 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
47600 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
47601 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
47603 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
47604 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47606 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
47607 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
47609 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
47610 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
47612 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
47613 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
47615 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
47616 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
47618 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
47619 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47621 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
47622 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
47624 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
47625 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
47627 static void *_p_wxSizerTo_p_wxObject(void *x
) {
47628 return (void *)((wxObject
*) ((wxSizer
*) x
));
47630 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
47631 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
47633 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
47634 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
47636 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
47637 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
47639 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
47640 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47642 static void *_p_wxEventTo_p_wxObject(void *x
) {
47643 return (void *)((wxObject
*) ((wxEvent
*) x
));
47645 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
47646 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
47648 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
47649 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
47651 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
47652 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
47654 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
47655 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
47657 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
47658 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
47660 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
47661 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
47663 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
47664 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47666 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
47667 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47669 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
47670 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
47672 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
47673 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
47675 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
47676 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
47678 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
47679 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
47681 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
47682 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
47684 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
47685 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47687 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
47688 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
47690 static void *_p_wxControlTo_p_wxObject(void *x
) {
47691 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
47693 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
47694 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
47696 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
47697 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
47699 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
47700 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
47702 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
47703 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
47705 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
47706 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
47708 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
47709 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
47711 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
47712 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47714 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
47715 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47717 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
47718 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47720 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
47721 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47723 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
47724 return (void *)((wxObject
*) ((wxFSFile
*) x
));
47726 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
47727 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
47729 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
47730 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47732 static void *_p_wxListViewTo_p_wxObject(void *x
) {
47733 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47735 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
47736 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47738 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
47739 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
47741 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
47742 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47744 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
47745 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
47747 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
47748 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47750 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
47751 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47753 static void *_p_wxListbookTo_p_wxObject(void *x
) {
47754 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47756 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
47757 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
47759 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
47760 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
47762 static void *_p_wxSliderTo_p_wxObject(void *x
) {
47763 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
47765 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
47766 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
47768 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
47769 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
47771 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
47772 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
47774 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
47775 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47777 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
47778 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47780 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
47781 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
47783 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
47784 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
47786 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
47787 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
47789 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
47790 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
47792 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
47793 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
47795 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
47796 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
47798 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
47799 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
47801 static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x
) {
47802 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
47804 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
47805 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
47807 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
47808 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
47810 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
47811 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
47813 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
47814 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
47816 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
47817 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
47819 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
47820 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
47822 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
47823 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
47825 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
47826 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
47828 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
47829 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
47831 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
47832 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
47834 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
47835 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
47837 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
47838 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
47840 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
47841 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
47843 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
47844 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
47846 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
47847 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
47849 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
47850 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
47852 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
47853 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
47855 static void *_p_wxListEventTo_p_wxObject(void *x
) {
47856 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
47858 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
47859 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47861 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
47862 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47864 static void *_p_wxButtonTo_p_wxObject(void *x
) {
47865 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
47867 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
47868 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47870 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
47871 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
47873 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
47874 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47876 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
47877 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
47879 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
47880 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47882 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
47883 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
47885 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
47886 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
47888 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
47889 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
47891 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
47892 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
47894 static void *_p_wxListItemTo_p_wxObject(void *x
) {
47895 return (void *)((wxObject
*) ((wxListItem
*) x
));
47897 static void *_p_wxImageTo_p_wxObject(void *x
) {
47898 return (void *)((wxObject
*) ((wxImage
*) x
));
47900 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
47901 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
47903 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
47904 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47906 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
47907 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
47909 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
47910 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
47912 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
47913 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47915 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
47916 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47918 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
47919 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47921 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
47922 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47924 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
47925 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47927 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
47928 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47930 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
47931 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47933 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
47934 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
47936 static void *_p_wxWindowTo_p_wxObject(void *x
) {
47937 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
47939 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47940 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47942 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47943 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47945 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47946 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47948 static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x
) {
47949 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
47951 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47952 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47954 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47955 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47957 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47958 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47960 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47961 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47963 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47964 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47966 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47967 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47969 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
47970 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47972 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
47973 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47975 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47976 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47978 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47979 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47981 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
47982 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
47984 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47985 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47987 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47988 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47990 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47991 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47993 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
47994 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
47996 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
47997 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47999 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
48000 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48002 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
48003 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48005 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
48006 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48008 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
48009 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
48011 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
48012 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
48014 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
48015 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
48017 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
48018 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48020 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
48021 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
48023 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
48024 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
48026 static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x
) {
48027 return (void *)((wxWindow
*) (wxControl
*) ((wxCollapsiblePane
*) x
));
48029 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
48030 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
48032 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
48033 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
48035 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
48036 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48038 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
48039 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
48041 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
48042 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
48044 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
48045 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
48047 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
48048 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48050 static void *_p_wxControlTo_p_wxWindow(void *x
) {
48051 return (void *)((wxWindow
*) ((wxControl
*) x
));
48053 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
48054 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
48056 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
48057 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
48059 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
48060 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
48062 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
48063 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48065 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
48066 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
48068 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
48069 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
48071 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
48072 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
48074 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
48075 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
48077 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
48078 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
48080 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
48081 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
48083 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
48084 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48086 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
48087 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48089 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
48090 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
48092 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
48093 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
48095 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
48096 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
48098 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
48099 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
48101 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
48102 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48104 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
48105 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48107 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
48108 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48110 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
48111 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48113 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
48114 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48116 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
48117 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
48119 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
48120 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
48122 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
48123 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
48125 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
48126 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
48128 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
48129 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
48131 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
48132 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48134 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
48135 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
48137 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
48138 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
48140 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
48141 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48143 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
48144 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48146 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
48147 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
48149 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
48150 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48152 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
48153 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48155 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
48156 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48158 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
48159 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48161 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
48162 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
48164 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48165 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48167 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48168 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48170 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48171 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48173 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48174 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48176 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48177 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48179 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
48180 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48182 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
48183 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48185 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
48186 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48188 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
48189 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48191 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
48192 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48194 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
48195 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48197 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
48198 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48200 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
48201 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
48203 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
48204 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48206 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
48207 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
48209 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
48210 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48212 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
48213 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48215 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
48216 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48218 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
48219 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48221 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
48222 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48224 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
48225 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48227 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
48228 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
48230 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
48231 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48233 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
48234 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
48236 static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x
) {
48237 return (void *)((wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48239 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
48240 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48242 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
48243 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48245 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
48246 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48248 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
48249 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
48251 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
48252 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48254 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
48255 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48257 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
48258 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48260 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
48261 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
48263 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
48264 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
48266 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
48267 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
48269 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
48270 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
48272 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
48273 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
48274 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};
48275 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
48276 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
48277 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
48278 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
48279 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
48280 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
48281 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
48282 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
48283 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
48284 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
48285 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
48286 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
48287 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
48288 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
48289 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
48290 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
48291 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
48292 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
48293 static swig_type_info _swigt__p_wxCollapsiblePane
= {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0};
48294 static swig_type_info _swigt__p_wxCollapsiblePaneEvent
= {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0};
48295 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
48296 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
48297 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
48298 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
48299 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
48300 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
48301 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
48302 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
48303 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
48304 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
48305 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
48306 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
48307 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
48308 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
48309 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
48310 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
48311 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
48312 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
48313 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
48314 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
48315 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
48316 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
48317 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
48318 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
48319 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
48320 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
48321 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
48322 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
48323 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
48324 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
48325 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
48326 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
48327 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
48328 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
48329 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
48330 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
48331 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
48332 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
48333 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
48334 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
48335 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
48336 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
48337 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
48338 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
48339 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
48340 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
48341 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
48342 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
48343 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
48344 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
48345 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
48346 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
48347 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
48348 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
48349 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
48350 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
48351 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
48352 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
48353 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
48354 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
48355 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
48356 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
48357 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
48358 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
48359 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
48360 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
48361 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
48362 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
48363 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
48364 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
48365 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
48366 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
48367 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
48368 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
48369 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
48370 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
48371 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
48372 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
48373 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
48374 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
48375 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
48376 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
48377 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
48378 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
48379 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
48380 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
48381 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
48382 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
48383 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
48384 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
48385 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
48386 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
48387 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
48388 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
48389 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
48390 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
48391 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
48392 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
48393 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
48394 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
48395 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
48396 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
48397 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
48398 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
48399 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
48400 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
48401 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
48402 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
48403 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
48404 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
48405 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
48406 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
48407 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
48408 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
48409 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
48410 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
48411 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
48412 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
48413 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
48414 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
48415 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
48416 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
48417 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
48418 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
48419 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
48420 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
48421 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
48422 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
48423 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
48424 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
48425 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
48426 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
48427 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
48428 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
48429 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
48430 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
48431 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
48432 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
48433 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
48434 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
48435 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
48436 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
48437 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
48438 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
48439 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
48440 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
48441 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
48442 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
48443 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
48444 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
48445 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
48446 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
48447 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
48448 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
48449 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
48451 static swig_type_info
*swig_type_initial
[] = {
48454 &_swigt__p_form_ops_t
,
48457 &_swigt__p_unsigned_char
,
48458 &_swigt__p_unsigned_int
,
48459 &_swigt__p_unsigned_long
,
48461 &_swigt__p_wxANIHandler
,
48462 &_swigt__p_wxAcceleratorTable
,
48463 &_swigt__p_wxActivateEvent
,
48464 &_swigt__p_wxArrayInt
,
48465 &_swigt__p_wxArrayString
,
48466 &_swigt__p_wxBMPHandler
,
48467 &_swigt__p_wxBitmap
,
48468 &_swigt__p_wxBitmapButton
,
48469 &_swigt__p_wxBookCtrlBase
,
48470 &_swigt__p_wxBookCtrlBaseEvent
,
48471 &_swigt__p_wxBoxSizer
,
48472 &_swigt__p_wxButton
,
48473 &_swigt__p_wxCURHandler
,
48474 &_swigt__p_wxCheckBox
,
48475 &_swigt__p_wxCheckListBox
,
48476 &_swigt__p_wxChildFocusEvent
,
48477 &_swigt__p_wxChoice
,
48478 &_swigt__p_wxChoicebook
,
48479 &_swigt__p_wxChoicebookEvent
,
48480 &_swigt__p_wxClipboardTextEvent
,
48481 &_swigt__p_wxCloseEvent
,
48482 &_swigt__p_wxCollapsiblePane
,
48483 &_swigt__p_wxCollapsiblePaneEvent
,
48484 &_swigt__p_wxColour
,
48485 &_swigt__p_wxColourPickerCtrl
,
48486 &_swigt__p_wxColourPickerEvent
,
48487 &_swigt__p_wxComboBox
,
48488 &_swigt__p_wxCommandEvent
,
48489 &_swigt__p_wxContextHelp
,
48490 &_swigt__p_wxContextHelpButton
,
48491 &_swigt__p_wxContextMenuEvent
,
48492 &_swigt__p_wxControl
,
48493 &_swigt__p_wxControlWithItems
,
48494 &_swigt__p_wxCursor
,
48496 &_swigt__p_wxDateEvent
,
48497 &_swigt__p_wxDatePickerCtrl
,
48498 &_swigt__p_wxDateTime
,
48499 &_swigt__p_wxDirFilterListCtrl
,
48500 &_swigt__p_wxDirPickerCtrl
,
48501 &_swigt__p_wxDisplayChangedEvent
,
48502 &_swigt__p_wxDropFilesEvent
,
48503 &_swigt__p_wxDuplexMode
,
48504 &_swigt__p_wxEraseEvent
,
48505 &_swigt__p_wxEvent
,
48506 &_swigt__p_wxEvtHandler
,
48507 &_swigt__p_wxFSFile
,
48508 &_swigt__p_wxFileDirPickerEvent
,
48509 &_swigt__p_wxFilePickerCtrl
,
48510 &_swigt__p_wxFileSystem
,
48511 &_swigt__p_wxFlexGridSizer
,
48512 &_swigt__p_wxFocusEvent
,
48514 &_swigt__p_wxFontPickerCtrl
,
48515 &_swigt__p_wxFontPickerEvent
,
48516 &_swigt__p_wxGBSizerItem
,
48517 &_swigt__p_wxGIFHandler
,
48518 &_swigt__p_wxGauge
,
48519 &_swigt__p_wxGenericDirCtrl
,
48520 &_swigt__p_wxGenericDragImage
,
48521 &_swigt__p_wxGridBagSizer
,
48522 &_swigt__p_wxGridSizer
,
48523 &_swigt__p_wxHelpEvent
,
48524 &_swigt__p_wxHelpProvider
,
48525 &_swigt__p_wxHyperlinkCtrl
,
48526 &_swigt__p_wxHyperlinkEvent
,
48527 &_swigt__p_wxICOHandler
,
48529 &_swigt__p_wxIconizeEvent
,
48530 &_swigt__p_wxIdleEvent
,
48531 &_swigt__p_wxImage
,
48532 &_swigt__p_wxImageHandler
,
48533 &_swigt__p_wxImageList
,
48534 &_swigt__p_wxIndividualLayoutConstraint
,
48535 &_swigt__p_wxInitDialogEvent
,
48536 &_swigt__p_wxItemContainer
,
48537 &_swigt__p_wxJPEGHandler
,
48538 &_swigt__p_wxKeyEvent
,
48539 &_swigt__p_wxLayoutConstraints
,
48540 &_swigt__p_wxListBox
,
48541 &_swigt__p_wxListEvent
,
48542 &_swigt__p_wxListItem
,
48543 &_swigt__p_wxListItemAttr
,
48544 &_swigt__p_wxListView
,
48545 &_swigt__p_wxListbook
,
48546 &_swigt__p_wxListbookEvent
,
48547 &_swigt__p_wxMaximizeEvent
,
48548 &_swigt__p_wxMemoryDC
,
48550 &_swigt__p_wxMenuBar
,
48551 &_swigt__p_wxMenuEvent
,
48552 &_swigt__p_wxMenuItem
,
48553 &_swigt__p_wxMouseCaptureChangedEvent
,
48554 &_swigt__p_wxMouseCaptureLostEvent
,
48555 &_swigt__p_wxMouseEvent
,
48556 &_swigt__p_wxMoveEvent
,
48557 &_swigt__p_wxNavigationKeyEvent
,
48558 &_swigt__p_wxNcPaintEvent
,
48559 &_swigt__p_wxNotebook
,
48560 &_swigt__p_wxNotebookEvent
,
48561 &_swigt__p_wxNotifyEvent
,
48562 &_swigt__p_wxObject
,
48563 &_swigt__p_wxPCXHandler
,
48564 &_swigt__p_wxPNGHandler
,
48565 &_swigt__p_wxPNMHandler
,
48566 &_swigt__p_wxPaintEvent
,
48567 &_swigt__p_wxPaletteChangedEvent
,
48568 &_swigt__p_wxPaperSize
,
48569 &_swigt__p_wxPickerBase
,
48570 &_swigt__p_wxPoint
,
48571 &_swigt__p_wxPyApp
,
48572 &_swigt__p_wxPyCommandEvent
,
48573 &_swigt__p_wxPyControl
,
48574 &_swigt__p_wxPyEvent
,
48575 &_swigt__p_wxPyImageHandler
,
48576 &_swigt__p_wxPyListCtrl
,
48577 &_swigt__p_wxPySizer
,
48578 &_swigt__p_wxPyTreeCtrl
,
48579 &_swigt__p_wxPyTreeItemData
,
48580 &_swigt__p_wxPyValidator
,
48581 &_swigt__p_wxQueryNewPaletteEvent
,
48582 &_swigt__p_wxRadioBox
,
48583 &_swigt__p_wxRadioButton
,
48585 &_swigt__p_wxScrollBar
,
48586 &_swigt__p_wxScrollEvent
,
48587 &_swigt__p_wxScrollWinEvent
,
48588 &_swigt__p_wxSetCursorEvent
,
48589 &_swigt__p_wxShowEvent
,
48590 &_swigt__p_wxSimpleHelpProvider
,
48592 &_swigt__p_wxSizeEvent
,
48593 &_swigt__p_wxSizer
,
48594 &_swigt__p_wxSizerItem
,
48595 &_swigt__p_wxSlider
,
48596 &_swigt__p_wxSpinButton
,
48597 &_swigt__p_wxSpinCtrl
,
48598 &_swigt__p_wxSpinEvent
,
48599 &_swigt__p_wxStaticBitmap
,
48600 &_swigt__p_wxStaticBox
,
48601 &_swigt__p_wxStaticBoxSizer
,
48602 &_swigt__p_wxStaticLine
,
48603 &_swigt__p_wxStaticText
,
48604 &_swigt__p_wxStdDialogButtonSizer
,
48605 &_swigt__p_wxString
,
48606 &_swigt__p_wxSysColourChangedEvent
,
48607 &_swigt__p_wxTGAHandler
,
48608 &_swigt__p_wxTIFFHandler
,
48609 &_swigt__p_wxTextAttr
,
48610 &_swigt__p_wxTextCtrl
,
48611 &_swigt__p_wxTextUrlEvent
,
48612 &_swigt__p_wxToggleButton
,
48613 &_swigt__p_wxToolBar
,
48614 &_swigt__p_wxToolBarBase
,
48615 &_swigt__p_wxToolBarToolBase
,
48616 &_swigt__p_wxToolbook
,
48617 &_swigt__p_wxToolbookEvent
,
48618 &_swigt__p_wxTreeEvent
,
48619 &_swigt__p_wxTreeItemId
,
48620 &_swigt__p_wxTreebook
,
48621 &_swigt__p_wxTreebookEvent
,
48622 &_swigt__p_wxUpdateUIEvent
,
48623 &_swigt__p_wxValidator
,
48624 &_swigt__p_wxVisualAttributes
,
48625 &_swigt__p_wxWindow
,
48626 &_swigt__p_wxWindowBase
,
48627 &_swigt__p_wxWindowCreateEvent
,
48628 &_swigt__p_wxWindowDestroyEvent
,
48629 &_swigt__p_wxXPMHandler
,
48632 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
48633 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
48634 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
48635 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
48636 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
48637 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
48638 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
48639 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
48640 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
48641 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
48642 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
48643 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
48644 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}};
48645 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}};
48646 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}};
48647 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}};
48648 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
48649 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
48650 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}};
48651 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
48652 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48653 static swig_cast_info _swigc__p_wxCollapsiblePane
[] = { {&_swigt__p_wxCollapsiblePane
, 0, 0, 0},{0, 0, 0, 0}};
48654 static swig_cast_info _swigc__p_wxCollapsiblePaneEvent
[] = { {&_swigt__p_wxCollapsiblePaneEvent
, 0, 0, 0},{0, 0, 0, 0}};
48655 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
48656 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48657 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48658 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
48659 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48660 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
48661 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
48662 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
48663 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
48664 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
48665 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48666 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48667 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
48668 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}};
48669 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
48670 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
48671 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_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}};
48672 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}};
48673 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
48674 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
48675 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48676 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
48677 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48678 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48679 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
48680 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
48681 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48682 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48683 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
48684 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
48685 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48686 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
48687 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
48688 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48689 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48690 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48691 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48692 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
48693 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
48694 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
48695 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
48696 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48697 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48698 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48699 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48700 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
48701 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
48702 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
48703 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48704 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
48705 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}};
48706 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
48707 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
48708 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
48709 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
48710 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_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}};
48711 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48712 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48713 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
48714 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48715 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48716 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
48717 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48718 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
48719 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
48720 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}};
48721 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48722 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
48723 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
48724 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
48725 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}};
48726 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48727 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}};
48728 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
48729 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
48730 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
48731 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
48732 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
48733 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48734 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
48735 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48736 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
48737 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48738 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}};
48739 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
48740 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
48741 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
48742 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
48743 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48744 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48745 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48746 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
48747 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
48748 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
48749 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
48750 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
48751 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
48752 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
48753 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
48754 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
48755 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
48756 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
48757 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
48758 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
48759 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
48760 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
48761 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
48762 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
48763 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
48764 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
48765 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
48766 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
48767 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
48768 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
48769 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
48770 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_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_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_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_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_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}};
48771 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
48772 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}};
48773 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
48774 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
48775 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}};
48776 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48777 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
48778 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
48779 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
48780 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
48781 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
48782 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
48783 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
48784 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
48785 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
48786 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48787 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
48788 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
48789 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
48790 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
48791 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
48792 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
48793 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
48794 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48795 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
48796 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
48797 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
48798 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}};
48799 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
48800 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
48801 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48802 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48803 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
48804 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
48805 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48806 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}};
48807 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
48808 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_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}};
48809 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
48811 static swig_cast_info
*swig_cast_initial
[] = {
48814 _swigc__p_form_ops_t
,
48817 _swigc__p_unsigned_char
,
48818 _swigc__p_unsigned_int
,
48819 _swigc__p_unsigned_long
,
48821 _swigc__p_wxANIHandler
,
48822 _swigc__p_wxAcceleratorTable
,
48823 _swigc__p_wxActivateEvent
,
48824 _swigc__p_wxArrayInt
,
48825 _swigc__p_wxArrayString
,
48826 _swigc__p_wxBMPHandler
,
48827 _swigc__p_wxBitmap
,
48828 _swigc__p_wxBitmapButton
,
48829 _swigc__p_wxBookCtrlBase
,
48830 _swigc__p_wxBookCtrlBaseEvent
,
48831 _swigc__p_wxBoxSizer
,
48832 _swigc__p_wxButton
,
48833 _swigc__p_wxCURHandler
,
48834 _swigc__p_wxCheckBox
,
48835 _swigc__p_wxCheckListBox
,
48836 _swigc__p_wxChildFocusEvent
,
48837 _swigc__p_wxChoice
,
48838 _swigc__p_wxChoicebook
,
48839 _swigc__p_wxChoicebookEvent
,
48840 _swigc__p_wxClipboardTextEvent
,
48841 _swigc__p_wxCloseEvent
,
48842 _swigc__p_wxCollapsiblePane
,
48843 _swigc__p_wxCollapsiblePaneEvent
,
48844 _swigc__p_wxColour
,
48845 _swigc__p_wxColourPickerCtrl
,
48846 _swigc__p_wxColourPickerEvent
,
48847 _swigc__p_wxComboBox
,
48848 _swigc__p_wxCommandEvent
,
48849 _swigc__p_wxContextHelp
,
48850 _swigc__p_wxContextHelpButton
,
48851 _swigc__p_wxContextMenuEvent
,
48852 _swigc__p_wxControl
,
48853 _swigc__p_wxControlWithItems
,
48854 _swigc__p_wxCursor
,
48856 _swigc__p_wxDateEvent
,
48857 _swigc__p_wxDatePickerCtrl
,
48858 _swigc__p_wxDateTime
,
48859 _swigc__p_wxDirFilterListCtrl
,
48860 _swigc__p_wxDirPickerCtrl
,
48861 _swigc__p_wxDisplayChangedEvent
,
48862 _swigc__p_wxDropFilesEvent
,
48863 _swigc__p_wxDuplexMode
,
48864 _swigc__p_wxEraseEvent
,
48866 _swigc__p_wxEvtHandler
,
48867 _swigc__p_wxFSFile
,
48868 _swigc__p_wxFileDirPickerEvent
,
48869 _swigc__p_wxFilePickerCtrl
,
48870 _swigc__p_wxFileSystem
,
48871 _swigc__p_wxFlexGridSizer
,
48872 _swigc__p_wxFocusEvent
,
48874 _swigc__p_wxFontPickerCtrl
,
48875 _swigc__p_wxFontPickerEvent
,
48876 _swigc__p_wxGBSizerItem
,
48877 _swigc__p_wxGIFHandler
,
48879 _swigc__p_wxGenericDirCtrl
,
48880 _swigc__p_wxGenericDragImage
,
48881 _swigc__p_wxGridBagSizer
,
48882 _swigc__p_wxGridSizer
,
48883 _swigc__p_wxHelpEvent
,
48884 _swigc__p_wxHelpProvider
,
48885 _swigc__p_wxHyperlinkCtrl
,
48886 _swigc__p_wxHyperlinkEvent
,
48887 _swigc__p_wxICOHandler
,
48889 _swigc__p_wxIconizeEvent
,
48890 _swigc__p_wxIdleEvent
,
48892 _swigc__p_wxImageHandler
,
48893 _swigc__p_wxImageList
,
48894 _swigc__p_wxIndividualLayoutConstraint
,
48895 _swigc__p_wxInitDialogEvent
,
48896 _swigc__p_wxItemContainer
,
48897 _swigc__p_wxJPEGHandler
,
48898 _swigc__p_wxKeyEvent
,
48899 _swigc__p_wxLayoutConstraints
,
48900 _swigc__p_wxListBox
,
48901 _swigc__p_wxListEvent
,
48902 _swigc__p_wxListItem
,
48903 _swigc__p_wxListItemAttr
,
48904 _swigc__p_wxListView
,
48905 _swigc__p_wxListbook
,
48906 _swigc__p_wxListbookEvent
,
48907 _swigc__p_wxMaximizeEvent
,
48908 _swigc__p_wxMemoryDC
,
48910 _swigc__p_wxMenuBar
,
48911 _swigc__p_wxMenuEvent
,
48912 _swigc__p_wxMenuItem
,
48913 _swigc__p_wxMouseCaptureChangedEvent
,
48914 _swigc__p_wxMouseCaptureLostEvent
,
48915 _swigc__p_wxMouseEvent
,
48916 _swigc__p_wxMoveEvent
,
48917 _swigc__p_wxNavigationKeyEvent
,
48918 _swigc__p_wxNcPaintEvent
,
48919 _swigc__p_wxNotebook
,
48920 _swigc__p_wxNotebookEvent
,
48921 _swigc__p_wxNotifyEvent
,
48922 _swigc__p_wxObject
,
48923 _swigc__p_wxPCXHandler
,
48924 _swigc__p_wxPNGHandler
,
48925 _swigc__p_wxPNMHandler
,
48926 _swigc__p_wxPaintEvent
,
48927 _swigc__p_wxPaletteChangedEvent
,
48928 _swigc__p_wxPaperSize
,
48929 _swigc__p_wxPickerBase
,
48932 _swigc__p_wxPyCommandEvent
,
48933 _swigc__p_wxPyControl
,
48934 _swigc__p_wxPyEvent
,
48935 _swigc__p_wxPyImageHandler
,
48936 _swigc__p_wxPyListCtrl
,
48937 _swigc__p_wxPySizer
,
48938 _swigc__p_wxPyTreeCtrl
,
48939 _swigc__p_wxPyTreeItemData
,
48940 _swigc__p_wxPyValidator
,
48941 _swigc__p_wxQueryNewPaletteEvent
,
48942 _swigc__p_wxRadioBox
,
48943 _swigc__p_wxRadioButton
,
48945 _swigc__p_wxScrollBar
,
48946 _swigc__p_wxScrollEvent
,
48947 _swigc__p_wxScrollWinEvent
,
48948 _swigc__p_wxSetCursorEvent
,
48949 _swigc__p_wxShowEvent
,
48950 _swigc__p_wxSimpleHelpProvider
,
48952 _swigc__p_wxSizeEvent
,
48954 _swigc__p_wxSizerItem
,
48955 _swigc__p_wxSlider
,
48956 _swigc__p_wxSpinButton
,
48957 _swigc__p_wxSpinCtrl
,
48958 _swigc__p_wxSpinEvent
,
48959 _swigc__p_wxStaticBitmap
,
48960 _swigc__p_wxStaticBox
,
48961 _swigc__p_wxStaticBoxSizer
,
48962 _swigc__p_wxStaticLine
,
48963 _swigc__p_wxStaticText
,
48964 _swigc__p_wxStdDialogButtonSizer
,
48965 _swigc__p_wxString
,
48966 _swigc__p_wxSysColourChangedEvent
,
48967 _swigc__p_wxTGAHandler
,
48968 _swigc__p_wxTIFFHandler
,
48969 _swigc__p_wxTextAttr
,
48970 _swigc__p_wxTextCtrl
,
48971 _swigc__p_wxTextUrlEvent
,
48972 _swigc__p_wxToggleButton
,
48973 _swigc__p_wxToolBar
,
48974 _swigc__p_wxToolBarBase
,
48975 _swigc__p_wxToolBarToolBase
,
48976 _swigc__p_wxToolbook
,
48977 _swigc__p_wxToolbookEvent
,
48978 _swigc__p_wxTreeEvent
,
48979 _swigc__p_wxTreeItemId
,
48980 _swigc__p_wxTreebook
,
48981 _swigc__p_wxTreebookEvent
,
48982 _swigc__p_wxUpdateUIEvent
,
48983 _swigc__p_wxValidator
,
48984 _swigc__p_wxVisualAttributes
,
48985 _swigc__p_wxWindow
,
48986 _swigc__p_wxWindowBase
,
48987 _swigc__p_wxWindowCreateEvent
,
48988 _swigc__p_wxWindowDestroyEvent
,
48989 _swigc__p_wxXPMHandler
,
48993 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
48995 static swig_const_info swig_const_table
[] = {
48996 {0, 0, 0, 0.0, 0, 0}};
49001 /* -----------------------------------------------------------------------------
49002 * Type initialization:
49003 * This problem is tough by the requirement that no dynamic
49004 * memory is used. Also, since swig_type_info structures store pointers to
49005 * swig_cast_info structures and swig_cast_info structures store pointers back
49006 * to swig_type_info structures, we need some lookup code at initialization.
49007 * The idea is that swig generates all the structures that are needed.
49008 * The runtime then collects these partially filled structures.
49009 * The SWIG_InitializeModule function takes these initial arrays out of
49010 * swig_module, and does all the lookup, filling in the swig_module.types
49011 * array with the correct data and linking the correct swig_cast_info
49012 * structures together.
49014 * The generated swig_type_info structures are assigned staticly to an initial
49015 * array. We just loop though that array, and handle each type individually.
49016 * First we lookup if this type has been already loaded, and if so, use the
49017 * loaded structure instead of the generated one. Then we have to fill in the
49018 * cast linked list. The cast data is initially stored in something like a
49019 * two-dimensional array. Each row corresponds to a type (there are the same
49020 * number of rows as there are in the swig_type_initial array). Each entry in
49021 * a column is one of the swig_cast_info structures for that type.
49022 * The cast_initial array is actually an array of arrays, because each row has
49023 * a variable number of columns. So to actually build the cast linked list,
49024 * we find the array of casts associated with the type, and loop through it
49025 * adding the casts to the list. The one last trick we need to do is making
49026 * sure the type pointer in the swig_cast_info struct is correct.
49028 * First off, we lookup the cast->type name to see if it is already loaded.
49029 * There are three cases to handle:
49030 * 1) If the cast->type has already been loaded AND the type we are adding
49031 * casting info to has not been loaded (it is in this module), THEN we
49032 * replace the cast->type pointer with the type pointer that has already
49034 * 2) If BOTH types (the one we are adding casting info to, and the
49035 * cast->type) are loaded, THEN the cast info has already been loaded by
49036 * the previous module so we just ignore it.
49037 * 3) Finally, if cast->type has not already been loaded, then we add that
49038 * swig_cast_info to the linked list (because the cast->type) pointer will
49040 * ----------------------------------------------------------------------------- */
49050 #define SWIGRUNTIME_DEBUG
49054 SWIG_InitializeModule(void *clientdata
) {
49056 swig_module_info
*module_head
;
49057 static int init_run
= 0;
49059 clientdata
= clientdata
;
49061 if (init_run
) return;
49064 /* Initialize the swig_module */
49065 swig_module
.type_initial
= swig_type_initial
;
49066 swig_module
.cast_initial
= swig_cast_initial
;
49068 /* Try and load any already created modules */
49069 module_head
= SWIG_GetModule(clientdata
);
49071 swig_module
.next
= module_head
->next
;
49072 module_head
->next
= &swig_module
;
49074 /* This is the first module loaded */
49075 swig_module
.next
= &swig_module
;
49076 SWIG_SetModule(clientdata
, &swig_module
);
49079 /* Now work on filling in swig_module.types */
49080 #ifdef SWIGRUNTIME_DEBUG
49081 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
49083 for (i
= 0; i
< swig_module
.size
; ++i
) {
49084 swig_type_info
*type
= 0;
49085 swig_type_info
*ret
;
49086 swig_cast_info
*cast
;
49088 #ifdef SWIGRUNTIME_DEBUG
49089 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
49092 /* if there is another module already loaded */
49093 if (swig_module
.next
!= &swig_module
) {
49094 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
49097 /* Overwrite clientdata field */
49098 #ifdef SWIGRUNTIME_DEBUG
49099 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
49101 if (swig_module
.type_initial
[i
]->clientdata
) {
49102 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
49103 #ifdef SWIGRUNTIME_DEBUG
49104 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
49108 type
= swig_module
.type_initial
[i
];
49111 /* Insert casting types */
49112 cast
= swig_module
.cast_initial
[i
];
49113 while (cast
->type
) {
49114 /* Don't need to add information already in the list */
49116 #ifdef SWIGRUNTIME_DEBUG
49117 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
49119 if (swig_module
.next
!= &swig_module
) {
49120 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
49121 #ifdef SWIGRUNTIME_DEBUG
49122 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
49126 if (type
== swig_module
.type_initial
[i
]) {
49127 #ifdef SWIGRUNTIME_DEBUG
49128 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
49133 /* Check for casting already in the list */
49134 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
49135 #ifdef SWIGRUNTIME_DEBUG
49136 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
49138 if (!ocast
) ret
= 0;
49143 #ifdef SWIGRUNTIME_DEBUG
49144 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
49147 type
->cast
->prev
= cast
;
49148 cast
->next
= type
->cast
;
49154 /* Set entry in modules->types array equal to the type */
49155 swig_module
.types
[i
] = type
;
49157 swig_module
.types
[i
] = 0;
49159 #ifdef SWIGRUNTIME_DEBUG
49160 printf("**** SWIG_InitializeModule: Cast List ******\n");
49161 for (i
= 0; i
< swig_module
.size
; ++i
) {
49163 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
49164 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
49165 while (cast
->type
) {
49166 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
49170 printf("---- Total casts: %d\n",j
);
49172 printf("**** SWIG_InitializeModule: Cast List ******\n");
49176 /* This function will propagate the clientdata field of type to
49177 * any new swig_type_info structures that have been added into the list
49178 * of equivalent types. It is like calling
49179 * SWIG_TypeClientData(type, clientdata) a second time.
49182 SWIG_PropagateClientData(void) {
49184 swig_cast_info
*equiv
;
49185 static int init_run
= 0;
49187 if (init_run
) return;
49190 for (i
= 0; i
< swig_module
.size
; i
++) {
49191 if (swig_module
.types
[i
]->clientdata
) {
49192 equiv
= swig_module
.types
[i
]->cast
;
49194 if (!equiv
->converter
) {
49195 if (equiv
->type
&& !equiv
->type
->clientdata
)
49196 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
49198 equiv
= equiv
->next
;
49218 /* Python-specific SWIG API */
49219 #define SWIG_newvarlink() SWIG_Python_newvarlink()
49220 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
49221 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
49223 /* -----------------------------------------------------------------------------
49224 * global variable support code.
49225 * ----------------------------------------------------------------------------- */
49227 typedef struct swig_globalvar
{
49228 char *name
; /* Name of global variable */
49229 PyObject
*(*get_attr
)(void); /* Return the current value */
49230 int (*set_attr
)(PyObject
*); /* Set the value */
49231 struct swig_globalvar
*next
;
49234 typedef struct swig_varlinkobject
{
49236 swig_globalvar
*vars
;
49237 } swig_varlinkobject
;
49239 SWIGINTERN PyObject
*
49240 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
49241 return PyString_FromString("<Swig global variables>");
49244 SWIGINTERN PyObject
*
49245 swig_varlink_str(swig_varlinkobject
*v
) {
49246 PyObject
*str
= PyString_FromString("(");
49247 swig_globalvar
*var
;
49248 for (var
= v
->vars
; var
; var
=var
->next
) {
49249 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
49250 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
49252 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
49257 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
49258 PyObject
*str
= swig_varlink_str(v
);
49259 fprintf(fp
,"Swig global variables ");
49260 fprintf(fp
,"%s\n", PyString_AsString(str
));
49266 swig_varlink_dealloc(swig_varlinkobject
*v
) {
49267 swig_globalvar
*var
= v
->vars
;
49269 swig_globalvar
*n
= var
->next
;
49276 SWIGINTERN PyObject
*
49277 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
49278 PyObject
*res
= NULL
;
49279 swig_globalvar
*var
= v
->vars
;
49281 if (strcmp(var
->name
,n
) == 0) {
49282 res
= (*var
->get_attr
)();
49287 if (res
== NULL
&& !PyErr_Occurred()) {
49288 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
49294 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
49296 swig_globalvar
*var
= v
->vars
;
49298 if (strcmp(var
->name
,n
) == 0) {
49299 res
= (*var
->set_attr
)(p
);
49304 if (res
== 1 && !PyErr_Occurred()) {
49305 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
49310 SWIGINTERN PyTypeObject
*
49311 swig_varlink_type(void) {
49312 static char varlink__doc__
[] = "Swig var link object";
49313 static PyTypeObject varlink_type
;
49314 static int type_init
= 0;
49316 const PyTypeObject tmp
49318 PyObject_HEAD_INIT(NULL
)
49319 0, /* Number of items in variable part (ob_size) */
49320 (char *)"swigvarlink", /* Type name (tp_name) */
49321 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
49322 0, /* Itemsize (tp_itemsize) */
49323 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
49324 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
49325 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
49326 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
49327 0, /* tp_compare */
49328 (reprfunc
) swig_varlink_repr
, /* tp_repr */
49329 0, /* tp_as_number */
49330 0, /* tp_as_sequence */
49331 0, /* tp_as_mapping */
49334 (reprfunc
)swig_varlink_str
, /* tp_str */
49335 0, /* tp_getattro */
49336 0, /* tp_setattro */
49337 0, /* tp_as_buffer */
49339 varlink__doc__
, /* tp_doc */
49340 0, /* tp_traverse */
49342 0, /* tp_richcompare */
49343 0, /* tp_weaklistoffset */
49344 #if PY_VERSION_HEX >= 0x02020000
49345 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
49347 #if PY_VERSION_HEX >= 0x02030000
49350 #ifdef COUNT_ALLOCS
49351 0,0,0,0 /* tp_alloc -> tp_next */
49354 varlink_type
= tmp
;
49355 varlink_type
.ob_type
= &PyType_Type
;
49358 return &varlink_type
;
49361 /* Create a variable linking object for use later */
49362 SWIGINTERN PyObject
*
49363 SWIG_Python_newvarlink(void) {
49364 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
49368 return ((PyObject
*) result
);
49372 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
49373 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
49374 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
49376 size_t size
= strlen(name
)+1;
49377 gv
->name
= (char *)malloc(size
);
49379 strncpy(gv
->name
,name
,size
);
49380 gv
->get_attr
= get_attr
;
49381 gv
->set_attr
= set_attr
;
49382 gv
->next
= v
->vars
;
49388 SWIGINTERN PyObject
*
49390 static PyObject
*_SWIG_globals
= 0;
49391 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
49392 return _SWIG_globals
;
49395 /* -----------------------------------------------------------------------------
49396 * constants/methods manipulation
49397 * ----------------------------------------------------------------------------- */
49399 /* Install Constants */
49401 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
49404 for (i
= 0; constants
[i
].type
; ++i
) {
49405 switch(constants
[i
].type
) {
49406 case SWIG_PY_POINTER
:
49407 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
49409 case SWIG_PY_BINARY
:
49410 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
49417 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
49423 /* -----------------------------------------------------------------------------*/
49424 /* Fix SwigMethods to carry the callback ptrs when needed */
49425 /* -----------------------------------------------------------------------------*/
49428 SWIG_Python_FixMethods(PyMethodDef
*methods
,
49429 swig_const_info
*const_table
,
49430 swig_type_info
**types
,
49431 swig_type_info
**types_initial
) {
49433 for (i
= 0; methods
[i
].ml_name
; ++i
) {
49434 const char *c
= methods
[i
].ml_doc
;
49435 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
49437 swig_const_info
*ci
= 0;
49438 const char *name
= c
+ 10;
49439 for (j
= 0; const_table
[j
].type
; ++j
) {
49440 if (strncmp(const_table
[j
].name
, name
,
49441 strlen(const_table
[j
].name
)) == 0) {
49442 ci
= &(const_table
[j
]);
49447 size_t shift
= (ci
->ptype
) - types
;
49448 swig_type_info
*ty
= types_initial
[shift
];
49449 size_t ldoc
= (c
- methods
[i
].ml_doc
);
49450 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
49451 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
49454 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
49456 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
49458 strncpy(buff
, "swig_ptr: ", 10);
49460 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
49461 methods
[i
].ml_doc
= ndoc
;
49473 /* -----------------------------------------------------------------------------*
49474 * Partial Init method
49475 * -----------------------------------------------------------------------------*/
49480 SWIGEXPORT
void SWIG_init(void) {
49483 /* Fix SwigMethods to carry the callback ptrs when needed */
49484 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
49486 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
49487 d
= PyModule_GetDict(m
);
49489 SWIG_InitializeModule(0);
49490 SWIG_InstallConstants(d
,swig_const_table
);
49493 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
49494 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
49495 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
49496 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
49497 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
49498 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
49499 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
49500 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
49501 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
49502 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
49503 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
49504 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
49505 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
49506 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
49507 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
49508 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
49509 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
49510 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
49511 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
49512 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
49513 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
49514 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
49515 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
49516 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
49517 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
49518 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
49519 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
49520 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
49521 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
49522 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
49523 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
49524 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
49525 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
49526 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
49527 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
49528 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
49529 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
49530 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
49531 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
49532 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
49533 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
49534 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
49535 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
49536 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
49537 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
49538 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
49539 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
49540 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
49541 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
49542 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
49543 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
49544 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
49545 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
49546 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
49547 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
49548 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
49549 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
49550 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
49551 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
49552 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
49553 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
49554 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
49555 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
49556 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
49557 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
49558 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
49559 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
49560 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
49561 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
49562 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
49563 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
49564 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
49565 SWIG_Python_SetConstant(d
, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY
)));
49566 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
49567 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
49568 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
49569 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
49570 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
49571 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
49572 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
49573 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
49574 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
49575 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
49576 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
49577 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
49578 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
49579 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
49580 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
49581 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
49582 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
49583 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
49584 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
49585 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
49586 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
49587 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
49588 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
49589 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
49590 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
49591 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
49592 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
49593 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
49594 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
49595 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
49596 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
49597 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
49598 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
49599 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
49600 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
49601 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
49602 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
49603 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
49604 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
49605 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
49606 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
49607 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
49608 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
49609 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
49610 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
49611 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
49612 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
49613 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
49614 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
49615 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
49616 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
49617 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
49618 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
49619 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
49620 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
49621 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
49622 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
49623 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
49624 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
49625 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
49626 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
49627 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
49628 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
49629 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
49630 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
49631 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
49632 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
49633 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
49634 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
49635 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
49636 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
49637 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
49638 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
49639 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
49640 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
49641 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
49642 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
49643 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
49644 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
49645 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
49646 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
49647 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
49648 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
49649 SWIG_Python_SetConstant(d
, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP
)));
49650 SWIG_Python_SetConstant(d
, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT
)));
49651 SWIG_Python_SetConstant(d
, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM
)));
49652 SWIG_Python_SetConstant(d
, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT
)));
49653 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
49654 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
49655 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
49656 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
49657 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
49658 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
49659 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
49660 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
49661 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
49662 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
49663 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
49664 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
49665 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
49666 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
49667 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
49668 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
49669 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
49670 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
49671 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
49672 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
49673 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
49674 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
49675 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
49676 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
49677 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
49678 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
49679 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
49680 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
49681 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
49682 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
49683 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
49684 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
49685 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
49686 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
49687 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
49688 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
49689 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
49690 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
49691 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
49692 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
49693 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
49694 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
49695 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
49696 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
49697 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
49698 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
49699 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
49700 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
49701 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
49702 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
49703 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
49704 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
49705 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
49706 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
49707 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
49708 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
49709 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
49710 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
49711 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
49712 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
49713 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
49714 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
49715 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
49716 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
49717 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
49718 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
49719 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
49720 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
49721 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
49722 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
49723 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
49724 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
49725 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
49726 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
49727 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
49728 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
49729 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
49730 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
49731 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
49732 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
49733 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
49734 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
49735 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
49736 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
49737 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
49738 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
49739 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
49740 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
49741 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
49742 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
49743 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
49744 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
49745 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
49746 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
49747 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
49748 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
49749 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
49750 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
49751 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
49752 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
49754 // Map renamed classes back to their common name for OOR
49755 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
49757 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
49758 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
49759 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
49760 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
49761 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
49762 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
49763 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
49764 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
49765 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
49766 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
49767 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
49768 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
49769 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
49770 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
49771 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
49772 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
49773 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
49774 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
49775 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
49776 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
49777 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
49778 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
49779 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
49780 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
49781 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
49782 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
49783 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
49784 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
49785 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
49786 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
49787 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
49788 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
49789 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
49790 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
49791 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
49792 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
49793 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
49794 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
49795 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
49796 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
49797 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
49798 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
49799 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
49800 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
49801 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
49802 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
49803 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
49804 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
49805 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
49806 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
49807 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
49808 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
49809 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
49810 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
49811 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
49812 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
49814 // Map renamed classes back to their common name for OOR
49815 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
49816 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
49818 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
49819 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
49820 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
49821 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
49822 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
49823 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
49824 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
49825 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
49826 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
49827 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
49828 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
49830 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
49832 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
49833 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
49834 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
49835 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
49836 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
49837 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
49838 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
49839 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
49840 SWIG_Python_SetConstant(d
, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT
)));
49841 SWIG_Python_SetConstant(d
, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT
)));
49842 SWIG_Python_SetConstant(d
, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE
)));
49843 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
49844 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
49845 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
49846 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
49847 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
49848 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
49849 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
49850 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
49851 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
49852 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
49853 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
49854 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
49855 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
49856 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
49857 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
49858 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
49859 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
49860 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
49861 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
49862 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
49863 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
49864 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
49865 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
49866 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
49867 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
49868 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
49869 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
49870 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
49871 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
49872 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
49873 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
49874 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));
49875 SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get
, CollapsiblePaneNameStr_set
);
49876 SWIG_Python_SetConstant(d
, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE
)));
49877 SWIG_Python_SetConstant(d
, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE
)));
49878 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED
));