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_write(wxTextCtrl
*self
,wxString
const &text
){
2901 self
->AppendText(text
);
2903 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2904 return self
->GetValue().Mid(from
, to
- from
);
2906 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2907 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2908 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2909 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2910 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2912 SWIGINTERNINLINE PyObject
*
2913 SWIG_From_unsigned_SS_long (unsigned long value
)
2915 return (value
> LONG_MAX
) ?
2916 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2920 SWIGINTERNINLINE PyObject
*
2921 SWIG_From_size_t (size_t value
)
2923 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2927 SWIGINTERNINLINE PyObject
*
2928 SWIG_From_unsigned_SS_int (unsigned int value
)
2930 return SWIG_From_unsigned_SS_long (value
);
2934 #include <wx/slider.h>
2937 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2938 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2940 #if !wxUSE_TOGGLEBTN
2941 // implement dummy items for platforms that don't have this class
2943 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2945 class wxToggleButton
: public wxControl
2948 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2949 const wxPoint
&, const wxSize
&, long,
2950 const wxValidator
&, const wxString
&)
2951 { wxPyRaiseNotImplemented(); }
2954 { wxPyRaiseNotImplemented(); }
2958 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2960 SWIGINTERNINLINE
int
2961 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2964 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2965 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2969 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2970 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2971 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2973 Py_INCREF(udata
->m_obj
);
2974 return udata
->m_obj
;
2980 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2981 self
->SetClientData(new wxPyUserData(clientData
));
2983 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
){
2984 wxPyUserData
* udata
= NULL
;
2985 if (clientData
&& clientData
!= Py_None
)
2986 udata
= new wxPyUserData(clientData
);
2987 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2988 shortHelp
, longHelp
, udata
);
2990 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
){
2991 wxPyUserData
* udata
= NULL
;
2992 if (clientData
&& clientData
!= Py_None
)
2993 udata
= new wxPyUserData(clientData
);
2994 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2995 shortHelp
, longHelp
, udata
);
2997 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2998 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
3000 Py_INCREF(udata
->m_obj
);
3001 return udata
->m_obj
;
3007 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3008 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3011 #include <wx/listctrl.h>
3013 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3014 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3015 // Python aware sorting function for wxPyListCtrl
3016 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3018 PyObject
* func
= (PyObject
*)funcPtr
;
3019 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3021 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3022 PyObject
* result
= PyEval_CallObject(func
, args
);
3025 retval
= PyInt_AsLong(result
);
3029 wxPyEndBlockThreads(blocked
);
3033 // C++ Version of a Python aware class
3034 class wxPyListCtrl
: public wxListCtrl
{
3035 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3037 wxPyListCtrl() : wxListCtrl() {}
3038 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3042 const wxValidator
& validator
,
3043 const wxString
& name
) :
3044 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3046 bool Create(wxWindow
* parent
, wxWindowID id
,
3050 const wxValidator
& validator
,
3051 const wxString
& name
) {
3052 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3055 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3056 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3058 // use the virtual version to avoid a confusing assert in the base class
3059 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3060 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3065 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3067 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3068 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3069 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3070 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3073 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3075 item
.SetMask( wxLIST_MASK_STATE
|
3083 if (self
->GetColumn(col
, item
))
3084 return new wxListItem(item
);
3088 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3089 wxListItem
* info
= new wxListItem
;
3090 info
->m_itemId
= itemId
;
3092 info
->m_mask
= 0xFFFF;
3093 self
->GetItem(*info
);
3096 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3098 self
->GetItemPosition(item
, pos
);
3101 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3103 self
->GetItemRect(item
, rect
, code
);
3106 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3107 if (!PyCallable_Check(func
))
3109 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3111 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3115 return (wxWindow
*)self
->m_mainWin
;
3119 #include <wx/treectrl.h>
3120 #include "wx/wxPython/pytree.h"
3122 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3123 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3124 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3125 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3127 static wxTreeItemId wxNullTreeItemId
;
3129 // C++ version of Python aware wxTreeCtrl
3130 class wxPyTreeCtrl
: public wxTreeCtrl
{
3131 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3133 wxPyTreeCtrl() : wxTreeCtrl() {}
3134 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3138 const wxValidator
& validator
,
3139 const wxString
& name
) :
3140 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3142 bool Create(wxWindow
*parent
, wxWindowID id
,
3146 const wxValidator
& validator
,
3147 const wxString
& name
) {
3148 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3152 int OnCompareItems(const wxTreeItemId
& item1
,
3153 const wxTreeItemId
& item2
) {
3156 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3157 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3158 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3159 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3160 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3164 wxPyEndBlockThreads(blocked
);
3166 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3172 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3175 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3176 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3178 data
= new wxPyTreeItemData();
3179 data
->SetId(item
); // set the id
3180 self
->SetItemData(item
, data
);
3184 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3185 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3187 data
= new wxPyTreeItemData();
3188 data
->SetId(item
); // set the id
3189 self
->SetItemData(item
, data
);
3191 return data
->GetData();
3193 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3194 data
->SetId(item
); // set the id
3195 self
->SetItemData(item
, data
);
3197 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3198 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3200 data
= new wxPyTreeItemData(obj
);
3201 data
->SetId(item
); // set the id
3202 self
->SetItemData(item
, data
);
3206 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3207 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3208 PyObject
* rval
= PyList_New(0);
3209 wxArrayTreeItemIds array
;
3211 num
= self
->GetSelections(array
);
3212 for (x
=0; x
< num
; x
++) {
3213 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3214 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3215 PyList_Append(rval
, item
);
3218 wxPyEndBlockThreads(blocked
);
3221 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3223 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3224 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3225 PyObject
* tup
= PyTuple_New(2);
3226 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3227 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3228 wxPyEndBlockThreads(blocked
);
3231 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3232 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3233 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3234 PyObject
* tup
= PyTuple_New(2);
3235 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3236 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3237 wxPyEndBlockThreads(blocked
);
3240 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3242 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3243 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3244 wxRect
* r
= new wxRect(rect
);
3245 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3246 wxPyEndBlockThreads(blocked
);
3252 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3254 SWIGINTERNINLINE PyObject
*
3255 SWIG_From_bool (bool value
)
3257 return PyBool_FromLong(value
? 1 : 0);
3260 // C++ version of Python aware wxControl
3261 class wxPyControl
: public wxControl
3263 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3265 wxPyControl() : wxControl() {}
3266 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3267 const wxPoint
& pos
= wxDefaultPosition
,
3268 const wxSize
& size
= wxDefaultSize
,
3270 const wxValidator
& validator
=wxDefaultValidator
,
3271 const wxString
& name
= wxPyControlNameStr
)
3272 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3275 bool DoEraseBackground(wxDC
* dc
) {
3277 return wxWindow::DoEraseBackground(dc
->GetHDC());
3279 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3285 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3286 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3287 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3288 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3290 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3291 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3292 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3294 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3295 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3297 DEC_PYCALLBACK__(InitDialog
);
3298 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3299 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3300 DEC_PYCALLBACK_BOOL_(Validate
);
3302 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3303 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3304 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3306 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3307 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3309 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3310 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3312 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3314 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3319 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3321 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3322 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3323 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3324 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3326 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3327 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3328 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3330 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3331 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3333 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3334 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3335 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3336 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3338 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3339 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3340 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3342 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3343 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3345 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3346 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3348 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3350 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3354 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3356 #include <wx/generic/dragimgg.h>
3358 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3359 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3361 self
->GetRange(&rv
, NULL
);
3364 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3366 self
->GetRange(NULL
, &rv
);
3369 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3370 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3371 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3372 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3373 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3374 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3375 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3376 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3378 #include <wx/collpane.h>
3380 static const wxString
wxPyCollapsiblePaneNameStr(wxCollapsiblePaneNameStr
);
3384 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3385 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3390 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3391 PyObject
*pyobj
= 0;
3395 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3397 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3404 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3405 PyObject
*resultobj
= 0;
3406 wxWindow
*arg1
= (wxWindow
*) 0 ;
3407 int arg2
= (int) -1 ;
3408 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3409 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3410 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3411 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3412 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3413 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3414 long arg6
= (long) 0 ;
3415 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3416 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3417 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3418 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3419 wxButton
*result
= 0 ;
3424 bool temp3
= false ;
3431 bool temp8
= false ;
3432 PyObject
* obj0
= 0 ;
3433 PyObject
* obj1
= 0 ;
3434 PyObject
* obj2
= 0 ;
3435 PyObject
* obj3
= 0 ;
3436 PyObject
* obj4
= 0 ;
3437 PyObject
* obj5
= 0 ;
3438 PyObject
* obj6
= 0 ;
3439 PyObject
* obj7
= 0 ;
3440 char * kwnames
[] = {
3441 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3446 if (!SWIG_IsOK(res1
)) {
3447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3449 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3451 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3452 if (!SWIG_IsOK(ecode2
)) {
3453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3455 arg2
= static_cast< int >(val2
);
3459 arg3
= wxString_in_helper(obj2
);
3460 if (arg3
== NULL
) SWIG_fail
;
3467 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3473 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3477 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3478 if (!SWIG_IsOK(ecode6
)) {
3479 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3481 arg6
= static_cast< long >(val6
);
3484 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3485 if (!SWIG_IsOK(res7
)) {
3486 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3489 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3491 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3495 arg8
= wxString_in_helper(obj7
);
3496 if (arg8
== NULL
) SWIG_fail
;
3501 if (!wxPyCheckForApp()) SWIG_fail
;
3502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3503 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3504 wxPyEndAllowThreads(__tstate
);
3505 if (PyErr_Occurred()) SWIG_fail
;
3507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3530 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3531 PyObject
*resultobj
= 0;
3532 wxButton
*result
= 0 ;
3534 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3536 if (!wxPyCheckForApp()) SWIG_fail
;
3537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3538 result
= (wxButton
*)new wxButton();
3539 wxPyEndAllowThreads(__tstate
);
3540 if (PyErr_Occurred()) SWIG_fail
;
3542 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3549 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3550 PyObject
*resultobj
= 0;
3551 wxButton
*arg1
= (wxButton
*) 0 ;
3552 wxWindow
*arg2
= (wxWindow
*) 0 ;
3553 int arg3
= (int) -1 ;
3554 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3555 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3556 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3557 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3558 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3559 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3560 long arg7
= (long) 0 ;
3561 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3562 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3563 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3564 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3572 bool temp4
= false ;
3579 bool temp9
= false ;
3580 PyObject
* obj0
= 0 ;
3581 PyObject
* obj1
= 0 ;
3582 PyObject
* obj2
= 0 ;
3583 PyObject
* obj3
= 0 ;
3584 PyObject
* obj4
= 0 ;
3585 PyObject
* obj5
= 0 ;
3586 PyObject
* obj6
= 0 ;
3587 PyObject
* obj7
= 0 ;
3588 PyObject
* obj8
= 0 ;
3589 char * kwnames
[] = {
3590 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3595 if (!SWIG_IsOK(res1
)) {
3596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3598 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3599 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3600 if (!SWIG_IsOK(res2
)) {
3601 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3603 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3605 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3606 if (!SWIG_IsOK(ecode3
)) {
3607 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3609 arg3
= static_cast< int >(val3
);
3613 arg4
= wxString_in_helper(obj3
);
3614 if (arg4
== NULL
) SWIG_fail
;
3621 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3627 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3631 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3632 if (!SWIG_IsOK(ecode7
)) {
3633 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3635 arg7
= static_cast< long >(val7
);
3638 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3639 if (!SWIG_IsOK(res8
)) {
3640 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3643 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3645 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3649 arg9
= wxString_in_helper(obj8
);
3650 if (arg9
== NULL
) SWIG_fail
;
3655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3656 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3657 wxPyEndAllowThreads(__tstate
);
3658 if (PyErr_Occurred()) SWIG_fail
;
3661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3685 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3686 PyObject
*resultobj
= 0;
3687 wxButton
*arg1
= (wxButton
*) 0 ;
3690 PyObject
*swig_obj
[1] ;
3692 if (!args
) SWIG_fail
;
3694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3695 if (!SWIG_IsOK(res1
)) {
3696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3698 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3701 (arg1
)->SetDefault();
3702 wxPyEndAllowThreads(__tstate
);
3703 if (PyErr_Occurred()) SWIG_fail
;
3705 resultobj
= SWIG_Py_Void();
3712 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3713 PyObject
*resultobj
= 0;
3716 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3719 result
= wxButton::GetDefaultSize();
3720 wxPyEndAllowThreads(__tstate
);
3721 if (PyErr_Occurred()) SWIG_fail
;
3723 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3730 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3731 PyObject
*resultobj
= 0;
3732 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3733 SwigValueWrapper
<wxVisualAttributes
> result
;
3736 PyObject
* obj0
= 0 ;
3737 char * kwnames
[] = {
3738 (char *) "variant", NULL
3741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3743 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3744 if (!SWIG_IsOK(ecode1
)) {
3745 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3747 arg1
= static_cast< wxWindowVariant
>(val1
);
3750 if (!wxPyCheckForApp()) SWIG_fail
;
3751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3752 result
= wxButton::GetClassDefaultAttributes(arg1
);
3753 wxPyEndAllowThreads(__tstate
);
3754 if (PyErr_Occurred()) SWIG_fail
;
3756 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3763 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3765 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3766 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3767 return SWIG_Py_Void();
3770 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3771 return SWIG_Python_InitShadowInstance(args
);
3774 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3775 PyObject
*resultobj
= 0;
3776 wxWindow
*arg1
= (wxWindow
*) 0 ;
3777 int arg2
= (int) -1 ;
3778 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3779 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3780 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3781 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3782 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3783 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3784 long arg6
= (long) wxBU_AUTODRAW
;
3785 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3786 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3787 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3788 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3789 wxBitmapButton
*result
= 0 ;
3802 bool temp8
= false ;
3803 PyObject
* obj0
= 0 ;
3804 PyObject
* obj1
= 0 ;
3805 PyObject
* obj2
= 0 ;
3806 PyObject
* obj3
= 0 ;
3807 PyObject
* obj4
= 0 ;
3808 PyObject
* obj5
= 0 ;
3809 PyObject
* obj6
= 0 ;
3810 PyObject
* obj7
= 0 ;
3811 char * kwnames
[] = {
3812 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3817 if (!SWIG_IsOK(res1
)) {
3818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3820 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3822 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3823 if (!SWIG_IsOK(ecode2
)) {
3824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3826 arg2
= static_cast< int >(val2
);
3829 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3830 if (!SWIG_IsOK(res3
)) {
3831 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3834 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3836 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3841 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3847 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3851 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3852 if (!SWIG_IsOK(ecode6
)) {
3853 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3855 arg6
= static_cast< long >(val6
);
3858 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3859 if (!SWIG_IsOK(res7
)) {
3860 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3863 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3865 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3869 arg8
= wxString_in_helper(obj7
);
3870 if (arg8
== NULL
) SWIG_fail
;
3875 if (!wxPyCheckForApp()) SWIG_fail
;
3876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3877 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3878 wxPyEndAllowThreads(__tstate
);
3879 if (PyErr_Occurred()) SWIG_fail
;
3881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3896 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3897 PyObject
*resultobj
= 0;
3898 wxBitmapButton
*result
= 0 ;
3900 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3902 if (!wxPyCheckForApp()) SWIG_fail
;
3903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3904 result
= (wxBitmapButton
*)new wxBitmapButton();
3905 wxPyEndAllowThreads(__tstate
);
3906 if (PyErr_Occurred()) SWIG_fail
;
3908 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3915 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3916 PyObject
*resultobj
= 0;
3917 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3918 wxWindow
*arg2
= (wxWindow
*) 0 ;
3919 int arg3
= (int) -1 ;
3920 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3921 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3922 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3923 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3924 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3925 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3926 long arg7
= (long) wxBU_AUTODRAW
;
3927 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3928 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3929 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3930 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3946 bool temp9
= false ;
3947 PyObject
* obj0
= 0 ;
3948 PyObject
* obj1
= 0 ;
3949 PyObject
* obj2
= 0 ;
3950 PyObject
* obj3
= 0 ;
3951 PyObject
* obj4
= 0 ;
3952 PyObject
* obj5
= 0 ;
3953 PyObject
* obj6
= 0 ;
3954 PyObject
* obj7
= 0 ;
3955 PyObject
* obj8
= 0 ;
3956 char * kwnames
[] = {
3957 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3962 if (!SWIG_IsOK(res1
)) {
3963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3965 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3966 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3967 if (!SWIG_IsOK(res2
)) {
3968 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3970 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3972 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3973 if (!SWIG_IsOK(ecode3
)) {
3974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3976 arg3
= static_cast< int >(val3
);
3979 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3980 if (!SWIG_IsOK(res4
)) {
3981 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3984 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3986 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3991 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3997 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4001 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4002 if (!SWIG_IsOK(ecode7
)) {
4003 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
4005 arg7
= static_cast< long >(val7
);
4008 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4009 if (!SWIG_IsOK(res8
)) {
4010 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4013 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4015 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4019 arg9
= wxString_in_helper(obj8
);
4020 if (arg9
== NULL
) SWIG_fail
;
4025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4026 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4027 wxPyEndAllowThreads(__tstate
);
4028 if (PyErr_Occurred()) SWIG_fail
;
4031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4047 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4048 PyObject
*resultobj
= 0;
4049 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4053 PyObject
*swig_obj
[1] ;
4055 if (!args
) SWIG_fail
;
4057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4058 if (!SWIG_IsOK(res1
)) {
4059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4061 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4064 result
= (arg1
)->GetBitmapLabel();
4065 wxPyEndAllowThreads(__tstate
);
4066 if (PyErr_Occurred()) SWIG_fail
;
4068 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4075 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4076 PyObject
*resultobj
= 0;
4077 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4081 PyObject
*swig_obj
[1] ;
4083 if (!args
) SWIG_fail
;
4085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4086 if (!SWIG_IsOK(res1
)) {
4087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4089 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 result
= (arg1
)->GetBitmapDisabled();
4093 wxPyEndAllowThreads(__tstate
);
4094 if (PyErr_Occurred()) SWIG_fail
;
4096 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4103 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4104 PyObject
*resultobj
= 0;
4105 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4109 PyObject
*swig_obj
[1] ;
4111 if (!args
) SWIG_fail
;
4113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4114 if (!SWIG_IsOK(res1
)) {
4115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4117 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4120 result
= (arg1
)->GetBitmapFocus();
4121 wxPyEndAllowThreads(__tstate
);
4122 if (PyErr_Occurred()) SWIG_fail
;
4124 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4131 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4132 PyObject
*resultobj
= 0;
4133 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4137 PyObject
*swig_obj
[1] ;
4139 if (!args
) SWIG_fail
;
4141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4142 if (!SWIG_IsOK(res1
)) {
4143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4145 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4148 result
= (arg1
)->GetBitmapSelected();
4149 wxPyEndAllowThreads(__tstate
);
4150 if (PyErr_Occurred()) SWIG_fail
;
4152 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4159 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4160 PyObject
*resultobj
= 0;
4161 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4165 PyObject
*swig_obj
[1] ;
4167 if (!args
) SWIG_fail
;
4169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4170 if (!SWIG_IsOK(res1
)) {
4171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4173 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4176 result
= (arg1
)->GetBitmapHover();
4177 wxPyEndAllowThreads(__tstate
);
4178 if (PyErr_Occurred()) SWIG_fail
;
4180 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4187 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4188 PyObject
*resultobj
= 0;
4189 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4190 wxBitmap
*arg2
= 0 ;
4195 PyObject
* obj0
= 0 ;
4196 PyObject
* obj1
= 0 ;
4197 char * kwnames
[] = {
4198 (char *) "self",(char *) "bitmap", NULL
4201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4203 if (!SWIG_IsOK(res1
)) {
4204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4206 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4207 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4208 if (!SWIG_IsOK(res2
)) {
4209 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4212 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4214 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4217 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4218 wxPyEndAllowThreads(__tstate
);
4219 if (PyErr_Occurred()) SWIG_fail
;
4221 resultobj
= SWIG_Py_Void();
4228 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4229 PyObject
*resultobj
= 0;
4230 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4231 wxBitmap
*arg2
= 0 ;
4236 PyObject
* obj0
= 0 ;
4237 PyObject
* obj1
= 0 ;
4238 char * kwnames
[] = {
4239 (char *) "self",(char *) "bitmap", NULL
4242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4244 if (!SWIG_IsOK(res1
)) {
4245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4247 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4248 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4249 if (!SWIG_IsOK(res2
)) {
4250 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4253 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4255 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4258 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4259 wxPyEndAllowThreads(__tstate
);
4260 if (PyErr_Occurred()) SWIG_fail
;
4262 resultobj
= SWIG_Py_Void();
4269 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
*resultobj
= 0;
4271 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4272 wxBitmap
*arg2
= 0 ;
4277 PyObject
* obj0
= 0 ;
4278 PyObject
* obj1
= 0 ;
4279 char * kwnames
[] = {
4280 (char *) "self",(char *) "bitmap", NULL
4283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4285 if (!SWIG_IsOK(res1
)) {
4286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4288 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4289 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4290 if (!SWIG_IsOK(res2
)) {
4291 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4294 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4296 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4299 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4300 wxPyEndAllowThreads(__tstate
);
4301 if (PyErr_Occurred()) SWIG_fail
;
4303 resultobj
= SWIG_Py_Void();
4310 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
*resultobj
= 0;
4312 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4313 wxBitmap
*arg2
= 0 ;
4318 PyObject
* obj0
= 0 ;
4319 PyObject
* obj1
= 0 ;
4320 char * kwnames
[] = {
4321 (char *) "self",(char *) "bitmap", NULL
4324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4326 if (!SWIG_IsOK(res1
)) {
4327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4329 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4330 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4331 if (!SWIG_IsOK(res2
)) {
4332 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4335 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4337 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4340 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4341 wxPyEndAllowThreads(__tstate
);
4342 if (PyErr_Occurred()) SWIG_fail
;
4344 resultobj
= SWIG_Py_Void();
4351 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4352 PyObject
*resultobj
= 0;
4353 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4354 wxBitmap
*arg2
= 0 ;
4359 PyObject
* obj0
= 0 ;
4360 PyObject
* obj1
= 0 ;
4361 char * kwnames
[] = {
4362 (char *) "self",(char *) "hover", NULL
4365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4367 if (!SWIG_IsOK(res1
)) {
4368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4370 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4371 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4372 if (!SWIG_IsOK(res2
)) {
4373 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4376 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4378 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4381 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4382 wxPyEndAllowThreads(__tstate
);
4383 if (PyErr_Occurred()) SWIG_fail
;
4385 resultobj
= SWIG_Py_Void();
4392 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4393 PyObject
*resultobj
= 0;
4394 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4403 PyObject
* obj0
= 0 ;
4404 PyObject
* obj1
= 0 ;
4405 PyObject
* obj2
= 0 ;
4406 char * kwnames
[] = {
4407 (char *) "self",(char *) "x",(char *) "y", NULL
4410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4412 if (!SWIG_IsOK(res1
)) {
4413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4415 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4416 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4417 if (!SWIG_IsOK(ecode2
)) {
4418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4420 arg2
= static_cast< int >(val2
);
4421 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4422 if (!SWIG_IsOK(ecode3
)) {
4423 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4425 arg3
= static_cast< int >(val3
);
4427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4428 (arg1
)->SetMargins(arg2
,arg3
);
4429 wxPyEndAllowThreads(__tstate
);
4430 if (PyErr_Occurred()) SWIG_fail
;
4432 resultobj
= SWIG_Py_Void();
4439 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4440 PyObject
*resultobj
= 0;
4441 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4445 PyObject
*swig_obj
[1] ;
4447 if (!args
) SWIG_fail
;
4449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4450 if (!SWIG_IsOK(res1
)) {
4451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4453 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4456 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4457 wxPyEndAllowThreads(__tstate
);
4458 if (PyErr_Occurred()) SWIG_fail
;
4460 resultobj
= SWIG_From_int(static_cast< int >(result
));
4467 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4468 PyObject
*resultobj
= 0;
4469 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4473 PyObject
*swig_obj
[1] ;
4475 if (!args
) SWIG_fail
;
4477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4478 if (!SWIG_IsOK(res1
)) {
4479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4481 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4484 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4485 wxPyEndAllowThreads(__tstate
);
4486 if (PyErr_Occurred()) SWIG_fail
;
4488 resultobj
= SWIG_From_int(static_cast< int >(result
));
4495 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4497 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4498 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4499 return SWIG_Py_Void();
4502 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4503 return SWIG_Python_InitShadowInstance(args
);
4506 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4507 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4512 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4513 PyObject
*pyobj
= 0;
4517 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4519 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4526 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4527 PyObject
*resultobj
= 0;
4528 wxWindow
*arg1
= (wxWindow
*) 0 ;
4529 int arg2
= (int) -1 ;
4530 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4531 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4532 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4533 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4534 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4535 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4536 long arg6
= (long) 0 ;
4537 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4538 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4539 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4540 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4541 wxCheckBox
*result
= 0 ;
4546 bool temp3
= false ;
4553 bool temp8
= false ;
4554 PyObject
* obj0
= 0 ;
4555 PyObject
* obj1
= 0 ;
4556 PyObject
* obj2
= 0 ;
4557 PyObject
* obj3
= 0 ;
4558 PyObject
* obj4
= 0 ;
4559 PyObject
* obj5
= 0 ;
4560 PyObject
* obj6
= 0 ;
4561 PyObject
* obj7
= 0 ;
4562 char * kwnames
[] = {
4563 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4568 if (!SWIG_IsOK(res1
)) {
4569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4571 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4574 if (!SWIG_IsOK(ecode2
)) {
4575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4577 arg2
= static_cast< int >(val2
);
4581 arg3
= wxString_in_helper(obj2
);
4582 if (arg3
== NULL
) SWIG_fail
;
4589 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4595 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4599 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4600 if (!SWIG_IsOK(ecode6
)) {
4601 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4603 arg6
= static_cast< long >(val6
);
4606 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4607 if (!SWIG_IsOK(res7
)) {
4608 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4611 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4613 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4617 arg8
= wxString_in_helper(obj7
);
4618 if (arg8
== NULL
) SWIG_fail
;
4623 if (!wxPyCheckForApp()) SWIG_fail
;
4624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4625 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4626 wxPyEndAllowThreads(__tstate
);
4627 if (PyErr_Occurred()) SWIG_fail
;
4629 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4652 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4653 PyObject
*resultobj
= 0;
4654 wxCheckBox
*result
= 0 ;
4656 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4658 if (!wxPyCheckForApp()) SWIG_fail
;
4659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4660 result
= (wxCheckBox
*)new wxCheckBox();
4661 wxPyEndAllowThreads(__tstate
);
4662 if (PyErr_Occurred()) SWIG_fail
;
4664 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4671 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4672 PyObject
*resultobj
= 0;
4673 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4674 wxWindow
*arg2
= (wxWindow
*) 0 ;
4675 int arg3
= (int) -1 ;
4676 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4677 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4678 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4679 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4680 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4681 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4682 long arg7
= (long) 0 ;
4683 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4684 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4685 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4686 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4694 bool temp4
= false ;
4701 bool temp9
= false ;
4702 PyObject
* obj0
= 0 ;
4703 PyObject
* obj1
= 0 ;
4704 PyObject
* obj2
= 0 ;
4705 PyObject
* obj3
= 0 ;
4706 PyObject
* obj4
= 0 ;
4707 PyObject
* obj5
= 0 ;
4708 PyObject
* obj6
= 0 ;
4709 PyObject
* obj7
= 0 ;
4710 PyObject
* obj8
= 0 ;
4711 char * kwnames
[] = {
4712 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4717 if (!SWIG_IsOK(res1
)) {
4718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4720 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4721 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4722 if (!SWIG_IsOK(res2
)) {
4723 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4725 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4727 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4728 if (!SWIG_IsOK(ecode3
)) {
4729 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4731 arg3
= static_cast< int >(val3
);
4735 arg4
= wxString_in_helper(obj3
);
4736 if (arg4
== NULL
) SWIG_fail
;
4743 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4749 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4753 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4754 if (!SWIG_IsOK(ecode7
)) {
4755 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4757 arg7
= static_cast< long >(val7
);
4760 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4761 if (!SWIG_IsOK(res8
)) {
4762 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4765 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4767 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4771 arg9
= wxString_in_helper(obj8
);
4772 if (arg9
== NULL
) SWIG_fail
;
4777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4778 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4779 wxPyEndAllowThreads(__tstate
);
4780 if (PyErr_Occurred()) SWIG_fail
;
4783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4807 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4808 PyObject
*resultobj
= 0;
4809 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4813 PyObject
*swig_obj
[1] ;
4815 if (!args
) SWIG_fail
;
4817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4818 if (!SWIG_IsOK(res1
)) {
4819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4821 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4824 result
= (bool)(arg1
)->GetValue();
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) SWIG_fail
;
4829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4837 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4838 PyObject
*resultobj
= 0;
4839 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4843 PyObject
*swig_obj
[1] ;
4845 if (!args
) SWIG_fail
;
4847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4848 if (!SWIG_IsOK(res1
)) {
4849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4851 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4854 result
= (bool)(arg1
)->IsChecked();
4855 wxPyEndAllowThreads(__tstate
);
4856 if (PyErr_Occurred()) SWIG_fail
;
4859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4867 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4868 PyObject
*resultobj
= 0;
4869 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4875 PyObject
* obj0
= 0 ;
4876 PyObject
* obj1
= 0 ;
4877 char * kwnames
[] = {
4878 (char *) "self",(char *) "state", NULL
4881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4883 if (!SWIG_IsOK(res1
)) {
4884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4886 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4887 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4888 if (!SWIG_IsOK(ecode2
)) {
4889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4891 arg2
= static_cast< bool >(val2
);
4893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4894 (arg1
)->SetValue(arg2
);
4895 wxPyEndAllowThreads(__tstate
);
4896 if (PyErr_Occurred()) SWIG_fail
;
4898 resultobj
= SWIG_Py_Void();
4905 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4906 PyObject
*resultobj
= 0;
4907 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4908 wxCheckBoxState result
;
4911 PyObject
*swig_obj
[1] ;
4913 if (!args
) SWIG_fail
;
4915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4916 if (!SWIG_IsOK(res1
)) {
4917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4919 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4922 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4923 wxPyEndAllowThreads(__tstate
);
4924 if (PyErr_Occurred()) SWIG_fail
;
4926 resultobj
= SWIG_From_int(static_cast< int >(result
));
4933 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4934 PyObject
*resultobj
= 0;
4935 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4936 wxCheckBoxState arg2
;
4941 PyObject
* obj0
= 0 ;
4942 PyObject
* obj1
= 0 ;
4943 char * kwnames
[] = {
4944 (char *) "self",(char *) "state", NULL
4947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4949 if (!SWIG_IsOK(res1
)) {
4950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4952 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4953 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4954 if (!SWIG_IsOK(ecode2
)) {
4955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4957 arg2
= static_cast< wxCheckBoxState
>(val2
);
4959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4960 (arg1
)->Set3StateValue(arg2
);
4961 wxPyEndAllowThreads(__tstate
);
4962 if (PyErr_Occurred()) SWIG_fail
;
4964 resultobj
= SWIG_Py_Void();
4971 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4972 PyObject
*resultobj
= 0;
4973 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4977 PyObject
*swig_obj
[1] ;
4979 if (!args
) SWIG_fail
;
4981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4982 if (!SWIG_IsOK(res1
)) {
4983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4985 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4988 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4989 wxPyEndAllowThreads(__tstate
);
4990 if (PyErr_Occurred()) SWIG_fail
;
4993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5001 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5002 PyObject
*resultobj
= 0;
5003 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5007 PyObject
*swig_obj
[1] ;
5009 if (!args
) SWIG_fail
;
5011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5012 if (!SWIG_IsOK(res1
)) {
5013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5015 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5018 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5019 wxPyEndAllowThreads(__tstate
);
5020 if (PyErr_Occurred()) SWIG_fail
;
5023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5031 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5032 PyObject
*resultobj
= 0;
5033 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5034 SwigValueWrapper
<wxVisualAttributes
> result
;
5037 PyObject
* obj0
= 0 ;
5038 char * kwnames
[] = {
5039 (char *) "variant", NULL
5042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5044 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5045 if (!SWIG_IsOK(ecode1
)) {
5046 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5048 arg1
= static_cast< wxWindowVariant
>(val1
);
5051 if (!wxPyCheckForApp()) SWIG_fail
;
5052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5053 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5054 wxPyEndAllowThreads(__tstate
);
5055 if (PyErr_Occurred()) SWIG_fail
;
5057 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5064 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5066 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5067 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5068 return SWIG_Py_Void();
5071 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5072 return SWIG_Python_InitShadowInstance(args
);
5075 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5076 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5081 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5082 PyObject
*pyobj
= 0;
5086 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5088 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5095 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5096 PyObject
*resultobj
= 0;
5097 wxWindow
*arg1
= (wxWindow
*) 0 ;
5098 int arg2
= (int) -1 ;
5099 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5100 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5101 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5102 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5103 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5104 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5105 long arg6
= (long) 0 ;
5106 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5107 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5108 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5109 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5110 wxChoice
*result
= 0 ;
5117 bool temp5
= false ;
5122 bool temp8
= false ;
5123 PyObject
* obj0
= 0 ;
5124 PyObject
* obj1
= 0 ;
5125 PyObject
* obj2
= 0 ;
5126 PyObject
* obj3
= 0 ;
5127 PyObject
* obj4
= 0 ;
5128 PyObject
* obj5
= 0 ;
5129 PyObject
* obj6
= 0 ;
5130 PyObject
* obj7
= 0 ;
5131 char * kwnames
[] = {
5132 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5137 if (!SWIG_IsOK(res1
)) {
5138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5140 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5143 if (!SWIG_IsOK(ecode2
)) {
5144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5146 arg2
= static_cast< int >(val2
);
5151 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5157 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5162 if (! PySequence_Check(obj4
)) {
5163 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5166 arg5
= new wxArrayString
;
5168 int i
, len
=PySequence_Length(obj4
);
5169 for (i
=0; i
<len
; i
++) {
5170 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5171 wxString
* s
= wxString_in_helper(item
);
5172 if (PyErr_Occurred()) SWIG_fail
;
5180 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5181 if (!SWIG_IsOK(ecode6
)) {
5182 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5184 arg6
= static_cast< long >(val6
);
5187 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5188 if (!SWIG_IsOK(res7
)) {
5189 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5192 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5194 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5198 arg8
= wxString_in_helper(obj7
);
5199 if (arg8
== NULL
) SWIG_fail
;
5204 if (!wxPyCheckForApp()) SWIG_fail
;
5205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5206 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5207 wxPyEndAllowThreads(__tstate
);
5208 if (PyErr_Occurred()) SWIG_fail
;
5210 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5212 if (temp5
) delete arg5
;
5221 if (temp5
) delete arg5
;
5231 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5232 PyObject
*resultobj
= 0;
5233 wxChoice
*result
= 0 ;
5235 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5237 if (!wxPyCheckForApp()) SWIG_fail
;
5238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5239 result
= (wxChoice
*)new wxChoice();
5240 wxPyEndAllowThreads(__tstate
);
5241 if (PyErr_Occurred()) SWIG_fail
;
5243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5250 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5251 PyObject
*resultobj
= 0;
5252 wxChoice
*arg1
= (wxChoice
*) 0 ;
5253 wxWindow
*arg2
= (wxWindow
*) 0 ;
5254 int arg3
= (int) -1 ;
5255 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5256 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5257 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5258 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5259 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5260 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5261 long arg7
= (long) 0 ;
5262 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5263 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5264 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5265 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5275 bool temp6
= false ;
5280 bool temp9
= false ;
5281 PyObject
* obj0
= 0 ;
5282 PyObject
* obj1
= 0 ;
5283 PyObject
* obj2
= 0 ;
5284 PyObject
* obj3
= 0 ;
5285 PyObject
* obj4
= 0 ;
5286 PyObject
* obj5
= 0 ;
5287 PyObject
* obj6
= 0 ;
5288 PyObject
* obj7
= 0 ;
5289 PyObject
* obj8
= 0 ;
5290 char * kwnames
[] = {
5291 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5296 if (!SWIG_IsOK(res1
)) {
5297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5299 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5300 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5301 if (!SWIG_IsOK(res2
)) {
5302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5304 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5306 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5307 if (!SWIG_IsOK(ecode3
)) {
5308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5310 arg3
= static_cast< int >(val3
);
5315 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5321 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5326 if (! PySequence_Check(obj5
)) {
5327 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5330 arg6
= new wxArrayString
;
5332 int i
, len
=PySequence_Length(obj5
);
5333 for (i
=0; i
<len
; i
++) {
5334 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5335 wxString
* s
= wxString_in_helper(item
);
5336 if (PyErr_Occurred()) SWIG_fail
;
5344 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5345 if (!SWIG_IsOK(ecode7
)) {
5346 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5348 arg7
= static_cast< long >(val7
);
5351 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5352 if (!SWIG_IsOK(res8
)) {
5353 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5356 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5358 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5362 arg9
= wxString_in_helper(obj8
);
5363 if (arg9
== NULL
) SWIG_fail
;
5368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5369 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5370 wxPyEndAllowThreads(__tstate
);
5371 if (PyErr_Occurred()) SWIG_fail
;
5374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5377 if (temp6
) delete arg6
;
5386 if (temp6
) delete arg6
;
5396 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5397 PyObject
*resultobj
= 0;
5398 wxChoice
*arg1
= (wxChoice
*) 0 ;
5402 PyObject
*swig_obj
[1] ;
5404 if (!args
) SWIG_fail
;
5406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5407 if (!SWIG_IsOK(res1
)) {
5408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5410 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5413 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5414 wxPyEndAllowThreads(__tstate
);
5415 if (PyErr_Occurred()) SWIG_fail
;
5417 resultobj
= SWIG_From_int(static_cast< int >(result
));
5424 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5425 PyObject
*resultobj
= 0;
5426 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5427 SwigValueWrapper
<wxVisualAttributes
> result
;
5430 PyObject
* obj0
= 0 ;
5431 char * kwnames
[] = {
5432 (char *) "variant", NULL
5435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5437 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5438 if (!SWIG_IsOK(ecode1
)) {
5439 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5441 arg1
= static_cast< wxWindowVariant
>(val1
);
5444 if (!wxPyCheckForApp()) SWIG_fail
;
5445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5446 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5447 wxPyEndAllowThreads(__tstate
);
5448 if (PyErr_Occurred()) SWIG_fail
;
5450 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5457 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5459 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5460 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5461 return SWIG_Py_Void();
5464 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5465 return SWIG_Python_InitShadowInstance(args
);
5468 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5469 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5474 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5475 PyObject
*pyobj
= 0;
5479 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5481 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5488 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5489 PyObject
*resultobj
= 0;
5490 wxWindow
*arg1
= (wxWindow
*) 0 ;
5491 int arg2
= (int) -1 ;
5492 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5493 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5494 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5495 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5496 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5497 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5498 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5499 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5500 long arg7
= (long) 0 ;
5501 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5502 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5503 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5504 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5505 wxComboBox
*result
= 0 ;
5510 bool temp3
= false ;
5513 bool temp6
= false ;
5518 bool temp9
= false ;
5519 PyObject
* obj0
= 0 ;
5520 PyObject
* obj1
= 0 ;
5521 PyObject
* obj2
= 0 ;
5522 PyObject
* obj3
= 0 ;
5523 PyObject
* obj4
= 0 ;
5524 PyObject
* obj5
= 0 ;
5525 PyObject
* obj6
= 0 ;
5526 PyObject
* obj7
= 0 ;
5527 PyObject
* obj8
= 0 ;
5528 char * kwnames
[] = {
5529 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5534 if (!SWIG_IsOK(res1
)) {
5535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5537 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5539 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5540 if (!SWIG_IsOK(ecode2
)) {
5541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5543 arg2
= static_cast< int >(val2
);
5547 arg3
= wxString_in_helper(obj2
);
5548 if (arg3
== NULL
) SWIG_fail
;
5555 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5561 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5566 if (! PySequence_Check(obj5
)) {
5567 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5570 arg6
= new wxArrayString
;
5572 int i
, len
=PySequence_Length(obj5
);
5573 for (i
=0; i
<len
; i
++) {
5574 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5575 wxString
* s
= wxString_in_helper(item
);
5576 if (PyErr_Occurred()) SWIG_fail
;
5584 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5585 if (!SWIG_IsOK(ecode7
)) {
5586 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5588 arg7
= static_cast< long >(val7
);
5591 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5592 if (!SWIG_IsOK(res8
)) {
5593 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5596 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5598 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5602 arg9
= wxString_in_helper(obj8
);
5603 if (arg9
== NULL
) SWIG_fail
;
5608 if (!wxPyCheckForApp()) SWIG_fail
;
5609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5610 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
);
5611 wxPyEndAllowThreads(__tstate
);
5612 if (PyErr_Occurred()) SWIG_fail
;
5614 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5620 if (temp6
) delete arg6
;
5633 if (temp6
) delete arg6
;
5643 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5644 PyObject
*resultobj
= 0;
5645 wxComboBox
*result
= 0 ;
5647 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5649 if (!wxPyCheckForApp()) SWIG_fail
;
5650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5651 result
= (wxComboBox
*)new wxComboBox();
5652 wxPyEndAllowThreads(__tstate
);
5653 if (PyErr_Occurred()) SWIG_fail
;
5655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5662 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5663 PyObject
*resultobj
= 0;
5664 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5665 wxWindow
*arg2
= (wxWindow
*) 0 ;
5666 int arg3
= (int) -1 ;
5667 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5668 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5669 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5670 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5671 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5672 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5673 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5674 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5675 long arg8
= (long) 0 ;
5676 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5677 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5678 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5679 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5687 bool temp4
= false ;
5690 bool temp7
= false ;
5695 bool temp10
= false ;
5696 PyObject
* obj0
= 0 ;
5697 PyObject
* obj1
= 0 ;
5698 PyObject
* obj2
= 0 ;
5699 PyObject
* obj3
= 0 ;
5700 PyObject
* obj4
= 0 ;
5701 PyObject
* obj5
= 0 ;
5702 PyObject
* obj6
= 0 ;
5703 PyObject
* obj7
= 0 ;
5704 PyObject
* obj8
= 0 ;
5705 PyObject
* obj9
= 0 ;
5706 char * kwnames
[] = {
5707 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5712 if (!SWIG_IsOK(res1
)) {
5713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5715 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5716 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5717 if (!SWIG_IsOK(res2
)) {
5718 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5720 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5722 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5723 if (!SWIG_IsOK(ecode3
)) {
5724 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5726 arg3
= static_cast< int >(val3
);
5730 arg4
= wxString_in_helper(obj3
);
5731 if (arg4
== NULL
) SWIG_fail
;
5738 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5744 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5749 if (! PySequence_Check(obj6
)) {
5750 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5753 arg7
= new wxArrayString
;
5755 int i
, len
=PySequence_Length(obj6
);
5756 for (i
=0; i
<len
; i
++) {
5757 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5758 wxString
* s
= wxString_in_helper(item
);
5759 if (PyErr_Occurred()) SWIG_fail
;
5767 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5768 if (!SWIG_IsOK(ecode8
)) {
5769 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5771 arg8
= static_cast< long >(val8
);
5774 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5775 if (!SWIG_IsOK(res9
)) {
5776 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5779 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5781 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5785 arg10
= wxString_in_helper(obj9
);
5786 if (arg10
== NULL
) SWIG_fail
;
5791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5792 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
);
5793 wxPyEndAllowThreads(__tstate
);
5794 if (PyErr_Occurred()) SWIG_fail
;
5797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5804 if (temp7
) delete arg7
;
5817 if (temp7
) delete arg7
;
5827 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5828 PyObject
*resultobj
= 0;
5829 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5833 PyObject
*swig_obj
[1] ;
5835 if (!args
) SWIG_fail
;
5837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5838 if (!SWIG_IsOK(res1
)) {
5839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5841 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5844 result
= ((wxComboBox
const *)arg1
)->GetValue();
5845 wxPyEndAllowThreads(__tstate
);
5846 if (PyErr_Occurred()) SWIG_fail
;
5850 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5852 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5861 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5862 PyObject
*resultobj
= 0;
5863 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5864 wxString
*arg2
= 0 ;
5867 bool temp2
= false ;
5868 PyObject
* obj0
= 0 ;
5869 PyObject
* obj1
= 0 ;
5870 char * kwnames
[] = {
5871 (char *) "self",(char *) "value", NULL
5874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5876 if (!SWIG_IsOK(res1
)) {
5877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5879 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5881 arg2
= wxString_in_helper(obj1
);
5882 if (arg2
== NULL
) SWIG_fail
;
5886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5887 (arg1
)->SetValue((wxString
const &)*arg2
);
5888 wxPyEndAllowThreads(__tstate
);
5889 if (PyErr_Occurred()) SWIG_fail
;
5891 resultobj
= SWIG_Py_Void();
5906 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5907 PyObject
*resultobj
= 0;
5908 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5911 PyObject
*swig_obj
[1] ;
5913 if (!args
) SWIG_fail
;
5915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5916 if (!SWIG_IsOK(res1
)) {
5917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5919 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5923 wxPyEndAllowThreads(__tstate
);
5924 if (PyErr_Occurred()) SWIG_fail
;
5926 resultobj
= SWIG_Py_Void();
5933 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5934 PyObject
*resultobj
= 0;
5935 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5938 PyObject
*swig_obj
[1] ;
5940 if (!args
) SWIG_fail
;
5942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5943 if (!SWIG_IsOK(res1
)) {
5944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5946 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5950 wxPyEndAllowThreads(__tstate
);
5951 if (PyErr_Occurred()) SWIG_fail
;
5953 resultobj
= SWIG_Py_Void();
5960 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5961 PyObject
*resultobj
= 0;
5962 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5965 PyObject
*swig_obj
[1] ;
5967 if (!args
) SWIG_fail
;
5969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5970 if (!SWIG_IsOK(res1
)) {
5971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5973 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5977 wxPyEndAllowThreads(__tstate
);
5978 if (PyErr_Occurred()) SWIG_fail
;
5980 resultobj
= SWIG_Py_Void();
5987 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5988 PyObject
*resultobj
= 0;
5989 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5995 PyObject
* obj0
= 0 ;
5996 PyObject
* obj1
= 0 ;
5997 char * kwnames
[] = {
5998 (char *) "self",(char *) "pos", NULL
6001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6003 if (!SWIG_IsOK(res1
)) {
6004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6006 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6007 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6008 if (!SWIG_IsOK(ecode2
)) {
6009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6011 arg2
= static_cast< long >(val2
);
6013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6014 (arg1
)->SetInsertionPoint(arg2
);
6015 wxPyEndAllowThreads(__tstate
);
6016 if (PyErr_Occurred()) SWIG_fail
;
6018 resultobj
= SWIG_Py_Void();
6025 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6026 PyObject
*resultobj
= 0;
6027 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6031 PyObject
*swig_obj
[1] ;
6033 if (!args
) SWIG_fail
;
6035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6036 if (!SWIG_IsOK(res1
)) {
6037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6039 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6042 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6043 wxPyEndAllowThreads(__tstate
);
6044 if (PyErr_Occurred()) SWIG_fail
;
6046 resultobj
= SWIG_From_long(static_cast< long >(result
));
6053 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6054 PyObject
*resultobj
= 0;
6055 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6059 PyObject
*swig_obj
[1] ;
6061 if (!args
) SWIG_fail
;
6063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6064 if (!SWIG_IsOK(res1
)) {
6065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6067 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6070 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6071 wxPyEndAllowThreads(__tstate
);
6072 if (PyErr_Occurred()) SWIG_fail
;
6074 resultobj
= SWIG_From_long(static_cast< long >(result
));
6081 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6082 PyObject
*resultobj
= 0;
6083 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6086 wxString
*arg4
= 0 ;
6093 bool temp4
= false ;
6094 PyObject
* obj0
= 0 ;
6095 PyObject
* obj1
= 0 ;
6096 PyObject
* obj2
= 0 ;
6097 PyObject
* obj3
= 0 ;
6098 char * kwnames
[] = {
6099 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6104 if (!SWIG_IsOK(res1
)) {
6105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6107 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6108 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6109 if (!SWIG_IsOK(ecode2
)) {
6110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6112 arg2
= static_cast< long >(val2
);
6113 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6114 if (!SWIG_IsOK(ecode3
)) {
6115 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6117 arg3
= static_cast< long >(val3
);
6119 arg4
= wxString_in_helper(obj3
);
6120 if (arg4
== NULL
) SWIG_fail
;
6124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6125 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6126 wxPyEndAllowThreads(__tstate
);
6127 if (PyErr_Occurred()) SWIG_fail
;
6129 resultobj
= SWIG_Py_Void();
6144 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6145 PyObject
*resultobj
= 0;
6146 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6155 PyObject
* obj0
= 0 ;
6156 PyObject
* obj1
= 0 ;
6157 PyObject
* obj2
= 0 ;
6158 char * kwnames
[] = {
6159 (char *) "self",(char *) "from",(char *) "to", NULL
6162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6164 if (!SWIG_IsOK(res1
)) {
6165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6167 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6168 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6169 if (!SWIG_IsOK(ecode2
)) {
6170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6172 arg2
= static_cast< long >(val2
);
6173 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6174 if (!SWIG_IsOK(ecode3
)) {
6175 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6177 arg3
= static_cast< long >(val3
);
6179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6180 (arg1
)->SetSelection(arg2
,arg3
);
6181 wxPyEndAllowThreads(__tstate
);
6182 if (PyErr_Occurred()) SWIG_fail
;
6184 resultobj
= SWIG_Py_Void();
6191 SWIGINTERN PyObject
*_wrap_ComboBox_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6192 PyObject
*resultobj
= 0;
6193 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6194 long *arg2
= (long *) 0 ;
6195 long *arg3
= (long *) 0 ;
6199 int res2
= SWIG_TMPOBJ
;
6201 int res3
= SWIG_TMPOBJ
;
6202 PyObject
*swig_obj
[1] ;
6206 if (!args
) SWIG_fail
;
6208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6209 if (!SWIG_IsOK(res1
)) {
6210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6212 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6215 (arg1
)->GetSelection(arg2
,arg3
);
6216 wxPyEndAllowThreads(__tstate
);
6217 if (PyErr_Occurred()) SWIG_fail
;
6219 resultobj
= SWIG_Py_Void();
6220 if (SWIG_IsTmpObj(res2
)) {
6221 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6223 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6224 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6226 if (SWIG_IsTmpObj(res3
)) {
6227 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6229 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6230 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6238 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6239 PyObject
*resultobj
= 0;
6240 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6244 PyObject
*swig_obj
[1] ;
6246 if (!args
) SWIG_fail
;
6248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6249 if (!SWIG_IsOK(res1
)) {
6250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6252 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6255 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6256 wxPyEndAllowThreads(__tstate
);
6257 if (PyErr_Occurred()) SWIG_fail
;
6259 resultobj
= SWIG_From_int(static_cast< int >(result
));
6266 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6267 PyObject
*resultobj
= 0;
6268 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6269 wxString
*arg2
= 0 ;
6273 bool temp2
= false ;
6274 PyObject
* obj0
= 0 ;
6275 PyObject
* obj1
= 0 ;
6276 char * kwnames
[] = {
6277 (char *) "self",(char *) "string", NULL
6280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6282 if (!SWIG_IsOK(res1
)) {
6283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6285 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6287 arg2
= wxString_in_helper(obj1
);
6288 if (arg2
== NULL
) SWIG_fail
;
6292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6293 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6294 wxPyEndAllowThreads(__tstate
);
6295 if (PyErr_Occurred()) SWIG_fail
;
6298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6314 SWIGINTERN PyObject
*_wrap_ComboBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6315 PyObject
*resultobj
= 0;
6316 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6318 wxString
*arg3
= 0 ;
6323 bool temp3
= false ;
6324 PyObject
* obj0
= 0 ;
6325 PyObject
* obj1
= 0 ;
6326 PyObject
* obj2
= 0 ;
6327 char * kwnames
[] = {
6328 (char *) "self",(char *) "n",(char *) "string", NULL
6331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6333 if (!SWIG_IsOK(res1
)) {
6334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6336 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6337 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6338 if (!SWIG_IsOK(ecode2
)) {
6339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6341 arg2
= static_cast< int >(val2
);
6343 arg3
= wxString_in_helper(obj2
);
6344 if (arg3
== NULL
) SWIG_fail
;
6348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6349 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
6350 wxPyEndAllowThreads(__tstate
);
6351 if (PyErr_Occurred()) SWIG_fail
;
6353 resultobj
= SWIG_Py_Void();
6368 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6369 PyObject
*resultobj
= 0;
6370 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6376 PyObject
* obj0
= 0 ;
6377 PyObject
* obj1
= 0 ;
6378 char * kwnames
[] = {
6379 (char *) "self",(char *) "editable", NULL
6382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6384 if (!SWIG_IsOK(res1
)) {
6385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6387 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6388 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6389 if (!SWIG_IsOK(ecode2
)) {
6390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6392 arg2
= static_cast< bool >(val2
);
6394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6395 (arg1
)->SetEditable(arg2
);
6396 wxPyEndAllowThreads(__tstate
);
6397 if (PyErr_Occurred()) SWIG_fail
;
6399 resultobj
= SWIG_Py_Void();
6406 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6407 PyObject
*resultobj
= 0;
6408 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6411 PyObject
*swig_obj
[1] ;
6413 if (!args
) SWIG_fail
;
6415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6416 if (!SWIG_IsOK(res1
)) {
6417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6419 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6422 (arg1
)->SetInsertionPointEnd();
6423 wxPyEndAllowThreads(__tstate
);
6424 if (PyErr_Occurred()) SWIG_fail
;
6426 resultobj
= SWIG_Py_Void();
6433 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6434 PyObject
*resultobj
= 0;
6435 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6444 PyObject
* obj0
= 0 ;
6445 PyObject
* obj1
= 0 ;
6446 PyObject
* obj2
= 0 ;
6447 char * kwnames
[] = {
6448 (char *) "self",(char *) "from",(char *) "to", NULL
6451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6453 if (!SWIG_IsOK(res1
)) {
6454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6456 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6457 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6458 if (!SWIG_IsOK(ecode2
)) {
6459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6461 arg2
= static_cast< long >(val2
);
6462 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6463 if (!SWIG_IsOK(ecode3
)) {
6464 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6466 arg3
= static_cast< long >(val3
);
6468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6469 (arg1
)->Remove(arg2
,arg3
);
6470 wxPyEndAllowThreads(__tstate
);
6471 if (PyErr_Occurred()) SWIG_fail
;
6473 resultobj
= SWIG_Py_Void();
6480 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6481 PyObject
*resultobj
= 0;
6482 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_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6494 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6497 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6498 wxPyEndAllowThreads(__tstate
);
6499 if (PyErr_Occurred()) SWIG_fail
;
6502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6510 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6511 PyObject
*resultobj
= 0;
6512 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6515 PyObject
*swig_obj
[1] ;
6517 if (!args
) SWIG_fail
;
6519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6520 if (!SWIG_IsOK(res1
)) {
6521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6523 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6527 wxPyEndAllowThreads(__tstate
);
6528 if (PyErr_Occurred()) SWIG_fail
;
6530 resultobj
= SWIG_Py_Void();
6537 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6538 PyObject
*resultobj
= 0;
6539 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6542 PyObject
*swig_obj
[1] ;
6544 if (!args
) SWIG_fail
;
6546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6547 if (!SWIG_IsOK(res1
)) {
6548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6550 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6554 wxPyEndAllowThreads(__tstate
);
6555 if (PyErr_Occurred()) SWIG_fail
;
6557 resultobj
= SWIG_Py_Void();
6564 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6565 PyObject
*resultobj
= 0;
6566 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6569 PyObject
*swig_obj
[1] ;
6571 if (!args
) SWIG_fail
;
6573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6574 if (!SWIG_IsOK(res1
)) {
6575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6577 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6580 (arg1
)->SelectAll();
6581 wxPyEndAllowThreads(__tstate
);
6582 if (PyErr_Occurred()) SWIG_fail
;
6584 resultobj
= SWIG_Py_Void();
6591 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6592 PyObject
*resultobj
= 0;
6593 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6597 PyObject
*swig_obj
[1] ;
6599 if (!args
) SWIG_fail
;
6601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6602 if (!SWIG_IsOK(res1
)) {
6603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6605 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6608 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6609 wxPyEndAllowThreads(__tstate
);
6610 if (PyErr_Occurred()) SWIG_fail
;
6613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6621 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6622 PyObject
*resultobj
= 0;
6623 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6627 PyObject
*swig_obj
[1] ;
6629 if (!args
) SWIG_fail
;
6631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6632 if (!SWIG_IsOK(res1
)) {
6633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6635 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6638 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6639 wxPyEndAllowThreads(__tstate
);
6640 if (PyErr_Occurred()) SWIG_fail
;
6643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6651 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6652 PyObject
*resultobj
= 0;
6653 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6657 PyObject
*swig_obj
[1] ;
6659 if (!args
) SWIG_fail
;
6661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6662 if (!SWIG_IsOK(res1
)) {
6663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6665 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6668 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6669 wxPyEndAllowThreads(__tstate
);
6670 if (PyErr_Occurred()) SWIG_fail
;
6673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6681 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6682 PyObject
*resultobj
= 0;
6683 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6687 PyObject
*swig_obj
[1] ;
6689 if (!args
) SWIG_fail
;
6691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6692 if (!SWIG_IsOK(res1
)) {
6693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6695 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6698 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6699 wxPyEndAllowThreads(__tstate
);
6700 if (PyErr_Occurred()) SWIG_fail
;
6703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6711 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6712 PyObject
*resultobj
= 0;
6713 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6717 PyObject
*swig_obj
[1] ;
6719 if (!args
) SWIG_fail
;
6721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6722 if (!SWIG_IsOK(res1
)) {
6723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6725 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6728 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6729 wxPyEndAllowThreads(__tstate
);
6730 if (PyErr_Occurred()) SWIG_fail
;
6733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6741 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6742 PyObject
*resultobj
= 0;
6743 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6744 SwigValueWrapper
<wxVisualAttributes
> result
;
6747 PyObject
* obj0
= 0 ;
6748 char * kwnames
[] = {
6749 (char *) "variant", NULL
6752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6754 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6755 if (!SWIG_IsOK(ecode1
)) {
6756 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6758 arg1
= static_cast< wxWindowVariant
>(val1
);
6761 if (!wxPyCheckForApp()) SWIG_fail
;
6762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6763 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6764 wxPyEndAllowThreads(__tstate
);
6765 if (PyErr_Occurred()) SWIG_fail
;
6767 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6774 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6776 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6777 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6778 return SWIG_Py_Void();
6781 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6782 return SWIG_Python_InitShadowInstance(args
);
6785 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6786 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6791 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6792 PyObject
*pyobj
= 0;
6796 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6798 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6805 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6806 PyObject
*resultobj
= 0;
6807 wxWindow
*arg1
= (wxWindow
*) 0 ;
6808 int arg2
= (int) -1 ;
6809 int arg3
= (int) 100 ;
6810 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6811 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6812 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6813 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6814 long arg6
= (long) wxGA_HORIZONTAL
;
6815 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6816 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6817 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6818 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6819 wxGauge
*result
= 0 ;
6832 bool temp8
= false ;
6833 PyObject
* obj0
= 0 ;
6834 PyObject
* obj1
= 0 ;
6835 PyObject
* obj2
= 0 ;
6836 PyObject
* obj3
= 0 ;
6837 PyObject
* obj4
= 0 ;
6838 PyObject
* obj5
= 0 ;
6839 PyObject
* obj6
= 0 ;
6840 PyObject
* obj7
= 0 ;
6841 char * kwnames
[] = {
6842 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6847 if (!SWIG_IsOK(res1
)) {
6848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6850 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6852 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6853 if (!SWIG_IsOK(ecode2
)) {
6854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6856 arg2
= static_cast< int >(val2
);
6859 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6860 if (!SWIG_IsOK(ecode3
)) {
6861 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6863 arg3
= static_cast< int >(val3
);
6868 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6874 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6878 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6879 if (!SWIG_IsOK(ecode6
)) {
6880 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6882 arg6
= static_cast< long >(val6
);
6885 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6886 if (!SWIG_IsOK(res7
)) {
6887 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6890 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6892 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6896 arg8
= wxString_in_helper(obj7
);
6897 if (arg8
== NULL
) SWIG_fail
;
6902 if (!wxPyCheckForApp()) SWIG_fail
;
6903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6904 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6905 wxPyEndAllowThreads(__tstate
);
6906 if (PyErr_Occurred()) SWIG_fail
;
6908 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6923 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6924 PyObject
*resultobj
= 0;
6925 wxGauge
*result
= 0 ;
6927 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6929 if (!wxPyCheckForApp()) SWIG_fail
;
6930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6931 result
= (wxGauge
*)new wxGauge();
6932 wxPyEndAllowThreads(__tstate
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6935 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6942 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6943 PyObject
*resultobj
= 0;
6944 wxGauge
*arg1
= (wxGauge
*) 0 ;
6945 wxWindow
*arg2
= (wxWindow
*) 0 ;
6946 int arg3
= (int) -1 ;
6947 int arg4
= (int) 100 ;
6948 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6949 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6950 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6951 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6952 long arg7
= (long) wxGA_HORIZONTAL
;
6953 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6954 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6955 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6956 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6972 bool temp9
= false ;
6973 PyObject
* obj0
= 0 ;
6974 PyObject
* obj1
= 0 ;
6975 PyObject
* obj2
= 0 ;
6976 PyObject
* obj3
= 0 ;
6977 PyObject
* obj4
= 0 ;
6978 PyObject
* obj5
= 0 ;
6979 PyObject
* obj6
= 0 ;
6980 PyObject
* obj7
= 0 ;
6981 PyObject
* obj8
= 0 ;
6982 char * kwnames
[] = {
6983 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6988 if (!SWIG_IsOK(res1
)) {
6989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6991 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6992 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6993 if (!SWIG_IsOK(res2
)) {
6994 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6996 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6998 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6999 if (!SWIG_IsOK(ecode3
)) {
7000 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
7002 arg3
= static_cast< int >(val3
);
7005 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7006 if (!SWIG_IsOK(ecode4
)) {
7007 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
7009 arg4
= static_cast< int >(val4
);
7014 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7020 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7024 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7025 if (!SWIG_IsOK(ecode7
)) {
7026 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
7028 arg7
= static_cast< long >(val7
);
7031 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
7032 if (!SWIG_IsOK(res8
)) {
7033 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7036 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7038 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
7042 arg9
= wxString_in_helper(obj8
);
7043 if (arg9
== NULL
) SWIG_fail
;
7048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7049 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7050 wxPyEndAllowThreads(__tstate
);
7051 if (PyErr_Occurred()) SWIG_fail
;
7054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7070 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
*resultobj
= 0;
7072 wxGauge
*arg1
= (wxGauge
*) 0 ;
7078 PyObject
* obj0
= 0 ;
7079 PyObject
* obj1
= 0 ;
7080 char * kwnames
[] = {
7081 (char *) "self",(char *) "range", NULL
7084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7086 if (!SWIG_IsOK(res1
)) {
7087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7089 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7091 if (!SWIG_IsOK(ecode2
)) {
7092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7094 arg2
= static_cast< int >(val2
);
7096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7097 (arg1
)->SetRange(arg2
);
7098 wxPyEndAllowThreads(__tstate
);
7099 if (PyErr_Occurred()) SWIG_fail
;
7101 resultobj
= SWIG_Py_Void();
7108 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7109 PyObject
*resultobj
= 0;
7110 wxGauge
*arg1
= (wxGauge
*) 0 ;
7114 PyObject
*swig_obj
[1] ;
7116 if (!args
) SWIG_fail
;
7118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7119 if (!SWIG_IsOK(res1
)) {
7120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7122 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7125 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7126 wxPyEndAllowThreads(__tstate
);
7127 if (PyErr_Occurred()) SWIG_fail
;
7129 resultobj
= SWIG_From_int(static_cast< int >(result
));
7136 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7137 PyObject
*resultobj
= 0;
7138 wxGauge
*arg1
= (wxGauge
*) 0 ;
7144 PyObject
* obj0
= 0 ;
7145 PyObject
* obj1
= 0 ;
7146 char * kwnames
[] = {
7147 (char *) "self",(char *) "pos", NULL
7150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7152 if (!SWIG_IsOK(res1
)) {
7153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7155 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7156 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7157 if (!SWIG_IsOK(ecode2
)) {
7158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7160 arg2
= static_cast< int >(val2
);
7162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7163 (arg1
)->SetValue(arg2
);
7164 wxPyEndAllowThreads(__tstate
);
7165 if (PyErr_Occurred()) SWIG_fail
;
7167 resultobj
= SWIG_Py_Void();
7174 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7175 PyObject
*resultobj
= 0;
7176 wxGauge
*arg1
= (wxGauge
*) 0 ;
7180 PyObject
*swig_obj
[1] ;
7182 if (!args
) SWIG_fail
;
7184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7185 if (!SWIG_IsOK(res1
)) {
7186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7188 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7191 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7192 wxPyEndAllowThreads(__tstate
);
7193 if (PyErr_Occurred()) SWIG_fail
;
7195 resultobj
= SWIG_From_int(static_cast< int >(result
));
7202 SWIGINTERN PyObject
*_wrap_Gauge_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7203 PyObject
*resultobj
= 0;
7204 wxGauge
*arg1
= (wxGauge
*) 0 ;
7207 PyObject
*swig_obj
[1] ;
7209 if (!args
) SWIG_fail
;
7211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7212 if (!SWIG_IsOK(res1
)) {
7213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7215 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7219 wxPyEndAllowThreads(__tstate
);
7220 if (PyErr_Occurred()) SWIG_fail
;
7222 resultobj
= SWIG_Py_Void();
7229 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7230 PyObject
*resultobj
= 0;
7231 wxGauge
*arg1
= (wxGauge
*) 0 ;
7235 PyObject
*swig_obj
[1] ;
7237 if (!args
) SWIG_fail
;
7239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7240 if (!SWIG_IsOK(res1
)) {
7241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7243 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7246 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7247 wxPyEndAllowThreads(__tstate
);
7248 if (PyErr_Occurred()) SWIG_fail
;
7251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7259 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
*resultobj
= 0;
7261 wxGauge
*arg1
= (wxGauge
*) 0 ;
7267 PyObject
* obj0
= 0 ;
7268 PyObject
* obj1
= 0 ;
7269 char * kwnames
[] = {
7270 (char *) "self",(char *) "w", NULL
7273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7275 if (!SWIG_IsOK(res1
)) {
7276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7278 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7279 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7280 if (!SWIG_IsOK(ecode2
)) {
7281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7283 arg2
= static_cast< int >(val2
);
7285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7286 (arg1
)->SetShadowWidth(arg2
);
7287 wxPyEndAllowThreads(__tstate
);
7288 if (PyErr_Occurred()) SWIG_fail
;
7290 resultobj
= SWIG_Py_Void();
7297 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7298 PyObject
*resultobj
= 0;
7299 wxGauge
*arg1
= (wxGauge
*) 0 ;
7303 PyObject
*swig_obj
[1] ;
7305 if (!args
) SWIG_fail
;
7307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7308 if (!SWIG_IsOK(res1
)) {
7309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7311 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7314 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7315 wxPyEndAllowThreads(__tstate
);
7316 if (PyErr_Occurred()) SWIG_fail
;
7318 resultobj
= SWIG_From_int(static_cast< int >(result
));
7325 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7326 PyObject
*resultobj
= 0;
7327 wxGauge
*arg1
= (wxGauge
*) 0 ;
7333 PyObject
* obj0
= 0 ;
7334 PyObject
* obj1
= 0 ;
7335 char * kwnames
[] = {
7336 (char *) "self",(char *) "w", NULL
7339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7341 if (!SWIG_IsOK(res1
)) {
7342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7344 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7346 if (!SWIG_IsOK(ecode2
)) {
7347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7349 arg2
= static_cast< int >(val2
);
7351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7352 (arg1
)->SetBezelFace(arg2
);
7353 wxPyEndAllowThreads(__tstate
);
7354 if (PyErr_Occurred()) SWIG_fail
;
7356 resultobj
= SWIG_Py_Void();
7363 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7364 PyObject
*resultobj
= 0;
7365 wxGauge
*arg1
= (wxGauge
*) 0 ;
7369 PyObject
*swig_obj
[1] ;
7371 if (!args
) SWIG_fail
;
7373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7374 if (!SWIG_IsOK(res1
)) {
7375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7377 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7380 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7381 wxPyEndAllowThreads(__tstate
);
7382 if (PyErr_Occurred()) SWIG_fail
;
7384 resultobj
= SWIG_From_int(static_cast< int >(result
));
7391 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7392 PyObject
*resultobj
= 0;
7393 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7394 SwigValueWrapper
<wxVisualAttributes
> result
;
7397 PyObject
* obj0
= 0 ;
7398 char * kwnames
[] = {
7399 (char *) "variant", NULL
7402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7404 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7405 if (!SWIG_IsOK(ecode1
)) {
7406 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7408 arg1
= static_cast< wxWindowVariant
>(val1
);
7411 if (!wxPyCheckForApp()) SWIG_fail
;
7412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7413 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7414 wxPyEndAllowThreads(__tstate
);
7415 if (PyErr_Occurred()) SWIG_fail
;
7417 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7424 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7426 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7427 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7428 return SWIG_Py_Void();
7431 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7432 return SWIG_Python_InitShadowInstance(args
);
7435 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7436 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7441 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7442 PyObject
*pyobj
= 0;
7446 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7448 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7455 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7456 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7461 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7462 PyObject
*pyobj
= 0;
7466 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7468 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7475 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7476 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7481 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7482 PyObject
*pyobj
= 0;
7486 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7488 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7495 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7496 PyObject
*resultobj
= 0;
7497 wxWindow
*arg1
= (wxWindow
*) 0 ;
7498 int arg2
= (int) -1 ;
7499 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7500 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7501 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7502 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7503 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7504 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7505 long arg6
= (long) 0 ;
7506 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7507 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7508 wxStaticBox
*result
= 0 ;
7513 bool temp3
= false ;
7518 bool temp7
= false ;
7519 PyObject
* obj0
= 0 ;
7520 PyObject
* obj1
= 0 ;
7521 PyObject
* obj2
= 0 ;
7522 PyObject
* obj3
= 0 ;
7523 PyObject
* obj4
= 0 ;
7524 PyObject
* obj5
= 0 ;
7525 PyObject
* obj6
= 0 ;
7526 char * kwnames
[] = {
7527 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7532 if (!SWIG_IsOK(res1
)) {
7533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7535 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7537 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7538 if (!SWIG_IsOK(ecode2
)) {
7539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7541 arg2
= static_cast< int >(val2
);
7545 arg3
= wxString_in_helper(obj2
);
7546 if (arg3
== NULL
) SWIG_fail
;
7553 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7559 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7563 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7564 if (!SWIG_IsOK(ecode6
)) {
7565 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7567 arg6
= static_cast< long >(val6
);
7571 arg7
= wxString_in_helper(obj6
);
7572 if (arg7
== NULL
) SWIG_fail
;
7577 if (!wxPyCheckForApp()) SWIG_fail
;
7578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7579 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7580 wxPyEndAllowThreads(__tstate
);
7581 if (PyErr_Occurred()) SWIG_fail
;
7583 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7606 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7607 PyObject
*resultobj
= 0;
7608 wxStaticBox
*result
= 0 ;
7610 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7612 if (!wxPyCheckForApp()) SWIG_fail
;
7613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7614 result
= (wxStaticBox
*)new wxStaticBox();
7615 wxPyEndAllowThreads(__tstate
);
7616 if (PyErr_Occurred()) SWIG_fail
;
7618 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7625 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7626 PyObject
*resultobj
= 0;
7627 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7628 wxWindow
*arg2
= (wxWindow
*) 0 ;
7629 int arg3
= (int) -1 ;
7630 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7631 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7632 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7633 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7634 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7635 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7636 long arg7
= (long) 0 ;
7637 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7638 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7646 bool temp4
= false ;
7651 bool temp8
= false ;
7652 PyObject
* obj0
= 0 ;
7653 PyObject
* obj1
= 0 ;
7654 PyObject
* obj2
= 0 ;
7655 PyObject
* obj3
= 0 ;
7656 PyObject
* obj4
= 0 ;
7657 PyObject
* obj5
= 0 ;
7658 PyObject
* obj6
= 0 ;
7659 PyObject
* obj7
= 0 ;
7660 char * kwnames
[] = {
7661 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7666 if (!SWIG_IsOK(res1
)) {
7667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7669 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7670 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7671 if (!SWIG_IsOK(res2
)) {
7672 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7674 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7676 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7677 if (!SWIG_IsOK(ecode3
)) {
7678 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7680 arg3
= static_cast< int >(val3
);
7684 arg4
= wxString_in_helper(obj3
);
7685 if (arg4
== NULL
) SWIG_fail
;
7692 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7698 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7702 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7703 if (!SWIG_IsOK(ecode7
)) {
7704 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7706 arg7
= static_cast< long >(val7
);
7710 arg8
= wxString_in_helper(obj7
);
7711 if (arg8
== NULL
) SWIG_fail
;
7716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7717 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7718 wxPyEndAllowThreads(__tstate
);
7719 if (PyErr_Occurred()) SWIG_fail
;
7722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7746 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7747 PyObject
*resultobj
= 0;
7748 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7749 SwigValueWrapper
<wxVisualAttributes
> result
;
7752 PyObject
* obj0
= 0 ;
7753 char * kwnames
[] = {
7754 (char *) "variant", NULL
7757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7759 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7760 if (!SWIG_IsOK(ecode1
)) {
7761 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7763 arg1
= static_cast< wxWindowVariant
>(val1
);
7766 if (!wxPyCheckForApp()) SWIG_fail
;
7767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7768 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7769 wxPyEndAllowThreads(__tstate
);
7770 if (PyErr_Occurred()) SWIG_fail
;
7772 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7779 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7781 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7782 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7783 return SWIG_Py_Void();
7786 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7787 return SWIG_Python_InitShadowInstance(args
);
7790 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7791 PyObject
*resultobj
= 0;
7792 wxWindow
*arg1
= (wxWindow
*) 0 ;
7793 int arg2
= (int) -1 ;
7794 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7795 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7796 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7797 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7798 long arg5
= (long) wxLI_HORIZONTAL
;
7799 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7800 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7801 wxStaticLine
*result
= 0 ;
7810 bool temp6
= false ;
7811 PyObject
* obj0
= 0 ;
7812 PyObject
* obj1
= 0 ;
7813 PyObject
* obj2
= 0 ;
7814 PyObject
* obj3
= 0 ;
7815 PyObject
* obj4
= 0 ;
7816 PyObject
* obj5
= 0 ;
7817 char * kwnames
[] = {
7818 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7823 if (!SWIG_IsOK(res1
)) {
7824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7826 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7828 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7829 if (!SWIG_IsOK(ecode2
)) {
7830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7832 arg2
= static_cast< int >(val2
);
7837 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7843 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7847 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7848 if (!SWIG_IsOK(ecode5
)) {
7849 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7851 arg5
= static_cast< long >(val5
);
7855 arg6
= wxString_in_helper(obj5
);
7856 if (arg6
== NULL
) SWIG_fail
;
7861 if (!wxPyCheckForApp()) SWIG_fail
;
7862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7863 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7864 wxPyEndAllowThreads(__tstate
);
7865 if (PyErr_Occurred()) SWIG_fail
;
7867 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7882 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7883 PyObject
*resultobj
= 0;
7884 wxStaticLine
*result
= 0 ;
7886 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7888 if (!wxPyCheckForApp()) SWIG_fail
;
7889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7890 result
= (wxStaticLine
*)new wxStaticLine();
7891 wxPyEndAllowThreads(__tstate
);
7892 if (PyErr_Occurred()) SWIG_fail
;
7894 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7901 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7902 PyObject
*resultobj
= 0;
7903 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7904 wxWindow
*arg2
= (wxWindow
*) 0 ;
7905 int arg3
= (int) -1 ;
7906 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7907 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7908 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7909 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7910 long arg6
= (long) wxLI_HORIZONTAL
;
7911 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7912 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7924 bool temp7
= false ;
7925 PyObject
* obj0
= 0 ;
7926 PyObject
* obj1
= 0 ;
7927 PyObject
* obj2
= 0 ;
7928 PyObject
* obj3
= 0 ;
7929 PyObject
* obj4
= 0 ;
7930 PyObject
* obj5
= 0 ;
7931 PyObject
* obj6
= 0 ;
7932 char * kwnames
[] = {
7933 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7938 if (!SWIG_IsOK(res1
)) {
7939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7941 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7942 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7943 if (!SWIG_IsOK(res2
)) {
7944 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7946 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7948 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7949 if (!SWIG_IsOK(ecode3
)) {
7950 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7952 arg3
= static_cast< int >(val3
);
7957 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7963 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7967 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7968 if (!SWIG_IsOK(ecode6
)) {
7969 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7971 arg6
= static_cast< long >(val6
);
7975 arg7
= wxString_in_helper(obj6
);
7976 if (arg7
== NULL
) SWIG_fail
;
7981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7982 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7983 wxPyEndAllowThreads(__tstate
);
7984 if (PyErr_Occurred()) SWIG_fail
;
7987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8003 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8004 PyObject
*resultobj
= 0;
8005 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
8009 PyObject
*swig_obj
[1] ;
8011 if (!args
) SWIG_fail
;
8013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
8014 if (!SWIG_IsOK(res1
)) {
8015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
8017 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
8019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8020 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
8021 wxPyEndAllowThreads(__tstate
);
8022 if (PyErr_Occurred()) SWIG_fail
;
8025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8033 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8034 PyObject
*resultobj
= 0;
8037 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
8039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8040 result
= (int)wxStaticLine::GetDefaultSize();
8041 wxPyEndAllowThreads(__tstate
);
8042 if (PyErr_Occurred()) SWIG_fail
;
8044 resultobj
= SWIG_From_int(static_cast< int >(result
));
8051 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8052 PyObject
*resultobj
= 0;
8053 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8054 SwigValueWrapper
<wxVisualAttributes
> result
;
8057 PyObject
* obj0
= 0 ;
8058 char * kwnames
[] = {
8059 (char *) "variant", NULL
8062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8064 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8065 if (!SWIG_IsOK(ecode1
)) {
8066 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8068 arg1
= static_cast< wxWindowVariant
>(val1
);
8071 if (!wxPyCheckForApp()) SWIG_fail
;
8072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8073 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8074 wxPyEndAllowThreads(__tstate
);
8075 if (PyErr_Occurred()) SWIG_fail
;
8077 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8084 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8086 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8087 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8088 return SWIG_Py_Void();
8091 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8092 return SWIG_Python_InitShadowInstance(args
);
8095 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8096 PyObject
*resultobj
= 0;
8097 wxWindow
*arg1
= (wxWindow
*) 0 ;
8098 int arg2
= (int) -1 ;
8099 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8100 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8101 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8102 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8103 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8104 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8105 long arg6
= (long) 0 ;
8106 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8107 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8108 wxStaticText
*result
= 0 ;
8113 bool temp3
= false ;
8118 bool temp7
= false ;
8119 PyObject
* obj0
= 0 ;
8120 PyObject
* obj1
= 0 ;
8121 PyObject
* obj2
= 0 ;
8122 PyObject
* obj3
= 0 ;
8123 PyObject
* obj4
= 0 ;
8124 PyObject
* obj5
= 0 ;
8125 PyObject
* obj6
= 0 ;
8126 char * kwnames
[] = {
8127 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8132 if (!SWIG_IsOK(res1
)) {
8133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8135 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8138 if (!SWIG_IsOK(ecode2
)) {
8139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8141 arg2
= static_cast< int >(val2
);
8145 arg3
= wxString_in_helper(obj2
);
8146 if (arg3
== NULL
) SWIG_fail
;
8153 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8159 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8163 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8164 if (!SWIG_IsOK(ecode6
)) {
8165 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8167 arg6
= static_cast< long >(val6
);
8171 arg7
= wxString_in_helper(obj6
);
8172 if (arg7
== NULL
) SWIG_fail
;
8177 if (!wxPyCheckForApp()) SWIG_fail
;
8178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8179 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8180 wxPyEndAllowThreads(__tstate
);
8181 if (PyErr_Occurred()) SWIG_fail
;
8183 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8206 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8207 PyObject
*resultobj
= 0;
8208 wxStaticText
*result
= 0 ;
8210 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8212 if (!wxPyCheckForApp()) SWIG_fail
;
8213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8214 result
= (wxStaticText
*)new wxStaticText();
8215 wxPyEndAllowThreads(__tstate
);
8216 if (PyErr_Occurred()) SWIG_fail
;
8218 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8225 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8226 PyObject
*resultobj
= 0;
8227 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8228 wxWindow
*arg2
= (wxWindow
*) 0 ;
8229 int arg3
= (int) -1 ;
8230 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8231 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8232 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8233 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8234 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8235 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8236 long arg7
= (long) 0 ;
8237 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8238 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8246 bool temp4
= false ;
8251 bool temp8
= false ;
8252 PyObject
* obj0
= 0 ;
8253 PyObject
* obj1
= 0 ;
8254 PyObject
* obj2
= 0 ;
8255 PyObject
* obj3
= 0 ;
8256 PyObject
* obj4
= 0 ;
8257 PyObject
* obj5
= 0 ;
8258 PyObject
* obj6
= 0 ;
8259 PyObject
* obj7
= 0 ;
8260 char * kwnames
[] = {
8261 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8266 if (!SWIG_IsOK(res1
)) {
8267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8269 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8270 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8271 if (!SWIG_IsOK(res2
)) {
8272 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8274 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8276 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8277 if (!SWIG_IsOK(ecode3
)) {
8278 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8280 arg3
= static_cast< int >(val3
);
8284 arg4
= wxString_in_helper(obj3
);
8285 if (arg4
== NULL
) SWIG_fail
;
8292 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8298 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8302 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8303 if (!SWIG_IsOK(ecode7
)) {
8304 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8306 arg7
= static_cast< long >(val7
);
8310 arg8
= wxString_in_helper(obj7
);
8311 if (arg8
== NULL
) SWIG_fail
;
8316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8317 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8318 wxPyEndAllowThreads(__tstate
);
8319 if (PyErr_Occurred()) SWIG_fail
;
8322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8346 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8347 PyObject
*resultobj
= 0;
8348 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8354 PyObject
* obj0
= 0 ;
8355 PyObject
* obj1
= 0 ;
8356 char * kwnames
[] = {
8357 (char *) "self",(char *) "width", NULL
8360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8362 if (!SWIG_IsOK(res1
)) {
8363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8365 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8366 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8367 if (!SWIG_IsOK(ecode2
)) {
8368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8370 arg2
= static_cast< int >(val2
);
8372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8374 wxPyEndAllowThreads(__tstate
);
8375 if (PyErr_Occurred()) SWIG_fail
;
8377 resultobj
= SWIG_Py_Void();
8384 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8385 PyObject
*resultobj
= 0;
8386 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8387 SwigValueWrapper
<wxVisualAttributes
> result
;
8390 PyObject
* obj0
= 0 ;
8391 char * kwnames
[] = {
8392 (char *) "variant", NULL
8395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8397 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8398 if (!SWIG_IsOK(ecode1
)) {
8399 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8401 arg1
= static_cast< wxWindowVariant
>(val1
);
8404 if (!wxPyCheckForApp()) SWIG_fail
;
8405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8406 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8407 wxPyEndAllowThreads(__tstate
);
8408 if (PyErr_Occurred()) SWIG_fail
;
8410 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8417 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8419 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8420 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8421 return SWIG_Py_Void();
8424 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8425 return SWIG_Python_InitShadowInstance(args
);
8428 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8429 PyObject
*resultobj
= 0;
8430 wxWindow
*arg1
= (wxWindow
*) 0 ;
8431 int arg2
= (int) -1 ;
8432 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8433 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8434 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8435 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8436 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8437 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8438 long arg6
= (long) 0 ;
8439 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8440 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8441 wxStaticBitmap
*result
= 0 ;
8452 bool temp7
= false ;
8453 PyObject
* obj0
= 0 ;
8454 PyObject
* obj1
= 0 ;
8455 PyObject
* obj2
= 0 ;
8456 PyObject
* obj3
= 0 ;
8457 PyObject
* obj4
= 0 ;
8458 PyObject
* obj5
= 0 ;
8459 PyObject
* obj6
= 0 ;
8460 char * kwnames
[] = {
8461 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8466 if (!SWIG_IsOK(res1
)) {
8467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8469 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8471 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8472 if (!SWIG_IsOK(ecode2
)) {
8473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8475 arg2
= static_cast< int >(val2
);
8478 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8479 if (!SWIG_IsOK(res3
)) {
8480 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8483 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8485 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8490 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8496 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8500 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8501 if (!SWIG_IsOK(ecode6
)) {
8502 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8504 arg6
= static_cast< long >(val6
);
8508 arg7
= wxString_in_helper(obj6
);
8509 if (arg7
== NULL
) SWIG_fail
;
8514 if (!wxPyCheckForApp()) SWIG_fail
;
8515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8516 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8517 wxPyEndAllowThreads(__tstate
);
8518 if (PyErr_Occurred()) SWIG_fail
;
8520 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8535 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8536 PyObject
*resultobj
= 0;
8537 wxStaticBitmap
*result
= 0 ;
8539 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8541 if (!wxPyCheckForApp()) SWIG_fail
;
8542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8543 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8544 wxPyEndAllowThreads(__tstate
);
8545 if (PyErr_Occurred()) SWIG_fail
;
8547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8554 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8555 PyObject
*resultobj
= 0;
8556 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8557 wxWindow
*arg2
= (wxWindow
*) 0 ;
8558 int arg3
= (int) -1 ;
8559 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8560 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8561 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8562 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8563 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8564 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8565 long arg7
= (long) 0 ;
8566 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8567 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8581 bool temp8
= false ;
8582 PyObject
* obj0
= 0 ;
8583 PyObject
* obj1
= 0 ;
8584 PyObject
* obj2
= 0 ;
8585 PyObject
* obj3
= 0 ;
8586 PyObject
* obj4
= 0 ;
8587 PyObject
* obj5
= 0 ;
8588 PyObject
* obj6
= 0 ;
8589 PyObject
* obj7
= 0 ;
8590 char * kwnames
[] = {
8591 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8596 if (!SWIG_IsOK(res1
)) {
8597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8599 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8600 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8601 if (!SWIG_IsOK(res2
)) {
8602 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8604 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8606 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8607 if (!SWIG_IsOK(ecode3
)) {
8608 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8610 arg3
= static_cast< int >(val3
);
8613 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8614 if (!SWIG_IsOK(res4
)) {
8615 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8618 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8620 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8625 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8631 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8635 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8636 if (!SWIG_IsOK(ecode7
)) {
8637 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8639 arg7
= static_cast< long >(val7
);
8643 arg8
= wxString_in_helper(obj7
);
8644 if (arg8
== NULL
) SWIG_fail
;
8649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8650 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8651 wxPyEndAllowThreads(__tstate
);
8652 if (PyErr_Occurred()) SWIG_fail
;
8655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8671 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8672 PyObject
*resultobj
= 0;
8673 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8677 PyObject
*swig_obj
[1] ;
8679 if (!args
) SWIG_fail
;
8681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8682 if (!SWIG_IsOK(res1
)) {
8683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8685 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8688 result
= (arg1
)->GetBitmap();
8689 wxPyEndAllowThreads(__tstate
);
8690 if (PyErr_Occurred()) SWIG_fail
;
8692 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8699 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8700 PyObject
*resultobj
= 0;
8701 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8702 wxBitmap
*arg2
= 0 ;
8707 PyObject
* obj0
= 0 ;
8708 PyObject
* obj1
= 0 ;
8709 char * kwnames
[] = {
8710 (char *) "self",(char *) "bitmap", NULL
8713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8715 if (!SWIG_IsOK(res1
)) {
8716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8718 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8719 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8720 if (!SWIG_IsOK(res2
)) {
8721 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8724 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8726 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8729 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8730 wxPyEndAllowThreads(__tstate
);
8731 if (PyErr_Occurred()) SWIG_fail
;
8733 resultobj
= SWIG_Py_Void();
8740 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8741 PyObject
*resultobj
= 0;
8742 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8748 PyObject
* obj0
= 0 ;
8749 PyObject
* obj1
= 0 ;
8750 char * kwnames
[] = {
8751 (char *) "self",(char *) "icon", NULL
8754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8756 if (!SWIG_IsOK(res1
)) {
8757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8759 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8760 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8761 if (!SWIG_IsOK(res2
)) {
8762 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8765 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8767 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8770 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8771 wxPyEndAllowThreads(__tstate
);
8772 if (PyErr_Occurred()) SWIG_fail
;
8774 resultobj
= SWIG_Py_Void();
8781 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8782 PyObject
*resultobj
= 0;
8783 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8784 SwigValueWrapper
<wxVisualAttributes
> result
;
8787 PyObject
* obj0
= 0 ;
8788 char * kwnames
[] = {
8789 (char *) "variant", NULL
8792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8794 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8795 if (!SWIG_IsOK(ecode1
)) {
8796 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8798 arg1
= static_cast< wxWindowVariant
>(val1
);
8801 if (!wxPyCheckForApp()) SWIG_fail
;
8802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8803 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8804 wxPyEndAllowThreads(__tstate
);
8805 if (PyErr_Occurred()) SWIG_fail
;
8807 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8814 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8816 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8817 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8818 return SWIG_Py_Void();
8821 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8822 return SWIG_Python_InitShadowInstance(args
);
8825 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8826 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8831 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8832 PyObject
*pyobj
= 0;
8836 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8838 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8845 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8846 PyObject
*resultobj
= 0;
8847 wxWindow
*arg1
= (wxWindow
*) 0 ;
8848 int arg2
= (int) -1 ;
8849 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8850 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8851 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8852 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8853 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8854 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8855 long arg6
= (long) 0 ;
8856 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8857 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8858 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8859 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8860 wxListBox
*result
= 0 ;
8867 bool temp5
= false ;
8872 bool temp8
= false ;
8873 PyObject
* obj0
= 0 ;
8874 PyObject
* obj1
= 0 ;
8875 PyObject
* obj2
= 0 ;
8876 PyObject
* obj3
= 0 ;
8877 PyObject
* obj4
= 0 ;
8878 PyObject
* obj5
= 0 ;
8879 PyObject
* obj6
= 0 ;
8880 PyObject
* obj7
= 0 ;
8881 char * kwnames
[] = {
8882 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8887 if (!SWIG_IsOK(res1
)) {
8888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8890 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8892 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8893 if (!SWIG_IsOK(ecode2
)) {
8894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8896 arg2
= static_cast< int >(val2
);
8901 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8907 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8912 if (! PySequence_Check(obj4
)) {
8913 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8916 arg5
= new wxArrayString
;
8918 int i
, len
=PySequence_Length(obj4
);
8919 for (i
=0; i
<len
; i
++) {
8920 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8921 wxString
* s
= wxString_in_helper(item
);
8922 if (PyErr_Occurred()) SWIG_fail
;
8930 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8931 if (!SWIG_IsOK(ecode6
)) {
8932 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8934 arg6
= static_cast< long >(val6
);
8937 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8938 if (!SWIG_IsOK(res7
)) {
8939 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8942 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8944 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8948 arg8
= wxString_in_helper(obj7
);
8949 if (arg8
== NULL
) SWIG_fail
;
8954 if (!wxPyCheckForApp()) SWIG_fail
;
8955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8956 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8957 wxPyEndAllowThreads(__tstate
);
8958 if (PyErr_Occurred()) SWIG_fail
;
8960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8962 if (temp5
) delete arg5
;
8971 if (temp5
) delete arg5
;
8981 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8982 PyObject
*resultobj
= 0;
8983 wxListBox
*result
= 0 ;
8985 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8987 if (!wxPyCheckForApp()) SWIG_fail
;
8988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8989 result
= (wxListBox
*)new wxListBox();
8990 wxPyEndAllowThreads(__tstate
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8993 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
9000 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9001 PyObject
*resultobj
= 0;
9002 wxListBox
*arg1
= (wxListBox
*) 0 ;
9003 wxWindow
*arg2
= (wxWindow
*) 0 ;
9004 int arg3
= (int) -1 ;
9005 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9006 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9007 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9008 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9009 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
9010 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
9011 long arg7
= (long) 0 ;
9012 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9013 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9014 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
9015 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9025 bool temp6
= false ;
9030 bool temp9
= false ;
9031 PyObject
* obj0
= 0 ;
9032 PyObject
* obj1
= 0 ;
9033 PyObject
* obj2
= 0 ;
9034 PyObject
* obj3
= 0 ;
9035 PyObject
* obj4
= 0 ;
9036 PyObject
* obj5
= 0 ;
9037 PyObject
* obj6
= 0 ;
9038 PyObject
* obj7
= 0 ;
9039 PyObject
* obj8
= 0 ;
9040 char * kwnames
[] = {
9041 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
9045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9046 if (!SWIG_IsOK(res1
)) {
9047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9049 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9050 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9051 if (!SWIG_IsOK(res2
)) {
9052 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9054 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9056 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9057 if (!SWIG_IsOK(ecode3
)) {
9058 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9060 arg3
= static_cast< int >(val3
);
9065 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9071 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9076 if (! PySequence_Check(obj5
)) {
9077 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9080 arg6
= new wxArrayString
;
9082 int i
, len
=PySequence_Length(obj5
);
9083 for (i
=0; i
<len
; i
++) {
9084 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9085 wxString
* s
= wxString_in_helper(item
);
9086 if (PyErr_Occurred()) SWIG_fail
;
9094 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9095 if (!SWIG_IsOK(ecode7
)) {
9096 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9098 arg7
= static_cast< long >(val7
);
9101 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9102 if (!SWIG_IsOK(res8
)) {
9103 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9106 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9108 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9112 arg9
= wxString_in_helper(obj8
);
9113 if (arg9
== NULL
) SWIG_fail
;
9118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9119 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9120 wxPyEndAllowThreads(__tstate
);
9121 if (PyErr_Occurred()) SWIG_fail
;
9124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9127 if (temp6
) delete arg6
;
9136 if (temp6
) delete arg6
;
9146 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9147 PyObject
*resultobj
= 0;
9148 wxListBox
*arg1
= (wxListBox
*) 0 ;
9149 wxString
*arg2
= 0 ;
9151 PyObject
*arg4
= (PyObject
*) NULL
;
9154 bool temp2
= false ;
9157 PyObject
* obj0
= 0 ;
9158 PyObject
* obj1
= 0 ;
9159 PyObject
* obj2
= 0 ;
9160 PyObject
* obj3
= 0 ;
9161 char * kwnames
[] = {
9162 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9167 if (!SWIG_IsOK(res1
)) {
9168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9170 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9172 arg2
= wxString_in_helper(obj1
);
9173 if (arg2
== NULL
) SWIG_fail
;
9176 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9177 if (!SWIG_IsOK(ecode3
)) {
9178 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9180 arg3
= static_cast< int >(val3
);
9185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9186 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9187 wxPyEndAllowThreads(__tstate
);
9188 if (PyErr_Occurred()) SWIG_fail
;
9190 resultobj
= SWIG_Py_Void();
9205 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9206 PyObject
*resultobj
= 0;
9207 wxListBox
*arg1
= (wxListBox
*) 0 ;
9208 wxArrayString
*arg2
= 0 ;
9212 bool temp2
= false ;
9215 PyObject
* obj0
= 0 ;
9216 PyObject
* obj1
= 0 ;
9217 PyObject
* obj2
= 0 ;
9218 char * kwnames
[] = {
9219 (char *) "self",(char *) "items",(char *) "pos", NULL
9222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9224 if (!SWIG_IsOK(res1
)) {
9225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9227 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9229 if (! PySequence_Check(obj1
)) {
9230 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9233 arg2
= new wxArrayString
;
9235 int i
, len
=PySequence_Length(obj1
);
9236 for (i
=0; i
<len
; i
++) {
9237 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9238 wxString
* s
= wxString_in_helper(item
);
9239 if (PyErr_Occurred()) SWIG_fail
;
9245 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9246 if (!SWIG_IsOK(ecode3
)) {
9247 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9249 arg3
= static_cast< unsigned int >(val3
);
9251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9252 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9253 wxPyEndAllowThreads(__tstate
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9256 resultobj
= SWIG_Py_Void();
9258 if (temp2
) delete arg2
;
9263 if (temp2
) delete arg2
;
9269 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9270 PyObject
*resultobj
= 0;
9271 wxListBox
*arg1
= (wxListBox
*) 0 ;
9272 wxArrayString
*arg2
= 0 ;
9275 bool temp2
= false ;
9276 PyObject
* obj0
= 0 ;
9277 PyObject
* obj1
= 0 ;
9278 char * kwnames
[] = {
9279 (char *) "self",(char *) "items", NULL
9282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9284 if (!SWIG_IsOK(res1
)) {
9285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9287 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9289 if (! PySequence_Check(obj1
)) {
9290 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9293 arg2
= new wxArrayString
;
9295 int i
, len
=PySequence_Length(obj1
);
9296 for (i
=0; i
<len
; i
++) {
9297 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9298 wxString
* s
= wxString_in_helper(item
);
9299 if (PyErr_Occurred()) SWIG_fail
;
9306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9307 (arg1
)->Set((wxArrayString
const &)*arg2
);
9308 wxPyEndAllowThreads(__tstate
);
9309 if (PyErr_Occurred()) SWIG_fail
;
9311 resultobj
= SWIG_Py_Void();
9313 if (temp2
) delete arg2
;
9318 if (temp2
) delete arg2
;
9324 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9325 PyObject
*resultobj
= 0;
9326 wxListBox
*arg1
= (wxListBox
*) 0 ;
9333 PyObject
* obj0
= 0 ;
9334 PyObject
* obj1
= 0 ;
9335 char * kwnames
[] = {
9336 (char *) "self",(char *) "n", NULL
9339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9341 if (!SWIG_IsOK(res1
)) {
9342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9344 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9346 if (!SWIG_IsOK(ecode2
)) {
9347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9349 arg2
= static_cast< int >(val2
);
9351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9352 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9353 wxPyEndAllowThreads(__tstate
);
9354 if (PyErr_Occurred()) SWIG_fail
;
9357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9365 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9366 PyObject
*resultobj
= 0;
9367 wxListBox
*arg1
= (wxListBox
*) 0 ;
9369 bool arg3
= (bool) true ;
9376 PyObject
* obj0
= 0 ;
9377 PyObject
* obj1
= 0 ;
9378 PyObject
* obj2
= 0 ;
9379 char * kwnames
[] = {
9380 (char *) "self",(char *) "n",(char *) "select", NULL
9383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9385 if (!SWIG_IsOK(res1
)) {
9386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9388 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9390 if (!SWIG_IsOK(ecode2
)) {
9391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9393 arg2
= static_cast< int >(val2
);
9395 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9396 if (!SWIG_IsOK(ecode3
)) {
9397 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9399 arg3
= static_cast< bool >(val3
);
9402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9403 (arg1
)->SetSelection(arg2
,arg3
);
9404 wxPyEndAllowThreads(__tstate
);
9405 if (PyErr_Occurred()) SWIG_fail
;
9407 resultobj
= SWIG_Py_Void();
9414 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9415 PyObject
*resultobj
= 0;
9416 wxListBox
*arg1
= (wxListBox
*) 0 ;
9422 PyObject
* obj0
= 0 ;
9423 PyObject
* obj1
= 0 ;
9424 char * kwnames
[] = {
9425 (char *) "self",(char *) "n", NULL
9428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9430 if (!SWIG_IsOK(res1
)) {
9431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9433 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9435 if (!SWIG_IsOK(ecode2
)) {
9436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9438 arg2
= static_cast< int >(val2
);
9440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9441 (arg1
)->Select(arg2
);
9442 wxPyEndAllowThreads(__tstate
);
9443 if (PyErr_Occurred()) SWIG_fail
;
9445 resultobj
= SWIG_Py_Void();
9452 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9453 PyObject
*resultobj
= 0;
9454 wxListBox
*arg1
= (wxListBox
*) 0 ;
9460 PyObject
* obj0
= 0 ;
9461 PyObject
* obj1
= 0 ;
9462 char * kwnames
[] = {
9463 (char *) "self",(char *) "n", NULL
9466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9468 if (!SWIG_IsOK(res1
)) {
9469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9471 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9473 if (!SWIG_IsOK(ecode2
)) {
9474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9476 arg2
= static_cast< int >(val2
);
9478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9479 (arg1
)->Deselect(arg2
);
9480 wxPyEndAllowThreads(__tstate
);
9481 if (PyErr_Occurred()) SWIG_fail
;
9483 resultobj
= SWIG_Py_Void();
9490 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9491 PyObject
*resultobj
= 0;
9492 wxListBox
*arg1
= (wxListBox
*) 0 ;
9493 int arg2
= (int) -1 ;
9498 PyObject
* obj0
= 0 ;
9499 PyObject
* obj1
= 0 ;
9500 char * kwnames
[] = {
9501 (char *) "self",(char *) "itemToLeaveSelected", NULL
9504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9506 if (!SWIG_IsOK(res1
)) {
9507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9509 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9512 if (!SWIG_IsOK(ecode2
)) {
9513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9515 arg2
= static_cast< int >(val2
);
9518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9519 (arg1
)->DeselectAll(arg2
);
9520 wxPyEndAllowThreads(__tstate
);
9521 if (PyErr_Occurred()) SWIG_fail
;
9523 resultobj
= SWIG_Py_Void();
9530 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9531 PyObject
*resultobj
= 0;
9532 wxListBox
*arg1
= (wxListBox
*) 0 ;
9533 wxString
*arg2
= 0 ;
9534 bool arg3
= (bool) true ;
9538 bool temp2
= false ;
9541 PyObject
* obj0
= 0 ;
9542 PyObject
* obj1
= 0 ;
9543 PyObject
* obj2
= 0 ;
9544 char * kwnames
[] = {
9545 (char *) "self",(char *) "s",(char *) "select", NULL
9548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9550 if (!SWIG_IsOK(res1
)) {
9551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9553 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9555 arg2
= wxString_in_helper(obj1
);
9556 if (arg2
== NULL
) SWIG_fail
;
9560 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9561 if (!SWIG_IsOK(ecode3
)) {
9562 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9564 arg3
= static_cast< bool >(val3
);
9567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9568 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9569 wxPyEndAllowThreads(__tstate
);
9570 if (PyErr_Occurred()) SWIG_fail
;
9573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9589 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9590 PyObject
*resultobj
= 0;
9591 wxListBox
*arg1
= (wxListBox
*) 0 ;
9592 PyObject
*result
= 0 ;
9595 PyObject
*swig_obj
[1] ;
9597 if (!args
) SWIG_fail
;
9599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9600 if (!SWIG_IsOK(res1
)) {
9601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9603 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9606 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9607 wxPyEndAllowThreads(__tstate
);
9608 if (PyErr_Occurred()) SWIG_fail
;
9617 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9618 PyObject
*resultobj
= 0;
9619 wxListBox
*arg1
= (wxListBox
*) 0 ;
9625 PyObject
* obj0
= 0 ;
9626 PyObject
* obj1
= 0 ;
9627 char * kwnames
[] = {
9628 (char *) "self",(char *) "n", NULL
9631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9633 if (!SWIG_IsOK(res1
)) {
9634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9636 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9637 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9638 if (!SWIG_IsOK(ecode2
)) {
9639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9641 arg2
= static_cast< int >(val2
);
9643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9644 (arg1
)->SetFirstItem(arg2
);
9645 wxPyEndAllowThreads(__tstate
);
9646 if (PyErr_Occurred()) SWIG_fail
;
9648 resultobj
= SWIG_Py_Void();
9655 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9656 PyObject
*resultobj
= 0;
9657 wxListBox
*arg1
= (wxListBox
*) 0 ;
9658 wxString
*arg2
= 0 ;
9661 bool temp2
= false ;
9662 PyObject
* obj0
= 0 ;
9663 PyObject
* obj1
= 0 ;
9664 char * kwnames
[] = {
9665 (char *) "self",(char *) "s", NULL
9668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9670 if (!SWIG_IsOK(res1
)) {
9671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9673 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9675 arg2
= wxString_in_helper(obj1
);
9676 if (arg2
== NULL
) SWIG_fail
;
9680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9681 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9682 wxPyEndAllowThreads(__tstate
);
9683 if (PyErr_Occurred()) SWIG_fail
;
9685 resultobj
= SWIG_Py_Void();
9700 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9701 PyObject
*resultobj
= 0;
9702 wxListBox
*arg1
= (wxListBox
*) 0 ;
9708 PyObject
* obj0
= 0 ;
9709 PyObject
* obj1
= 0 ;
9710 char * kwnames
[] = {
9711 (char *) "self",(char *) "n", NULL
9714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9716 if (!SWIG_IsOK(res1
)) {
9717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9719 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9720 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9721 if (!SWIG_IsOK(ecode2
)) {
9722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9724 arg2
= static_cast< int >(val2
);
9726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9727 (arg1
)->EnsureVisible(arg2
);
9728 wxPyEndAllowThreads(__tstate
);
9729 if (PyErr_Occurred()) SWIG_fail
;
9731 resultobj
= SWIG_Py_Void();
9738 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9739 PyObject
*resultobj
= 0;
9740 wxListBox
*arg1
= (wxListBox
*) 0 ;
9741 wxString
*arg2
= 0 ;
9744 bool temp2
= false ;
9745 PyObject
* obj0
= 0 ;
9746 PyObject
* obj1
= 0 ;
9747 char * kwnames
[] = {
9748 (char *) "self",(char *) "s", NULL
9751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9753 if (!SWIG_IsOK(res1
)) {
9754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9756 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9758 arg2
= wxString_in_helper(obj1
);
9759 if (arg2
== NULL
) SWIG_fail
;
9763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9764 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9765 wxPyEndAllowThreads(__tstate
);
9766 if (PyErr_Occurred()) SWIG_fail
;
9768 resultobj
= SWIG_Py_Void();
9783 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9784 PyObject
*resultobj
= 0;
9785 wxListBox
*arg1
= (wxListBox
*) 0 ;
9789 PyObject
*swig_obj
[1] ;
9791 if (!args
) SWIG_fail
;
9793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9794 if (!SWIG_IsOK(res1
)) {
9795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9797 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9800 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9801 wxPyEndAllowThreads(__tstate
);
9802 if (PyErr_Occurred()) SWIG_fail
;
9805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9813 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9814 PyObject
*resultobj
= 0;
9815 wxListBox
*arg1
= (wxListBox
*) 0 ;
9821 PyObject
* obj0
= 0 ;
9822 PyObject
* obj1
= 0 ;
9823 char * kwnames
[] = {
9824 (char *) "self",(char *) "pt", NULL
9827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9829 if (!SWIG_IsOK(res1
)) {
9830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9832 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9835 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9839 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9840 wxPyEndAllowThreads(__tstate
);
9841 if (PyErr_Occurred()) SWIG_fail
;
9843 resultobj
= SWIG_From_int(static_cast< int >(result
));
9850 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9851 PyObject
*resultobj
= 0;
9852 wxListBox
*arg1
= (wxListBox
*) 0 ;
9854 wxColour
*arg3
= 0 ;
9860 PyObject
* obj0
= 0 ;
9861 PyObject
* obj1
= 0 ;
9862 PyObject
* obj2
= 0 ;
9863 char * kwnames
[] = {
9864 (char *) "self",(char *) "item",(char *) "c", NULL
9867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9869 if (!SWIG_IsOK(res1
)) {
9870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9872 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9874 if (!SWIG_IsOK(ecode2
)) {
9875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9877 arg2
= static_cast< int >(val2
);
9880 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9884 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9885 wxPyEndAllowThreads(__tstate
);
9886 if (PyErr_Occurred()) SWIG_fail
;
9888 resultobj
= SWIG_Py_Void();
9895 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9896 PyObject
*resultobj
= 0;
9897 wxListBox
*arg1
= (wxListBox
*) 0 ;
9899 wxColour
*arg3
= 0 ;
9905 PyObject
* obj0
= 0 ;
9906 PyObject
* obj1
= 0 ;
9907 PyObject
* obj2
= 0 ;
9908 char * kwnames
[] = {
9909 (char *) "self",(char *) "item",(char *) "c", NULL
9912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9914 if (!SWIG_IsOK(res1
)) {
9915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9917 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9918 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9919 if (!SWIG_IsOK(ecode2
)) {
9920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9922 arg2
= static_cast< int >(val2
);
9925 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9929 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9930 wxPyEndAllowThreads(__tstate
);
9931 if (PyErr_Occurred()) SWIG_fail
;
9933 resultobj
= SWIG_Py_Void();
9940 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9941 PyObject
*resultobj
= 0;
9942 wxListBox
*arg1
= (wxListBox
*) 0 ;
9951 PyObject
* obj0
= 0 ;
9952 PyObject
* obj1
= 0 ;
9953 PyObject
* obj2
= 0 ;
9954 char * kwnames
[] = {
9955 (char *) "self",(char *) "item",(char *) "f", NULL
9958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9960 if (!SWIG_IsOK(res1
)) {
9961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9963 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9965 if (!SWIG_IsOK(ecode2
)) {
9966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9968 arg2
= static_cast< int >(val2
);
9969 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9970 if (!SWIG_IsOK(res3
)) {
9971 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9974 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9976 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9979 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9980 wxPyEndAllowThreads(__tstate
);
9981 if (PyErr_Occurred()) SWIG_fail
;
9983 resultobj
= SWIG_Py_Void();
9990 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9991 PyObject
*resultobj
= 0;
9992 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9993 SwigValueWrapper
<wxVisualAttributes
> result
;
9996 PyObject
* obj0
= 0 ;
9997 char * kwnames
[] = {
9998 (char *) "variant", NULL
10001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10003 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10004 if (!SWIG_IsOK(ecode1
)) {
10005 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10007 arg1
= static_cast< wxWindowVariant
>(val1
);
10010 if (!wxPyCheckForApp()) SWIG_fail
;
10011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10012 result
= wxListBox::GetClassDefaultAttributes(arg1
);
10013 wxPyEndAllowThreads(__tstate
);
10014 if (PyErr_Occurred()) SWIG_fail
;
10016 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10023 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10025 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10026 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
10027 return SWIG_Py_Void();
10030 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10031 return SWIG_Python_InitShadowInstance(args
);
10034 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10035 PyObject
*resultobj
= 0;
10036 wxWindow
*arg1
= (wxWindow
*) 0 ;
10037 int arg2
= (int) -1 ;
10038 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10039 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10040 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10041 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10042 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
10043 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
10044 long arg6
= (long) 0 ;
10045 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10046 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10047 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
10048 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10049 wxCheckListBox
*result
= 0 ;
10056 bool temp5
= false ;
10061 bool temp8
= false ;
10062 PyObject
* obj0
= 0 ;
10063 PyObject
* obj1
= 0 ;
10064 PyObject
* obj2
= 0 ;
10065 PyObject
* obj3
= 0 ;
10066 PyObject
* obj4
= 0 ;
10067 PyObject
* obj5
= 0 ;
10068 PyObject
* obj6
= 0 ;
10069 PyObject
* obj7
= 0 ;
10070 char * kwnames
[] = {
10071 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10076 if (!SWIG_IsOK(res1
)) {
10077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10079 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10082 if (!SWIG_IsOK(ecode2
)) {
10083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10085 arg2
= static_cast< int >(val2
);
10090 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10096 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10101 if (! PySequence_Check(obj4
)) {
10102 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10105 arg5
= new wxArrayString
;
10107 int i
, len
=PySequence_Length(obj4
);
10108 for (i
=0; i
<len
; i
++) {
10109 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10110 wxString
* s
= wxString_in_helper(item
);
10111 if (PyErr_Occurred()) SWIG_fail
;
10119 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10120 if (!SWIG_IsOK(ecode6
)) {
10121 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10123 arg6
= static_cast< long >(val6
);
10126 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10127 if (!SWIG_IsOK(res7
)) {
10128 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10131 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10133 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10137 arg8
= wxString_in_helper(obj7
);
10138 if (arg8
== NULL
) SWIG_fail
;
10143 if (!wxPyCheckForApp()) SWIG_fail
;
10144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10145 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10146 wxPyEndAllowThreads(__tstate
);
10147 if (PyErr_Occurred()) SWIG_fail
;
10149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10151 if (temp5
) delete arg5
;
10160 if (temp5
) delete arg5
;
10170 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10171 PyObject
*resultobj
= 0;
10172 wxCheckListBox
*result
= 0 ;
10174 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10176 if (!wxPyCheckForApp()) SWIG_fail
;
10177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10178 result
= (wxCheckListBox
*)new wxCheckListBox();
10179 wxPyEndAllowThreads(__tstate
);
10180 if (PyErr_Occurred()) SWIG_fail
;
10182 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10189 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10190 PyObject
*resultobj
= 0;
10191 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10192 wxWindow
*arg2
= (wxWindow
*) 0 ;
10193 int arg3
= (int) -1 ;
10194 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10195 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10196 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10197 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10198 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10199 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10200 long arg7
= (long) 0 ;
10201 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10202 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10203 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10204 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10214 bool temp6
= false ;
10219 bool temp9
= false ;
10220 PyObject
* obj0
= 0 ;
10221 PyObject
* obj1
= 0 ;
10222 PyObject
* obj2
= 0 ;
10223 PyObject
* obj3
= 0 ;
10224 PyObject
* obj4
= 0 ;
10225 PyObject
* obj5
= 0 ;
10226 PyObject
* obj6
= 0 ;
10227 PyObject
* obj7
= 0 ;
10228 PyObject
* obj8
= 0 ;
10229 char * kwnames
[] = {
10230 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10235 if (!SWIG_IsOK(res1
)) {
10236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10238 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10239 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10240 if (!SWIG_IsOK(res2
)) {
10241 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10243 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10245 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10246 if (!SWIG_IsOK(ecode3
)) {
10247 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10249 arg3
= static_cast< int >(val3
);
10254 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10260 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10265 if (! PySequence_Check(obj5
)) {
10266 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10269 arg6
= new wxArrayString
;
10271 int i
, len
=PySequence_Length(obj5
);
10272 for (i
=0; i
<len
; i
++) {
10273 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10274 wxString
* s
= wxString_in_helper(item
);
10275 if (PyErr_Occurred()) SWIG_fail
;
10283 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10284 if (!SWIG_IsOK(ecode7
)) {
10285 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10287 arg7
= static_cast< long >(val7
);
10290 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10291 if (!SWIG_IsOK(res8
)) {
10292 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10295 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10297 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10301 arg9
= wxString_in_helper(obj8
);
10302 if (arg9
== NULL
) SWIG_fail
;
10307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10308 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10309 wxPyEndAllowThreads(__tstate
);
10310 if (PyErr_Occurred()) SWIG_fail
;
10313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10316 if (temp6
) delete arg6
;
10325 if (temp6
) delete arg6
;
10335 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10336 PyObject
*resultobj
= 0;
10337 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10338 unsigned int arg2
;
10342 unsigned int val2
;
10344 PyObject
* obj0
= 0 ;
10345 PyObject
* obj1
= 0 ;
10346 char * kwnames
[] = {
10347 (char *) "self",(char *) "index", NULL
10350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10352 if (!SWIG_IsOK(res1
)) {
10353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10355 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10356 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10357 if (!SWIG_IsOK(ecode2
)) {
10358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10360 arg2
= static_cast< unsigned int >(val2
);
10362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10363 result
= (bool)(arg1
)->IsChecked(arg2
);
10364 wxPyEndAllowThreads(__tstate
);
10365 if (PyErr_Occurred()) SWIG_fail
;
10368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10376 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10377 PyObject
*resultobj
= 0;
10378 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10379 unsigned int arg2
;
10380 int arg3
= (int) true ;
10383 unsigned int val2
;
10387 PyObject
* obj0
= 0 ;
10388 PyObject
* obj1
= 0 ;
10389 PyObject
* obj2
= 0 ;
10390 char * kwnames
[] = {
10391 (char *) "self",(char *) "index",(char *) "check", NULL
10394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10396 if (!SWIG_IsOK(res1
)) {
10397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10399 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10400 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10401 if (!SWIG_IsOK(ecode2
)) {
10402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10404 arg2
= static_cast< unsigned int >(val2
);
10406 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10407 if (!SWIG_IsOK(ecode3
)) {
10408 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10410 arg3
= static_cast< int >(val3
);
10413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10414 (arg1
)->Check(arg2
,arg3
);
10415 wxPyEndAllowThreads(__tstate
);
10416 if (PyErr_Occurred()) SWIG_fail
;
10418 resultobj
= SWIG_Py_Void();
10425 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10426 PyObject
*resultobj
= 0;
10427 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10431 PyObject
*swig_obj
[1] ;
10433 if (!args
) SWIG_fail
;
10434 swig_obj
[0] = args
;
10435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10436 if (!SWIG_IsOK(res1
)) {
10437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10439 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10442 result
= (int)(arg1
)->GetItemHeight();
10443 wxPyEndAllowThreads(__tstate
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10446 resultobj
= SWIG_From_int(static_cast< int >(result
));
10453 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10455 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10456 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10457 return SWIG_Py_Void();
10460 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10461 return SWIG_Python_InitShadowInstance(args
);
10464 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10465 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10470 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10471 PyObject
*pyobj
= 0;
10475 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10477 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10484 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10485 PyObject
*resultobj
= 0;
10486 wxColour
const &arg1_defvalue
= wxNullColour
;
10487 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10488 wxColour
const &arg2_defvalue
= wxNullColour
;
10489 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10490 wxFont
const &arg3_defvalue
= wxNullFont
;
10491 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10492 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10493 wxTextAttr
*result
= 0 ;
10500 PyObject
* obj0
= 0 ;
10501 PyObject
* obj1
= 0 ;
10502 PyObject
* obj2
= 0 ;
10503 PyObject
* obj3
= 0 ;
10504 char * kwnames
[] = {
10505 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10512 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10518 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10522 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10523 if (!SWIG_IsOK(res3
)) {
10524 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10527 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10529 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10532 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10533 if (!SWIG_IsOK(ecode4
)) {
10534 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10536 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10540 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10541 wxPyEndAllowThreads(__tstate
);
10542 if (PyErr_Occurred()) SWIG_fail
;
10544 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10551 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10552 PyObject
*resultobj
= 0;
10553 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10556 PyObject
*swig_obj
[1] ;
10558 if (!args
) SWIG_fail
;
10559 swig_obj
[0] = args
;
10560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10561 if (!SWIG_IsOK(res1
)) {
10562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10564 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10569 wxPyEndAllowThreads(__tstate
);
10570 if (PyErr_Occurred()) SWIG_fail
;
10572 resultobj
= SWIG_Py_Void();
10579 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10580 PyObject
*resultobj
= 0;
10581 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10584 PyObject
*swig_obj
[1] ;
10586 if (!args
) SWIG_fail
;
10587 swig_obj
[0] = args
;
10588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10589 if (!SWIG_IsOK(res1
)) {
10590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10592 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10596 wxPyEndAllowThreads(__tstate
);
10597 if (PyErr_Occurred()) SWIG_fail
;
10599 resultobj
= SWIG_Py_Void();
10606 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10607 PyObject
*resultobj
= 0;
10608 wxTextAttr
*arg1
= 0 ;
10609 wxTextAttr
*arg2
= 0 ;
10615 PyObject
* obj0
= 0 ;
10616 PyObject
* obj1
= 0 ;
10617 char * kwnames
[] = {
10618 (char *) "base",(char *) "overlay", NULL
10621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10622 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10623 if (!SWIG_IsOK(res1
)) {
10624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10627 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10629 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10630 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10631 if (!SWIG_IsOK(res2
)) {
10632 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10635 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10637 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10640 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10641 wxPyEndAllowThreads(__tstate
);
10642 if (PyErr_Occurred()) SWIG_fail
;
10644 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10651 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10652 PyObject
*resultobj
= 0;
10653 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10654 wxColour
*arg2
= 0 ;
10658 PyObject
* obj0
= 0 ;
10659 PyObject
* obj1
= 0 ;
10660 char * kwnames
[] = {
10661 (char *) "self",(char *) "colText", NULL
10664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10666 if (!SWIG_IsOK(res1
)) {
10667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10669 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10672 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10676 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10677 wxPyEndAllowThreads(__tstate
);
10678 if (PyErr_Occurred()) SWIG_fail
;
10680 resultobj
= SWIG_Py_Void();
10687 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10688 PyObject
*resultobj
= 0;
10689 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10690 wxColour
*arg2
= 0 ;
10694 PyObject
* obj0
= 0 ;
10695 PyObject
* obj1
= 0 ;
10696 char * kwnames
[] = {
10697 (char *) "self",(char *) "colBack", NULL
10700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10702 if (!SWIG_IsOK(res1
)) {
10703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10705 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10708 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10712 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10713 wxPyEndAllowThreads(__tstate
);
10714 if (PyErr_Occurred()) SWIG_fail
;
10716 resultobj
= SWIG_Py_Void();
10723 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10724 PyObject
*resultobj
= 0;
10725 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10727 long arg3
= (long) wxTEXT_ATTR_FONT
;
10734 PyObject
* obj0
= 0 ;
10735 PyObject
* obj1
= 0 ;
10736 PyObject
* obj2
= 0 ;
10737 char * kwnames
[] = {
10738 (char *) "self",(char *) "font",(char *) "flags", NULL
10741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10743 if (!SWIG_IsOK(res1
)) {
10744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10746 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10747 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10748 if (!SWIG_IsOK(res2
)) {
10749 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10752 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10754 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10756 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10757 if (!SWIG_IsOK(ecode3
)) {
10758 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10760 arg3
= static_cast< long >(val3
);
10763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10764 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10765 wxPyEndAllowThreads(__tstate
);
10766 if (PyErr_Occurred()) SWIG_fail
;
10768 resultobj
= SWIG_Py_Void();
10775 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10776 PyObject
*resultobj
= 0;
10777 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10778 wxTextAttrAlignment arg2
;
10783 PyObject
* obj0
= 0 ;
10784 PyObject
* obj1
= 0 ;
10785 char * kwnames
[] = {
10786 (char *) "self",(char *) "alignment", NULL
10789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10791 if (!SWIG_IsOK(res1
)) {
10792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10794 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10795 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10796 if (!SWIG_IsOK(ecode2
)) {
10797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10799 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10802 (arg1
)->SetAlignment(arg2
);
10803 wxPyEndAllowThreads(__tstate
);
10804 if (PyErr_Occurred()) SWIG_fail
;
10806 resultobj
= SWIG_Py_Void();
10813 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10814 PyObject
*resultobj
= 0;
10815 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10816 wxArrayInt
*arg2
= 0 ;
10819 bool temp2
= false ;
10820 PyObject
* obj0
= 0 ;
10821 PyObject
* obj1
= 0 ;
10822 char * kwnames
[] = {
10823 (char *) "self",(char *) "tabs", NULL
10826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10828 if (!SWIG_IsOK(res1
)) {
10829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10831 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10833 if (! PySequence_Check(obj1
)) {
10834 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10837 arg2
= new wxArrayInt
;
10839 int i
, len
=PySequence_Length(obj1
);
10840 for (i
=0; i
<len
; i
++) {
10841 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10842 PyObject
* number
= PyNumber_Int(item
);
10844 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10847 arg2
->Add(PyInt_AS_LONG(number
));
10853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10854 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10855 wxPyEndAllowThreads(__tstate
);
10856 if (PyErr_Occurred()) SWIG_fail
;
10858 resultobj
= SWIG_Py_Void();
10860 if (temp2
) delete arg2
;
10865 if (temp2
) delete arg2
;
10871 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10872 PyObject
*resultobj
= 0;
10873 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10875 int arg3
= (int) 0 ;
10882 PyObject
* obj0
= 0 ;
10883 PyObject
* obj1
= 0 ;
10884 PyObject
* obj2
= 0 ;
10885 char * kwnames
[] = {
10886 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10891 if (!SWIG_IsOK(res1
)) {
10892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10894 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10895 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10896 if (!SWIG_IsOK(ecode2
)) {
10897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10899 arg2
= static_cast< int >(val2
);
10901 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10902 if (!SWIG_IsOK(ecode3
)) {
10903 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10905 arg3
= static_cast< int >(val3
);
10908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10909 (arg1
)->SetLeftIndent(arg2
,arg3
);
10910 wxPyEndAllowThreads(__tstate
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10913 resultobj
= SWIG_Py_Void();
10920 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10921 PyObject
*resultobj
= 0;
10922 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10928 PyObject
* obj0
= 0 ;
10929 PyObject
* obj1
= 0 ;
10930 char * kwnames
[] = {
10931 (char *) "self",(char *) "indent", NULL
10934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10936 if (!SWIG_IsOK(res1
)) {
10937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10939 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10941 if (!SWIG_IsOK(ecode2
)) {
10942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10944 arg2
= static_cast< int >(val2
);
10946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10947 (arg1
)->SetRightIndent(arg2
);
10948 wxPyEndAllowThreads(__tstate
);
10949 if (PyErr_Occurred()) SWIG_fail
;
10951 resultobj
= SWIG_Py_Void();
10958 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10959 PyObject
*resultobj
= 0;
10960 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10966 PyObject
* obj0
= 0 ;
10967 PyObject
* obj1
= 0 ;
10968 char * kwnames
[] = {
10969 (char *) "self",(char *) "flags", NULL
10972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10974 if (!SWIG_IsOK(res1
)) {
10975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10977 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10978 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10979 if (!SWIG_IsOK(ecode2
)) {
10980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10982 arg2
= static_cast< long >(val2
);
10984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10985 (arg1
)->SetFlags(arg2
);
10986 wxPyEndAllowThreads(__tstate
);
10987 if (PyErr_Occurred()) SWIG_fail
;
10989 resultobj
= SWIG_Py_Void();
10996 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10997 PyObject
*resultobj
= 0;
10998 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11002 PyObject
*swig_obj
[1] ;
11004 if (!args
) SWIG_fail
;
11005 swig_obj
[0] = args
;
11006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11007 if (!SWIG_IsOK(res1
)) {
11008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11010 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11013 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
11014 wxPyEndAllowThreads(__tstate
);
11015 if (PyErr_Occurred()) SWIG_fail
;
11018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11026 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11027 PyObject
*resultobj
= 0;
11028 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11032 PyObject
*swig_obj
[1] ;
11034 if (!args
) SWIG_fail
;
11035 swig_obj
[0] = args
;
11036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11037 if (!SWIG_IsOK(res1
)) {
11038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11040 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11043 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
11044 wxPyEndAllowThreads(__tstate
);
11045 if (PyErr_Occurred()) SWIG_fail
;
11048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11056 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11057 PyObject
*resultobj
= 0;
11058 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11062 PyObject
*swig_obj
[1] ;
11064 if (!args
) SWIG_fail
;
11065 swig_obj
[0] = args
;
11066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11067 if (!SWIG_IsOK(res1
)) {
11068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11070 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11073 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11074 wxPyEndAllowThreads(__tstate
);
11075 if (PyErr_Occurred()) SWIG_fail
;
11078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11086 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11087 PyObject
*resultobj
= 0;
11088 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11092 PyObject
*swig_obj
[1] ;
11094 if (!args
) SWIG_fail
;
11095 swig_obj
[0] = args
;
11096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11097 if (!SWIG_IsOK(res1
)) {
11098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11100 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11103 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11104 wxPyEndAllowThreads(__tstate
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11116 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11117 PyObject
*resultobj
= 0;
11118 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11122 PyObject
*swig_obj
[1] ;
11124 if (!args
) SWIG_fail
;
11125 swig_obj
[0] = args
;
11126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11127 if (!SWIG_IsOK(res1
)) {
11128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11130 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11133 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11134 wxPyEndAllowThreads(__tstate
);
11135 if (PyErr_Occurred()) SWIG_fail
;
11138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11146 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11147 PyObject
*resultobj
= 0;
11148 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11152 PyObject
*swig_obj
[1] ;
11154 if (!args
) SWIG_fail
;
11155 swig_obj
[0] = args
;
11156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11157 if (!SWIG_IsOK(res1
)) {
11158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11160 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11163 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11164 wxPyEndAllowThreads(__tstate
);
11165 if (PyErr_Occurred()) SWIG_fail
;
11168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11176 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11177 PyObject
*resultobj
= 0;
11178 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11182 PyObject
*swig_obj
[1] ;
11184 if (!args
) SWIG_fail
;
11185 swig_obj
[0] = args
;
11186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11187 if (!SWIG_IsOK(res1
)) {
11188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11190 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11193 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11194 wxPyEndAllowThreads(__tstate
);
11195 if (PyErr_Occurred()) SWIG_fail
;
11198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11206 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11207 PyObject
*resultobj
= 0;
11208 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11215 PyObject
* obj0
= 0 ;
11216 PyObject
* obj1
= 0 ;
11217 char * kwnames
[] = {
11218 (char *) "self",(char *) "flag", NULL
11221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11223 if (!SWIG_IsOK(res1
)) {
11224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11226 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11227 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11228 if (!SWIG_IsOK(ecode2
)) {
11229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11231 arg2
= static_cast< long >(val2
);
11233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11234 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11235 wxPyEndAllowThreads(__tstate
);
11236 if (PyErr_Occurred()) SWIG_fail
;
11239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11247 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11248 PyObject
*resultobj
= 0;
11249 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11250 wxColour
*result
= 0 ;
11253 PyObject
*swig_obj
[1] ;
11255 if (!args
) SWIG_fail
;
11256 swig_obj
[0] = args
;
11257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11258 if (!SWIG_IsOK(res1
)) {
11259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11261 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11265 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11266 result
= (wxColour
*) &_result_ref
;
11268 wxPyEndAllowThreads(__tstate
);
11269 if (PyErr_Occurred()) SWIG_fail
;
11271 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11278 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11279 PyObject
*resultobj
= 0;
11280 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11281 wxColour
*result
= 0 ;
11284 PyObject
*swig_obj
[1] ;
11286 if (!args
) SWIG_fail
;
11287 swig_obj
[0] = args
;
11288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11289 if (!SWIG_IsOK(res1
)) {
11290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11292 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11296 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11297 result
= (wxColour
*) &_result_ref
;
11299 wxPyEndAllowThreads(__tstate
);
11300 if (PyErr_Occurred()) SWIG_fail
;
11302 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11309 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11310 PyObject
*resultobj
= 0;
11311 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11312 wxFont
*result
= 0 ;
11315 PyObject
*swig_obj
[1] ;
11317 if (!args
) SWIG_fail
;
11318 swig_obj
[0] = args
;
11319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11320 if (!SWIG_IsOK(res1
)) {
11321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11323 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11327 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11328 result
= (wxFont
*) &_result_ref
;
11330 wxPyEndAllowThreads(__tstate
);
11331 if (PyErr_Occurred()) SWIG_fail
;
11334 wxFont
* resultptr
= new wxFont(*result
);
11335 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11343 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11344 PyObject
*resultobj
= 0;
11345 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11346 wxTextAttrAlignment result
;
11349 PyObject
*swig_obj
[1] ;
11351 if (!args
) SWIG_fail
;
11352 swig_obj
[0] = args
;
11353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11354 if (!SWIG_IsOK(res1
)) {
11355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11357 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11360 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11361 wxPyEndAllowThreads(__tstate
);
11362 if (PyErr_Occurred()) SWIG_fail
;
11364 resultobj
= SWIG_From_int(static_cast< int >(result
));
11371 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11372 PyObject
*resultobj
= 0;
11373 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11374 wxArrayInt
*result
= 0 ;
11377 PyObject
*swig_obj
[1] ;
11379 if (!args
) SWIG_fail
;
11380 swig_obj
[0] = args
;
11381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11382 if (!SWIG_IsOK(res1
)) {
11383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11385 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11389 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11390 result
= (wxArrayInt
*) &_result_ref
;
11392 wxPyEndAllowThreads(__tstate
);
11393 if (PyErr_Occurred()) SWIG_fail
;
11396 resultobj
= wxArrayInt2PyList_helper(*result
);
11404 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(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_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11418 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11421 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11422 wxPyEndAllowThreads(__tstate
);
11423 if (PyErr_Occurred()) SWIG_fail
;
11425 resultobj
= SWIG_From_long(static_cast< long >(result
));
11432 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(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_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11446 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11449 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11450 wxPyEndAllowThreads(__tstate
);
11451 if (PyErr_Occurred()) SWIG_fail
;
11453 resultobj
= SWIG_From_long(static_cast< long >(result
));
11460 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(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_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11474 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11477 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11478 wxPyEndAllowThreads(__tstate
);
11479 if (PyErr_Occurred()) SWIG_fail
;
11481 resultobj
= SWIG_From_long(static_cast< long >(result
));
11488 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11489 PyObject
*resultobj
= 0;
11490 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11494 PyObject
*swig_obj
[1] ;
11496 if (!args
) SWIG_fail
;
11497 swig_obj
[0] = args
;
11498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11499 if (!SWIG_IsOK(res1
)) {
11500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11502 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11505 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11506 wxPyEndAllowThreads(__tstate
);
11507 if (PyErr_Occurred()) SWIG_fail
;
11509 resultobj
= SWIG_From_long(static_cast< long >(result
));
11516 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11517 PyObject
*resultobj
= 0;
11518 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11522 PyObject
*swig_obj
[1] ;
11524 if (!args
) SWIG_fail
;
11525 swig_obj
[0] = args
;
11526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11527 if (!SWIG_IsOK(res1
)) {
11528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11530 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11533 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11534 wxPyEndAllowThreads(__tstate
);
11535 if (PyErr_Occurred()) SWIG_fail
;
11538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11546 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11547 PyObject
*resultobj
= 0;
11548 wxTextAttr
*arg1
= 0 ;
11549 wxTextAttr
*arg2
= 0 ;
11550 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11558 PyObject
* obj0
= 0 ;
11559 PyObject
* obj1
= 0 ;
11560 PyObject
* obj2
= 0 ;
11561 char * kwnames
[] = {
11562 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11566 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11567 if (!SWIG_IsOK(res1
)) {
11568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11571 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11573 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11574 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11575 if (!SWIG_IsOK(res2
)) {
11576 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11579 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11581 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11582 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11583 if (!SWIG_IsOK(res3
)) {
11584 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11586 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11589 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11590 wxPyEndAllowThreads(__tstate
);
11591 if (PyErr_Occurred()) SWIG_fail
;
11593 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11600 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11602 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11603 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11604 return SWIG_Py_Void();
11607 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11608 return SWIG_Python_InitShadowInstance(args
);
11611 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11612 PyObject
*resultobj
= 0;
11613 wxWindow
*arg1
= (wxWindow
*) 0 ;
11614 int arg2
= (int) -1 ;
11615 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11616 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11617 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11618 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11619 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11620 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11621 long arg6
= (long) 0 ;
11622 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11623 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11624 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11625 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11626 wxTextCtrl
*result
= 0 ;
11631 bool temp3
= false ;
11638 bool temp8
= false ;
11639 PyObject
* obj0
= 0 ;
11640 PyObject
* obj1
= 0 ;
11641 PyObject
* obj2
= 0 ;
11642 PyObject
* obj3
= 0 ;
11643 PyObject
* obj4
= 0 ;
11644 PyObject
* obj5
= 0 ;
11645 PyObject
* obj6
= 0 ;
11646 PyObject
* obj7
= 0 ;
11647 char * kwnames
[] = {
11648 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11653 if (!SWIG_IsOK(res1
)) {
11654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11656 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11658 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11659 if (!SWIG_IsOK(ecode2
)) {
11660 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11662 arg2
= static_cast< int >(val2
);
11666 arg3
= wxString_in_helper(obj2
);
11667 if (arg3
== NULL
) SWIG_fail
;
11674 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11680 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11684 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11685 if (!SWIG_IsOK(ecode6
)) {
11686 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11688 arg6
= static_cast< long >(val6
);
11691 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11692 if (!SWIG_IsOK(res7
)) {
11693 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11696 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11698 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11702 arg8
= wxString_in_helper(obj7
);
11703 if (arg8
== NULL
) SWIG_fail
;
11708 if (!wxPyCheckForApp()) SWIG_fail
;
11709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11710 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11711 wxPyEndAllowThreads(__tstate
);
11712 if (PyErr_Occurred()) SWIG_fail
;
11714 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11737 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11738 PyObject
*resultobj
= 0;
11739 wxTextCtrl
*result
= 0 ;
11741 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11743 if (!wxPyCheckForApp()) SWIG_fail
;
11744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11745 result
= (wxTextCtrl
*)new wxTextCtrl();
11746 wxPyEndAllowThreads(__tstate
);
11747 if (PyErr_Occurred()) SWIG_fail
;
11749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11756 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11757 PyObject
*resultobj
= 0;
11758 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11759 wxWindow
*arg2
= (wxWindow
*) 0 ;
11760 int arg3
= (int) -1 ;
11761 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11762 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11763 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11764 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11765 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11766 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11767 long arg7
= (long) 0 ;
11768 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11769 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11770 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11771 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11779 bool temp4
= false ;
11786 bool temp9
= false ;
11787 PyObject
* obj0
= 0 ;
11788 PyObject
* obj1
= 0 ;
11789 PyObject
* obj2
= 0 ;
11790 PyObject
* obj3
= 0 ;
11791 PyObject
* obj4
= 0 ;
11792 PyObject
* obj5
= 0 ;
11793 PyObject
* obj6
= 0 ;
11794 PyObject
* obj7
= 0 ;
11795 PyObject
* obj8
= 0 ;
11796 char * kwnames
[] = {
11797 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11802 if (!SWIG_IsOK(res1
)) {
11803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11805 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11806 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11807 if (!SWIG_IsOK(res2
)) {
11808 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11810 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11812 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11813 if (!SWIG_IsOK(ecode3
)) {
11814 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11816 arg3
= static_cast< int >(val3
);
11820 arg4
= wxString_in_helper(obj3
);
11821 if (arg4
== NULL
) SWIG_fail
;
11828 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11834 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11838 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11839 if (!SWIG_IsOK(ecode7
)) {
11840 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11842 arg7
= static_cast< long >(val7
);
11845 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11846 if (!SWIG_IsOK(res8
)) {
11847 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11850 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11852 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11856 arg9
= wxString_in_helper(obj8
);
11857 if (arg9
== NULL
) SWIG_fail
;
11862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11863 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11864 wxPyEndAllowThreads(__tstate
);
11865 if (PyErr_Occurred()) SWIG_fail
;
11868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11892 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11893 PyObject
*resultobj
= 0;
11894 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11898 PyObject
*swig_obj
[1] ;
11900 if (!args
) SWIG_fail
;
11901 swig_obj
[0] = args
;
11902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11903 if (!SWIG_IsOK(res1
)) {
11904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11906 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11909 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11910 wxPyEndAllowThreads(__tstate
);
11911 if (PyErr_Occurred()) SWIG_fail
;
11915 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11917 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11926 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11927 PyObject
*resultobj
= 0;
11928 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11929 wxString
*arg2
= 0 ;
11932 bool temp2
= false ;
11933 PyObject
* obj0
= 0 ;
11934 PyObject
* obj1
= 0 ;
11935 char * kwnames
[] = {
11936 (char *) "self",(char *) "value", NULL
11939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11941 if (!SWIG_IsOK(res1
)) {
11942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11944 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11946 arg2
= wxString_in_helper(obj1
);
11947 if (arg2
== NULL
) SWIG_fail
;
11951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11952 (arg1
)->SetValue((wxString
const &)*arg2
);
11953 wxPyEndAllowThreads(__tstate
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11956 resultobj
= SWIG_Py_Void();
11971 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11972 PyObject
*resultobj
= 0;
11973 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11977 PyObject
*swig_obj
[1] ;
11979 if (!args
) SWIG_fail
;
11980 swig_obj
[0] = args
;
11981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11982 if (!SWIG_IsOK(res1
)) {
11983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11985 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11988 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEmpty();
11989 wxPyEndAllowThreads(__tstate
);
11990 if (PyErr_Occurred()) SWIG_fail
;
11993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12001 SWIGINTERN PyObject
*_wrap_TextCtrl_ChangeValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12002 PyObject
*resultobj
= 0;
12003 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12004 wxString
*arg2
= 0 ;
12007 bool temp2
= false ;
12008 PyObject
* obj0
= 0 ;
12009 PyObject
* obj1
= 0 ;
12010 char * kwnames
[] = {
12011 (char *) "self",(char *) "value", NULL
12014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ChangeValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12016 if (!SWIG_IsOK(res1
)) {
12017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12019 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12021 arg2
= wxString_in_helper(obj1
);
12022 if (arg2
== NULL
) SWIG_fail
;
12026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12027 (arg1
)->ChangeValue((wxString
const &)*arg2
);
12028 wxPyEndAllowThreads(__tstate
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12031 resultobj
= SWIG_Py_Void();
12046 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12047 PyObject
*resultobj
= 0;
12048 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12058 PyObject
* obj0
= 0 ;
12059 PyObject
* obj1
= 0 ;
12060 PyObject
* obj2
= 0 ;
12061 char * kwnames
[] = {
12062 (char *) "self",(char *) "from",(char *) "to", NULL
12065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12067 if (!SWIG_IsOK(res1
)) {
12068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12070 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12071 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12072 if (!SWIG_IsOK(ecode2
)) {
12073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12075 arg2
= static_cast< long >(val2
);
12076 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12077 if (!SWIG_IsOK(ecode3
)) {
12078 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12080 arg3
= static_cast< long >(val3
);
12082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12083 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
12084 wxPyEndAllowThreads(__tstate
);
12085 if (PyErr_Occurred()) SWIG_fail
;
12089 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12091 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12100 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12101 PyObject
*resultobj
= 0;
12102 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12109 PyObject
* obj0
= 0 ;
12110 PyObject
* obj1
= 0 ;
12111 char * kwnames
[] = {
12112 (char *) "self",(char *) "lineNo", NULL
12115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12117 if (!SWIG_IsOK(res1
)) {
12118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12120 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12121 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12122 if (!SWIG_IsOK(ecode2
)) {
12123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12125 arg2
= static_cast< long >(val2
);
12127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12128 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12129 wxPyEndAllowThreads(__tstate
);
12130 if (PyErr_Occurred()) SWIG_fail
;
12132 resultobj
= SWIG_From_int(static_cast< int >(result
));
12139 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12140 PyObject
*resultobj
= 0;
12141 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12148 PyObject
* obj0
= 0 ;
12149 PyObject
* obj1
= 0 ;
12150 char * kwnames
[] = {
12151 (char *) "self",(char *) "lineNo", NULL
12154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12156 if (!SWIG_IsOK(res1
)) {
12157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12159 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12160 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12161 if (!SWIG_IsOK(ecode2
)) {
12162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12164 arg2
= static_cast< long >(val2
);
12166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12167 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12168 wxPyEndAllowThreads(__tstate
);
12169 if (PyErr_Occurred()) SWIG_fail
;
12173 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12175 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12184 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12185 PyObject
*resultobj
= 0;
12186 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12190 PyObject
*swig_obj
[1] ;
12192 if (!args
) SWIG_fail
;
12193 swig_obj
[0] = args
;
12194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12195 if (!SWIG_IsOK(res1
)) {
12196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12198 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12201 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12202 wxPyEndAllowThreads(__tstate
);
12203 if (PyErr_Occurred()) SWIG_fail
;
12205 resultobj
= SWIG_From_int(static_cast< int >(result
));
12212 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12213 PyObject
*resultobj
= 0;
12214 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12218 PyObject
*swig_obj
[1] ;
12220 if (!args
) SWIG_fail
;
12221 swig_obj
[0] = args
;
12222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12223 if (!SWIG_IsOK(res1
)) {
12224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12226 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12229 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12230 wxPyEndAllowThreads(__tstate
);
12231 if (PyErr_Occurred()) SWIG_fail
;
12234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12242 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12243 PyObject
*resultobj
= 0;
12244 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12248 PyObject
*swig_obj
[1] ;
12250 if (!args
) SWIG_fail
;
12251 swig_obj
[0] = args
;
12252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12253 if (!SWIG_IsOK(res1
)) {
12254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12256 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12259 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12260 wxPyEndAllowThreads(__tstate
);
12261 if (PyErr_Occurred()) SWIG_fail
;
12264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12272 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12273 PyObject
*resultobj
= 0;
12274 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12278 PyObject
*swig_obj
[1] ;
12280 if (!args
) SWIG_fail
;
12281 swig_obj
[0] = args
;
12282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12283 if (!SWIG_IsOK(res1
)) {
12284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12286 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12289 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12290 wxPyEndAllowThreads(__tstate
);
12291 if (PyErr_Occurred()) SWIG_fail
;
12294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12302 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12303 PyObject
*resultobj
= 0;
12304 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12308 PyObject
*swig_obj
[1] ;
12310 if (!args
) SWIG_fail
;
12311 swig_obj
[0] = args
;
12312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12313 if (!SWIG_IsOK(res1
)) {
12314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12316 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12319 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12320 wxPyEndAllowThreads(__tstate
);
12321 if (PyErr_Occurred()) SWIG_fail
;
12324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12332 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12333 PyObject
*resultobj
= 0;
12334 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12335 long *arg2
= (long *) 0 ;
12336 long *arg3
= (long *) 0 ;
12340 int res2
= SWIG_TMPOBJ
;
12342 int res3
= SWIG_TMPOBJ
;
12343 PyObject
*swig_obj
[1] ;
12347 if (!args
) SWIG_fail
;
12348 swig_obj
[0] = args
;
12349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12350 if (!SWIG_IsOK(res1
)) {
12351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12353 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12356 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12357 wxPyEndAllowThreads(__tstate
);
12358 if (PyErr_Occurred()) SWIG_fail
;
12360 resultobj
= SWIG_Py_Void();
12361 if (SWIG_IsTmpObj(res2
)) {
12362 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12364 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12365 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12367 if (SWIG_IsTmpObj(res3
)) {
12368 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12370 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12371 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12379 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12380 PyObject
*resultobj
= 0;
12381 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12385 PyObject
*swig_obj
[1] ;
12387 if (!args
) SWIG_fail
;
12388 swig_obj
[0] = args
;
12389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12390 if (!SWIG_IsOK(res1
)) {
12391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12393 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12396 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12397 wxPyEndAllowThreads(__tstate
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12402 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12404 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12413 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12414 PyObject
*resultobj
= 0;
12415 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12418 PyObject
*swig_obj
[1] ;
12420 if (!args
) SWIG_fail
;
12421 swig_obj
[0] = args
;
12422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12423 if (!SWIG_IsOK(res1
)) {
12424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12426 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12430 wxPyEndAllowThreads(__tstate
);
12431 if (PyErr_Occurred()) SWIG_fail
;
12433 resultobj
= SWIG_Py_Void();
12440 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12441 PyObject
*resultobj
= 0;
12442 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12445 wxString
*arg4
= 0 ;
12452 bool temp4
= false ;
12453 PyObject
* obj0
= 0 ;
12454 PyObject
* obj1
= 0 ;
12455 PyObject
* obj2
= 0 ;
12456 PyObject
* obj3
= 0 ;
12457 char * kwnames
[] = {
12458 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12463 if (!SWIG_IsOK(res1
)) {
12464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12466 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12467 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12468 if (!SWIG_IsOK(ecode2
)) {
12469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12471 arg2
= static_cast< long >(val2
);
12472 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12473 if (!SWIG_IsOK(ecode3
)) {
12474 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12476 arg3
= static_cast< long >(val3
);
12478 arg4
= wxString_in_helper(obj3
);
12479 if (arg4
== NULL
) SWIG_fail
;
12483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12484 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12485 wxPyEndAllowThreads(__tstate
);
12486 if (PyErr_Occurred()) SWIG_fail
;
12488 resultobj
= SWIG_Py_Void();
12503 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12504 PyObject
*resultobj
= 0;
12505 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12514 PyObject
* obj0
= 0 ;
12515 PyObject
* obj1
= 0 ;
12516 PyObject
* obj2
= 0 ;
12517 char * kwnames
[] = {
12518 (char *) "self",(char *) "from",(char *) "to", NULL
12521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12523 if (!SWIG_IsOK(res1
)) {
12524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12526 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12527 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12528 if (!SWIG_IsOK(ecode2
)) {
12529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12531 arg2
= static_cast< long >(val2
);
12532 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12533 if (!SWIG_IsOK(ecode3
)) {
12534 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12536 arg3
= static_cast< long >(val3
);
12538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12539 (arg1
)->Remove(arg2
,arg3
);
12540 wxPyEndAllowThreads(__tstate
);
12541 if (PyErr_Occurred()) SWIG_fail
;
12543 resultobj
= SWIG_Py_Void();
12550 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12551 PyObject
*resultobj
= 0;
12552 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12553 wxString
*arg2
= 0 ;
12554 int arg3
= (int) wxTEXT_TYPE_ANY
;
12558 bool temp2
= false ;
12561 PyObject
* obj0
= 0 ;
12562 PyObject
* obj1
= 0 ;
12563 PyObject
* obj2
= 0 ;
12564 char * kwnames
[] = {
12565 (char *) "self",(char *) "file",(char *) "fileType", NULL
12568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12570 if (!SWIG_IsOK(res1
)) {
12571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12573 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12575 arg2
= wxString_in_helper(obj1
);
12576 if (arg2
== NULL
) SWIG_fail
;
12580 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12581 if (!SWIG_IsOK(ecode3
)) {
12582 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12584 arg3
= static_cast< int >(val3
);
12587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12588 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
12589 wxPyEndAllowThreads(__tstate
);
12590 if (PyErr_Occurred()) SWIG_fail
;
12593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12609 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12610 PyObject
*resultobj
= 0;
12611 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12612 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12613 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12614 int arg3
= (int) wxTEXT_TYPE_ANY
;
12618 bool temp2
= false ;
12621 PyObject
* obj0
= 0 ;
12622 PyObject
* obj1
= 0 ;
12623 PyObject
* obj2
= 0 ;
12624 char * kwnames
[] = {
12625 (char *) "self",(char *) "file",(char *) "fileType", NULL
12628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12630 if (!SWIG_IsOK(res1
)) {
12631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12633 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12636 arg2
= wxString_in_helper(obj1
);
12637 if (arg2
== NULL
) SWIG_fail
;
12642 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12643 if (!SWIG_IsOK(ecode3
)) {
12644 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12646 arg3
= static_cast< int >(val3
);
12649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12650 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12651 wxPyEndAllowThreads(__tstate
);
12652 if (PyErr_Occurred()) SWIG_fail
;
12655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12671 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12672 PyObject
*resultobj
= 0;
12673 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12676 PyObject
*swig_obj
[1] ;
12678 if (!args
) SWIG_fail
;
12679 swig_obj
[0] = args
;
12680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12681 if (!SWIG_IsOK(res1
)) {
12682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12684 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12687 (arg1
)->MarkDirty();
12688 wxPyEndAllowThreads(__tstate
);
12689 if (PyErr_Occurred()) SWIG_fail
;
12691 resultobj
= SWIG_Py_Void();
12698 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12699 PyObject
*resultobj
= 0;
12700 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12703 PyObject
*swig_obj
[1] ;
12705 if (!args
) SWIG_fail
;
12706 swig_obj
[0] = args
;
12707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12708 if (!SWIG_IsOK(res1
)) {
12709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12711 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12714 (arg1
)->DiscardEdits();
12715 wxPyEndAllowThreads(__tstate
);
12716 if (PyErr_Occurred()) SWIG_fail
;
12718 resultobj
= SWIG_Py_Void();
12725 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12726 PyObject
*resultobj
= 0;
12727 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12733 PyObject
* obj0
= 0 ;
12734 PyObject
* obj1
= 0 ;
12735 char * kwnames
[] = {
12736 (char *) "self",(char *) "modified", NULL
12739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12741 if (!SWIG_IsOK(res1
)) {
12742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12744 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12745 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12746 if (!SWIG_IsOK(ecode2
)) {
12747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12749 arg2
= static_cast< bool >(val2
);
12751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12752 (arg1
)->SetModified(arg2
);
12753 wxPyEndAllowThreads(__tstate
);
12754 if (PyErr_Occurred()) SWIG_fail
;
12756 resultobj
= SWIG_Py_Void();
12763 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12764 PyObject
*resultobj
= 0;
12765 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12766 unsigned long arg2
;
12769 unsigned long val2
;
12771 PyObject
* obj0
= 0 ;
12772 PyObject
* obj1
= 0 ;
12773 char * kwnames
[] = {
12774 (char *) "self",(char *) "len", NULL
12777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12779 if (!SWIG_IsOK(res1
)) {
12780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12782 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12783 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12784 if (!SWIG_IsOK(ecode2
)) {
12785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12787 arg2
= static_cast< unsigned long >(val2
);
12789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12790 (arg1
)->SetMaxLength(arg2
);
12791 wxPyEndAllowThreads(__tstate
);
12792 if (PyErr_Occurred()) SWIG_fail
;
12794 resultobj
= SWIG_Py_Void();
12801 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12802 PyObject
*resultobj
= 0;
12803 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12804 wxString
*arg2
= 0 ;
12807 bool temp2
= false ;
12808 PyObject
* obj0
= 0 ;
12809 PyObject
* obj1
= 0 ;
12810 char * kwnames
[] = {
12811 (char *) "self",(char *) "text", NULL
12814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12816 if (!SWIG_IsOK(res1
)) {
12817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12819 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12821 arg2
= wxString_in_helper(obj1
);
12822 if (arg2
== NULL
) SWIG_fail
;
12826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12827 (arg1
)->WriteText((wxString
const &)*arg2
);
12828 wxPyEndAllowThreads(__tstate
);
12829 if (PyErr_Occurred()) SWIG_fail
;
12831 resultobj
= SWIG_Py_Void();
12846 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12847 PyObject
*resultobj
= 0;
12848 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12849 wxString
*arg2
= 0 ;
12852 bool temp2
= false ;
12853 PyObject
* obj0
= 0 ;
12854 PyObject
* obj1
= 0 ;
12855 char * kwnames
[] = {
12856 (char *) "self",(char *) "text", NULL
12859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12861 if (!SWIG_IsOK(res1
)) {
12862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12864 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12866 arg2
= wxString_in_helper(obj1
);
12867 if (arg2
== NULL
) SWIG_fail
;
12871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12872 (arg1
)->AppendText((wxString
const &)*arg2
);
12873 wxPyEndAllowThreads(__tstate
);
12874 if (PyErr_Occurred()) SWIG_fail
;
12876 resultobj
= SWIG_Py_Void();
12891 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12892 PyObject
*resultobj
= 0;
12893 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12894 wxKeyEvent
*arg2
= 0 ;
12900 PyObject
* obj0
= 0 ;
12901 PyObject
* obj1
= 0 ;
12902 char * kwnames
[] = {
12903 (char *) "self",(char *) "event", NULL
12906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12908 if (!SWIG_IsOK(res1
)) {
12909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12911 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12912 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12913 if (!SWIG_IsOK(res2
)) {
12914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12917 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12919 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12922 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12923 wxPyEndAllowThreads(__tstate
);
12924 if (PyErr_Occurred()) SWIG_fail
;
12927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12935 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12936 PyObject
*resultobj
= 0;
12937 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12940 wxTextAttr
*arg4
= 0 ;
12950 PyObject
* obj0
= 0 ;
12951 PyObject
* obj1
= 0 ;
12952 PyObject
* obj2
= 0 ;
12953 PyObject
* obj3
= 0 ;
12954 char * kwnames
[] = {
12955 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12960 if (!SWIG_IsOK(res1
)) {
12961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12963 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12964 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12965 if (!SWIG_IsOK(ecode2
)) {
12966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12968 arg2
= static_cast< long >(val2
);
12969 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12970 if (!SWIG_IsOK(ecode3
)) {
12971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12973 arg3
= static_cast< long >(val3
);
12974 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12975 if (!SWIG_IsOK(res4
)) {
12976 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12979 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12981 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12984 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12985 wxPyEndAllowThreads(__tstate
);
12986 if (PyErr_Occurred()) SWIG_fail
;
12989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12997 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12998 PyObject
*resultobj
= 0;
12999 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13001 wxTextAttr
*arg3
= 0 ;
13009 PyObject
* obj0
= 0 ;
13010 PyObject
* obj1
= 0 ;
13011 PyObject
* obj2
= 0 ;
13012 char * kwnames
[] = {
13013 (char *) "self",(char *) "position",(char *) "style", NULL
13016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13018 if (!SWIG_IsOK(res1
)) {
13019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13021 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13022 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13023 if (!SWIG_IsOK(ecode2
)) {
13024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
13026 arg2
= static_cast< long >(val2
);
13027 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
13028 if (!SWIG_IsOK(res3
)) {
13029 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13032 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13034 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
13036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13037 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
13038 wxPyEndAllowThreads(__tstate
);
13039 if (PyErr_Occurred()) SWIG_fail
;
13042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13050 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13051 PyObject
*resultobj
= 0;
13052 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13053 wxTextAttr
*arg2
= 0 ;
13059 PyObject
* obj0
= 0 ;
13060 PyObject
* obj1
= 0 ;
13061 char * kwnames
[] = {
13062 (char *) "self",(char *) "style", NULL
13065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13067 if (!SWIG_IsOK(res1
)) {
13068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13070 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13071 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
13072 if (!SWIG_IsOK(res2
)) {
13073 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13076 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13078 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
13080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13081 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
13082 wxPyEndAllowThreads(__tstate
);
13083 if (PyErr_Occurred()) SWIG_fail
;
13086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13094 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13095 PyObject
*resultobj
= 0;
13096 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13097 wxTextAttr
*result
= 0 ;
13100 PyObject
*swig_obj
[1] ;
13102 if (!args
) SWIG_fail
;
13103 swig_obj
[0] = args
;
13104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13105 if (!SWIG_IsOK(res1
)) {
13106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13108 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13112 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
13113 result
= (wxTextAttr
*) &_result_ref
;
13115 wxPyEndAllowThreads(__tstate
);
13116 if (PyErr_Occurred()) SWIG_fail
;
13118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
13125 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13126 PyObject
*resultobj
= 0;
13127 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13137 PyObject
* obj0
= 0 ;
13138 PyObject
* obj1
= 0 ;
13139 PyObject
* obj2
= 0 ;
13140 char * kwnames
[] = {
13141 (char *) "self",(char *) "x",(char *) "y", NULL
13144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13146 if (!SWIG_IsOK(res1
)) {
13147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13149 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13150 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13151 if (!SWIG_IsOK(ecode2
)) {
13152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13154 arg2
= static_cast< long >(val2
);
13155 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13156 if (!SWIG_IsOK(ecode3
)) {
13157 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13159 arg3
= static_cast< long >(val3
);
13161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13162 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13163 wxPyEndAllowThreads(__tstate
);
13164 if (PyErr_Occurred()) SWIG_fail
;
13166 resultobj
= SWIG_From_long(static_cast< long >(result
));
13173 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13174 PyObject
*resultobj
= 0;
13175 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13177 long *arg3
= (long *) 0 ;
13178 long *arg4
= (long *) 0 ;
13184 int res3
= SWIG_TMPOBJ
;
13186 int res4
= SWIG_TMPOBJ
;
13187 PyObject
* obj0
= 0 ;
13188 PyObject
* obj1
= 0 ;
13189 char * kwnames
[] = {
13190 (char *) "self",(char *) "pos", NULL
13195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13197 if (!SWIG_IsOK(res1
)) {
13198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13200 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13201 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13202 if (!SWIG_IsOK(ecode2
)) {
13203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13205 arg2
= static_cast< long >(val2
);
13207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13208 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13209 wxPyEndAllowThreads(__tstate
);
13210 if (PyErr_Occurred()) SWIG_fail
;
13212 resultobj
= SWIG_Py_Void();
13213 if (SWIG_IsTmpObj(res3
)) {
13214 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13216 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13217 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13219 if (SWIG_IsTmpObj(res4
)) {
13220 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13222 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13223 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13231 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13232 PyObject
*resultobj
= 0;
13233 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13239 PyObject
* obj0
= 0 ;
13240 PyObject
* obj1
= 0 ;
13241 char * kwnames
[] = {
13242 (char *) "self",(char *) "pos", NULL
13245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13247 if (!SWIG_IsOK(res1
)) {
13248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13250 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13251 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13252 if (!SWIG_IsOK(ecode2
)) {
13253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13255 arg2
= static_cast< long >(val2
);
13257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13258 (arg1
)->ShowPosition(arg2
);
13259 wxPyEndAllowThreads(__tstate
);
13260 if (PyErr_Occurred()) SWIG_fail
;
13262 resultobj
= SWIG_Py_Void();
13269 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13270 PyObject
*resultobj
= 0;
13271 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13272 wxPoint
*arg2
= 0 ;
13273 long *arg3
= (long *) 0 ;
13274 long *arg4
= (long *) 0 ;
13275 wxTextCtrlHitTestResult result
;
13280 int res3
= SWIG_TMPOBJ
;
13282 int res4
= SWIG_TMPOBJ
;
13283 PyObject
* obj0
= 0 ;
13284 PyObject
* obj1
= 0 ;
13285 char * kwnames
[] = {
13286 (char *) "self",(char *) "pt", NULL
13291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13293 if (!SWIG_IsOK(res1
)) {
13294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13296 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13299 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13303 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13304 wxPyEndAllowThreads(__tstate
);
13305 if (PyErr_Occurred()) SWIG_fail
;
13307 resultobj
= SWIG_From_int(static_cast< int >(result
));
13308 if (SWIG_IsTmpObj(res3
)) {
13309 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13311 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13312 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13314 if (SWIG_IsTmpObj(res4
)) {
13315 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13317 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13318 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13326 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13327 PyObject
*resultobj
= 0;
13328 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13329 wxPoint
*arg2
= 0 ;
13330 long *arg3
= (long *) 0 ;
13331 wxTextCtrlHitTestResult result
;
13336 int res3
= SWIG_TMPOBJ
;
13337 PyObject
* obj0
= 0 ;
13338 PyObject
* obj1
= 0 ;
13339 char * kwnames
[] = {
13340 (char *) "self",(char *) "pt", NULL
13344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13346 if (!SWIG_IsOK(res1
)) {
13347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13349 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13352 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13356 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13357 wxPyEndAllowThreads(__tstate
);
13358 if (PyErr_Occurred()) SWIG_fail
;
13360 resultobj
= SWIG_From_int(static_cast< int >(result
));
13361 if (SWIG_IsTmpObj(res3
)) {
13362 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13364 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13365 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13373 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13374 PyObject
*resultobj
= 0;
13375 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13378 PyObject
*swig_obj
[1] ;
13380 if (!args
) SWIG_fail
;
13381 swig_obj
[0] = args
;
13382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13383 if (!SWIG_IsOK(res1
)) {
13384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13386 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13390 wxPyEndAllowThreads(__tstate
);
13391 if (PyErr_Occurred()) SWIG_fail
;
13393 resultobj
= SWIG_Py_Void();
13400 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13401 PyObject
*resultobj
= 0;
13402 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13405 PyObject
*swig_obj
[1] ;
13407 if (!args
) SWIG_fail
;
13408 swig_obj
[0] = args
;
13409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13410 if (!SWIG_IsOK(res1
)) {
13411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13413 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13417 wxPyEndAllowThreads(__tstate
);
13418 if (PyErr_Occurred()) SWIG_fail
;
13420 resultobj
= SWIG_Py_Void();
13427 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13428 PyObject
*resultobj
= 0;
13429 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13432 PyObject
*swig_obj
[1] ;
13434 if (!args
) SWIG_fail
;
13435 swig_obj
[0] = args
;
13436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13437 if (!SWIG_IsOK(res1
)) {
13438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13440 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13444 wxPyEndAllowThreads(__tstate
);
13445 if (PyErr_Occurred()) SWIG_fail
;
13447 resultobj
= SWIG_Py_Void();
13454 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13455 PyObject
*resultobj
= 0;
13456 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13460 PyObject
*swig_obj
[1] ;
13462 if (!args
) SWIG_fail
;
13463 swig_obj
[0] = args
;
13464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13465 if (!SWIG_IsOK(res1
)) {
13466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13468 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13471 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13472 wxPyEndAllowThreads(__tstate
);
13473 if (PyErr_Occurred()) SWIG_fail
;
13476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13484 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13485 PyObject
*resultobj
= 0;
13486 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13490 PyObject
*swig_obj
[1] ;
13492 if (!args
) SWIG_fail
;
13493 swig_obj
[0] = args
;
13494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13495 if (!SWIG_IsOK(res1
)) {
13496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13498 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13501 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13502 wxPyEndAllowThreads(__tstate
);
13503 if (PyErr_Occurred()) SWIG_fail
;
13506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13514 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13515 PyObject
*resultobj
= 0;
13516 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_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13528 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13531 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13532 wxPyEndAllowThreads(__tstate
);
13533 if (PyErr_Occurred()) SWIG_fail
;
13536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13544 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13545 PyObject
*resultobj
= 0;
13546 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13549 PyObject
*swig_obj
[1] ;
13551 if (!args
) SWIG_fail
;
13552 swig_obj
[0] = args
;
13553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13554 if (!SWIG_IsOK(res1
)) {
13555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13557 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13561 wxPyEndAllowThreads(__tstate
);
13562 if (PyErr_Occurred()) SWIG_fail
;
13564 resultobj
= SWIG_Py_Void();
13571 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13572 PyObject
*resultobj
= 0;
13573 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13576 PyObject
*swig_obj
[1] ;
13578 if (!args
) SWIG_fail
;
13579 swig_obj
[0] = args
;
13580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13581 if (!SWIG_IsOK(res1
)) {
13582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13584 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13588 wxPyEndAllowThreads(__tstate
);
13589 if (PyErr_Occurred()) SWIG_fail
;
13591 resultobj
= SWIG_Py_Void();
13598 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13599 PyObject
*resultobj
= 0;
13600 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13604 PyObject
*swig_obj
[1] ;
13606 if (!args
) SWIG_fail
;
13607 swig_obj
[0] = args
;
13608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13609 if (!SWIG_IsOK(res1
)) {
13610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13612 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13615 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13616 wxPyEndAllowThreads(__tstate
);
13617 if (PyErr_Occurred()) SWIG_fail
;
13620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13628 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13629 PyObject
*resultobj
= 0;
13630 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13634 PyObject
*swig_obj
[1] ;
13636 if (!args
) SWIG_fail
;
13637 swig_obj
[0] = args
;
13638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13639 if (!SWIG_IsOK(res1
)) {
13640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13642 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13645 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13646 wxPyEndAllowThreads(__tstate
);
13647 if (PyErr_Occurred()) SWIG_fail
;
13650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13658 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13659 PyObject
*resultobj
= 0;
13660 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13666 PyObject
* obj0
= 0 ;
13667 PyObject
* obj1
= 0 ;
13668 char * kwnames
[] = {
13669 (char *) "self",(char *) "pos", NULL
13672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13674 if (!SWIG_IsOK(res1
)) {
13675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13677 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13678 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13679 if (!SWIG_IsOK(ecode2
)) {
13680 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13682 arg2
= static_cast< long >(val2
);
13684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13685 (arg1
)->SetInsertionPoint(arg2
);
13686 wxPyEndAllowThreads(__tstate
);
13687 if (PyErr_Occurred()) SWIG_fail
;
13689 resultobj
= SWIG_Py_Void();
13696 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13697 PyObject
*resultobj
= 0;
13698 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_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13709 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13712 (arg1
)->SetInsertionPointEnd();
13713 wxPyEndAllowThreads(__tstate
);
13714 if (PyErr_Occurred()) SWIG_fail
;
13716 resultobj
= SWIG_Py_Void();
13723 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13724 PyObject
*resultobj
= 0;
13725 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13729 PyObject
*swig_obj
[1] ;
13731 if (!args
) SWIG_fail
;
13732 swig_obj
[0] = args
;
13733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13734 if (!SWIG_IsOK(res1
)) {
13735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13737 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13740 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13741 wxPyEndAllowThreads(__tstate
);
13742 if (PyErr_Occurred()) SWIG_fail
;
13744 resultobj
= SWIG_From_long(static_cast< long >(result
));
13751 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13752 PyObject
*resultobj
= 0;
13753 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13757 PyObject
*swig_obj
[1] ;
13759 if (!args
) SWIG_fail
;
13760 swig_obj
[0] = args
;
13761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13762 if (!SWIG_IsOK(res1
)) {
13763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13765 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13768 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13769 wxPyEndAllowThreads(__tstate
);
13770 if (PyErr_Occurred()) SWIG_fail
;
13772 resultobj
= SWIG_From_long(static_cast< long >(result
));
13779 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13780 PyObject
*resultobj
= 0;
13781 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13790 PyObject
* obj0
= 0 ;
13791 PyObject
* obj1
= 0 ;
13792 PyObject
* obj2
= 0 ;
13793 char * kwnames
[] = {
13794 (char *) "self",(char *) "from",(char *) "to", NULL
13797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13799 if (!SWIG_IsOK(res1
)) {
13800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13802 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13803 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13804 if (!SWIG_IsOK(ecode2
)) {
13805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13807 arg2
= static_cast< long >(val2
);
13808 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13809 if (!SWIG_IsOK(ecode3
)) {
13810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13812 arg3
= static_cast< long >(val3
);
13814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13815 (arg1
)->SetSelection(arg2
,arg3
);
13816 wxPyEndAllowThreads(__tstate
);
13817 if (PyErr_Occurred()) SWIG_fail
;
13819 resultobj
= SWIG_Py_Void();
13826 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13827 PyObject
*resultobj
= 0;
13828 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13831 PyObject
*swig_obj
[1] ;
13833 if (!args
) SWIG_fail
;
13834 swig_obj
[0] = args
;
13835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13836 if (!SWIG_IsOK(res1
)) {
13837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13839 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13842 (arg1
)->SelectAll();
13843 wxPyEndAllowThreads(__tstate
);
13844 if (PyErr_Occurred()) SWIG_fail
;
13846 resultobj
= SWIG_Py_Void();
13853 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13854 PyObject
*resultobj
= 0;
13855 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13861 PyObject
* obj0
= 0 ;
13862 PyObject
* obj1
= 0 ;
13863 char * kwnames
[] = {
13864 (char *) "self",(char *) "editable", NULL
13867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13869 if (!SWIG_IsOK(res1
)) {
13870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13872 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13873 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13874 if (!SWIG_IsOK(ecode2
)) {
13875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13877 arg2
= static_cast< bool >(val2
);
13879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13880 (arg1
)->SetEditable(arg2
);
13881 wxPyEndAllowThreads(__tstate
);
13882 if (PyErr_Occurred()) SWIG_fail
;
13884 resultobj
= SWIG_Py_Void();
13891 SWIGINTERN PyObject
*_wrap_TextCtrl_SendTextUpdatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13892 PyObject
*resultobj
= 0;
13893 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13896 PyObject
*swig_obj
[1] ;
13898 if (!args
) SWIG_fail
;
13899 swig_obj
[0] = args
;
13900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13901 if (!SWIG_IsOK(res1
)) {
13902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13904 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13907 (arg1
)->SendTextUpdatedEvent();
13908 wxPyEndAllowThreads(__tstate
);
13909 if (PyErr_Occurred()) SWIG_fail
;
13911 resultobj
= SWIG_Py_Void();
13918 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13919 PyObject
*resultobj
= 0;
13920 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13921 wxString
*arg2
= 0 ;
13924 bool temp2
= false ;
13925 PyObject
* obj0
= 0 ;
13926 PyObject
* obj1
= 0 ;
13927 char * kwnames
[] = {
13928 (char *) "self",(char *) "text", NULL
13931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13933 if (!SWIG_IsOK(res1
)) {
13934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13936 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13938 arg2
= wxString_in_helper(obj1
);
13939 if (arg2
== NULL
) SWIG_fail
;
13943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13944 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13945 wxPyEndAllowThreads(__tstate
);
13946 if (PyErr_Occurred()) SWIG_fail
;
13948 resultobj
= SWIG_Py_Void();
13963 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13964 PyObject
*resultobj
= 0;
13965 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13975 PyObject
* obj0
= 0 ;
13976 PyObject
* obj1
= 0 ;
13977 PyObject
* obj2
= 0 ;
13978 char * kwnames
[] = {
13979 (char *) "self",(char *) "from",(char *) "to", NULL
13982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13984 if (!SWIG_IsOK(res1
)) {
13985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13987 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13988 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13989 if (!SWIG_IsOK(ecode2
)) {
13990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13992 arg2
= static_cast< long >(val2
);
13993 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13994 if (!SWIG_IsOK(ecode3
)) {
13995 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13997 arg3
= static_cast< long >(val3
);
13999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14000 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
14001 wxPyEndAllowThreads(__tstate
);
14002 if (PyErr_Occurred()) SWIG_fail
;
14006 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14008 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14017 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14018 PyObject
*resultobj
= 0;
14019 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14020 SwigValueWrapper
<wxVisualAttributes
> result
;
14023 PyObject
* obj0
= 0 ;
14024 char * kwnames
[] = {
14025 (char *) "variant", NULL
14028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14030 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14031 if (!SWIG_IsOK(ecode1
)) {
14032 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14034 arg1
= static_cast< wxWindowVariant
>(val1
);
14037 if (!wxPyCheckForApp()) SWIG_fail
;
14038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14039 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
14040 wxPyEndAllowThreads(__tstate
);
14041 if (PyErr_Occurred()) SWIG_fail
;
14043 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14050 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14052 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14053 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
14054 return SWIG_Py_Void();
14057 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14058 return SWIG_Python_InitShadowInstance(args
);
14061 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14062 PyObject
*resultobj
= 0;
14064 wxMouseEvent
*arg2
= 0 ;
14067 wxTextUrlEvent
*result
= 0 ;
14076 PyObject
* obj0
= 0 ;
14077 PyObject
* obj1
= 0 ;
14078 PyObject
* obj2
= 0 ;
14079 PyObject
* obj3
= 0 ;
14080 char * kwnames
[] = {
14081 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14085 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14086 if (!SWIG_IsOK(ecode1
)) {
14087 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14089 arg1
= static_cast< int >(val1
);
14090 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14091 if (!SWIG_IsOK(res2
)) {
14092 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14095 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14097 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
14098 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14099 if (!SWIG_IsOK(ecode3
)) {
14100 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14102 arg3
= static_cast< long >(val3
);
14103 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
14104 if (!SWIG_IsOK(ecode4
)) {
14105 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14107 arg4
= static_cast< long >(val4
);
14109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14110 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
14111 wxPyEndAllowThreads(__tstate
);
14112 if (PyErr_Occurred()) SWIG_fail
;
14114 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
14121 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14122 PyObject
*resultobj
= 0;
14123 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14124 wxMouseEvent
*result
= 0 ;
14127 PyObject
*swig_obj
[1] ;
14129 if (!args
) SWIG_fail
;
14130 swig_obj
[0] = args
;
14131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14132 if (!SWIG_IsOK(res1
)) {
14133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14135 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14139 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14140 result
= (wxMouseEvent
*) &_result_ref
;
14142 wxPyEndAllowThreads(__tstate
);
14143 if (PyErr_Occurred()) SWIG_fail
;
14145 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14152 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14153 PyObject
*resultobj
= 0;
14154 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14158 PyObject
*swig_obj
[1] ;
14160 if (!args
) SWIG_fail
;
14161 swig_obj
[0] = args
;
14162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14163 if (!SWIG_IsOK(res1
)) {
14164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14166 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14169 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14170 wxPyEndAllowThreads(__tstate
);
14171 if (PyErr_Occurred()) SWIG_fail
;
14173 resultobj
= SWIG_From_long(static_cast< long >(result
));
14180 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14181 PyObject
*resultobj
= 0;
14182 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14186 PyObject
*swig_obj
[1] ;
14188 if (!args
) SWIG_fail
;
14189 swig_obj
[0] = args
;
14190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14191 if (!SWIG_IsOK(res1
)) {
14192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14194 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14197 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14198 wxPyEndAllowThreads(__tstate
);
14199 if (PyErr_Occurred()) SWIG_fail
;
14201 resultobj
= SWIG_From_long(static_cast< long >(result
));
14208 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14210 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14211 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14212 return SWIG_Py_Void();
14215 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14216 return SWIG_Python_InitShadowInstance(args
);
14219 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14220 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14225 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14226 PyObject
*pyobj
= 0;
14230 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14232 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14239 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14240 PyObject
*resultobj
= 0;
14241 wxWindow
*arg1
= (wxWindow
*) 0 ;
14242 int arg2
= (int) -1 ;
14243 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14244 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14245 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14246 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14247 long arg5
= (long) wxSB_HORIZONTAL
;
14248 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14249 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14250 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14251 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14252 wxScrollBar
*result
= 0 ;
14263 bool temp7
= false ;
14264 PyObject
* obj0
= 0 ;
14265 PyObject
* obj1
= 0 ;
14266 PyObject
* obj2
= 0 ;
14267 PyObject
* obj3
= 0 ;
14268 PyObject
* obj4
= 0 ;
14269 PyObject
* obj5
= 0 ;
14270 PyObject
* obj6
= 0 ;
14271 char * kwnames
[] = {
14272 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14277 if (!SWIG_IsOK(res1
)) {
14278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14280 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14283 if (!SWIG_IsOK(ecode2
)) {
14284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14286 arg2
= static_cast< int >(val2
);
14291 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14297 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14301 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14302 if (!SWIG_IsOK(ecode5
)) {
14303 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14305 arg5
= static_cast< long >(val5
);
14308 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14309 if (!SWIG_IsOK(res6
)) {
14310 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14313 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14315 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14319 arg7
= wxString_in_helper(obj6
);
14320 if (arg7
== NULL
) SWIG_fail
;
14325 if (!wxPyCheckForApp()) SWIG_fail
;
14326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14327 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14328 wxPyEndAllowThreads(__tstate
);
14329 if (PyErr_Occurred()) SWIG_fail
;
14331 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14346 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14347 PyObject
*resultobj
= 0;
14348 wxScrollBar
*result
= 0 ;
14350 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14352 if (!wxPyCheckForApp()) SWIG_fail
;
14353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14354 result
= (wxScrollBar
*)new wxScrollBar();
14355 wxPyEndAllowThreads(__tstate
);
14356 if (PyErr_Occurred()) SWIG_fail
;
14358 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14365 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14366 PyObject
*resultobj
= 0;
14367 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14368 wxWindow
*arg2
= (wxWindow
*) 0 ;
14369 int arg3
= (int) -1 ;
14370 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14371 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14372 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14373 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14374 long arg6
= (long) wxSB_HORIZONTAL
;
14375 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14376 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14377 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14378 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14392 bool temp8
= false ;
14393 PyObject
* obj0
= 0 ;
14394 PyObject
* obj1
= 0 ;
14395 PyObject
* obj2
= 0 ;
14396 PyObject
* obj3
= 0 ;
14397 PyObject
* obj4
= 0 ;
14398 PyObject
* obj5
= 0 ;
14399 PyObject
* obj6
= 0 ;
14400 PyObject
* obj7
= 0 ;
14401 char * kwnames
[] = {
14402 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14407 if (!SWIG_IsOK(res1
)) {
14408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14410 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14411 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14412 if (!SWIG_IsOK(res2
)) {
14413 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14415 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14417 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14418 if (!SWIG_IsOK(ecode3
)) {
14419 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14421 arg3
= static_cast< int >(val3
);
14426 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14432 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14436 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14437 if (!SWIG_IsOK(ecode6
)) {
14438 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14440 arg6
= static_cast< long >(val6
);
14443 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14444 if (!SWIG_IsOK(res7
)) {
14445 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14448 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14450 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14454 arg8
= wxString_in_helper(obj7
);
14455 if (arg8
== NULL
) SWIG_fail
;
14460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14461 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14462 wxPyEndAllowThreads(__tstate
);
14463 if (PyErr_Occurred()) SWIG_fail
;
14466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14482 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14483 PyObject
*resultobj
= 0;
14484 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14488 PyObject
*swig_obj
[1] ;
14490 if (!args
) SWIG_fail
;
14491 swig_obj
[0] = args
;
14492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14493 if (!SWIG_IsOK(res1
)) {
14494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14496 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14499 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14500 wxPyEndAllowThreads(__tstate
);
14501 if (PyErr_Occurred()) SWIG_fail
;
14503 resultobj
= SWIG_From_int(static_cast< int >(result
));
14510 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14511 PyObject
*resultobj
= 0;
14512 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14516 PyObject
*swig_obj
[1] ;
14518 if (!args
) SWIG_fail
;
14519 swig_obj
[0] = args
;
14520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14521 if (!SWIG_IsOK(res1
)) {
14522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14524 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14527 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14528 wxPyEndAllowThreads(__tstate
);
14529 if (PyErr_Occurred()) SWIG_fail
;
14531 resultobj
= SWIG_From_int(static_cast< int >(result
));
14538 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14539 PyObject
*resultobj
= 0;
14540 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14544 PyObject
*swig_obj
[1] ;
14546 if (!args
) SWIG_fail
;
14547 swig_obj
[0] = args
;
14548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14549 if (!SWIG_IsOK(res1
)) {
14550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14552 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14555 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14556 wxPyEndAllowThreads(__tstate
);
14557 if (PyErr_Occurred()) SWIG_fail
;
14559 resultobj
= SWIG_From_int(static_cast< int >(result
));
14566 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14567 PyObject
*resultobj
= 0;
14568 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14572 PyObject
*swig_obj
[1] ;
14574 if (!args
) SWIG_fail
;
14575 swig_obj
[0] = args
;
14576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14577 if (!SWIG_IsOK(res1
)) {
14578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14580 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14583 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14584 wxPyEndAllowThreads(__tstate
);
14585 if (PyErr_Occurred()) SWIG_fail
;
14587 resultobj
= SWIG_From_int(static_cast< int >(result
));
14594 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14595 PyObject
*resultobj
= 0;
14596 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14600 PyObject
*swig_obj
[1] ;
14602 if (!args
) SWIG_fail
;
14603 swig_obj
[0] = args
;
14604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14605 if (!SWIG_IsOK(res1
)) {
14606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14608 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14611 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14612 wxPyEndAllowThreads(__tstate
);
14613 if (PyErr_Occurred()) SWIG_fail
;
14616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14624 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14625 PyObject
*resultobj
= 0;
14626 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14632 PyObject
* obj0
= 0 ;
14633 PyObject
* obj1
= 0 ;
14634 char * kwnames
[] = {
14635 (char *) "self",(char *) "viewStart", NULL
14638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14640 if (!SWIG_IsOK(res1
)) {
14641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14643 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14644 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14645 if (!SWIG_IsOK(ecode2
)) {
14646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14648 arg2
= static_cast< int >(val2
);
14650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14651 (arg1
)->SetThumbPosition(arg2
);
14652 wxPyEndAllowThreads(__tstate
);
14653 if (PyErr_Occurred()) SWIG_fail
;
14655 resultobj
= SWIG_Py_Void();
14662 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14663 PyObject
*resultobj
= 0;
14664 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14665 SwigValueWrapper
<wxVisualAttributes
> result
;
14668 PyObject
* obj0
= 0 ;
14669 char * kwnames
[] = {
14670 (char *) "variant", NULL
14673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14675 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14676 if (!SWIG_IsOK(ecode1
)) {
14677 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14679 arg1
= static_cast< wxWindowVariant
>(val1
);
14682 if (!wxPyCheckForApp()) SWIG_fail
;
14683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14684 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14685 wxPyEndAllowThreads(__tstate
);
14686 if (PyErr_Occurred()) SWIG_fail
;
14688 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14695 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14697 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14698 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14699 return SWIG_Py_Void();
14702 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14703 return SWIG_Python_InitShadowInstance(args
);
14706 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14707 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14712 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14713 PyObject
*pyobj
= 0;
14717 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14719 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14726 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14727 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14732 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14733 PyObject
*pyobj
= 0;
14737 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14739 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14746 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14747 PyObject
*resultobj
= 0;
14748 wxWindow
*arg1
= (wxWindow
*) 0 ;
14749 int arg2
= (int) -1 ;
14750 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14751 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14752 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14753 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14754 long arg5
= (long) wxSP_HORIZONTAL
;
14755 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14756 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14757 wxSpinButton
*result
= 0 ;
14766 bool temp6
= false ;
14767 PyObject
* obj0
= 0 ;
14768 PyObject
* obj1
= 0 ;
14769 PyObject
* obj2
= 0 ;
14770 PyObject
* obj3
= 0 ;
14771 PyObject
* obj4
= 0 ;
14772 PyObject
* obj5
= 0 ;
14773 char * kwnames
[] = {
14774 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14779 if (!SWIG_IsOK(res1
)) {
14780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14782 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14784 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14785 if (!SWIG_IsOK(ecode2
)) {
14786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14788 arg2
= static_cast< int >(val2
);
14793 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14799 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14803 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14804 if (!SWIG_IsOK(ecode5
)) {
14805 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14807 arg5
= static_cast< long >(val5
);
14811 arg6
= wxString_in_helper(obj5
);
14812 if (arg6
== NULL
) SWIG_fail
;
14817 if (!wxPyCheckForApp()) SWIG_fail
;
14818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14819 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14820 wxPyEndAllowThreads(__tstate
);
14821 if (PyErr_Occurred()) SWIG_fail
;
14823 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14838 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14839 PyObject
*resultobj
= 0;
14840 wxSpinButton
*result
= 0 ;
14842 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14844 if (!wxPyCheckForApp()) SWIG_fail
;
14845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14846 result
= (wxSpinButton
*)new wxSpinButton();
14847 wxPyEndAllowThreads(__tstate
);
14848 if (PyErr_Occurred()) SWIG_fail
;
14850 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14857 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14858 PyObject
*resultobj
= 0;
14859 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14860 wxWindow
*arg2
= (wxWindow
*) 0 ;
14861 int arg3
= (int) -1 ;
14862 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14863 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14864 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14865 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14866 long arg6
= (long) wxSP_HORIZONTAL
;
14867 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14868 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14880 bool temp7
= false ;
14881 PyObject
* obj0
= 0 ;
14882 PyObject
* obj1
= 0 ;
14883 PyObject
* obj2
= 0 ;
14884 PyObject
* obj3
= 0 ;
14885 PyObject
* obj4
= 0 ;
14886 PyObject
* obj5
= 0 ;
14887 PyObject
* obj6
= 0 ;
14888 char * kwnames
[] = {
14889 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14894 if (!SWIG_IsOK(res1
)) {
14895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14897 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14898 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14899 if (!SWIG_IsOK(res2
)) {
14900 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14902 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14904 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14905 if (!SWIG_IsOK(ecode3
)) {
14906 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14908 arg3
= static_cast< int >(val3
);
14913 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14919 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14923 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14924 if (!SWIG_IsOK(ecode6
)) {
14925 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14927 arg6
= static_cast< long >(val6
);
14931 arg7
= wxString_in_helper(obj6
);
14932 if (arg7
== NULL
) SWIG_fail
;
14937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14938 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14939 wxPyEndAllowThreads(__tstate
);
14940 if (PyErr_Occurred()) SWIG_fail
;
14943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14959 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14960 PyObject
*resultobj
= 0;
14961 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14965 PyObject
*swig_obj
[1] ;
14967 if (!args
) SWIG_fail
;
14968 swig_obj
[0] = args
;
14969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14970 if (!SWIG_IsOK(res1
)) {
14971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14973 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14976 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14977 wxPyEndAllowThreads(__tstate
);
14978 if (PyErr_Occurred()) SWIG_fail
;
14980 resultobj
= SWIG_From_int(static_cast< int >(result
));
14987 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14988 PyObject
*resultobj
= 0;
14989 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14993 PyObject
*swig_obj
[1] ;
14995 if (!args
) SWIG_fail
;
14996 swig_obj
[0] = args
;
14997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14998 if (!SWIG_IsOK(res1
)) {
14999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15001 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15004 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
15005 wxPyEndAllowThreads(__tstate
);
15006 if (PyErr_Occurred()) SWIG_fail
;
15008 resultobj
= SWIG_From_int(static_cast< int >(result
));
15015 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15016 PyObject
*resultobj
= 0;
15017 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15021 PyObject
*swig_obj
[1] ;
15023 if (!args
) SWIG_fail
;
15024 swig_obj
[0] = args
;
15025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15026 if (!SWIG_IsOK(res1
)) {
15027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15029 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15032 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
15033 wxPyEndAllowThreads(__tstate
);
15034 if (PyErr_Occurred()) SWIG_fail
;
15036 resultobj
= SWIG_From_int(static_cast< int >(result
));
15043 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15044 PyObject
*resultobj
= 0;
15045 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15051 PyObject
* obj0
= 0 ;
15052 PyObject
* obj1
= 0 ;
15053 char * kwnames
[] = {
15054 (char *) "self",(char *) "val", NULL
15057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15059 if (!SWIG_IsOK(res1
)) {
15060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15062 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15064 if (!SWIG_IsOK(ecode2
)) {
15065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15067 arg2
= static_cast< int >(val2
);
15069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15070 (arg1
)->SetValue(arg2
);
15071 wxPyEndAllowThreads(__tstate
);
15072 if (PyErr_Occurred()) SWIG_fail
;
15074 resultobj
= SWIG_Py_Void();
15081 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15082 PyObject
*resultobj
= 0;
15083 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15089 PyObject
* obj0
= 0 ;
15090 PyObject
* obj1
= 0 ;
15091 char * kwnames
[] = {
15092 (char *) "self",(char *) "minVal", NULL
15095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15097 if (!SWIG_IsOK(res1
)) {
15098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15100 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15102 if (!SWIG_IsOK(ecode2
)) {
15103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15105 arg2
= static_cast< int >(val2
);
15107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15108 (arg1
)->SetMin(arg2
);
15109 wxPyEndAllowThreads(__tstate
);
15110 if (PyErr_Occurred()) SWIG_fail
;
15112 resultobj
= SWIG_Py_Void();
15119 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15120 PyObject
*resultobj
= 0;
15121 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15127 PyObject
* obj0
= 0 ;
15128 PyObject
* obj1
= 0 ;
15129 char * kwnames
[] = {
15130 (char *) "self",(char *) "maxVal", NULL
15133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15135 if (!SWIG_IsOK(res1
)) {
15136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15138 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15140 if (!SWIG_IsOK(ecode2
)) {
15141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15143 arg2
= static_cast< int >(val2
);
15145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15146 (arg1
)->SetMax(arg2
);
15147 wxPyEndAllowThreads(__tstate
);
15148 if (PyErr_Occurred()) SWIG_fail
;
15150 resultobj
= SWIG_Py_Void();
15157 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15158 PyObject
*resultobj
= 0;
15159 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15168 PyObject
* obj0
= 0 ;
15169 PyObject
* obj1
= 0 ;
15170 PyObject
* obj2
= 0 ;
15171 char * kwnames
[] = {
15172 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15177 if (!SWIG_IsOK(res1
)) {
15178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15180 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15181 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15182 if (!SWIG_IsOK(ecode2
)) {
15183 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15185 arg2
= static_cast< int >(val2
);
15186 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15187 if (!SWIG_IsOK(ecode3
)) {
15188 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15190 arg3
= static_cast< int >(val3
);
15192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15193 (arg1
)->SetRange(arg2
,arg3
);
15194 wxPyEndAllowThreads(__tstate
);
15195 if (PyErr_Occurred()) SWIG_fail
;
15197 resultobj
= SWIG_Py_Void();
15204 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15205 PyObject
*resultobj
= 0;
15206 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15210 PyObject
*swig_obj
[1] ;
15212 if (!args
) SWIG_fail
;
15213 swig_obj
[0] = args
;
15214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15215 if (!SWIG_IsOK(res1
)) {
15216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15218 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15221 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15222 wxPyEndAllowThreads(__tstate
);
15223 if (PyErr_Occurred()) SWIG_fail
;
15226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15234 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15235 PyObject
*resultobj
= 0;
15236 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15237 SwigValueWrapper
<wxVisualAttributes
> result
;
15240 PyObject
* obj0
= 0 ;
15241 char * kwnames
[] = {
15242 (char *) "variant", NULL
15245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15247 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15248 if (!SWIG_IsOK(ecode1
)) {
15249 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15251 arg1
= static_cast< wxWindowVariant
>(val1
);
15254 if (!wxPyCheckForApp()) SWIG_fail
;
15255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15256 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15257 wxPyEndAllowThreads(__tstate
);
15258 if (PyErr_Occurred()) SWIG_fail
;
15260 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15267 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15269 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15270 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15271 return SWIG_Py_Void();
15274 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15275 return SWIG_Python_InitShadowInstance(args
);
15278 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15279 PyObject
*resultobj
= 0;
15280 wxWindow
*arg1
= (wxWindow
*) 0 ;
15281 int arg2
= (int) -1 ;
15282 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15283 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15284 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15285 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15286 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15287 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15288 long arg6
= (long) wxSP_ARROW_KEYS
;
15289 int arg7
= (int) 0 ;
15290 int arg8
= (int) 100 ;
15291 int arg9
= (int) 0 ;
15292 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15293 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15294 wxSpinCtrl
*result
= 0 ;
15299 bool temp3
= false ;
15310 bool temp10
= false ;
15311 PyObject
* obj0
= 0 ;
15312 PyObject
* obj1
= 0 ;
15313 PyObject
* obj2
= 0 ;
15314 PyObject
* obj3
= 0 ;
15315 PyObject
* obj4
= 0 ;
15316 PyObject
* obj5
= 0 ;
15317 PyObject
* obj6
= 0 ;
15318 PyObject
* obj7
= 0 ;
15319 PyObject
* obj8
= 0 ;
15320 PyObject
* obj9
= 0 ;
15321 char * kwnames
[] = {
15322 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15327 if (!SWIG_IsOK(res1
)) {
15328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15330 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15333 if (!SWIG_IsOK(ecode2
)) {
15334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15336 arg2
= static_cast< int >(val2
);
15340 arg3
= wxString_in_helper(obj2
);
15341 if (arg3
== NULL
) SWIG_fail
;
15348 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15354 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15358 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15359 if (!SWIG_IsOK(ecode6
)) {
15360 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15362 arg6
= static_cast< long >(val6
);
15365 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15366 if (!SWIG_IsOK(ecode7
)) {
15367 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15369 arg7
= static_cast< int >(val7
);
15372 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15373 if (!SWIG_IsOK(ecode8
)) {
15374 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15376 arg8
= static_cast< int >(val8
);
15379 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15380 if (!SWIG_IsOK(ecode9
)) {
15381 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15383 arg9
= static_cast< int >(val9
);
15387 arg10
= wxString_in_helper(obj9
);
15388 if (arg10
== NULL
) SWIG_fail
;
15393 if (!wxPyCheckForApp()) SWIG_fail
;
15394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15395 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15396 wxPyEndAllowThreads(__tstate
);
15397 if (PyErr_Occurred()) SWIG_fail
;
15399 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15422 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15423 PyObject
*resultobj
= 0;
15424 wxSpinCtrl
*result
= 0 ;
15426 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15428 if (!wxPyCheckForApp()) SWIG_fail
;
15429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15430 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15431 wxPyEndAllowThreads(__tstate
);
15432 if (PyErr_Occurred()) SWIG_fail
;
15434 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15441 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15442 PyObject
*resultobj
= 0;
15443 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15444 wxWindow
*arg2
= (wxWindow
*) 0 ;
15445 int arg3
= (int) -1 ;
15446 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15447 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15448 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15449 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15450 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15451 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15452 long arg7
= (long) wxSP_ARROW_KEYS
;
15453 int arg8
= (int) 0 ;
15454 int arg9
= (int) 100 ;
15455 int arg10
= (int) 0 ;
15456 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15457 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15465 bool temp4
= false ;
15476 bool temp11
= false ;
15477 PyObject
* obj0
= 0 ;
15478 PyObject
* obj1
= 0 ;
15479 PyObject
* obj2
= 0 ;
15480 PyObject
* obj3
= 0 ;
15481 PyObject
* obj4
= 0 ;
15482 PyObject
* obj5
= 0 ;
15483 PyObject
* obj6
= 0 ;
15484 PyObject
* obj7
= 0 ;
15485 PyObject
* obj8
= 0 ;
15486 PyObject
* obj9
= 0 ;
15487 PyObject
* obj10
= 0 ;
15488 char * kwnames
[] = {
15489 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15494 if (!SWIG_IsOK(res1
)) {
15495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15497 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15498 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15499 if (!SWIG_IsOK(res2
)) {
15500 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15502 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15504 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15505 if (!SWIG_IsOK(ecode3
)) {
15506 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15508 arg3
= static_cast< int >(val3
);
15512 arg4
= wxString_in_helper(obj3
);
15513 if (arg4
== NULL
) SWIG_fail
;
15520 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15526 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15530 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15531 if (!SWIG_IsOK(ecode7
)) {
15532 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15534 arg7
= static_cast< long >(val7
);
15537 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15538 if (!SWIG_IsOK(ecode8
)) {
15539 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15541 arg8
= static_cast< int >(val8
);
15544 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15545 if (!SWIG_IsOK(ecode9
)) {
15546 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15548 arg9
= static_cast< int >(val9
);
15551 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15552 if (!SWIG_IsOK(ecode10
)) {
15553 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15555 arg10
= static_cast< int >(val10
);
15559 arg11
= wxString_in_helper(obj10
);
15560 if (arg11
== NULL
) SWIG_fail
;
15565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15566 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15567 wxPyEndAllowThreads(__tstate
);
15568 if (PyErr_Occurred()) SWIG_fail
;
15571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15595 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15596 PyObject
*resultobj
= 0;
15597 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15601 PyObject
*swig_obj
[1] ;
15603 if (!args
) SWIG_fail
;
15604 swig_obj
[0] = args
;
15605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15606 if (!SWIG_IsOK(res1
)) {
15607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15609 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15612 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15613 wxPyEndAllowThreads(__tstate
);
15614 if (PyErr_Occurred()) SWIG_fail
;
15616 resultobj
= SWIG_From_int(static_cast< int >(result
));
15623 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15624 PyObject
*resultobj
= 0;
15625 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15631 PyObject
* obj0
= 0 ;
15632 PyObject
* obj1
= 0 ;
15633 char * kwnames
[] = {
15634 (char *) "self",(char *) "value", NULL
15637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15639 if (!SWIG_IsOK(res1
)) {
15640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15642 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15643 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15644 if (!SWIG_IsOK(ecode2
)) {
15645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15647 arg2
= static_cast< int >(val2
);
15649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15650 (arg1
)->SetValue(arg2
);
15651 wxPyEndAllowThreads(__tstate
);
15652 if (PyErr_Occurred()) SWIG_fail
;
15654 resultobj
= SWIG_Py_Void();
15661 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15662 PyObject
*resultobj
= 0;
15663 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15664 wxString
*arg2
= 0 ;
15667 bool temp2
= false ;
15668 PyObject
* obj0
= 0 ;
15669 PyObject
* obj1
= 0 ;
15670 char * kwnames
[] = {
15671 (char *) "self",(char *) "text", NULL
15674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15676 if (!SWIG_IsOK(res1
)) {
15677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15679 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15681 arg2
= wxString_in_helper(obj1
);
15682 if (arg2
== NULL
) SWIG_fail
;
15686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15687 (arg1
)->SetValue((wxString
const &)*arg2
);
15688 wxPyEndAllowThreads(__tstate
);
15689 if (PyErr_Occurred()) SWIG_fail
;
15691 resultobj
= SWIG_Py_Void();
15706 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15707 PyObject
*resultobj
= 0;
15708 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15717 PyObject
* obj0
= 0 ;
15718 PyObject
* obj1
= 0 ;
15719 PyObject
* obj2
= 0 ;
15720 char * kwnames
[] = {
15721 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15726 if (!SWIG_IsOK(res1
)) {
15727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15729 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15731 if (!SWIG_IsOK(ecode2
)) {
15732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15734 arg2
= static_cast< int >(val2
);
15735 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15736 if (!SWIG_IsOK(ecode3
)) {
15737 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15739 arg3
= static_cast< int >(val3
);
15741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15742 (arg1
)->SetRange(arg2
,arg3
);
15743 wxPyEndAllowThreads(__tstate
);
15744 if (PyErr_Occurred()) SWIG_fail
;
15746 resultobj
= SWIG_Py_Void();
15753 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15754 PyObject
*resultobj
= 0;
15755 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15759 PyObject
*swig_obj
[1] ;
15761 if (!args
) SWIG_fail
;
15762 swig_obj
[0] = args
;
15763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15764 if (!SWIG_IsOK(res1
)) {
15765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15767 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15770 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15771 wxPyEndAllowThreads(__tstate
);
15772 if (PyErr_Occurred()) SWIG_fail
;
15774 resultobj
= SWIG_From_int(static_cast< int >(result
));
15781 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15782 PyObject
*resultobj
= 0;
15783 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15787 PyObject
*swig_obj
[1] ;
15789 if (!args
) SWIG_fail
;
15790 swig_obj
[0] = args
;
15791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15792 if (!SWIG_IsOK(res1
)) {
15793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15795 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15798 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15799 wxPyEndAllowThreads(__tstate
);
15800 if (PyErr_Occurred()) SWIG_fail
;
15802 resultobj
= SWIG_From_int(static_cast< int >(result
));
15809 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15810 PyObject
*resultobj
= 0;
15811 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15820 PyObject
* obj0
= 0 ;
15821 PyObject
* obj1
= 0 ;
15822 PyObject
* obj2
= 0 ;
15823 char * kwnames
[] = {
15824 (char *) "self",(char *) "from",(char *) "to", NULL
15827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15829 if (!SWIG_IsOK(res1
)) {
15830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15832 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15833 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15834 if (!SWIG_IsOK(ecode2
)) {
15835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15837 arg2
= static_cast< long >(val2
);
15838 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15839 if (!SWIG_IsOK(ecode3
)) {
15840 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15842 arg3
= static_cast< long >(val3
);
15844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15845 (arg1
)->SetSelection(arg2
,arg3
);
15846 wxPyEndAllowThreads(__tstate
);
15847 if (PyErr_Occurred()) SWIG_fail
;
15849 resultobj
= SWIG_Py_Void();
15856 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15857 PyObject
*resultobj
= 0;
15858 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15859 SwigValueWrapper
<wxVisualAttributes
> result
;
15862 PyObject
* obj0
= 0 ;
15863 char * kwnames
[] = {
15864 (char *) "variant", NULL
15867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15869 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15870 if (!SWIG_IsOK(ecode1
)) {
15871 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15873 arg1
= static_cast< wxWindowVariant
>(val1
);
15876 if (!wxPyCheckForApp()) SWIG_fail
;
15877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15878 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15879 wxPyEndAllowThreads(__tstate
);
15880 if (PyErr_Occurred()) SWIG_fail
;
15882 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15889 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15891 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15892 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15893 return SWIG_Py_Void();
15896 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15897 return SWIG_Python_InitShadowInstance(args
);
15900 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15901 PyObject
*resultobj
= 0;
15902 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15903 int arg2
= (int) 0 ;
15904 wxSpinEvent
*result
= 0 ;
15909 PyObject
* obj0
= 0 ;
15910 PyObject
* obj1
= 0 ;
15911 char * kwnames
[] = {
15912 (char *) "commandType",(char *) "winid", NULL
15915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15917 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15918 if (!SWIG_IsOK(ecode1
)) {
15919 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15921 arg1
= static_cast< wxEventType
>(val1
);
15924 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15925 if (!SWIG_IsOK(ecode2
)) {
15926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15928 arg2
= static_cast< int >(val2
);
15931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15932 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15933 wxPyEndAllowThreads(__tstate
);
15934 if (PyErr_Occurred()) SWIG_fail
;
15936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15943 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15944 PyObject
*resultobj
= 0;
15945 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15949 PyObject
*swig_obj
[1] ;
15951 if (!args
) SWIG_fail
;
15952 swig_obj
[0] = args
;
15953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15954 if (!SWIG_IsOK(res1
)) {
15955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15957 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15960 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15961 wxPyEndAllowThreads(__tstate
);
15962 if (PyErr_Occurred()) SWIG_fail
;
15964 resultobj
= SWIG_From_int(static_cast< int >(result
));
15971 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15972 PyObject
*resultobj
= 0;
15973 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15979 PyObject
* obj0
= 0 ;
15980 PyObject
* obj1
= 0 ;
15981 char * kwnames
[] = {
15982 (char *) "self",(char *) "pos", NULL
15985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15987 if (!SWIG_IsOK(res1
)) {
15988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15990 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15991 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15992 if (!SWIG_IsOK(ecode2
)) {
15993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15995 arg2
= static_cast< int >(val2
);
15997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15998 (arg1
)->SetPosition(arg2
);
15999 wxPyEndAllowThreads(__tstate
);
16000 if (PyErr_Occurred()) SWIG_fail
;
16002 resultobj
= SWIG_Py_Void();
16009 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16011 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16012 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
16013 return SWIG_Py_Void();
16016 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16017 return SWIG_Python_InitShadowInstance(args
);
16020 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
16021 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
16026 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
16027 PyObject
*pyobj
= 0;
16031 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16033 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16040 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
16041 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
16046 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
16047 PyObject
*pyobj
= 0;
16051 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16053 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16060 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16061 PyObject
*resultobj
= 0;
16062 wxWindow
*arg1
= (wxWindow
*) 0 ;
16063 int arg2
= (int) -1 ;
16064 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16065 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16066 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16067 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16068 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16069 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16070 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
16071 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
16072 int arg7
= (int) 0 ;
16073 long arg8
= (long) wxRA_HORIZONTAL
;
16074 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
16075 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
16076 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
16077 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
16078 wxRadioBox
*result
= 0 ;
16083 bool temp3
= false ;
16086 bool temp6
= false ;
16093 bool temp10
= false ;
16094 PyObject
* obj0
= 0 ;
16095 PyObject
* obj1
= 0 ;
16096 PyObject
* obj2
= 0 ;
16097 PyObject
* obj3
= 0 ;
16098 PyObject
* obj4
= 0 ;
16099 PyObject
* obj5
= 0 ;
16100 PyObject
* obj6
= 0 ;
16101 PyObject
* obj7
= 0 ;
16102 PyObject
* obj8
= 0 ;
16103 PyObject
* obj9
= 0 ;
16104 char * kwnames
[] = {
16105 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
16109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16110 if (!SWIG_IsOK(res1
)) {
16111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16113 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16115 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16116 if (!SWIG_IsOK(ecode2
)) {
16117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16119 arg2
= static_cast< int >(val2
);
16123 arg3
= wxString_in_helper(obj2
);
16124 if (arg3
== NULL
) SWIG_fail
;
16131 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16137 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16142 if (! PySequence_Check(obj5
)) {
16143 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16146 arg6
= new wxArrayString
;
16148 int i
, len
=PySequence_Length(obj5
);
16149 for (i
=0; i
<len
; i
++) {
16150 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16151 wxString
* s
= wxString_in_helper(item
);
16152 if (PyErr_Occurred()) SWIG_fail
;
16160 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16161 if (!SWIG_IsOK(ecode7
)) {
16162 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16164 arg7
= static_cast< int >(val7
);
16167 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16168 if (!SWIG_IsOK(ecode8
)) {
16169 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16171 arg8
= static_cast< long >(val8
);
16174 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16175 if (!SWIG_IsOK(res9
)) {
16176 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16179 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16181 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16185 arg10
= wxString_in_helper(obj9
);
16186 if (arg10
== NULL
) SWIG_fail
;
16191 if (!wxPyCheckForApp()) SWIG_fail
;
16192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16193 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
);
16194 wxPyEndAllowThreads(__tstate
);
16195 if (PyErr_Occurred()) SWIG_fail
;
16197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16203 if (temp6
) delete arg6
;
16216 if (temp6
) delete arg6
;
16226 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16227 PyObject
*resultobj
= 0;
16228 wxRadioBox
*result
= 0 ;
16230 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16232 if (!wxPyCheckForApp()) SWIG_fail
;
16233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16234 result
= (wxRadioBox
*)new wxRadioBox();
16235 wxPyEndAllowThreads(__tstate
);
16236 if (PyErr_Occurred()) SWIG_fail
;
16238 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16245 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16246 PyObject
*resultobj
= 0;
16247 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16248 wxWindow
*arg2
= (wxWindow
*) 0 ;
16249 int arg3
= (int) -1 ;
16250 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16251 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16252 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16253 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16254 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16255 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16256 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16257 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16258 int arg8
= (int) 0 ;
16259 long arg9
= (long) wxRA_HORIZONTAL
;
16260 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16261 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16262 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16263 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16271 bool temp4
= false ;
16274 bool temp7
= false ;
16281 bool temp11
= false ;
16282 PyObject
* obj0
= 0 ;
16283 PyObject
* obj1
= 0 ;
16284 PyObject
* obj2
= 0 ;
16285 PyObject
* obj3
= 0 ;
16286 PyObject
* obj4
= 0 ;
16287 PyObject
* obj5
= 0 ;
16288 PyObject
* obj6
= 0 ;
16289 PyObject
* obj7
= 0 ;
16290 PyObject
* obj8
= 0 ;
16291 PyObject
* obj9
= 0 ;
16292 PyObject
* obj10
= 0 ;
16293 char * kwnames
[] = {
16294 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16299 if (!SWIG_IsOK(res1
)) {
16300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16302 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16303 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16304 if (!SWIG_IsOK(res2
)) {
16305 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16307 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16309 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16310 if (!SWIG_IsOK(ecode3
)) {
16311 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16313 arg3
= static_cast< int >(val3
);
16317 arg4
= wxString_in_helper(obj3
);
16318 if (arg4
== NULL
) SWIG_fail
;
16325 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16331 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16336 if (! PySequence_Check(obj6
)) {
16337 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16340 arg7
= new wxArrayString
;
16342 int i
, len
=PySequence_Length(obj6
);
16343 for (i
=0; i
<len
; i
++) {
16344 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16345 wxString
* s
= wxString_in_helper(item
);
16346 if (PyErr_Occurred()) SWIG_fail
;
16354 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16355 if (!SWIG_IsOK(ecode8
)) {
16356 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16358 arg8
= static_cast< int >(val8
);
16361 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16362 if (!SWIG_IsOK(ecode9
)) {
16363 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16365 arg9
= static_cast< long >(val9
);
16368 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16369 if (!SWIG_IsOK(res10
)) {
16370 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16373 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16375 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16379 arg11
= wxString_in_helper(obj10
);
16380 if (arg11
== NULL
) SWIG_fail
;
16385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16386 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
);
16387 wxPyEndAllowThreads(__tstate
);
16388 if (PyErr_Occurred()) SWIG_fail
;
16391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16398 if (temp7
) delete arg7
;
16411 if (temp7
) delete arg7
;
16421 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16422 PyObject
*resultobj
= 0;
16423 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16429 PyObject
* obj0
= 0 ;
16430 PyObject
* obj1
= 0 ;
16431 char * kwnames
[] = {
16432 (char *) "self",(char *) "n", NULL
16435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16437 if (!SWIG_IsOK(res1
)) {
16438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16440 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16442 if (!SWIG_IsOK(ecode2
)) {
16443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16445 arg2
= static_cast< int >(val2
);
16447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16448 (arg1
)->SetSelection(arg2
);
16449 wxPyEndAllowThreads(__tstate
);
16450 if (PyErr_Occurred()) SWIG_fail
;
16452 resultobj
= SWIG_Py_Void();
16459 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16460 PyObject
*resultobj
= 0;
16461 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16465 PyObject
*swig_obj
[1] ;
16467 if (!args
) SWIG_fail
;
16468 swig_obj
[0] = args
;
16469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16470 if (!SWIG_IsOK(res1
)) {
16471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16473 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16476 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16477 wxPyEndAllowThreads(__tstate
);
16478 if (PyErr_Occurred()) SWIG_fail
;
16480 resultobj
= SWIG_From_int(static_cast< int >(result
));
16487 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16488 PyObject
*resultobj
= 0;
16489 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16493 PyObject
*swig_obj
[1] ;
16495 if (!args
) SWIG_fail
;
16496 swig_obj
[0] = args
;
16497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16498 if (!SWIG_IsOK(res1
)) {
16499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16501 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16504 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16505 wxPyEndAllowThreads(__tstate
);
16506 if (PyErr_Occurred()) SWIG_fail
;
16510 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16512 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16521 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16522 PyObject
*resultobj
= 0;
16523 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16524 wxString
*arg2
= 0 ;
16528 bool temp2
= false ;
16529 PyObject
* obj0
= 0 ;
16530 PyObject
* obj1
= 0 ;
16531 char * kwnames
[] = {
16532 (char *) "self",(char *) "s", NULL
16535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16537 if (!SWIG_IsOK(res1
)) {
16538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16540 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16542 arg2
= wxString_in_helper(obj1
);
16543 if (arg2
== NULL
) SWIG_fail
;
16547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16548 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16549 wxPyEndAllowThreads(__tstate
);
16550 if (PyErr_Occurred()) SWIG_fail
;
16553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16569 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16570 PyObject
*resultobj
= 0;
16571 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16575 PyObject
*swig_obj
[1] ;
16577 if (!args
) SWIG_fail
;
16578 swig_obj
[0] = args
;
16579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16580 if (!SWIG_IsOK(res1
)) {
16581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16583 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16586 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16587 wxPyEndAllowThreads(__tstate
);
16588 if (PyErr_Occurred()) SWIG_fail
;
16590 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16597 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16598 PyObject
*resultobj
= 0;
16599 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16600 wxString
*arg2
= 0 ;
16604 bool temp2
= false ;
16605 PyObject
* obj0
= 0 ;
16606 PyObject
* obj1
= 0 ;
16607 char * kwnames
[] = {
16608 (char *) "self",(char *) "s", NULL
16611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16613 if (!SWIG_IsOK(res1
)) {
16614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16616 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16618 arg2
= wxString_in_helper(obj1
);
16619 if (arg2
== NULL
) SWIG_fail
;
16623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16624 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16625 wxPyEndAllowThreads(__tstate
);
16626 if (PyErr_Occurred()) SWIG_fail
;
16628 resultobj
= SWIG_From_int(static_cast< int >(result
));
16643 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16644 PyObject
*resultobj
= 0;
16645 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16652 PyObject
* obj0
= 0 ;
16653 PyObject
* obj1
= 0 ;
16654 char * kwnames
[] = {
16655 (char *) "self",(char *) "n", NULL
16658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16660 if (!SWIG_IsOK(res1
)) {
16661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16663 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16665 if (!SWIG_IsOK(ecode2
)) {
16666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16668 arg2
= static_cast< int >(val2
);
16670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16671 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16672 wxPyEndAllowThreads(__tstate
);
16673 if (PyErr_Occurred()) SWIG_fail
;
16677 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16679 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16688 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16689 PyObject
*resultobj
= 0;
16690 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16692 wxString
*arg3
= 0 ;
16697 bool temp3
= false ;
16698 PyObject
* obj0
= 0 ;
16699 PyObject
* obj1
= 0 ;
16700 PyObject
* obj2
= 0 ;
16701 char * kwnames
[] = {
16702 (char *) "self",(char *) "n",(char *) "label", NULL
16705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16707 if (!SWIG_IsOK(res1
)) {
16708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16710 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16711 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16712 if (!SWIG_IsOK(ecode2
)) {
16713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16715 arg2
= static_cast< int >(val2
);
16717 arg3
= wxString_in_helper(obj2
);
16718 if (arg3
== NULL
) SWIG_fail
;
16722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16723 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16724 wxPyEndAllowThreads(__tstate
);
16725 if (PyErr_Occurred()) SWIG_fail
;
16727 resultobj
= SWIG_Py_Void();
16742 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16743 PyObject
*resultobj
= 0;
16744 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16745 unsigned int arg2
;
16746 bool arg3
= (bool) true ;
16749 unsigned int val2
;
16753 PyObject
* obj0
= 0 ;
16754 PyObject
* obj1
= 0 ;
16755 PyObject
* obj2
= 0 ;
16756 char * kwnames
[] = {
16757 (char *) "self",(char *) "n",(char *) "enable", NULL
16760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16762 if (!SWIG_IsOK(res1
)) {
16763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16765 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16766 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16767 if (!SWIG_IsOK(ecode2
)) {
16768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16770 arg2
= static_cast< unsigned int >(val2
);
16772 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16773 if (!SWIG_IsOK(ecode3
)) {
16774 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16776 arg3
= static_cast< bool >(val3
);
16779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16780 (arg1
)->Enable(arg2
,arg3
);
16781 wxPyEndAllowThreads(__tstate
);
16782 if (PyErr_Occurred()) SWIG_fail
;
16784 resultobj
= SWIG_Py_Void();
16791 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16792 PyObject
*resultobj
= 0;
16793 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16794 unsigned int arg2
;
16795 bool arg3
= (bool) true ;
16798 unsigned int val2
;
16802 PyObject
* obj0
= 0 ;
16803 PyObject
* obj1
= 0 ;
16804 PyObject
* obj2
= 0 ;
16805 char * kwnames
[] = {
16806 (char *) "self",(char *) "n",(char *) "show", NULL
16809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16811 if (!SWIG_IsOK(res1
)) {
16812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16814 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16815 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16816 if (!SWIG_IsOK(ecode2
)) {
16817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16819 arg2
= static_cast< unsigned int >(val2
);
16821 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16822 if (!SWIG_IsOK(ecode3
)) {
16823 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16825 arg3
= static_cast< bool >(val3
);
16828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16829 (arg1
)->Show(arg2
,arg3
);
16830 wxPyEndAllowThreads(__tstate
);
16831 if (PyErr_Occurred()) SWIG_fail
;
16833 resultobj
= SWIG_Py_Void();
16840 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16841 PyObject
*resultobj
= 0;
16842 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16843 unsigned int arg2
;
16847 unsigned int val2
;
16849 PyObject
* obj0
= 0 ;
16850 PyObject
* obj1
= 0 ;
16851 char * kwnames
[] = {
16852 (char *) "self",(char *) "n", NULL
16855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16857 if (!SWIG_IsOK(res1
)) {
16858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16860 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16861 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16862 if (!SWIG_IsOK(ecode2
)) {
16863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16865 arg2
= static_cast< unsigned int >(val2
);
16867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16868 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16869 wxPyEndAllowThreads(__tstate
);
16870 if (PyErr_Occurred()) SWIG_fail
;
16873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16881 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16882 PyObject
*resultobj
= 0;
16883 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16884 unsigned int arg2
;
16888 unsigned int val2
;
16890 PyObject
* obj0
= 0 ;
16891 PyObject
* obj1
= 0 ;
16892 char * kwnames
[] = {
16893 (char *) "self",(char *) "n", NULL
16896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16898 if (!SWIG_IsOK(res1
)) {
16899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16901 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16902 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16903 if (!SWIG_IsOK(ecode2
)) {
16904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16906 arg2
= static_cast< unsigned int >(val2
);
16908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16909 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16910 wxPyEndAllowThreads(__tstate
);
16911 if (PyErr_Occurred()) SWIG_fail
;
16914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16922 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16923 PyObject
*resultobj
= 0;
16924 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16925 unsigned int result
;
16928 PyObject
*swig_obj
[1] ;
16930 if (!args
) SWIG_fail
;
16931 swig_obj
[0] = args
;
16932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16933 if (!SWIG_IsOK(res1
)) {
16934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16936 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16939 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16940 wxPyEndAllowThreads(__tstate
);
16941 if (PyErr_Occurred()) SWIG_fail
;
16943 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16950 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16951 PyObject
*resultobj
= 0;
16952 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16953 unsigned int result
;
16956 PyObject
*swig_obj
[1] ;
16958 if (!args
) SWIG_fail
;
16959 swig_obj
[0] = args
;
16960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16961 if (!SWIG_IsOK(res1
)) {
16962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16964 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16967 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16968 wxPyEndAllowThreads(__tstate
);
16969 if (PyErr_Occurred()) SWIG_fail
;
16971 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16978 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16979 PyObject
*resultobj
= 0;
16980 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16993 PyObject
* obj0
= 0 ;
16994 PyObject
* obj1
= 0 ;
16995 PyObject
* obj2
= 0 ;
16996 PyObject
* obj3
= 0 ;
16997 char * kwnames
[] = {
16998 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
17001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17003 if (!SWIG_IsOK(res1
)) {
17004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17006 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17007 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17008 if (!SWIG_IsOK(ecode2
)) {
17009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
17011 arg2
= static_cast< int >(val2
);
17012 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17013 if (!SWIG_IsOK(ecode3
)) {
17014 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
17016 arg3
= static_cast< wxDirection
>(val3
);
17017 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
17018 if (!SWIG_IsOK(ecode4
)) {
17019 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
17021 arg4
= static_cast< long >(val4
);
17023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17024 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
17025 wxPyEndAllowThreads(__tstate
);
17026 if (PyErr_Occurred()) SWIG_fail
;
17028 resultobj
= SWIG_From_int(static_cast< int >(result
));
17035 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17036 PyObject
*resultobj
= 0;
17037 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17038 unsigned int arg2
;
17039 wxString
*arg3
= 0 ;
17042 unsigned int val2
;
17044 bool temp3
= false ;
17045 PyObject
* obj0
= 0 ;
17046 PyObject
* obj1
= 0 ;
17047 PyObject
* obj2
= 0 ;
17048 char * kwnames
[] = {
17049 (char *) "self",(char *) "item",(char *) "text", NULL
17052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17054 if (!SWIG_IsOK(res1
)) {
17055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17057 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17058 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17059 if (!SWIG_IsOK(ecode2
)) {
17060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17062 arg2
= static_cast< unsigned int >(val2
);
17064 arg3
= wxString_in_helper(obj2
);
17065 if (arg3
== NULL
) SWIG_fail
;
17069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17070 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
17071 wxPyEndAllowThreads(__tstate
);
17072 if (PyErr_Occurred()) SWIG_fail
;
17074 resultobj
= SWIG_Py_Void();
17089 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17090 PyObject
*resultobj
= 0;
17091 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17092 unsigned int arg2
;
17093 wxToolTip
*result
= 0 ;
17096 unsigned int val2
;
17098 PyObject
* obj0
= 0 ;
17099 PyObject
* obj1
= 0 ;
17100 char * kwnames
[] = {
17101 (char *) "self",(char *) "item", NULL
17104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17106 if (!SWIG_IsOK(res1
)) {
17107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17109 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17110 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17111 if (!SWIG_IsOK(ecode2
)) {
17112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17114 arg2
= static_cast< unsigned int >(val2
);
17116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17117 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
17118 wxPyEndAllowThreads(__tstate
);
17119 if (PyErr_Occurred()) SWIG_fail
;
17122 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17130 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17131 PyObject
*resultobj
= 0;
17132 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17133 unsigned int arg2
;
17134 wxString
*arg3
= 0 ;
17137 unsigned int val2
;
17139 bool temp3
= false ;
17140 PyObject
* obj0
= 0 ;
17141 PyObject
* obj1
= 0 ;
17142 PyObject
* obj2
= 0 ;
17143 char * kwnames
[] = {
17144 (char *) "self",(char *) "n",(char *) "helpText", NULL
17147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17149 if (!SWIG_IsOK(res1
)) {
17150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17152 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17153 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17154 if (!SWIG_IsOK(ecode2
)) {
17155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17157 arg2
= static_cast< unsigned int >(val2
);
17159 arg3
= wxString_in_helper(obj2
);
17160 if (arg3
== NULL
) SWIG_fail
;
17164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17165 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17166 wxPyEndAllowThreads(__tstate
);
17167 if (PyErr_Occurred()) SWIG_fail
;
17169 resultobj
= SWIG_Py_Void();
17184 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17185 PyObject
*resultobj
= 0;
17186 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17187 unsigned int arg2
;
17191 unsigned int val2
;
17193 PyObject
* obj0
= 0 ;
17194 PyObject
* obj1
= 0 ;
17195 char * kwnames
[] = {
17196 (char *) "self",(char *) "n", NULL
17199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17201 if (!SWIG_IsOK(res1
)) {
17202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17204 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17205 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17206 if (!SWIG_IsOK(ecode2
)) {
17207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17209 arg2
= static_cast< unsigned int >(val2
);
17211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17212 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17213 wxPyEndAllowThreads(__tstate
);
17214 if (PyErr_Occurred()) SWIG_fail
;
17218 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17220 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17229 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17230 PyObject
*resultobj
= 0;
17231 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17232 SwigValueWrapper
<wxVisualAttributes
> result
;
17235 PyObject
* obj0
= 0 ;
17236 char * kwnames
[] = {
17237 (char *) "variant", NULL
17240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17242 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17243 if (!SWIG_IsOK(ecode1
)) {
17244 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17246 arg1
= static_cast< wxWindowVariant
>(val1
);
17249 if (!wxPyCheckForApp()) SWIG_fail
;
17250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17251 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17252 wxPyEndAllowThreads(__tstate
);
17253 if (PyErr_Occurred()) SWIG_fail
;
17255 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17262 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17264 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17265 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17266 return SWIG_Py_Void();
17269 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17270 return SWIG_Python_InitShadowInstance(args
);
17273 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17274 PyObject
*resultobj
= 0;
17275 wxWindow
*arg1
= (wxWindow
*) 0 ;
17276 int arg2
= (int) -1 ;
17277 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17278 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17279 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17280 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17281 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17282 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17283 long arg6
= (long) 0 ;
17284 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17285 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17286 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17287 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17288 wxRadioButton
*result
= 0 ;
17293 bool temp3
= false ;
17300 bool temp8
= false ;
17301 PyObject
* obj0
= 0 ;
17302 PyObject
* obj1
= 0 ;
17303 PyObject
* obj2
= 0 ;
17304 PyObject
* obj3
= 0 ;
17305 PyObject
* obj4
= 0 ;
17306 PyObject
* obj5
= 0 ;
17307 PyObject
* obj6
= 0 ;
17308 PyObject
* obj7
= 0 ;
17309 char * kwnames
[] = {
17310 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17315 if (!SWIG_IsOK(res1
)) {
17316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17318 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17320 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17321 if (!SWIG_IsOK(ecode2
)) {
17322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17324 arg2
= static_cast< int >(val2
);
17328 arg3
= wxString_in_helper(obj2
);
17329 if (arg3
== NULL
) SWIG_fail
;
17336 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17342 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17346 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17347 if (!SWIG_IsOK(ecode6
)) {
17348 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17350 arg6
= static_cast< long >(val6
);
17353 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17354 if (!SWIG_IsOK(res7
)) {
17355 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17358 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17360 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17364 arg8
= wxString_in_helper(obj7
);
17365 if (arg8
== NULL
) SWIG_fail
;
17370 if (!wxPyCheckForApp()) SWIG_fail
;
17371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17372 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17373 wxPyEndAllowThreads(__tstate
);
17374 if (PyErr_Occurred()) SWIG_fail
;
17376 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17399 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17400 PyObject
*resultobj
= 0;
17401 wxRadioButton
*result
= 0 ;
17403 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17405 if (!wxPyCheckForApp()) SWIG_fail
;
17406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17407 result
= (wxRadioButton
*)new wxRadioButton();
17408 wxPyEndAllowThreads(__tstate
);
17409 if (PyErr_Occurred()) SWIG_fail
;
17411 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17418 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17419 PyObject
*resultobj
= 0;
17420 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17421 wxWindow
*arg2
= (wxWindow
*) 0 ;
17422 int arg3
= (int) -1 ;
17423 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17424 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17425 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17426 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17427 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17428 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17429 long arg7
= (long) 0 ;
17430 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17431 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17432 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17433 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17441 bool temp4
= false ;
17448 bool temp9
= false ;
17449 PyObject
* obj0
= 0 ;
17450 PyObject
* obj1
= 0 ;
17451 PyObject
* obj2
= 0 ;
17452 PyObject
* obj3
= 0 ;
17453 PyObject
* obj4
= 0 ;
17454 PyObject
* obj5
= 0 ;
17455 PyObject
* obj6
= 0 ;
17456 PyObject
* obj7
= 0 ;
17457 PyObject
* obj8
= 0 ;
17458 char * kwnames
[] = {
17459 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17464 if (!SWIG_IsOK(res1
)) {
17465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17467 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17468 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17469 if (!SWIG_IsOK(res2
)) {
17470 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17472 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17474 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17475 if (!SWIG_IsOK(ecode3
)) {
17476 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17478 arg3
= static_cast< int >(val3
);
17482 arg4
= wxString_in_helper(obj3
);
17483 if (arg4
== NULL
) SWIG_fail
;
17490 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17496 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17500 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17501 if (!SWIG_IsOK(ecode7
)) {
17502 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17504 arg7
= static_cast< long >(val7
);
17507 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17508 if (!SWIG_IsOK(res8
)) {
17509 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17512 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17514 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17518 arg9
= wxString_in_helper(obj8
);
17519 if (arg9
== NULL
) SWIG_fail
;
17524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17525 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17526 wxPyEndAllowThreads(__tstate
);
17527 if (PyErr_Occurred()) SWIG_fail
;
17530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17554 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17555 PyObject
*resultobj
= 0;
17556 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17560 PyObject
*swig_obj
[1] ;
17562 if (!args
) SWIG_fail
;
17563 swig_obj
[0] = args
;
17564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17565 if (!SWIG_IsOK(res1
)) {
17566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17568 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17571 result
= (bool)(arg1
)->GetValue();
17572 wxPyEndAllowThreads(__tstate
);
17573 if (PyErr_Occurred()) SWIG_fail
;
17576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17584 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17585 PyObject
*resultobj
= 0;
17586 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17592 PyObject
* obj0
= 0 ;
17593 PyObject
* obj1
= 0 ;
17594 char * kwnames
[] = {
17595 (char *) "self",(char *) "value", NULL
17598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17600 if (!SWIG_IsOK(res1
)) {
17601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17603 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17604 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17605 if (!SWIG_IsOK(ecode2
)) {
17606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17608 arg2
= static_cast< bool >(val2
);
17610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17611 (arg1
)->SetValue(arg2
);
17612 wxPyEndAllowThreads(__tstate
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17615 resultobj
= SWIG_Py_Void();
17622 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17623 PyObject
*resultobj
= 0;
17624 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17625 SwigValueWrapper
<wxVisualAttributes
> result
;
17628 PyObject
* obj0
= 0 ;
17629 char * kwnames
[] = {
17630 (char *) "variant", NULL
17633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17635 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17636 if (!SWIG_IsOK(ecode1
)) {
17637 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17639 arg1
= static_cast< wxWindowVariant
>(val1
);
17642 if (!wxPyCheckForApp()) SWIG_fail
;
17643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17644 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17645 wxPyEndAllowThreads(__tstate
);
17646 if (PyErr_Occurred()) SWIG_fail
;
17648 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17655 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17657 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17658 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17659 return SWIG_Py_Void();
17662 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17663 return SWIG_Python_InitShadowInstance(args
);
17666 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17667 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17672 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17673 PyObject
*pyobj
= 0;
17677 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17679 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17686 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17687 PyObject
*resultobj
= 0;
17688 wxWindow
*arg1
= (wxWindow
*) 0 ;
17689 int arg2
= (int) -1 ;
17690 int arg3
= (int) 0 ;
17691 int arg4
= (int) 0 ;
17692 int arg5
= (int) 100 ;
17693 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17694 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17695 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17696 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17697 long arg8
= (long) wxSL_HORIZONTAL
;
17698 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17699 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17700 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17701 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17702 wxSlider
*result
= 0 ;
17719 bool temp10
= false ;
17720 PyObject
* obj0
= 0 ;
17721 PyObject
* obj1
= 0 ;
17722 PyObject
* obj2
= 0 ;
17723 PyObject
* obj3
= 0 ;
17724 PyObject
* obj4
= 0 ;
17725 PyObject
* obj5
= 0 ;
17726 PyObject
* obj6
= 0 ;
17727 PyObject
* obj7
= 0 ;
17728 PyObject
* obj8
= 0 ;
17729 PyObject
* obj9
= 0 ;
17730 char * kwnames
[] = {
17731 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17736 if (!SWIG_IsOK(res1
)) {
17737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17739 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17741 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17742 if (!SWIG_IsOK(ecode2
)) {
17743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17745 arg2
= static_cast< int >(val2
);
17748 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17749 if (!SWIG_IsOK(ecode3
)) {
17750 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17752 arg3
= static_cast< int >(val3
);
17755 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17756 if (!SWIG_IsOK(ecode4
)) {
17757 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17759 arg4
= static_cast< int >(val4
);
17762 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17763 if (!SWIG_IsOK(ecode5
)) {
17764 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17766 arg5
= static_cast< int >(val5
);
17771 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17777 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17781 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17782 if (!SWIG_IsOK(ecode8
)) {
17783 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17785 arg8
= static_cast< long >(val8
);
17788 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17789 if (!SWIG_IsOK(res9
)) {
17790 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17793 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17795 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17799 arg10
= wxString_in_helper(obj9
);
17800 if (arg10
== NULL
) SWIG_fail
;
17805 if (!wxPyCheckForApp()) SWIG_fail
;
17806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17807 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17808 wxPyEndAllowThreads(__tstate
);
17809 if (PyErr_Occurred()) SWIG_fail
;
17811 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17826 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17827 PyObject
*resultobj
= 0;
17828 wxSlider
*result
= 0 ;
17830 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17832 if (!wxPyCheckForApp()) SWIG_fail
;
17833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17834 result
= (wxSlider
*)new wxSlider();
17835 wxPyEndAllowThreads(__tstate
);
17836 if (PyErr_Occurred()) SWIG_fail
;
17838 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17845 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17846 PyObject
*resultobj
= 0;
17847 wxSlider
*arg1
= (wxSlider
*) 0 ;
17848 wxWindow
*arg2
= (wxWindow
*) 0 ;
17849 int arg3
= (int) -1 ;
17850 int arg4
= (int) 0 ;
17851 int arg5
= (int) 0 ;
17852 int arg6
= (int) 100 ;
17853 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17854 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17855 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17856 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17857 long arg9
= (long) wxSL_HORIZONTAL
;
17858 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17859 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17860 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17861 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17881 bool temp11
= false ;
17882 PyObject
* obj0
= 0 ;
17883 PyObject
* obj1
= 0 ;
17884 PyObject
* obj2
= 0 ;
17885 PyObject
* obj3
= 0 ;
17886 PyObject
* obj4
= 0 ;
17887 PyObject
* obj5
= 0 ;
17888 PyObject
* obj6
= 0 ;
17889 PyObject
* obj7
= 0 ;
17890 PyObject
* obj8
= 0 ;
17891 PyObject
* obj9
= 0 ;
17892 PyObject
* obj10
= 0 ;
17893 char * kwnames
[] = {
17894 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17899 if (!SWIG_IsOK(res1
)) {
17900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17902 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17903 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17904 if (!SWIG_IsOK(res2
)) {
17905 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17907 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17909 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17910 if (!SWIG_IsOK(ecode3
)) {
17911 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17913 arg3
= static_cast< int >(val3
);
17916 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17917 if (!SWIG_IsOK(ecode4
)) {
17918 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17920 arg4
= static_cast< int >(val4
);
17923 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17924 if (!SWIG_IsOK(ecode5
)) {
17925 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17927 arg5
= static_cast< int >(val5
);
17930 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17931 if (!SWIG_IsOK(ecode6
)) {
17932 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17934 arg6
= static_cast< int >(val6
);
17939 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17945 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17949 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17950 if (!SWIG_IsOK(ecode9
)) {
17951 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17953 arg9
= static_cast< long >(val9
);
17956 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17957 if (!SWIG_IsOK(res10
)) {
17958 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17961 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17963 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17967 arg11
= wxString_in_helper(obj10
);
17968 if (arg11
== NULL
) SWIG_fail
;
17973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17974 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17975 wxPyEndAllowThreads(__tstate
);
17976 if (PyErr_Occurred()) SWIG_fail
;
17979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17995 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17996 PyObject
*resultobj
= 0;
17997 wxSlider
*arg1
= (wxSlider
*) 0 ;
18001 PyObject
*swig_obj
[1] ;
18003 if (!args
) SWIG_fail
;
18004 swig_obj
[0] = args
;
18005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18006 if (!SWIG_IsOK(res1
)) {
18007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
18009 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18012 result
= (int)((wxSlider
const *)arg1
)->GetValue();
18013 wxPyEndAllowThreads(__tstate
);
18014 if (PyErr_Occurred()) SWIG_fail
;
18016 resultobj
= SWIG_From_int(static_cast< int >(result
));
18023 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18024 PyObject
*resultobj
= 0;
18025 wxSlider
*arg1
= (wxSlider
*) 0 ;
18031 PyObject
* obj0
= 0 ;
18032 PyObject
* obj1
= 0 ;
18033 char * kwnames
[] = {
18034 (char *) "self",(char *) "value", NULL
18037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18039 if (!SWIG_IsOK(res1
)) {
18040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18042 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18043 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18044 if (!SWIG_IsOK(ecode2
)) {
18045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18047 arg2
= static_cast< int >(val2
);
18049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18050 (arg1
)->SetValue(arg2
);
18051 wxPyEndAllowThreads(__tstate
);
18052 if (PyErr_Occurred()) SWIG_fail
;
18054 resultobj
= SWIG_Py_Void();
18061 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18062 PyObject
*resultobj
= 0;
18063 wxSlider
*arg1
= (wxSlider
*) 0 ;
18072 PyObject
* obj0
= 0 ;
18073 PyObject
* obj1
= 0 ;
18074 PyObject
* obj2
= 0 ;
18075 char * kwnames
[] = {
18076 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18081 if (!SWIG_IsOK(res1
)) {
18082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18084 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18085 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18086 if (!SWIG_IsOK(ecode2
)) {
18087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18089 arg2
= static_cast< int >(val2
);
18090 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18091 if (!SWIG_IsOK(ecode3
)) {
18092 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18094 arg3
= static_cast< int >(val3
);
18096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18097 (arg1
)->SetRange(arg2
,arg3
);
18098 wxPyEndAllowThreads(__tstate
);
18099 if (PyErr_Occurred()) SWIG_fail
;
18101 resultobj
= SWIG_Py_Void();
18108 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18109 PyObject
*resultobj
= 0;
18110 wxSlider
*arg1
= (wxSlider
*) 0 ;
18114 PyObject
*swig_obj
[1] ;
18116 if (!args
) SWIG_fail
;
18117 swig_obj
[0] = args
;
18118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18119 if (!SWIG_IsOK(res1
)) {
18120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18122 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18125 result
= (int)((wxSlider
const *)arg1
)->GetMin();
18126 wxPyEndAllowThreads(__tstate
);
18127 if (PyErr_Occurred()) SWIG_fail
;
18129 resultobj
= SWIG_From_int(static_cast< int >(result
));
18136 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18137 PyObject
*resultobj
= 0;
18138 wxSlider
*arg1
= (wxSlider
*) 0 ;
18142 PyObject
*swig_obj
[1] ;
18144 if (!args
) SWIG_fail
;
18145 swig_obj
[0] = args
;
18146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18147 if (!SWIG_IsOK(res1
)) {
18148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18150 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18153 result
= (int)((wxSlider
const *)arg1
)->GetMax();
18154 wxPyEndAllowThreads(__tstate
);
18155 if (PyErr_Occurred()) SWIG_fail
;
18157 resultobj
= SWIG_From_int(static_cast< int >(result
));
18164 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18165 PyObject
*resultobj
= 0;
18166 wxSlider
*arg1
= (wxSlider
*) 0 ;
18172 PyObject
* obj0
= 0 ;
18173 PyObject
* obj1
= 0 ;
18174 char * kwnames
[] = {
18175 (char *) "self",(char *) "minValue", NULL
18178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18180 if (!SWIG_IsOK(res1
)) {
18181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18183 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18184 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18185 if (!SWIG_IsOK(ecode2
)) {
18186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18188 arg2
= static_cast< int >(val2
);
18190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18191 (arg1
)->SetMin(arg2
);
18192 wxPyEndAllowThreads(__tstate
);
18193 if (PyErr_Occurred()) SWIG_fail
;
18195 resultobj
= SWIG_Py_Void();
18202 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18203 PyObject
*resultobj
= 0;
18204 wxSlider
*arg1
= (wxSlider
*) 0 ;
18210 PyObject
* obj0
= 0 ;
18211 PyObject
* obj1
= 0 ;
18212 char * kwnames
[] = {
18213 (char *) "self",(char *) "maxValue", NULL
18216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18218 if (!SWIG_IsOK(res1
)) {
18219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18221 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18223 if (!SWIG_IsOK(ecode2
)) {
18224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18226 arg2
= static_cast< int >(val2
);
18228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18229 (arg1
)->SetMax(arg2
);
18230 wxPyEndAllowThreads(__tstate
);
18231 if (PyErr_Occurred()) SWIG_fail
;
18233 resultobj
= SWIG_Py_Void();
18240 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18241 PyObject
*resultobj
= 0;
18242 wxSlider
*arg1
= (wxSlider
*) 0 ;
18248 PyObject
* obj0
= 0 ;
18249 PyObject
* obj1
= 0 ;
18250 char * kwnames
[] = {
18251 (char *) "self",(char *) "lineSize", NULL
18254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18256 if (!SWIG_IsOK(res1
)) {
18257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18259 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18260 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18261 if (!SWIG_IsOK(ecode2
)) {
18262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18264 arg2
= static_cast< int >(val2
);
18266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18267 (arg1
)->SetLineSize(arg2
);
18268 wxPyEndAllowThreads(__tstate
);
18269 if (PyErr_Occurred()) SWIG_fail
;
18271 resultobj
= SWIG_Py_Void();
18278 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18279 PyObject
*resultobj
= 0;
18280 wxSlider
*arg1
= (wxSlider
*) 0 ;
18286 PyObject
* obj0
= 0 ;
18287 PyObject
* obj1
= 0 ;
18288 char * kwnames
[] = {
18289 (char *) "self",(char *) "pageSize", NULL
18292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18294 if (!SWIG_IsOK(res1
)) {
18295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18297 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18298 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18299 if (!SWIG_IsOK(ecode2
)) {
18300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18302 arg2
= static_cast< int >(val2
);
18304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18305 (arg1
)->SetPageSize(arg2
);
18306 wxPyEndAllowThreads(__tstate
);
18307 if (PyErr_Occurred()) SWIG_fail
;
18309 resultobj
= SWIG_Py_Void();
18316 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18317 PyObject
*resultobj
= 0;
18318 wxSlider
*arg1
= (wxSlider
*) 0 ;
18322 PyObject
*swig_obj
[1] ;
18324 if (!args
) SWIG_fail
;
18325 swig_obj
[0] = args
;
18326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18327 if (!SWIG_IsOK(res1
)) {
18328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18330 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18333 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18334 wxPyEndAllowThreads(__tstate
);
18335 if (PyErr_Occurred()) SWIG_fail
;
18337 resultobj
= SWIG_From_int(static_cast< int >(result
));
18344 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18345 PyObject
*resultobj
= 0;
18346 wxSlider
*arg1
= (wxSlider
*) 0 ;
18350 PyObject
*swig_obj
[1] ;
18352 if (!args
) SWIG_fail
;
18353 swig_obj
[0] = args
;
18354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18355 if (!SWIG_IsOK(res1
)) {
18356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18358 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18361 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18362 wxPyEndAllowThreads(__tstate
);
18363 if (PyErr_Occurred()) SWIG_fail
;
18365 resultobj
= SWIG_From_int(static_cast< int >(result
));
18372 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18373 PyObject
*resultobj
= 0;
18374 wxSlider
*arg1
= (wxSlider
*) 0 ;
18380 PyObject
* obj0
= 0 ;
18381 PyObject
* obj1
= 0 ;
18382 char * kwnames
[] = {
18383 (char *) "self",(char *) "lenPixels", NULL
18386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18388 if (!SWIG_IsOK(res1
)) {
18389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18391 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18392 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18393 if (!SWIG_IsOK(ecode2
)) {
18394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18396 arg2
= static_cast< int >(val2
);
18398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18399 (arg1
)->SetThumbLength(arg2
);
18400 wxPyEndAllowThreads(__tstate
);
18401 if (PyErr_Occurred()) SWIG_fail
;
18403 resultobj
= SWIG_Py_Void();
18410 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18411 PyObject
*resultobj
= 0;
18412 wxSlider
*arg1
= (wxSlider
*) 0 ;
18416 PyObject
*swig_obj
[1] ;
18418 if (!args
) SWIG_fail
;
18419 swig_obj
[0] = args
;
18420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18421 if (!SWIG_IsOK(res1
)) {
18422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18424 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18427 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18428 wxPyEndAllowThreads(__tstate
);
18429 if (PyErr_Occurred()) SWIG_fail
;
18431 resultobj
= SWIG_From_int(static_cast< int >(result
));
18438 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18439 PyObject
*resultobj
= 0;
18440 wxSlider
*arg1
= (wxSlider
*) 0 ;
18442 int arg3
= (int) 1 ;
18449 PyObject
* obj0
= 0 ;
18450 PyObject
* obj1
= 0 ;
18451 PyObject
* obj2
= 0 ;
18452 char * kwnames
[] = {
18453 (char *) "self",(char *) "n",(char *) "pos", NULL
18456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18458 if (!SWIG_IsOK(res1
)) {
18459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18461 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18462 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18463 if (!SWIG_IsOK(ecode2
)) {
18464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18466 arg2
= static_cast< int >(val2
);
18468 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18469 if (!SWIG_IsOK(ecode3
)) {
18470 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18472 arg3
= static_cast< int >(val3
);
18475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18476 (arg1
)->SetTickFreq(arg2
,arg3
);
18477 wxPyEndAllowThreads(__tstate
);
18478 if (PyErr_Occurred()) SWIG_fail
;
18480 resultobj
= SWIG_Py_Void();
18487 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18488 PyObject
*resultobj
= 0;
18489 wxSlider
*arg1
= (wxSlider
*) 0 ;
18493 PyObject
*swig_obj
[1] ;
18495 if (!args
) SWIG_fail
;
18496 swig_obj
[0] = args
;
18497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18498 if (!SWIG_IsOK(res1
)) {
18499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18501 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18504 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18505 wxPyEndAllowThreads(__tstate
);
18506 if (PyErr_Occurred()) SWIG_fail
;
18508 resultobj
= SWIG_From_int(static_cast< int >(result
));
18515 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18516 PyObject
*resultobj
= 0;
18517 wxSlider
*arg1
= (wxSlider
*) 0 ;
18520 PyObject
*swig_obj
[1] ;
18522 if (!args
) SWIG_fail
;
18523 swig_obj
[0] = args
;
18524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18525 if (!SWIG_IsOK(res1
)) {
18526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18528 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18531 (arg1
)->ClearTicks();
18532 wxPyEndAllowThreads(__tstate
);
18533 if (PyErr_Occurred()) SWIG_fail
;
18535 resultobj
= SWIG_Py_Void();
18542 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18543 PyObject
*resultobj
= 0;
18544 wxSlider
*arg1
= (wxSlider
*) 0 ;
18550 PyObject
* obj0
= 0 ;
18551 PyObject
* obj1
= 0 ;
18552 char * kwnames
[] = {
18553 (char *) "self",(char *) "tickPos", NULL
18556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18558 if (!SWIG_IsOK(res1
)) {
18559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18561 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18562 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18563 if (!SWIG_IsOK(ecode2
)) {
18564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18566 arg2
= static_cast< int >(val2
);
18568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18569 (arg1
)->SetTick(arg2
);
18570 wxPyEndAllowThreads(__tstate
);
18571 if (PyErr_Occurred()) SWIG_fail
;
18573 resultobj
= SWIG_Py_Void();
18580 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18581 PyObject
*resultobj
= 0;
18582 wxSlider
*arg1
= (wxSlider
*) 0 ;
18585 PyObject
*swig_obj
[1] ;
18587 if (!args
) SWIG_fail
;
18588 swig_obj
[0] = args
;
18589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18590 if (!SWIG_IsOK(res1
)) {
18591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18593 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18596 (arg1
)->ClearSel();
18597 wxPyEndAllowThreads(__tstate
);
18598 if (PyErr_Occurred()) SWIG_fail
;
18600 resultobj
= SWIG_Py_Void();
18607 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18608 PyObject
*resultobj
= 0;
18609 wxSlider
*arg1
= (wxSlider
*) 0 ;
18613 PyObject
*swig_obj
[1] ;
18615 if (!args
) SWIG_fail
;
18616 swig_obj
[0] = args
;
18617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18618 if (!SWIG_IsOK(res1
)) {
18619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18621 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18624 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18625 wxPyEndAllowThreads(__tstate
);
18626 if (PyErr_Occurred()) SWIG_fail
;
18628 resultobj
= SWIG_From_int(static_cast< int >(result
));
18635 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18636 PyObject
*resultobj
= 0;
18637 wxSlider
*arg1
= (wxSlider
*) 0 ;
18641 PyObject
*swig_obj
[1] ;
18643 if (!args
) SWIG_fail
;
18644 swig_obj
[0] = args
;
18645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18646 if (!SWIG_IsOK(res1
)) {
18647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18649 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18652 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18653 wxPyEndAllowThreads(__tstate
);
18654 if (PyErr_Occurred()) SWIG_fail
;
18656 resultobj
= SWIG_From_int(static_cast< int >(result
));
18663 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18664 PyObject
*resultobj
= 0;
18665 wxSlider
*arg1
= (wxSlider
*) 0 ;
18674 PyObject
* obj0
= 0 ;
18675 PyObject
* obj1
= 0 ;
18676 PyObject
* obj2
= 0 ;
18677 char * kwnames
[] = {
18678 (char *) "self",(char *) "min",(char *) "max", NULL
18681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18683 if (!SWIG_IsOK(res1
)) {
18684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18686 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18688 if (!SWIG_IsOK(ecode2
)) {
18689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18691 arg2
= static_cast< int >(val2
);
18692 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18693 if (!SWIG_IsOK(ecode3
)) {
18694 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18696 arg3
= static_cast< int >(val3
);
18698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18699 (arg1
)->SetSelection(arg2
,arg3
);
18700 wxPyEndAllowThreads(__tstate
);
18701 if (PyErr_Occurred()) SWIG_fail
;
18703 resultobj
= SWIG_Py_Void();
18710 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18711 PyObject
*resultobj
= 0;
18712 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18713 SwigValueWrapper
<wxVisualAttributes
> result
;
18716 PyObject
* obj0
= 0 ;
18717 char * kwnames
[] = {
18718 (char *) "variant", NULL
18721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18723 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18724 if (!SWIG_IsOK(ecode1
)) {
18725 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18727 arg1
= static_cast< wxWindowVariant
>(val1
);
18730 if (!wxPyCheckForApp()) SWIG_fail
;
18731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18732 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18733 wxPyEndAllowThreads(__tstate
);
18734 if (PyErr_Occurred()) SWIG_fail
;
18736 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18743 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18745 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18746 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18747 return SWIG_Py_Void();
18750 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18751 return SWIG_Python_InitShadowInstance(args
);
18754 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18755 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18760 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18761 PyObject
*pyobj
= 0;
18765 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18767 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18774 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18775 PyObject
*resultobj
= 0;
18776 wxWindow
*arg1
= (wxWindow
*) 0 ;
18777 int arg2
= (int) -1 ;
18778 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18779 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18780 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18781 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18782 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18783 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18784 long arg6
= (long) 0 ;
18785 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18786 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18787 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18788 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18789 wxToggleButton
*result
= 0 ;
18794 bool temp3
= false ;
18801 bool temp8
= false ;
18802 PyObject
* obj0
= 0 ;
18803 PyObject
* obj1
= 0 ;
18804 PyObject
* obj2
= 0 ;
18805 PyObject
* obj3
= 0 ;
18806 PyObject
* obj4
= 0 ;
18807 PyObject
* obj5
= 0 ;
18808 PyObject
* obj6
= 0 ;
18809 PyObject
* obj7
= 0 ;
18810 char * kwnames
[] = {
18811 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18816 if (!SWIG_IsOK(res1
)) {
18817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18819 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18821 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18822 if (!SWIG_IsOK(ecode2
)) {
18823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18825 arg2
= static_cast< int >(val2
);
18829 arg3
= wxString_in_helper(obj2
);
18830 if (arg3
== NULL
) SWIG_fail
;
18837 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18843 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18847 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18848 if (!SWIG_IsOK(ecode6
)) {
18849 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18851 arg6
= static_cast< long >(val6
);
18854 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18855 if (!SWIG_IsOK(res7
)) {
18856 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18859 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18861 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18865 arg8
= wxString_in_helper(obj7
);
18866 if (arg8
== NULL
) SWIG_fail
;
18871 if (!wxPyCheckForApp()) SWIG_fail
;
18872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18873 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18874 wxPyEndAllowThreads(__tstate
);
18875 if (PyErr_Occurred()) SWIG_fail
;
18877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18900 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18901 PyObject
*resultobj
= 0;
18902 wxToggleButton
*result
= 0 ;
18904 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18906 if (!wxPyCheckForApp()) SWIG_fail
;
18907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18908 result
= (wxToggleButton
*)new wxToggleButton();
18909 wxPyEndAllowThreads(__tstate
);
18910 if (PyErr_Occurred()) SWIG_fail
;
18912 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18919 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18920 PyObject
*resultobj
= 0;
18921 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18922 wxWindow
*arg2
= (wxWindow
*) 0 ;
18923 int arg3
= (int) -1 ;
18924 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18925 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18926 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18927 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18928 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18929 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18930 long arg7
= (long) 0 ;
18931 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18932 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18933 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18934 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18942 bool temp4
= false ;
18949 bool temp9
= false ;
18950 PyObject
* obj0
= 0 ;
18951 PyObject
* obj1
= 0 ;
18952 PyObject
* obj2
= 0 ;
18953 PyObject
* obj3
= 0 ;
18954 PyObject
* obj4
= 0 ;
18955 PyObject
* obj5
= 0 ;
18956 PyObject
* obj6
= 0 ;
18957 PyObject
* obj7
= 0 ;
18958 PyObject
* obj8
= 0 ;
18959 char * kwnames
[] = {
18960 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18965 if (!SWIG_IsOK(res1
)) {
18966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18968 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18969 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18970 if (!SWIG_IsOK(res2
)) {
18971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18973 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18975 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18976 if (!SWIG_IsOK(ecode3
)) {
18977 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18979 arg3
= static_cast< int >(val3
);
18983 arg4
= wxString_in_helper(obj3
);
18984 if (arg4
== NULL
) SWIG_fail
;
18991 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18997 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
19001 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
19002 if (!SWIG_IsOK(ecode7
)) {
19003 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
19005 arg7
= static_cast< long >(val7
);
19008 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
19009 if (!SWIG_IsOK(res8
)) {
19010 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19013 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19015 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
19019 arg9
= wxString_in_helper(obj8
);
19020 if (arg9
== NULL
) SWIG_fail
;
19025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19026 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
19027 wxPyEndAllowThreads(__tstate
);
19028 if (PyErr_Occurred()) SWIG_fail
;
19031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19055 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19056 PyObject
*resultobj
= 0;
19057 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19063 PyObject
* obj0
= 0 ;
19064 PyObject
* obj1
= 0 ;
19065 char * kwnames
[] = {
19066 (char *) "self",(char *) "value", NULL
19069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19071 if (!SWIG_IsOK(res1
)) {
19072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19074 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19075 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19076 if (!SWIG_IsOK(ecode2
)) {
19077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19079 arg2
= static_cast< bool >(val2
);
19081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19082 (arg1
)->SetValue(arg2
);
19083 wxPyEndAllowThreads(__tstate
);
19084 if (PyErr_Occurred()) SWIG_fail
;
19086 resultobj
= SWIG_Py_Void();
19093 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19094 PyObject
*resultobj
= 0;
19095 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19099 PyObject
*swig_obj
[1] ;
19101 if (!args
) SWIG_fail
;
19102 swig_obj
[0] = args
;
19103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19104 if (!SWIG_IsOK(res1
)) {
19105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19107 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19110 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
19111 wxPyEndAllowThreads(__tstate
);
19112 if (PyErr_Occurred()) SWIG_fail
;
19115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19123 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19124 PyObject
*resultobj
= 0;
19125 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19126 SwigValueWrapper
<wxVisualAttributes
> result
;
19129 PyObject
* obj0
= 0 ;
19130 char * kwnames
[] = {
19131 (char *) "variant", NULL
19134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19136 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19137 if (!SWIG_IsOK(ecode1
)) {
19138 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19140 arg1
= static_cast< wxWindowVariant
>(val1
);
19143 if (!wxPyCheckForApp()) SWIG_fail
;
19144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19145 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
19146 wxPyEndAllowThreads(__tstate
);
19147 if (PyErr_Occurred()) SWIG_fail
;
19149 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19156 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19158 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19159 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19160 return SWIG_Py_Void();
19163 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19164 return SWIG_Python_InitShadowInstance(args
);
19167 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19168 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19173 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19174 PyObject
*pyobj
= 0;
19178 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19180 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19187 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19188 PyObject
*resultobj
= 0;
19189 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19193 PyObject
*swig_obj
[1] ;
19195 if (!args
) SWIG_fail
;
19196 swig_obj
[0] = args
;
19197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19198 if (!SWIG_IsOK(res1
)) {
19199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19201 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19204 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19205 wxPyEndAllowThreads(__tstate
);
19206 if (PyErr_Occurred()) SWIG_fail
;
19208 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19215 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19216 PyObject
*resultobj
= 0;
19217 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19219 wxWindow
*result
= 0 ;
19224 PyObject
* obj0
= 0 ;
19225 PyObject
* obj1
= 0 ;
19226 char * kwnames
[] = {
19227 (char *) "self",(char *) "n", NULL
19230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19232 if (!SWIG_IsOK(res1
)) {
19233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19235 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19236 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19237 if (!SWIG_IsOK(ecode2
)) {
19238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19240 arg2
= static_cast< size_t >(val2
);
19242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19243 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19244 wxPyEndAllowThreads(__tstate
);
19245 if (PyErr_Occurred()) SWIG_fail
;
19248 resultobj
= wxPyMake_wxObject(result
, 0);
19256 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19257 PyObject
*resultobj
= 0;
19258 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19259 wxWindow
*result
= 0 ;
19262 PyObject
*swig_obj
[1] ;
19264 if (!args
) SWIG_fail
;
19265 swig_obj
[0] = args
;
19266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19267 if (!SWIG_IsOK(res1
)) {
19268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19270 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19273 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19274 wxPyEndAllowThreads(__tstate
);
19275 if (PyErr_Occurred()) SWIG_fail
;
19278 resultobj
= wxPyMake_wxObject(result
, 0);
19286 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19287 PyObject
*resultobj
= 0;
19288 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19292 PyObject
*swig_obj
[1] ;
19294 if (!args
) SWIG_fail
;
19295 swig_obj
[0] = args
;
19296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19297 if (!SWIG_IsOK(res1
)) {
19298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19300 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19303 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19304 wxPyEndAllowThreads(__tstate
);
19305 if (PyErr_Occurred()) SWIG_fail
;
19307 resultobj
= SWIG_From_int(static_cast< int >(result
));
19314 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19315 PyObject
*resultobj
= 0;
19316 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19318 wxString
*arg3
= 0 ;
19324 bool temp3
= false ;
19325 PyObject
* obj0
= 0 ;
19326 PyObject
* obj1
= 0 ;
19327 PyObject
* obj2
= 0 ;
19328 char * kwnames
[] = {
19329 (char *) "self",(char *) "n",(char *) "strText", NULL
19332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19334 if (!SWIG_IsOK(res1
)) {
19335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19337 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19338 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19339 if (!SWIG_IsOK(ecode2
)) {
19340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19342 arg2
= static_cast< size_t >(val2
);
19344 arg3
= wxString_in_helper(obj2
);
19345 if (arg3
== NULL
) SWIG_fail
;
19349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19350 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19351 wxPyEndAllowThreads(__tstate
);
19352 if (PyErr_Occurred()) SWIG_fail
;
19355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19371 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19372 PyObject
*resultobj
= 0;
19373 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19380 PyObject
* obj0
= 0 ;
19381 PyObject
* obj1
= 0 ;
19382 char * kwnames
[] = {
19383 (char *) "self",(char *) "n", NULL
19386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19388 if (!SWIG_IsOK(res1
)) {
19389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19391 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19392 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19393 if (!SWIG_IsOK(ecode2
)) {
19394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19396 arg2
= static_cast< size_t >(val2
);
19398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19399 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19400 wxPyEndAllowThreads(__tstate
);
19401 if (PyErr_Occurred()) SWIG_fail
;
19405 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19407 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19416 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19417 PyObject
*resultobj
= 0;
19418 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19419 wxImageList
*arg2
= (wxImageList
*) 0 ;
19424 PyObject
* obj0
= 0 ;
19425 PyObject
* obj1
= 0 ;
19426 char * kwnames
[] = {
19427 (char *) "self",(char *) "imageList", NULL
19430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19432 if (!SWIG_IsOK(res1
)) {
19433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19435 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19436 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19437 if (!SWIG_IsOK(res2
)) {
19438 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19440 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19443 (arg1
)->SetImageList(arg2
);
19444 wxPyEndAllowThreads(__tstate
);
19445 if (PyErr_Occurred()) SWIG_fail
;
19447 resultobj
= SWIG_Py_Void();
19454 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19455 PyObject
*resultobj
= 0;
19456 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19457 wxImageList
*arg2
= (wxImageList
*) 0 ;
19461 PyObject
* obj0
= 0 ;
19462 PyObject
* obj1
= 0 ;
19463 char * kwnames
[] = {
19464 (char *) "self",(char *) "imageList", NULL
19467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19469 if (!SWIG_IsOK(res1
)) {
19470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19472 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19473 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19474 if (!SWIG_IsOK(res2
)) {
19475 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19479 (arg1
)->AssignImageList(arg2
);
19480 wxPyEndAllowThreads(__tstate
);
19481 if (PyErr_Occurred()) SWIG_fail
;
19483 resultobj
= SWIG_Py_Void();
19490 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19491 PyObject
*resultobj
= 0;
19492 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19493 wxImageList
*result
= 0 ;
19496 PyObject
*swig_obj
[1] ;
19498 if (!args
) SWIG_fail
;
19499 swig_obj
[0] = args
;
19500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19501 if (!SWIG_IsOK(res1
)) {
19502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19504 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19507 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19508 wxPyEndAllowThreads(__tstate
);
19509 if (PyErr_Occurred()) SWIG_fail
;
19512 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19520 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19521 PyObject
*resultobj
= 0;
19522 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19529 PyObject
* obj0
= 0 ;
19530 PyObject
* obj1
= 0 ;
19531 char * kwnames
[] = {
19532 (char *) "self",(char *) "n", NULL
19535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19537 if (!SWIG_IsOK(res1
)) {
19538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19540 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19541 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19542 if (!SWIG_IsOK(ecode2
)) {
19543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19545 arg2
= static_cast< size_t >(val2
);
19547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19548 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19549 wxPyEndAllowThreads(__tstate
);
19550 if (PyErr_Occurred()) SWIG_fail
;
19552 resultobj
= SWIG_From_int(static_cast< int >(result
));
19559 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19560 PyObject
*resultobj
= 0;
19561 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19571 PyObject
* obj0
= 0 ;
19572 PyObject
* obj1
= 0 ;
19573 PyObject
* obj2
= 0 ;
19574 char * kwnames
[] = {
19575 (char *) "self",(char *) "n",(char *) "imageId", NULL
19578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19580 if (!SWIG_IsOK(res1
)) {
19581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19583 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19584 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19585 if (!SWIG_IsOK(ecode2
)) {
19586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19588 arg2
= static_cast< size_t >(val2
);
19589 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19590 if (!SWIG_IsOK(ecode3
)) {
19591 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19593 arg3
= static_cast< int >(val3
);
19595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19596 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19597 wxPyEndAllowThreads(__tstate
);
19598 if (PyErr_Occurred()) SWIG_fail
;
19601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19609 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19610 PyObject
*resultobj
= 0;
19611 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19616 PyObject
* obj0
= 0 ;
19617 PyObject
* obj1
= 0 ;
19618 char * kwnames
[] = {
19619 (char *) "self",(char *) "size", NULL
19622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19624 if (!SWIG_IsOK(res1
)) {
19625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19627 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19630 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19634 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19635 wxPyEndAllowThreads(__tstate
);
19636 if (PyErr_Occurred()) SWIG_fail
;
19638 resultobj
= SWIG_Py_Void();
19645 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19646 PyObject
*resultobj
= 0;
19647 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19653 PyObject
* obj0
= 0 ;
19654 PyObject
* obj1
= 0 ;
19655 char * kwnames
[] = {
19656 (char *) "self",(char *) "sizePage", NULL
19659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19661 if (!SWIG_IsOK(res1
)) {
19662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19664 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19667 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19671 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19672 wxPyEndAllowThreads(__tstate
);
19673 if (PyErr_Occurred()) SWIG_fail
;
19675 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19682 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19683 PyObject
*resultobj
= 0;
19684 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19685 unsigned int result
;
19688 PyObject
*swig_obj
[1] ;
19690 if (!args
) SWIG_fail
;
19691 swig_obj
[0] = args
;
19692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19693 if (!SWIG_IsOK(res1
)) {
19694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19696 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19699 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19700 wxPyEndAllowThreads(__tstate
);
19701 if (PyErr_Occurred()) SWIG_fail
;
19703 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19710 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19711 PyObject
*resultobj
= 0;
19712 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19713 unsigned int arg2
;
19716 unsigned int val2
;
19718 PyObject
* obj0
= 0 ;
19719 PyObject
* obj1
= 0 ;
19720 char * kwnames
[] = {
19721 (char *) "self",(char *) "internalBorder", NULL
19724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19726 if (!SWIG_IsOK(res1
)) {
19727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19729 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19730 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19731 if (!SWIG_IsOK(ecode2
)) {
19732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19734 arg2
= static_cast< unsigned int >(val2
);
19736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19737 (arg1
)->SetInternalBorder(arg2
);
19738 wxPyEndAllowThreads(__tstate
);
19739 if (PyErr_Occurred()) SWIG_fail
;
19741 resultobj
= SWIG_Py_Void();
19748 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19749 PyObject
*resultobj
= 0;
19750 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19754 PyObject
*swig_obj
[1] ;
19756 if (!args
) SWIG_fail
;
19757 swig_obj
[0] = args
;
19758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19759 if (!SWIG_IsOK(res1
)) {
19760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19762 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19765 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19766 wxPyEndAllowThreads(__tstate
);
19767 if (PyErr_Occurred()) SWIG_fail
;
19770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19778 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19779 PyObject
*resultobj
= 0;
19780 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19786 PyObject
* obj0
= 0 ;
19787 PyObject
* obj1
= 0 ;
19788 char * kwnames
[] = {
19789 (char *) "self",(char *) "margin", NULL
19792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19794 if (!SWIG_IsOK(res1
)) {
19795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19797 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19799 if (!SWIG_IsOK(ecode2
)) {
19800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19802 arg2
= static_cast< int >(val2
);
19804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19805 (arg1
)->SetControlMargin(arg2
);
19806 wxPyEndAllowThreads(__tstate
);
19807 if (PyErr_Occurred()) SWIG_fail
;
19809 resultobj
= SWIG_Py_Void();
19816 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19817 PyObject
*resultobj
= 0;
19818 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19822 PyObject
*swig_obj
[1] ;
19824 if (!args
) SWIG_fail
;
19825 swig_obj
[0] = args
;
19826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19827 if (!SWIG_IsOK(res1
)) {
19828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19830 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19833 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19834 wxPyEndAllowThreads(__tstate
);
19835 if (PyErr_Occurred()) SWIG_fail
;
19837 resultobj
= SWIG_From_int(static_cast< int >(result
));
19844 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19845 PyObject
*resultobj
= 0;
19846 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19852 PyObject
* obj0
= 0 ;
19853 PyObject
* obj1
= 0 ;
19854 char * kwnames
[] = {
19855 (char *) "self",(char *) "fit", NULL
19858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19860 if (!SWIG_IsOK(res1
)) {
19861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19863 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19864 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19865 if (!SWIG_IsOK(ecode2
)) {
19866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19868 arg2
= static_cast< bool >(val2
);
19870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19871 (arg1
)->SetFitToCurrentPage(arg2
);
19872 wxPyEndAllowThreads(__tstate
);
19873 if (PyErr_Occurred()) SWIG_fail
;
19875 resultobj
= SWIG_Py_Void();
19882 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19883 PyObject
*resultobj
= 0;
19884 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19888 PyObject
*swig_obj
[1] ;
19890 if (!args
) SWIG_fail
;
19891 swig_obj
[0] = args
;
19892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19893 if (!SWIG_IsOK(res1
)) {
19894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19896 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19899 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19900 wxPyEndAllowThreads(__tstate
);
19901 if (PyErr_Occurred()) SWIG_fail
;
19904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19912 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19913 PyObject
*resultobj
= 0;
19914 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19915 wxSizer
*result
= 0 ;
19918 PyObject
*swig_obj
[1] ;
19920 if (!args
) SWIG_fail
;
19921 swig_obj
[0] = args
;
19922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19923 if (!SWIG_IsOK(res1
)) {
19924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19926 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19929 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19930 wxPyEndAllowThreads(__tstate
);
19931 if (PyErr_Occurred()) SWIG_fail
;
19934 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19942 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19943 PyObject
*resultobj
= 0;
19944 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19951 PyObject
* obj0
= 0 ;
19952 PyObject
* obj1
= 0 ;
19953 char * kwnames
[] = {
19954 (char *) "self",(char *) "n", NULL
19957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19959 if (!SWIG_IsOK(res1
)) {
19960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19962 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19963 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19964 if (!SWIG_IsOK(ecode2
)) {
19965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19967 arg2
= static_cast< size_t >(val2
);
19969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19970 result
= (bool)(arg1
)->DeletePage(arg2
);
19971 wxPyEndAllowThreads(__tstate
);
19972 if (PyErr_Occurred()) SWIG_fail
;
19975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19983 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19984 PyObject
*resultobj
= 0;
19985 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19992 PyObject
* obj0
= 0 ;
19993 PyObject
* obj1
= 0 ;
19994 char * kwnames
[] = {
19995 (char *) "self",(char *) "n", NULL
19998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20000 if (!SWIG_IsOK(res1
)) {
20001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20003 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20004 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20005 if (!SWIG_IsOK(ecode2
)) {
20006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
20008 arg2
= static_cast< size_t >(val2
);
20010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20011 result
= (bool)(arg1
)->RemovePage(arg2
);
20012 wxPyEndAllowThreads(__tstate
);
20013 if (PyErr_Occurred()) SWIG_fail
;
20016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20024 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20025 PyObject
*resultobj
= 0;
20026 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20030 PyObject
*swig_obj
[1] ;
20032 if (!args
) SWIG_fail
;
20033 swig_obj
[0] = args
;
20034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20035 if (!SWIG_IsOK(res1
)) {
20036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20038 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20041 result
= (bool)(arg1
)->DeleteAllPages();
20042 wxPyEndAllowThreads(__tstate
);
20043 if (PyErr_Occurred()) SWIG_fail
;
20046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20054 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20055 PyObject
*resultobj
= 0;
20056 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20057 wxWindow
*arg2
= (wxWindow
*) 0 ;
20058 wxString
*arg3
= 0 ;
20059 bool arg4
= (bool) false ;
20060 int arg5
= (int) -1 ;
20066 bool temp3
= false ;
20071 PyObject
* obj0
= 0 ;
20072 PyObject
* obj1
= 0 ;
20073 PyObject
* obj2
= 0 ;
20074 PyObject
* obj3
= 0 ;
20075 PyObject
* obj4
= 0 ;
20076 char * kwnames
[] = {
20077 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20082 if (!SWIG_IsOK(res1
)) {
20083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20085 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20086 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20087 if (!SWIG_IsOK(res2
)) {
20088 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20090 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20092 arg3
= wxString_in_helper(obj2
);
20093 if (arg3
== NULL
) SWIG_fail
;
20097 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20098 if (!SWIG_IsOK(ecode4
)) {
20099 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20101 arg4
= static_cast< bool >(val4
);
20104 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20105 if (!SWIG_IsOK(ecode5
)) {
20106 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20108 arg5
= static_cast< int >(val5
);
20111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20112 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
20113 wxPyEndAllowThreads(__tstate
);
20114 if (PyErr_Occurred()) SWIG_fail
;
20117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20133 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20134 PyObject
*resultobj
= 0;
20135 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20137 wxWindow
*arg3
= (wxWindow
*) 0 ;
20138 wxString
*arg4
= 0 ;
20139 bool arg5
= (bool) false ;
20140 int arg6
= (int) -1 ;
20148 bool temp4
= false ;
20153 PyObject
* obj0
= 0 ;
20154 PyObject
* obj1
= 0 ;
20155 PyObject
* obj2
= 0 ;
20156 PyObject
* obj3
= 0 ;
20157 PyObject
* obj4
= 0 ;
20158 PyObject
* obj5
= 0 ;
20159 char * kwnames
[] = {
20160 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20165 if (!SWIG_IsOK(res1
)) {
20166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20168 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20169 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20170 if (!SWIG_IsOK(ecode2
)) {
20171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20173 arg2
= static_cast< size_t >(val2
);
20174 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20175 if (!SWIG_IsOK(res3
)) {
20176 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20178 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20180 arg4
= wxString_in_helper(obj3
);
20181 if (arg4
== NULL
) SWIG_fail
;
20185 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20186 if (!SWIG_IsOK(ecode5
)) {
20187 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20189 arg5
= static_cast< bool >(val5
);
20192 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20193 if (!SWIG_IsOK(ecode6
)) {
20194 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20196 arg6
= static_cast< int >(val6
);
20199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20200 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20201 wxPyEndAllowThreads(__tstate
);
20202 if (PyErr_Occurred()) SWIG_fail
;
20205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20221 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20222 PyObject
*resultobj
= 0;
20223 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20230 PyObject
* obj0
= 0 ;
20231 PyObject
* obj1
= 0 ;
20232 char * kwnames
[] = {
20233 (char *) "self",(char *) "n", NULL
20236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20238 if (!SWIG_IsOK(res1
)) {
20239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20241 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20242 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20243 if (!SWIG_IsOK(ecode2
)) {
20244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20246 arg2
= static_cast< size_t >(val2
);
20248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20249 result
= (int)(arg1
)->SetSelection(arg2
);
20250 wxPyEndAllowThreads(__tstate
);
20251 if (PyErr_Occurred()) SWIG_fail
;
20253 resultobj
= SWIG_From_int(static_cast< int >(result
));
20260 SWIGINTERN PyObject
*_wrap_BookCtrlBase_ChangeSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20261 PyObject
*resultobj
= 0;
20262 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20269 PyObject
* obj0
= 0 ;
20270 PyObject
* obj1
= 0 ;
20271 char * kwnames
[] = {
20272 (char *) "self",(char *) "n", NULL
20275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20277 if (!SWIG_IsOK(res1
)) {
20278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20280 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20281 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20282 if (!SWIG_IsOK(ecode2
)) {
20283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20285 arg2
= static_cast< size_t >(val2
);
20287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20288 result
= (int)(arg1
)->ChangeSelection(arg2
);
20289 wxPyEndAllowThreads(__tstate
);
20290 if (PyErr_Occurred()) SWIG_fail
;
20292 resultobj
= SWIG_From_int(static_cast< int >(result
));
20299 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20300 PyObject
*resultobj
= 0;
20301 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20302 bool arg2
= (bool) true ;
20307 PyObject
* obj0
= 0 ;
20308 PyObject
* obj1
= 0 ;
20309 char * kwnames
[] = {
20310 (char *) "self",(char *) "forward", NULL
20313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20315 if (!SWIG_IsOK(res1
)) {
20316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20318 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20320 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20321 if (!SWIG_IsOK(ecode2
)) {
20322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20324 arg2
= static_cast< bool >(val2
);
20327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20328 (arg1
)->AdvanceSelection(arg2
);
20329 wxPyEndAllowThreads(__tstate
);
20330 if (PyErr_Occurred()) SWIG_fail
;
20332 resultobj
= SWIG_Py_Void();
20339 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20340 PyObject
*resultobj
= 0;
20341 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20342 wxPoint
*arg2
= 0 ;
20343 long *arg3
= (long *) 0 ;
20349 int res3
= SWIG_TMPOBJ
;
20350 PyObject
* obj0
= 0 ;
20351 PyObject
* obj1
= 0 ;
20352 char * kwnames
[] = {
20353 (char *) "self",(char *) "pt", NULL
20357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20359 if (!SWIG_IsOK(res1
)) {
20360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20362 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20365 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20369 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20370 wxPyEndAllowThreads(__tstate
);
20371 if (PyErr_Occurred()) SWIG_fail
;
20373 resultobj
= SWIG_From_int(static_cast< int >(result
));
20374 if (SWIG_IsTmpObj(res3
)) {
20375 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20377 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20378 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20386 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20387 PyObject
*resultobj
= 0;
20388 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20389 SwigValueWrapper
<wxVisualAttributes
> result
;
20392 PyObject
* obj0
= 0 ;
20393 char * kwnames
[] = {
20394 (char *) "variant", NULL
20397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20399 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20400 if (!SWIG_IsOK(ecode1
)) {
20401 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20403 arg1
= static_cast< wxWindowVariant
>(val1
);
20406 if (!wxPyCheckForApp()) SWIG_fail
;
20407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20408 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20409 wxPyEndAllowThreads(__tstate
);
20410 if (PyErr_Occurred()) SWIG_fail
;
20412 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20419 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20421 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20422 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20423 return SWIG_Py_Void();
20426 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20427 PyObject
*resultobj
= 0;
20428 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20429 int arg2
= (int) 0 ;
20430 int arg3
= (int) -1 ;
20431 int arg4
= (int) -1 ;
20432 wxBookCtrlBaseEvent
*result
= 0 ;
20441 PyObject
* obj0
= 0 ;
20442 PyObject
* obj1
= 0 ;
20443 PyObject
* obj2
= 0 ;
20444 PyObject
* obj3
= 0 ;
20445 char * kwnames
[] = {
20446 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20451 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20452 if (!SWIG_IsOK(ecode1
)) {
20453 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20455 arg1
= static_cast< wxEventType
>(val1
);
20458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20459 if (!SWIG_IsOK(ecode2
)) {
20460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20462 arg2
= static_cast< int >(val2
);
20465 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20466 if (!SWIG_IsOK(ecode3
)) {
20467 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20469 arg3
= static_cast< int >(val3
);
20472 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20473 if (!SWIG_IsOK(ecode4
)) {
20474 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20476 arg4
= static_cast< int >(val4
);
20479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20480 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20481 wxPyEndAllowThreads(__tstate
);
20482 if (PyErr_Occurred()) SWIG_fail
;
20484 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20491 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20492 PyObject
*resultobj
= 0;
20493 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20497 PyObject
*swig_obj
[1] ;
20499 if (!args
) SWIG_fail
;
20500 swig_obj
[0] = args
;
20501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20502 if (!SWIG_IsOK(res1
)) {
20503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20505 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20508 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20509 wxPyEndAllowThreads(__tstate
);
20510 if (PyErr_Occurred()) SWIG_fail
;
20512 resultobj
= SWIG_From_int(static_cast< int >(result
));
20519 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20520 PyObject
*resultobj
= 0;
20521 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20527 PyObject
* obj0
= 0 ;
20528 PyObject
* obj1
= 0 ;
20529 char * kwnames
[] = {
20530 (char *) "self",(char *) "nSel", NULL
20533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20535 if (!SWIG_IsOK(res1
)) {
20536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20538 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20539 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20540 if (!SWIG_IsOK(ecode2
)) {
20541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20543 arg2
= static_cast< int >(val2
);
20545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20546 (arg1
)->SetSelection(arg2
);
20547 wxPyEndAllowThreads(__tstate
);
20548 if (PyErr_Occurred()) SWIG_fail
;
20550 resultobj
= SWIG_Py_Void();
20557 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20558 PyObject
*resultobj
= 0;
20559 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20563 PyObject
*swig_obj
[1] ;
20565 if (!args
) SWIG_fail
;
20566 swig_obj
[0] = args
;
20567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20568 if (!SWIG_IsOK(res1
)) {
20569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20571 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20574 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20575 wxPyEndAllowThreads(__tstate
);
20576 if (PyErr_Occurred()) SWIG_fail
;
20578 resultobj
= SWIG_From_int(static_cast< int >(result
));
20585 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20586 PyObject
*resultobj
= 0;
20587 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20593 PyObject
* obj0
= 0 ;
20594 PyObject
* obj1
= 0 ;
20595 char * kwnames
[] = {
20596 (char *) "self",(char *) "nOldSel", NULL
20599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20601 if (!SWIG_IsOK(res1
)) {
20602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20604 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20606 if (!SWIG_IsOK(ecode2
)) {
20607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20609 arg2
= static_cast< int >(val2
);
20611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20612 (arg1
)->SetOldSelection(arg2
);
20613 wxPyEndAllowThreads(__tstate
);
20614 if (PyErr_Occurred()) SWIG_fail
;
20616 resultobj
= SWIG_Py_Void();
20623 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20625 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20626 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20627 return SWIG_Py_Void();
20630 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20631 return SWIG_Python_InitShadowInstance(args
);
20634 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20635 PyObject
*resultobj
= 0;
20636 wxWindow
*arg1
= (wxWindow
*) 0 ;
20637 int arg2
= (int) -1 ;
20638 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20639 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20640 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20641 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20642 long arg5
= (long) 0 ;
20643 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20644 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20645 wxNotebook
*result
= 0 ;
20654 bool temp6
= false ;
20655 PyObject
* obj0
= 0 ;
20656 PyObject
* obj1
= 0 ;
20657 PyObject
* obj2
= 0 ;
20658 PyObject
* obj3
= 0 ;
20659 PyObject
* obj4
= 0 ;
20660 PyObject
* obj5
= 0 ;
20661 char * kwnames
[] = {
20662 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20667 if (!SWIG_IsOK(res1
)) {
20668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20670 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20672 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20673 if (!SWIG_IsOK(ecode2
)) {
20674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20676 arg2
= static_cast< int >(val2
);
20681 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20687 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20691 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20692 if (!SWIG_IsOK(ecode5
)) {
20693 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20695 arg5
= static_cast< long >(val5
);
20699 arg6
= wxString_in_helper(obj5
);
20700 if (arg6
== NULL
) SWIG_fail
;
20705 if (!wxPyCheckForApp()) SWIG_fail
;
20706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20707 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20708 wxPyEndAllowThreads(__tstate
);
20709 if (PyErr_Occurred()) SWIG_fail
;
20711 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20726 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20727 PyObject
*resultobj
= 0;
20728 wxNotebook
*result
= 0 ;
20730 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20732 if (!wxPyCheckForApp()) SWIG_fail
;
20733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20734 result
= (wxNotebook
*)new wxNotebook();
20735 wxPyEndAllowThreads(__tstate
);
20736 if (PyErr_Occurred()) SWIG_fail
;
20738 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20745 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20746 PyObject
*resultobj
= 0;
20747 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20748 wxWindow
*arg2
= (wxWindow
*) 0 ;
20749 int arg3
= (int) -1 ;
20750 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20751 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20752 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20753 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20754 long arg6
= (long) 0 ;
20755 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20756 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20768 bool temp7
= false ;
20769 PyObject
* obj0
= 0 ;
20770 PyObject
* obj1
= 0 ;
20771 PyObject
* obj2
= 0 ;
20772 PyObject
* obj3
= 0 ;
20773 PyObject
* obj4
= 0 ;
20774 PyObject
* obj5
= 0 ;
20775 PyObject
* obj6
= 0 ;
20776 char * kwnames
[] = {
20777 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20782 if (!SWIG_IsOK(res1
)) {
20783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20785 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20786 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20787 if (!SWIG_IsOK(res2
)) {
20788 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20790 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20792 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20793 if (!SWIG_IsOK(ecode3
)) {
20794 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20796 arg3
= static_cast< int >(val3
);
20801 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20807 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20811 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20812 if (!SWIG_IsOK(ecode6
)) {
20813 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20815 arg6
= static_cast< long >(val6
);
20819 arg7
= wxString_in_helper(obj6
);
20820 if (arg7
== NULL
) SWIG_fail
;
20825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20826 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20827 wxPyEndAllowThreads(__tstate
);
20828 if (PyErr_Occurred()) SWIG_fail
;
20831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20847 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20848 PyObject
*resultobj
= 0;
20849 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20853 PyObject
*swig_obj
[1] ;
20855 if (!args
) SWIG_fail
;
20856 swig_obj
[0] = args
;
20857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20858 if (!SWIG_IsOK(res1
)) {
20859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20861 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20864 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20865 wxPyEndAllowThreads(__tstate
);
20866 if (PyErr_Occurred()) SWIG_fail
;
20868 resultobj
= SWIG_From_int(static_cast< int >(result
));
20875 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20876 PyObject
*resultobj
= 0;
20877 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20882 PyObject
* obj0
= 0 ;
20883 PyObject
* obj1
= 0 ;
20884 char * kwnames
[] = {
20885 (char *) "self",(char *) "padding", NULL
20888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20890 if (!SWIG_IsOK(res1
)) {
20891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20893 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20896 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20900 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20901 wxPyEndAllowThreads(__tstate
);
20902 if (PyErr_Occurred()) SWIG_fail
;
20904 resultobj
= SWIG_Py_Void();
20911 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20912 PyObject
*resultobj
= 0;
20913 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20918 PyObject
* obj0
= 0 ;
20919 PyObject
* obj1
= 0 ;
20920 char * kwnames
[] = {
20921 (char *) "self",(char *) "sz", NULL
20924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20926 if (!SWIG_IsOK(res1
)) {
20927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20929 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20932 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20936 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20937 wxPyEndAllowThreads(__tstate
);
20938 if (PyErr_Occurred()) SWIG_fail
;
20940 resultobj
= SWIG_Py_Void();
20947 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20948 PyObject
*resultobj
= 0;
20949 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20953 PyObject
*swig_obj
[1] ;
20955 if (!args
) SWIG_fail
;
20956 swig_obj
[0] = args
;
20957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20958 if (!SWIG_IsOK(res1
)) {
20959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20961 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20964 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20965 wxPyEndAllowThreads(__tstate
);
20966 if (PyErr_Occurred()) SWIG_fail
;
20968 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20975 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20976 PyObject
*resultobj
= 0;
20977 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20978 SwigValueWrapper
<wxVisualAttributes
> result
;
20981 PyObject
* obj0
= 0 ;
20982 char * kwnames
[] = {
20983 (char *) "variant", NULL
20986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20988 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20989 if (!SWIG_IsOK(ecode1
)) {
20990 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20992 arg1
= static_cast< wxWindowVariant
>(val1
);
20995 if (!wxPyCheckForApp()) SWIG_fail
;
20996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20997 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20998 wxPyEndAllowThreads(__tstate
);
20999 if (PyErr_Occurred()) SWIG_fail
;
21001 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21008 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21009 PyObject
*resultobj
= 0;
21010 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21017 PyObject
* obj0
= 0 ;
21018 PyObject
* obj1
= 0 ;
21019 char * kwnames
[] = {
21020 (char *) "self",(char *) "nPage", NULL
21023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SendPageChangingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21025 if (!SWIG_IsOK(res1
)) {
21026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21028 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21030 if (!SWIG_IsOK(ecode2
)) {
21031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
21033 arg2
= static_cast< int >(val2
);
21035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21036 result
= (bool)(arg1
)->SendPageChangingEvent(arg2
);
21037 wxPyEndAllowThreads(__tstate
);
21038 if (PyErr_Occurred()) SWIG_fail
;
21041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21049 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21050 PyObject
*resultobj
= 0;
21051 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21053 int arg3
= (int) -1 ;
21060 PyObject
* obj0
= 0 ;
21061 PyObject
* obj1
= 0 ;
21062 PyObject
* obj2
= 0 ;
21063 char * kwnames
[] = {
21064 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21069 if (!SWIG_IsOK(res1
)) {
21070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21072 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21074 if (!SWIG_IsOK(ecode2
)) {
21075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21077 arg2
= static_cast< int >(val2
);
21079 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21080 if (!SWIG_IsOK(ecode3
)) {
21081 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21083 arg3
= static_cast< int >(val3
);
21086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21087 (arg1
)->SendPageChangedEvent(arg2
,arg3
);
21088 wxPyEndAllowThreads(__tstate
);
21089 if (PyErr_Occurred()) SWIG_fail
;
21091 resultobj
= SWIG_Py_Void();
21098 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21100 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21101 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
21102 return SWIG_Py_Void();
21105 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21106 return SWIG_Python_InitShadowInstance(args
);
21109 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21110 PyObject
*resultobj
= 0;
21111 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21112 int arg2
= (int) 0 ;
21113 int arg3
= (int) -1 ;
21114 int arg4
= (int) -1 ;
21115 wxNotebookEvent
*result
= 0 ;
21124 PyObject
* obj0
= 0 ;
21125 PyObject
* obj1
= 0 ;
21126 PyObject
* obj2
= 0 ;
21127 PyObject
* obj3
= 0 ;
21128 char * kwnames
[] = {
21129 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21134 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21135 if (!SWIG_IsOK(ecode1
)) {
21136 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21138 arg1
= static_cast< wxEventType
>(val1
);
21141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21142 if (!SWIG_IsOK(ecode2
)) {
21143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21145 arg2
= static_cast< int >(val2
);
21148 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21149 if (!SWIG_IsOK(ecode3
)) {
21150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21152 arg3
= static_cast< int >(val3
);
21155 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21156 if (!SWIG_IsOK(ecode4
)) {
21157 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21159 arg4
= static_cast< int >(val4
);
21162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21163 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
21164 wxPyEndAllowThreads(__tstate
);
21165 if (PyErr_Occurred()) SWIG_fail
;
21167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
21174 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21176 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21177 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
21178 return SWIG_Py_Void();
21181 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21182 return SWIG_Python_InitShadowInstance(args
);
21185 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21186 PyObject
*resultobj
= 0;
21187 wxWindow
*arg1
= (wxWindow
*) 0 ;
21188 int arg2
= (int) -1 ;
21189 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21190 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21191 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21192 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21193 long arg5
= (long) 0 ;
21194 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21195 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21196 wxListbook
*result
= 0 ;
21205 bool temp6
= false ;
21206 PyObject
* obj0
= 0 ;
21207 PyObject
* obj1
= 0 ;
21208 PyObject
* obj2
= 0 ;
21209 PyObject
* obj3
= 0 ;
21210 PyObject
* obj4
= 0 ;
21211 PyObject
* obj5
= 0 ;
21212 char * kwnames
[] = {
21213 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21218 if (!SWIG_IsOK(res1
)) {
21219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21221 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21223 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21224 if (!SWIG_IsOK(ecode2
)) {
21225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21227 arg2
= static_cast< int >(val2
);
21232 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21238 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21242 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21243 if (!SWIG_IsOK(ecode5
)) {
21244 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21246 arg5
= static_cast< long >(val5
);
21250 arg6
= wxString_in_helper(obj5
);
21251 if (arg6
== NULL
) SWIG_fail
;
21256 if (!wxPyCheckForApp()) SWIG_fail
;
21257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21258 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21259 wxPyEndAllowThreads(__tstate
);
21260 if (PyErr_Occurred()) SWIG_fail
;
21262 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
21277 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21278 PyObject
*resultobj
= 0;
21279 wxListbook
*result
= 0 ;
21281 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
21283 if (!wxPyCheckForApp()) SWIG_fail
;
21284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21285 result
= (wxListbook
*)new wxListbook();
21286 wxPyEndAllowThreads(__tstate
);
21287 if (PyErr_Occurred()) SWIG_fail
;
21289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21296 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21297 PyObject
*resultobj
= 0;
21298 wxListbook
*arg1
= (wxListbook
*) 0 ;
21299 wxWindow
*arg2
= (wxWindow
*) 0 ;
21300 int arg3
= (int) -1 ;
21301 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21302 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21303 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21304 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21305 long arg6
= (long) 0 ;
21306 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21307 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21319 bool temp7
= false ;
21320 PyObject
* obj0
= 0 ;
21321 PyObject
* obj1
= 0 ;
21322 PyObject
* obj2
= 0 ;
21323 PyObject
* obj3
= 0 ;
21324 PyObject
* obj4
= 0 ;
21325 PyObject
* obj5
= 0 ;
21326 PyObject
* obj6
= 0 ;
21327 char * kwnames
[] = {
21328 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21333 if (!SWIG_IsOK(res1
)) {
21334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21336 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21337 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21338 if (!SWIG_IsOK(res2
)) {
21339 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21341 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21343 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21344 if (!SWIG_IsOK(ecode3
)) {
21345 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21347 arg3
= static_cast< int >(val3
);
21352 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21358 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21362 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21363 if (!SWIG_IsOK(ecode6
)) {
21364 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21366 arg6
= static_cast< long >(val6
);
21370 arg7
= wxString_in_helper(obj6
);
21371 if (arg7
== NULL
) SWIG_fail
;
21376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21377 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21378 wxPyEndAllowThreads(__tstate
);
21379 if (PyErr_Occurred()) SWIG_fail
;
21382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21398 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21399 PyObject
*resultobj
= 0;
21400 wxListbook
*arg1
= (wxListbook
*) 0 ;
21401 wxListView
*result
= 0 ;
21404 PyObject
*swig_obj
[1] ;
21406 if (!args
) SWIG_fail
;
21407 swig_obj
[0] = args
;
21408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21409 if (!SWIG_IsOK(res1
)) {
21410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21412 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21415 result
= (wxListView
*)(arg1
)->GetListView();
21416 wxPyEndAllowThreads(__tstate
);
21417 if (PyErr_Occurred()) SWIG_fail
;
21419 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21426 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21428 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21429 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21430 return SWIG_Py_Void();
21433 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21434 return SWIG_Python_InitShadowInstance(args
);
21437 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21438 PyObject
*resultobj
= 0;
21439 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21440 int arg2
= (int) 0 ;
21441 int arg3
= (int) -1 ;
21442 int arg4
= (int) -1 ;
21443 wxListbookEvent
*result
= 0 ;
21452 PyObject
* obj0
= 0 ;
21453 PyObject
* obj1
= 0 ;
21454 PyObject
* obj2
= 0 ;
21455 PyObject
* obj3
= 0 ;
21456 char * kwnames
[] = {
21457 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21462 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21463 if (!SWIG_IsOK(ecode1
)) {
21464 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21466 arg1
= static_cast< wxEventType
>(val1
);
21469 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21470 if (!SWIG_IsOK(ecode2
)) {
21471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21473 arg2
= static_cast< int >(val2
);
21476 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21477 if (!SWIG_IsOK(ecode3
)) {
21478 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21480 arg3
= static_cast< int >(val3
);
21483 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21484 if (!SWIG_IsOK(ecode4
)) {
21485 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21487 arg4
= static_cast< int >(val4
);
21490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21491 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21492 wxPyEndAllowThreads(__tstate
);
21493 if (PyErr_Occurred()) SWIG_fail
;
21495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21502 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21504 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21505 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21506 return SWIG_Py_Void();
21509 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21510 return SWIG_Python_InitShadowInstance(args
);
21513 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21514 PyObject
*resultobj
= 0;
21515 wxWindow
*arg1
= (wxWindow
*) 0 ;
21517 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21518 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21519 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21520 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21521 long arg5
= (long) 0 ;
21522 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21523 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21524 wxChoicebook
*result
= 0 ;
21533 bool temp6
= false ;
21534 PyObject
* obj0
= 0 ;
21535 PyObject
* obj1
= 0 ;
21536 PyObject
* obj2
= 0 ;
21537 PyObject
* obj3
= 0 ;
21538 PyObject
* obj4
= 0 ;
21539 PyObject
* obj5
= 0 ;
21540 char * kwnames
[] = {
21541 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21546 if (!SWIG_IsOK(res1
)) {
21547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21549 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21551 if (!SWIG_IsOK(ecode2
)) {
21552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21554 arg2
= static_cast< int >(val2
);
21558 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21564 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21568 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21569 if (!SWIG_IsOK(ecode5
)) {
21570 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21572 arg5
= static_cast< long >(val5
);
21576 arg6
= wxString_in_helper(obj5
);
21577 if (arg6
== NULL
) SWIG_fail
;
21582 if (!wxPyCheckForApp()) SWIG_fail
;
21583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21584 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21585 wxPyEndAllowThreads(__tstate
);
21586 if (PyErr_Occurred()) SWIG_fail
;
21588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21603 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21604 PyObject
*resultobj
= 0;
21605 wxChoicebook
*result
= 0 ;
21607 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21609 if (!wxPyCheckForApp()) SWIG_fail
;
21610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21611 result
= (wxChoicebook
*)new wxChoicebook();
21612 wxPyEndAllowThreads(__tstate
);
21613 if (PyErr_Occurred()) SWIG_fail
;
21615 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21622 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21623 PyObject
*resultobj
= 0;
21624 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21625 wxWindow
*arg2
= (wxWindow
*) 0 ;
21627 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21628 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21629 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21630 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21631 long arg6
= (long) 0 ;
21632 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21633 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21645 bool temp7
= false ;
21646 PyObject
* obj0
= 0 ;
21647 PyObject
* obj1
= 0 ;
21648 PyObject
* obj2
= 0 ;
21649 PyObject
* obj3
= 0 ;
21650 PyObject
* obj4
= 0 ;
21651 PyObject
* obj5
= 0 ;
21652 PyObject
* obj6
= 0 ;
21653 char * kwnames
[] = {
21654 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21659 if (!SWIG_IsOK(res1
)) {
21660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21662 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21663 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21664 if (!SWIG_IsOK(res2
)) {
21665 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21667 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21668 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21669 if (!SWIG_IsOK(ecode3
)) {
21670 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21672 arg3
= static_cast< int >(val3
);
21676 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21682 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21686 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21687 if (!SWIG_IsOK(ecode6
)) {
21688 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21690 arg6
= static_cast< long >(val6
);
21694 arg7
= wxString_in_helper(obj6
);
21695 if (arg7
== NULL
) SWIG_fail
;
21700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21701 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21702 wxPyEndAllowThreads(__tstate
);
21703 if (PyErr_Occurred()) SWIG_fail
;
21706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21722 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21723 PyObject
*resultobj
= 0;
21724 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21725 wxChoice
*result
= 0 ;
21728 PyObject
*swig_obj
[1] ;
21730 if (!args
) SWIG_fail
;
21731 swig_obj
[0] = args
;
21732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21733 if (!SWIG_IsOK(res1
)) {
21734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21736 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21739 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21740 wxPyEndAllowThreads(__tstate
);
21741 if (PyErr_Occurred()) SWIG_fail
;
21743 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21750 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21752 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21753 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21754 return SWIG_Py_Void();
21757 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21758 return SWIG_Python_InitShadowInstance(args
);
21761 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21762 PyObject
*resultobj
= 0;
21763 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21764 int arg2
= (int) 0 ;
21765 int arg3
= (int) -1 ;
21766 int arg4
= (int) -1 ;
21767 wxChoicebookEvent
*result
= 0 ;
21776 PyObject
* obj0
= 0 ;
21777 PyObject
* obj1
= 0 ;
21778 PyObject
* obj2
= 0 ;
21779 PyObject
* obj3
= 0 ;
21780 char * kwnames
[] = {
21781 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21786 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21787 if (!SWIG_IsOK(ecode1
)) {
21788 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21790 arg1
= static_cast< wxEventType
>(val1
);
21793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21794 if (!SWIG_IsOK(ecode2
)) {
21795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21797 arg2
= static_cast< int >(val2
);
21800 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21801 if (!SWIG_IsOK(ecode3
)) {
21802 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21804 arg3
= static_cast< int >(val3
);
21807 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21808 if (!SWIG_IsOK(ecode4
)) {
21809 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21811 arg4
= static_cast< int >(val4
);
21814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21815 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21816 wxPyEndAllowThreads(__tstate
);
21817 if (PyErr_Occurred()) SWIG_fail
;
21819 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21826 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21828 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21829 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21830 return SWIG_Py_Void();
21833 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21834 return SWIG_Python_InitShadowInstance(args
);
21837 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21838 PyObject
*resultobj
= 0;
21839 wxWindow
*arg1
= (wxWindow
*) 0 ;
21841 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21842 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21843 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21844 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21845 long arg5
= (long) wxBK_DEFAULT
;
21846 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21847 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21848 wxTreebook
*result
= 0 ;
21857 bool temp6
= false ;
21858 PyObject
* obj0
= 0 ;
21859 PyObject
* obj1
= 0 ;
21860 PyObject
* obj2
= 0 ;
21861 PyObject
* obj3
= 0 ;
21862 PyObject
* obj4
= 0 ;
21863 PyObject
* obj5
= 0 ;
21864 char * kwnames
[] = {
21865 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21870 if (!SWIG_IsOK(res1
)) {
21871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21873 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21875 if (!SWIG_IsOK(ecode2
)) {
21876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21878 arg2
= static_cast< int >(val2
);
21882 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21888 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21892 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21893 if (!SWIG_IsOK(ecode5
)) {
21894 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21896 arg5
= static_cast< long >(val5
);
21900 arg6
= wxString_in_helper(obj5
);
21901 if (arg6
== NULL
) SWIG_fail
;
21906 if (!wxPyCheckForApp()) SWIG_fail
;
21907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21908 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21909 wxPyEndAllowThreads(__tstate
);
21910 if (PyErr_Occurred()) SWIG_fail
;
21912 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21927 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21928 PyObject
*resultobj
= 0;
21929 wxTreebook
*result
= 0 ;
21931 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21933 if (!wxPyCheckForApp()) SWIG_fail
;
21934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21935 result
= (wxTreebook
*)new wxTreebook();
21936 wxPyEndAllowThreads(__tstate
);
21937 if (PyErr_Occurred()) SWIG_fail
;
21939 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21946 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21947 PyObject
*resultobj
= 0;
21948 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21949 wxWindow
*arg2
= (wxWindow
*) 0 ;
21951 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21952 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21953 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21954 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21955 long arg6
= (long) wxBK_DEFAULT
;
21956 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21957 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21969 bool temp7
= false ;
21970 PyObject
* obj0
= 0 ;
21971 PyObject
* obj1
= 0 ;
21972 PyObject
* obj2
= 0 ;
21973 PyObject
* obj3
= 0 ;
21974 PyObject
* obj4
= 0 ;
21975 PyObject
* obj5
= 0 ;
21976 PyObject
* obj6
= 0 ;
21977 char * kwnames
[] = {
21978 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21983 if (!SWIG_IsOK(res1
)) {
21984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21986 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21987 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21988 if (!SWIG_IsOK(res2
)) {
21989 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21991 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21992 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21993 if (!SWIG_IsOK(ecode3
)) {
21994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21996 arg3
= static_cast< int >(val3
);
22000 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22006 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22010 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22011 if (!SWIG_IsOK(ecode6
)) {
22012 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
22014 arg6
= static_cast< long >(val6
);
22018 arg7
= wxString_in_helper(obj6
);
22019 if (arg7
== NULL
) SWIG_fail
;
22024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22025 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22026 wxPyEndAllowThreads(__tstate
);
22027 if (PyErr_Occurred()) SWIG_fail
;
22030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22046 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22047 PyObject
*resultobj
= 0;
22048 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22050 wxWindow
*arg3
= (wxWindow
*) 0 ;
22051 wxString
*arg4
= 0 ;
22052 bool arg5
= (bool) false ;
22053 int arg6
= (int) wxNOT_FOUND
;
22061 bool temp4
= false ;
22066 PyObject
* obj0
= 0 ;
22067 PyObject
* obj1
= 0 ;
22068 PyObject
* obj2
= 0 ;
22069 PyObject
* obj3
= 0 ;
22070 PyObject
* obj4
= 0 ;
22071 PyObject
* obj5
= 0 ;
22072 char * kwnames
[] = {
22073 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22078 if (!SWIG_IsOK(res1
)) {
22079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22081 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22082 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22083 if (!SWIG_IsOK(ecode2
)) {
22084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22086 arg2
= static_cast< size_t >(val2
);
22087 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22088 if (!SWIG_IsOK(res3
)) {
22089 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22091 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
22093 arg4
= wxString_in_helper(obj3
);
22094 if (arg4
== NULL
) SWIG_fail
;
22098 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
22099 if (!SWIG_IsOK(ecode5
)) {
22100 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22102 arg5
= static_cast< bool >(val5
);
22105 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22106 if (!SWIG_IsOK(ecode6
)) {
22107 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22109 arg6
= static_cast< int >(val6
);
22112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22113 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
22114 wxPyEndAllowThreads(__tstate
);
22115 if (PyErr_Occurred()) SWIG_fail
;
22118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22134 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22135 PyObject
*resultobj
= 0;
22136 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22137 wxWindow
*arg2
= (wxWindow
*) 0 ;
22138 wxString
*arg3
= 0 ;
22139 bool arg4
= (bool) false ;
22140 int arg5
= (int) wxNOT_FOUND
;
22146 bool temp3
= false ;
22151 PyObject
* obj0
= 0 ;
22152 PyObject
* obj1
= 0 ;
22153 PyObject
* obj2
= 0 ;
22154 PyObject
* obj3
= 0 ;
22155 PyObject
* obj4
= 0 ;
22156 char * kwnames
[] = {
22157 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22162 if (!SWIG_IsOK(res1
)) {
22163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22165 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22166 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22167 if (!SWIG_IsOK(res2
)) {
22168 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22170 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22172 arg3
= wxString_in_helper(obj2
);
22173 if (arg3
== NULL
) SWIG_fail
;
22177 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
22178 if (!SWIG_IsOK(ecode4
)) {
22179 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22181 arg4
= static_cast< bool >(val4
);
22184 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22185 if (!SWIG_IsOK(ecode5
)) {
22186 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22188 arg5
= static_cast< int >(val5
);
22191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22192 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22193 wxPyEndAllowThreads(__tstate
);
22194 if (PyErr_Occurred()) SWIG_fail
;
22197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22213 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22214 PyObject
*resultobj
= 0;
22215 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22222 PyObject
* obj0
= 0 ;
22223 PyObject
* obj1
= 0 ;
22224 char * kwnames
[] = {
22225 (char *) "self",(char *) "pos", NULL
22228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22230 if (!SWIG_IsOK(res1
)) {
22231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22233 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22234 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22235 if (!SWIG_IsOK(ecode2
)) {
22236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22238 arg2
= static_cast< size_t >(val2
);
22240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22241 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
22242 wxPyEndAllowThreads(__tstate
);
22243 if (PyErr_Occurred()) SWIG_fail
;
22246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22254 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22255 PyObject
*resultobj
= 0;
22256 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22258 bool arg3
= (bool) true ;
22266 PyObject
* obj0
= 0 ;
22267 PyObject
* obj1
= 0 ;
22268 PyObject
* obj2
= 0 ;
22269 char * kwnames
[] = {
22270 (char *) "self",(char *) "pos",(char *) "expand", NULL
22273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22275 if (!SWIG_IsOK(res1
)) {
22276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22278 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22279 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22280 if (!SWIG_IsOK(ecode2
)) {
22281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22283 arg2
= static_cast< size_t >(val2
);
22285 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22286 if (!SWIG_IsOK(ecode3
)) {
22287 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22289 arg3
= static_cast< bool >(val3
);
22292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22293 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22294 wxPyEndAllowThreads(__tstate
);
22295 if (PyErr_Occurred()) SWIG_fail
;
22298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22306 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22307 PyObject
*resultobj
= 0;
22308 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22315 PyObject
* obj0
= 0 ;
22316 PyObject
* obj1
= 0 ;
22317 char * kwnames
[] = {
22318 (char *) "self",(char *) "pos", NULL
22321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22323 if (!SWIG_IsOK(res1
)) {
22324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22326 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22327 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22328 if (!SWIG_IsOK(ecode2
)) {
22329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22331 arg2
= static_cast< size_t >(val2
);
22333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22334 result
= (bool)(arg1
)->CollapseNode(arg2
);
22335 wxPyEndAllowThreads(__tstate
);
22336 if (PyErr_Occurred()) SWIG_fail
;
22339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22347 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22348 PyObject
*resultobj
= 0;
22349 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22356 PyObject
* obj0
= 0 ;
22357 PyObject
* obj1
= 0 ;
22358 char * kwnames
[] = {
22359 (char *) "self",(char *) "pos", NULL
22362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22364 if (!SWIG_IsOK(res1
)) {
22365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22367 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22368 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22369 if (!SWIG_IsOK(ecode2
)) {
22370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22372 arg2
= static_cast< size_t >(val2
);
22374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22375 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22376 wxPyEndAllowThreads(__tstate
);
22377 if (PyErr_Occurred()) SWIG_fail
;
22379 resultobj
= SWIG_From_int(static_cast< int >(result
));
22386 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22387 PyObject
*resultobj
= 0;
22388 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22389 wxPyTreeCtrl
*result
= 0 ;
22392 PyObject
*swig_obj
[1] ;
22394 if (!args
) SWIG_fail
;
22395 swig_obj
[0] = args
;
22396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22397 if (!SWIG_IsOK(res1
)) {
22398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22400 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22403 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22404 wxPyEndAllowThreads(__tstate
);
22405 if (PyErr_Occurred()) SWIG_fail
;
22408 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22416 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22418 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22419 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22420 return SWIG_Py_Void();
22423 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22424 return SWIG_Python_InitShadowInstance(args
);
22427 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22428 PyObject
*resultobj
= 0;
22429 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22430 int arg2
= (int) 0 ;
22431 int arg3
= (int) wxNOT_FOUND
;
22432 int arg4
= (int) wxNOT_FOUND
;
22433 wxTreebookEvent
*result
= 0 ;
22442 PyObject
* obj0
= 0 ;
22443 PyObject
* obj1
= 0 ;
22444 PyObject
* obj2
= 0 ;
22445 PyObject
* obj3
= 0 ;
22446 char * kwnames
[] = {
22447 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22452 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22453 if (!SWIG_IsOK(ecode1
)) {
22454 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22456 arg1
= static_cast< wxEventType
>(val1
);
22459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22460 if (!SWIG_IsOK(ecode2
)) {
22461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22463 arg2
= static_cast< int >(val2
);
22466 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22467 if (!SWIG_IsOK(ecode3
)) {
22468 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22470 arg3
= static_cast< int >(val3
);
22473 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22474 if (!SWIG_IsOK(ecode4
)) {
22475 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22477 arg4
= static_cast< int >(val4
);
22480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22481 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22482 wxPyEndAllowThreads(__tstate
);
22483 if (PyErr_Occurred()) SWIG_fail
;
22485 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22492 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22494 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22495 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22496 return SWIG_Py_Void();
22499 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22500 return SWIG_Python_InitShadowInstance(args
);
22503 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22504 PyObject
*resultobj
= 0;
22505 wxWindow
*arg1
= (wxWindow
*) 0 ;
22507 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22508 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22509 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22510 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22511 long arg5
= (long) wxBK_DEFAULT
;
22512 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22513 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22514 wxToolbook
*result
= 0 ;
22523 bool temp6
= false ;
22524 PyObject
* obj0
= 0 ;
22525 PyObject
* obj1
= 0 ;
22526 PyObject
* obj2
= 0 ;
22527 PyObject
* obj3
= 0 ;
22528 PyObject
* obj4
= 0 ;
22529 PyObject
* obj5
= 0 ;
22530 char * kwnames
[] = {
22531 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22536 if (!SWIG_IsOK(res1
)) {
22537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22539 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22540 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22541 if (!SWIG_IsOK(ecode2
)) {
22542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22544 arg2
= static_cast< int >(val2
);
22548 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22554 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22558 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22559 if (!SWIG_IsOK(ecode5
)) {
22560 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22562 arg5
= static_cast< long >(val5
);
22566 arg6
= wxString_in_helper(obj5
);
22567 if (arg6
== NULL
) SWIG_fail
;
22572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22573 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22574 wxPyEndAllowThreads(__tstate
);
22575 if (PyErr_Occurred()) SWIG_fail
;
22577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22592 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22593 PyObject
*resultobj
= 0;
22594 wxToolbook
*result
= 0 ;
22596 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22599 result
= (wxToolbook
*)new wxToolbook();
22600 wxPyEndAllowThreads(__tstate
);
22601 if (PyErr_Occurred()) SWIG_fail
;
22603 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22610 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22611 PyObject
*resultobj
= 0;
22612 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22613 wxWindow
*arg2
= (wxWindow
*) 0 ;
22615 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22616 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22617 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22618 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22619 long arg6
= (long) 0 ;
22620 wxString
const &arg7_defvalue
= wxEmptyString
;
22621 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22633 bool temp7
= false ;
22634 PyObject
* obj0
= 0 ;
22635 PyObject
* obj1
= 0 ;
22636 PyObject
* obj2
= 0 ;
22637 PyObject
* obj3
= 0 ;
22638 PyObject
* obj4
= 0 ;
22639 PyObject
* obj5
= 0 ;
22640 PyObject
* obj6
= 0 ;
22641 char * kwnames
[] = {
22642 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22647 if (!SWIG_IsOK(res1
)) {
22648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22650 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22651 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22652 if (!SWIG_IsOK(res2
)) {
22653 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22655 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22656 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22657 if (!SWIG_IsOK(ecode3
)) {
22658 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22660 arg3
= static_cast< int >(val3
);
22664 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22670 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22674 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22675 if (!SWIG_IsOK(ecode6
)) {
22676 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22678 arg6
= static_cast< long >(val6
);
22682 arg7
= wxString_in_helper(obj6
);
22683 if (arg7
== NULL
) SWIG_fail
;
22688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22689 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22690 wxPyEndAllowThreads(__tstate
);
22691 if (PyErr_Occurred()) SWIG_fail
;
22694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22710 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22711 PyObject
*resultobj
= 0;
22712 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22713 wxToolBarBase
*result
= 0 ;
22716 PyObject
*swig_obj
[1] ;
22718 if (!args
) SWIG_fail
;
22719 swig_obj
[0] = args
;
22720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22721 if (!SWIG_IsOK(res1
)) {
22722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22724 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22727 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22728 wxPyEndAllowThreads(__tstate
);
22729 if (PyErr_Occurred()) SWIG_fail
;
22732 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22740 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22741 PyObject
*resultobj
= 0;
22742 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22745 PyObject
*swig_obj
[1] ;
22747 if (!args
) SWIG_fail
;
22748 swig_obj
[0] = args
;
22749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22750 if (!SWIG_IsOK(res1
)) {
22751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22753 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22757 wxPyEndAllowThreads(__tstate
);
22758 if (PyErr_Occurred()) SWIG_fail
;
22760 resultobj
= SWIG_Py_Void();
22767 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22769 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22770 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22771 return SWIG_Py_Void();
22774 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22775 return SWIG_Python_InitShadowInstance(args
);
22778 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22779 PyObject
*resultobj
= 0;
22780 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22781 int arg2
= (int) 0 ;
22782 int arg3
= (int) wxNOT_FOUND
;
22783 int arg4
= (int) wxNOT_FOUND
;
22784 wxToolbookEvent
*result
= 0 ;
22793 PyObject
* obj0
= 0 ;
22794 PyObject
* obj1
= 0 ;
22795 PyObject
* obj2
= 0 ;
22796 PyObject
* obj3
= 0 ;
22797 char * kwnames
[] = {
22798 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22803 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22804 if (!SWIG_IsOK(ecode1
)) {
22805 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22807 arg1
= static_cast< wxEventType
>(val1
);
22810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22811 if (!SWIG_IsOK(ecode2
)) {
22812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22814 arg2
= static_cast< int >(val2
);
22817 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22818 if (!SWIG_IsOK(ecode3
)) {
22819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22821 arg3
= static_cast< int >(val3
);
22824 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22825 if (!SWIG_IsOK(ecode4
)) {
22826 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22828 arg4
= static_cast< int >(val4
);
22831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22832 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22833 wxPyEndAllowThreads(__tstate
);
22834 if (PyErr_Occurred()) SWIG_fail
;
22836 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22843 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22845 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22846 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22847 return SWIG_Py_Void();
22850 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22851 return SWIG_Python_InitShadowInstance(args
);
22854 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22855 PyObject
*resultobj
= 0;
22856 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22860 PyObject
*swig_obj
[1] ;
22862 if (!args
) SWIG_fail
;
22863 swig_obj
[0] = args
;
22864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22865 if (!SWIG_IsOK(res1
)) {
22866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22868 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22871 result
= (int)(arg1
)->GetId();
22872 wxPyEndAllowThreads(__tstate
);
22873 if (PyErr_Occurred()) SWIG_fail
;
22875 resultobj
= SWIG_From_int(static_cast< int >(result
));
22882 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22883 PyObject
*resultobj
= 0;
22884 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22885 wxControl
*result
= 0 ;
22888 PyObject
*swig_obj
[1] ;
22890 if (!args
) SWIG_fail
;
22891 swig_obj
[0] = args
;
22892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22893 if (!SWIG_IsOK(res1
)) {
22894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22896 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22899 result
= (wxControl
*)(arg1
)->GetControl();
22900 wxPyEndAllowThreads(__tstate
);
22901 if (PyErr_Occurred()) SWIG_fail
;
22904 resultobj
= wxPyMake_wxObject(result
, 0);
22912 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22913 PyObject
*resultobj
= 0;
22914 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22915 wxToolBarBase
*result
= 0 ;
22918 PyObject
*swig_obj
[1] ;
22920 if (!args
) SWIG_fail
;
22921 swig_obj
[0] = args
;
22922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22923 if (!SWIG_IsOK(res1
)) {
22924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22926 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22929 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22930 wxPyEndAllowThreads(__tstate
);
22931 if (PyErr_Occurred()) SWIG_fail
;
22934 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22942 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22943 PyObject
*resultobj
= 0;
22944 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22948 PyObject
*swig_obj
[1] ;
22950 if (!args
) SWIG_fail
;
22951 swig_obj
[0] = args
;
22952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22953 if (!SWIG_IsOK(res1
)) {
22954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22956 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22959 result
= (int)(arg1
)->IsButton();
22960 wxPyEndAllowThreads(__tstate
);
22961 if (PyErr_Occurred()) SWIG_fail
;
22963 resultobj
= SWIG_From_int(static_cast< int >(result
));
22970 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22971 PyObject
*resultobj
= 0;
22972 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22976 PyObject
*swig_obj
[1] ;
22978 if (!args
) SWIG_fail
;
22979 swig_obj
[0] = args
;
22980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22981 if (!SWIG_IsOK(res1
)) {
22982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22984 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22987 result
= (int)(arg1
)->IsControl();
22988 wxPyEndAllowThreads(__tstate
);
22989 if (PyErr_Occurred()) SWIG_fail
;
22991 resultobj
= SWIG_From_int(static_cast< int >(result
));
22998 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22999 PyObject
*resultobj
= 0;
23000 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23004 PyObject
*swig_obj
[1] ;
23006 if (!args
) SWIG_fail
;
23007 swig_obj
[0] = args
;
23008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23009 if (!SWIG_IsOK(res1
)) {
23010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23012 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23015 result
= (int)(arg1
)->IsSeparator();
23016 wxPyEndAllowThreads(__tstate
);
23017 if (PyErr_Occurred()) SWIG_fail
;
23019 resultobj
= SWIG_From_int(static_cast< int >(result
));
23026 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23027 PyObject
*resultobj
= 0;
23028 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23032 PyObject
*swig_obj
[1] ;
23034 if (!args
) SWIG_fail
;
23035 swig_obj
[0] = args
;
23036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23037 if (!SWIG_IsOK(res1
)) {
23038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23040 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23043 result
= (int)(arg1
)->GetStyle();
23044 wxPyEndAllowThreads(__tstate
);
23045 if (PyErr_Occurred()) SWIG_fail
;
23047 resultobj
= SWIG_From_int(static_cast< int >(result
));
23054 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23055 PyObject
*resultobj
= 0;
23056 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23060 PyObject
*swig_obj
[1] ;
23062 if (!args
) SWIG_fail
;
23063 swig_obj
[0] = args
;
23064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23065 if (!SWIG_IsOK(res1
)) {
23066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23068 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23071 result
= (wxItemKind
)(arg1
)->GetKind();
23072 wxPyEndAllowThreads(__tstate
);
23073 if (PyErr_Occurred()) SWIG_fail
;
23075 resultobj
= SWIG_From_int(static_cast< int >(result
));
23082 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23083 PyObject
*resultobj
= 0;
23084 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23088 PyObject
*swig_obj
[1] ;
23090 if (!args
) SWIG_fail
;
23091 swig_obj
[0] = args
;
23092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23093 if (!SWIG_IsOK(res1
)) {
23094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23096 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23099 result
= (bool)(arg1
)->IsEnabled();
23100 wxPyEndAllowThreads(__tstate
);
23101 if (PyErr_Occurred()) SWIG_fail
;
23104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23112 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23113 PyObject
*resultobj
= 0;
23114 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23118 PyObject
*swig_obj
[1] ;
23120 if (!args
) SWIG_fail
;
23121 swig_obj
[0] = args
;
23122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23123 if (!SWIG_IsOK(res1
)) {
23124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23126 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23129 result
= (bool)(arg1
)->IsToggled();
23130 wxPyEndAllowThreads(__tstate
);
23131 if (PyErr_Occurred()) SWIG_fail
;
23134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23142 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23143 PyObject
*resultobj
= 0;
23144 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23148 PyObject
*swig_obj
[1] ;
23150 if (!args
) SWIG_fail
;
23151 swig_obj
[0] = args
;
23152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23153 if (!SWIG_IsOK(res1
)) {
23154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23156 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23159 result
= (bool)(arg1
)->CanBeToggled();
23160 wxPyEndAllowThreads(__tstate
);
23161 if (PyErr_Occurred()) SWIG_fail
;
23164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23172 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23173 PyObject
*resultobj
= 0;
23174 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23175 wxBitmap
*result
= 0 ;
23178 PyObject
*swig_obj
[1] ;
23180 if (!args
) SWIG_fail
;
23181 swig_obj
[0] = args
;
23182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23183 if (!SWIG_IsOK(res1
)) {
23184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23186 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23190 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
23191 result
= (wxBitmap
*) &_result_ref
;
23193 wxPyEndAllowThreads(__tstate
);
23194 if (PyErr_Occurred()) SWIG_fail
;
23197 wxBitmap
* resultptr
= new wxBitmap(*result
);
23198 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23206 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23207 PyObject
*resultobj
= 0;
23208 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23209 wxBitmap
*result
= 0 ;
23212 PyObject
*swig_obj
[1] ;
23214 if (!args
) SWIG_fail
;
23215 swig_obj
[0] = args
;
23216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23217 if (!SWIG_IsOK(res1
)) {
23218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23220 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23224 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
23225 result
= (wxBitmap
*) &_result_ref
;
23227 wxPyEndAllowThreads(__tstate
);
23228 if (PyErr_Occurred()) SWIG_fail
;
23231 wxBitmap
* resultptr
= new wxBitmap(*result
);
23232 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23240 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23241 PyObject
*resultobj
= 0;
23242 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23246 PyObject
*swig_obj
[1] ;
23248 if (!args
) SWIG_fail
;
23249 swig_obj
[0] = args
;
23250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23251 if (!SWIG_IsOK(res1
)) {
23252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23254 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23257 result
= (arg1
)->GetBitmap();
23258 wxPyEndAllowThreads(__tstate
);
23259 if (PyErr_Occurred()) SWIG_fail
;
23261 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
23268 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23269 PyObject
*resultobj
= 0;
23270 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23274 PyObject
*swig_obj
[1] ;
23276 if (!args
) SWIG_fail
;
23277 swig_obj
[0] = args
;
23278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23279 if (!SWIG_IsOK(res1
)) {
23280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23282 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23285 result
= (arg1
)->GetLabel();
23286 wxPyEndAllowThreads(__tstate
);
23287 if (PyErr_Occurred()) SWIG_fail
;
23291 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23293 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23302 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23303 PyObject
*resultobj
= 0;
23304 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23308 PyObject
*swig_obj
[1] ;
23310 if (!args
) SWIG_fail
;
23311 swig_obj
[0] = args
;
23312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23313 if (!SWIG_IsOK(res1
)) {
23314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23316 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23319 result
= (arg1
)->GetShortHelp();
23320 wxPyEndAllowThreads(__tstate
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23325 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23327 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23336 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23337 PyObject
*resultobj
= 0;
23338 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23342 PyObject
*swig_obj
[1] ;
23344 if (!args
) SWIG_fail
;
23345 swig_obj
[0] = args
;
23346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23347 if (!SWIG_IsOK(res1
)) {
23348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23350 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23353 result
= (arg1
)->GetLongHelp();
23354 wxPyEndAllowThreads(__tstate
);
23355 if (PyErr_Occurred()) SWIG_fail
;
23359 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23361 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23370 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23371 PyObject
*resultobj
= 0;
23372 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23379 PyObject
* obj0
= 0 ;
23380 PyObject
* obj1
= 0 ;
23381 char * kwnames
[] = {
23382 (char *) "self",(char *) "enable", NULL
23385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23387 if (!SWIG_IsOK(res1
)) {
23388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23390 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23391 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23392 if (!SWIG_IsOK(ecode2
)) {
23393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23395 arg2
= static_cast< bool >(val2
);
23397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23398 result
= (bool)(arg1
)->Enable(arg2
);
23399 wxPyEndAllowThreads(__tstate
);
23400 if (PyErr_Occurred()) SWIG_fail
;
23403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23411 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23412 PyObject
*resultobj
= 0;
23413 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23416 PyObject
*swig_obj
[1] ;
23418 if (!args
) SWIG_fail
;
23419 swig_obj
[0] = args
;
23420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23421 if (!SWIG_IsOK(res1
)) {
23422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23424 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23428 wxPyEndAllowThreads(__tstate
);
23429 if (PyErr_Occurred()) SWIG_fail
;
23431 resultobj
= SWIG_Py_Void();
23438 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23439 PyObject
*resultobj
= 0;
23440 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23447 PyObject
* obj0
= 0 ;
23448 PyObject
* obj1
= 0 ;
23449 char * kwnames
[] = {
23450 (char *) "self",(char *) "toggle", NULL
23453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23455 if (!SWIG_IsOK(res1
)) {
23456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23458 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23459 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23460 if (!SWIG_IsOK(ecode2
)) {
23461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23463 arg2
= static_cast< bool >(val2
);
23465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23466 result
= (bool)(arg1
)->SetToggle(arg2
);
23467 wxPyEndAllowThreads(__tstate
);
23468 if (PyErr_Occurred()) SWIG_fail
;
23471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23479 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23480 PyObject
*resultobj
= 0;
23481 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23482 wxString
*arg2
= 0 ;
23486 bool temp2
= false ;
23487 PyObject
* obj0
= 0 ;
23488 PyObject
* obj1
= 0 ;
23489 char * kwnames
[] = {
23490 (char *) "self",(char *) "help", NULL
23493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23495 if (!SWIG_IsOK(res1
)) {
23496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23498 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23500 arg2
= wxString_in_helper(obj1
);
23501 if (arg2
== NULL
) SWIG_fail
;
23505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23506 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23507 wxPyEndAllowThreads(__tstate
);
23508 if (PyErr_Occurred()) SWIG_fail
;
23511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23527 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23528 PyObject
*resultobj
= 0;
23529 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23530 wxString
*arg2
= 0 ;
23534 bool temp2
= false ;
23535 PyObject
* obj0
= 0 ;
23536 PyObject
* obj1
= 0 ;
23537 char * kwnames
[] = {
23538 (char *) "self",(char *) "help", NULL
23541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23543 if (!SWIG_IsOK(res1
)) {
23544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23546 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23548 arg2
= wxString_in_helper(obj1
);
23549 if (arg2
== NULL
) SWIG_fail
;
23553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23554 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23555 wxPyEndAllowThreads(__tstate
);
23556 if (PyErr_Occurred()) SWIG_fail
;
23559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23575 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23576 PyObject
*resultobj
= 0;
23577 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23578 wxBitmap
*arg2
= 0 ;
23583 PyObject
* obj0
= 0 ;
23584 PyObject
* obj1
= 0 ;
23585 char * kwnames
[] = {
23586 (char *) "self",(char *) "bmp", NULL
23589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23591 if (!SWIG_IsOK(res1
)) {
23592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23594 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23595 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23596 if (!SWIG_IsOK(res2
)) {
23597 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23600 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23602 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23605 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23606 wxPyEndAllowThreads(__tstate
);
23607 if (PyErr_Occurred()) SWIG_fail
;
23609 resultobj
= SWIG_Py_Void();
23616 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23617 PyObject
*resultobj
= 0;
23618 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23619 wxBitmap
*arg2
= 0 ;
23624 PyObject
* obj0
= 0 ;
23625 PyObject
* obj1
= 0 ;
23626 char * kwnames
[] = {
23627 (char *) "self",(char *) "bmp", NULL
23630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23632 if (!SWIG_IsOK(res1
)) {
23633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23635 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23636 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23637 if (!SWIG_IsOK(res2
)) {
23638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23643 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23646 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23647 wxPyEndAllowThreads(__tstate
);
23648 if (PyErr_Occurred()) SWIG_fail
;
23650 resultobj
= SWIG_Py_Void();
23657 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23658 PyObject
*resultobj
= 0;
23659 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23660 wxString
*arg2
= 0 ;
23663 bool temp2
= false ;
23664 PyObject
* obj0
= 0 ;
23665 PyObject
* obj1
= 0 ;
23666 char * kwnames
[] = {
23667 (char *) "self",(char *) "label", NULL
23670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23672 if (!SWIG_IsOK(res1
)) {
23673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23675 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23677 arg2
= wxString_in_helper(obj1
);
23678 if (arg2
== NULL
) SWIG_fail
;
23682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23683 (arg1
)->SetLabel((wxString
const &)*arg2
);
23684 wxPyEndAllowThreads(__tstate
);
23685 if (PyErr_Occurred()) SWIG_fail
;
23687 resultobj
= SWIG_Py_Void();
23702 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23703 PyObject
*resultobj
= 0;
23704 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23707 PyObject
*swig_obj
[1] ;
23709 if (!args
) SWIG_fail
;
23710 swig_obj
[0] = args
;
23711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23712 if (!SWIG_IsOK(res1
)) {
23713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23715 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23719 wxPyEndAllowThreads(__tstate
);
23720 if (PyErr_Occurred()) SWIG_fail
;
23722 resultobj
= SWIG_Py_Void();
23729 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23730 PyObject
*resultobj
= 0;
23731 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23732 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23737 PyObject
* obj0
= 0 ;
23738 PyObject
* obj1
= 0 ;
23739 char * kwnames
[] = {
23740 (char *) "self",(char *) "tbar", NULL
23743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23745 if (!SWIG_IsOK(res1
)) {
23746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23748 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23749 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23750 if (!SWIG_IsOK(res2
)) {
23751 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23753 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23756 (arg1
)->Attach(arg2
);
23757 wxPyEndAllowThreads(__tstate
);
23758 if (PyErr_Occurred()) SWIG_fail
;
23760 resultobj
= SWIG_Py_Void();
23767 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23768 PyObject
*resultobj
= 0;
23769 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23770 PyObject
*result
= 0 ;
23773 PyObject
*swig_obj
[1] ;
23775 if (!args
) SWIG_fail
;
23776 swig_obj
[0] = args
;
23777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23778 if (!SWIG_IsOK(res1
)) {
23779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23781 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23784 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23785 wxPyEndAllowThreads(__tstate
);
23786 if (PyErr_Occurred()) SWIG_fail
;
23788 resultobj
= result
;
23795 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23796 PyObject
*resultobj
= 0;
23797 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23798 PyObject
*arg2
= (PyObject
*) 0 ;
23801 PyObject
* obj0
= 0 ;
23802 PyObject
* obj1
= 0 ;
23803 char * kwnames
[] = {
23804 (char *) "self",(char *) "clientData", NULL
23807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23809 if (!SWIG_IsOK(res1
)) {
23810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23812 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23816 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23817 wxPyEndAllowThreads(__tstate
);
23818 if (PyErr_Occurred()) SWIG_fail
;
23820 resultobj
= SWIG_Py_Void();
23827 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23829 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23830 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23831 return SWIG_Py_Void();
23834 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23835 PyObject
*resultobj
= 0;
23836 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23838 wxString
*arg3
= 0 ;
23839 wxBitmap
*arg4
= 0 ;
23840 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23841 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23842 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23843 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23844 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23845 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23846 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23847 PyObject
*arg9
= (PyObject
*) NULL
;
23848 wxToolBarToolBase
*result
= 0 ;
23853 bool temp3
= false ;
23860 bool temp7
= false ;
23861 bool temp8
= false ;
23862 PyObject
* obj0
= 0 ;
23863 PyObject
* obj1
= 0 ;
23864 PyObject
* obj2
= 0 ;
23865 PyObject
* obj3
= 0 ;
23866 PyObject
* obj4
= 0 ;
23867 PyObject
* obj5
= 0 ;
23868 PyObject
* obj6
= 0 ;
23869 PyObject
* obj7
= 0 ;
23870 PyObject
* obj8
= 0 ;
23871 char * kwnames
[] = {
23872 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23877 if (!SWIG_IsOK(res1
)) {
23878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23880 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23882 if (!SWIG_IsOK(ecode2
)) {
23883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23885 arg2
= static_cast< int >(val2
);
23887 arg3
= wxString_in_helper(obj2
);
23888 if (arg3
== NULL
) SWIG_fail
;
23891 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23892 if (!SWIG_IsOK(res4
)) {
23893 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23896 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23898 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23900 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23901 if (!SWIG_IsOK(res5
)) {
23902 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23905 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23907 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23910 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23911 if (!SWIG_IsOK(ecode6
)) {
23912 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23914 arg6
= static_cast< wxItemKind
>(val6
);
23918 arg7
= wxString_in_helper(obj6
);
23919 if (arg7
== NULL
) SWIG_fail
;
23925 arg8
= wxString_in_helper(obj7
);
23926 if (arg8
== NULL
) SWIG_fail
;
23934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23935 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23936 wxPyEndAllowThreads(__tstate
);
23937 if (PyErr_Occurred()) SWIG_fail
;
23940 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23972 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23973 PyObject
*resultobj
= 0;
23974 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23977 wxString
*arg4
= 0 ;
23978 wxBitmap
*arg5
= 0 ;
23979 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23980 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23981 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23982 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23983 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23984 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23985 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23986 PyObject
*arg10
= (PyObject
*) NULL
;
23987 wxToolBarToolBase
*result
= 0 ;
23994 bool temp4
= false ;
24001 bool temp8
= false ;
24002 bool temp9
= false ;
24003 PyObject
* obj0
= 0 ;
24004 PyObject
* obj1
= 0 ;
24005 PyObject
* obj2
= 0 ;
24006 PyObject
* obj3
= 0 ;
24007 PyObject
* obj4
= 0 ;
24008 PyObject
* obj5
= 0 ;
24009 PyObject
* obj6
= 0 ;
24010 PyObject
* obj7
= 0 ;
24011 PyObject
* obj8
= 0 ;
24012 PyObject
* obj9
= 0 ;
24013 char * kwnames
[] = {
24014 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
24017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
24018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24019 if (!SWIG_IsOK(res1
)) {
24020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24022 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24023 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24024 if (!SWIG_IsOK(ecode2
)) {
24025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
24027 arg2
= static_cast< size_t >(val2
);
24028 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24029 if (!SWIG_IsOK(ecode3
)) {
24030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
24032 arg3
= static_cast< int >(val3
);
24034 arg4
= wxString_in_helper(obj3
);
24035 if (arg4
== NULL
) SWIG_fail
;
24038 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24039 if (!SWIG_IsOK(res5
)) {
24040 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24043 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24045 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
24047 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24048 if (!SWIG_IsOK(res6
)) {
24049 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24052 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24054 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
24057 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24058 if (!SWIG_IsOK(ecode7
)) {
24059 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24061 arg7
= static_cast< wxItemKind
>(val7
);
24065 arg8
= wxString_in_helper(obj7
);
24066 if (arg8
== NULL
) SWIG_fail
;
24072 arg9
= wxString_in_helper(obj8
);
24073 if (arg9
== NULL
) SWIG_fail
;
24081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24082 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
24083 wxPyEndAllowThreads(__tstate
);
24084 if (PyErr_Occurred()) SWIG_fail
;
24087 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24119 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24120 PyObject
*resultobj
= 0;
24121 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24122 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
24123 wxToolBarToolBase
*result
= 0 ;
24128 PyObject
* obj0
= 0 ;
24129 PyObject
* obj1
= 0 ;
24130 char * kwnames
[] = {
24131 (char *) "self",(char *) "tool", NULL
24134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24136 if (!SWIG_IsOK(res1
)) {
24137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24139 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24140 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24141 if (!SWIG_IsOK(res2
)) {
24142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24144 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
24146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24147 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
24148 wxPyEndAllowThreads(__tstate
);
24149 if (PyErr_Occurred()) SWIG_fail
;
24152 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24160 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24161 PyObject
*resultobj
= 0;
24162 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24164 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
24165 wxToolBarToolBase
*result
= 0 ;
24172 PyObject
* obj0
= 0 ;
24173 PyObject
* obj1
= 0 ;
24174 PyObject
* obj2
= 0 ;
24175 char * kwnames
[] = {
24176 (char *) "self",(char *) "pos",(char *) "tool", NULL
24179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24181 if (!SWIG_IsOK(res1
)) {
24182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24184 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24185 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24186 if (!SWIG_IsOK(ecode2
)) {
24187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24189 arg2
= static_cast< size_t >(val2
);
24190 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24191 if (!SWIG_IsOK(res3
)) {
24192 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24194 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
24196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24197 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
24198 wxPyEndAllowThreads(__tstate
);
24199 if (PyErr_Occurred()) SWIG_fail
;
24202 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24210 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24211 PyObject
*resultobj
= 0;
24212 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24213 wxControl
*arg2
= (wxControl
*) 0 ;
24214 wxToolBarToolBase
*result
= 0 ;
24219 PyObject
* obj0
= 0 ;
24220 PyObject
* obj1
= 0 ;
24221 char * kwnames
[] = {
24222 (char *) "self",(char *) "control", NULL
24225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24227 if (!SWIG_IsOK(res1
)) {
24228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24230 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24231 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
24232 if (!SWIG_IsOK(res2
)) {
24233 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24235 arg2
= reinterpret_cast< wxControl
* >(argp2
);
24237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24238 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
24239 wxPyEndAllowThreads(__tstate
);
24240 if (PyErr_Occurred()) SWIG_fail
;
24243 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24251 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24252 PyObject
*resultobj
= 0;
24253 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24255 wxControl
*arg3
= (wxControl
*) 0 ;
24256 wxToolBarToolBase
*result
= 0 ;
24263 PyObject
* obj0
= 0 ;
24264 PyObject
* obj1
= 0 ;
24265 PyObject
* obj2
= 0 ;
24266 char * kwnames
[] = {
24267 (char *) "self",(char *) "pos",(char *) "control", NULL
24270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24272 if (!SWIG_IsOK(res1
)) {
24273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24275 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24276 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24277 if (!SWIG_IsOK(ecode2
)) {
24278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24280 arg2
= static_cast< size_t >(val2
);
24281 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
24282 if (!SWIG_IsOK(res3
)) {
24283 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24285 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24288 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
24289 wxPyEndAllowThreads(__tstate
);
24290 if (PyErr_Occurred()) SWIG_fail
;
24293 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24301 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24302 PyObject
*resultobj
= 0;
24303 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24305 wxControl
*result
= 0 ;
24310 PyObject
* obj0
= 0 ;
24311 PyObject
* obj1
= 0 ;
24312 char * kwnames
[] = {
24313 (char *) "self",(char *) "id", NULL
24316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24318 if (!SWIG_IsOK(res1
)) {
24319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24321 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24322 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24323 if (!SWIG_IsOK(ecode2
)) {
24324 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24326 arg2
= static_cast< int >(val2
);
24328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24329 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24330 wxPyEndAllowThreads(__tstate
);
24331 if (PyErr_Occurred()) SWIG_fail
;
24334 resultobj
= wxPyMake_wxObject(result
, 0);
24342 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24343 PyObject
*resultobj
= 0;
24344 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24345 wxToolBarToolBase
*result
= 0 ;
24348 PyObject
*swig_obj
[1] ;
24350 if (!args
) SWIG_fail
;
24351 swig_obj
[0] = args
;
24352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24353 if (!SWIG_IsOK(res1
)) {
24354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24356 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24359 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24360 wxPyEndAllowThreads(__tstate
);
24361 if (PyErr_Occurred()) SWIG_fail
;
24364 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24372 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24373 PyObject
*resultobj
= 0;
24374 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24376 wxToolBarToolBase
*result
= 0 ;
24381 PyObject
* obj0
= 0 ;
24382 PyObject
* obj1
= 0 ;
24383 char * kwnames
[] = {
24384 (char *) "self",(char *) "pos", NULL
24387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24389 if (!SWIG_IsOK(res1
)) {
24390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24392 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24393 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24394 if (!SWIG_IsOK(ecode2
)) {
24395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24397 arg2
= static_cast< size_t >(val2
);
24399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24400 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24401 wxPyEndAllowThreads(__tstate
);
24402 if (PyErr_Occurred()) SWIG_fail
;
24405 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24413 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24414 PyObject
*resultobj
= 0;
24415 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24417 wxToolBarToolBase
*result
= 0 ;
24422 PyObject
* obj0
= 0 ;
24423 PyObject
* obj1
= 0 ;
24424 char * kwnames
[] = {
24425 (char *) "self",(char *) "id", NULL
24428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24430 if (!SWIG_IsOK(res1
)) {
24431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24433 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24435 if (!SWIG_IsOK(ecode2
)) {
24436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24438 arg2
= static_cast< int >(val2
);
24440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24441 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24442 wxPyEndAllowThreads(__tstate
);
24443 if (PyErr_Occurred()) SWIG_fail
;
24446 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24454 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24455 PyObject
*resultobj
= 0;
24456 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24463 PyObject
* obj0
= 0 ;
24464 PyObject
* obj1
= 0 ;
24465 char * kwnames
[] = {
24466 (char *) "self",(char *) "pos", NULL
24469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24471 if (!SWIG_IsOK(res1
)) {
24472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24474 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24475 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24476 if (!SWIG_IsOK(ecode2
)) {
24477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24479 arg2
= static_cast< size_t >(val2
);
24481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24482 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24483 wxPyEndAllowThreads(__tstate
);
24484 if (PyErr_Occurred()) SWIG_fail
;
24487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24495 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24496 PyObject
*resultobj
= 0;
24497 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24504 PyObject
* obj0
= 0 ;
24505 PyObject
* obj1
= 0 ;
24506 char * kwnames
[] = {
24507 (char *) "self",(char *) "id", NULL
24510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24512 if (!SWIG_IsOK(res1
)) {
24513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24515 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24516 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24517 if (!SWIG_IsOK(ecode2
)) {
24518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24520 arg2
= static_cast< int >(val2
);
24522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24523 result
= (bool)(arg1
)->DeleteTool(arg2
);
24524 wxPyEndAllowThreads(__tstate
);
24525 if (PyErr_Occurred()) SWIG_fail
;
24528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24536 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24537 PyObject
*resultobj
= 0;
24538 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24541 PyObject
*swig_obj
[1] ;
24543 if (!args
) SWIG_fail
;
24544 swig_obj
[0] = args
;
24545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24546 if (!SWIG_IsOK(res1
)) {
24547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24549 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24552 (arg1
)->ClearTools();
24553 wxPyEndAllowThreads(__tstate
);
24554 if (PyErr_Occurred()) SWIG_fail
;
24556 resultobj
= SWIG_Py_Void();
24563 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24564 PyObject
*resultobj
= 0;
24565 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24569 PyObject
*swig_obj
[1] ;
24571 if (!args
) SWIG_fail
;
24572 swig_obj
[0] = args
;
24573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24574 if (!SWIG_IsOK(res1
)) {
24575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24577 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24580 result
= (bool)(arg1
)->Realize();
24581 wxPyEndAllowThreads(__tstate
);
24582 if (PyErr_Occurred()) SWIG_fail
;
24585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24593 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24594 PyObject
*resultobj
= 0;
24595 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24604 PyObject
* obj0
= 0 ;
24605 PyObject
* obj1
= 0 ;
24606 PyObject
* obj2
= 0 ;
24607 char * kwnames
[] = {
24608 (char *) "self",(char *) "id",(char *) "enable", NULL
24611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24613 if (!SWIG_IsOK(res1
)) {
24614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24616 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24617 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24618 if (!SWIG_IsOK(ecode2
)) {
24619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24621 arg2
= static_cast< int >(val2
);
24622 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24623 if (!SWIG_IsOK(ecode3
)) {
24624 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24626 arg3
= static_cast< bool >(val3
);
24628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24629 (arg1
)->EnableTool(arg2
,arg3
);
24630 wxPyEndAllowThreads(__tstate
);
24631 if (PyErr_Occurred()) SWIG_fail
;
24633 resultobj
= SWIG_Py_Void();
24640 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24641 PyObject
*resultobj
= 0;
24642 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24651 PyObject
* obj0
= 0 ;
24652 PyObject
* obj1
= 0 ;
24653 PyObject
* obj2
= 0 ;
24654 char * kwnames
[] = {
24655 (char *) "self",(char *) "id",(char *) "toggle", NULL
24658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24660 if (!SWIG_IsOK(res1
)) {
24661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24663 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24665 if (!SWIG_IsOK(ecode2
)) {
24666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24668 arg2
= static_cast< int >(val2
);
24669 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24670 if (!SWIG_IsOK(ecode3
)) {
24671 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24673 arg3
= static_cast< bool >(val3
);
24675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24676 (arg1
)->ToggleTool(arg2
,arg3
);
24677 wxPyEndAllowThreads(__tstate
);
24678 if (PyErr_Occurred()) SWIG_fail
;
24680 resultobj
= SWIG_Py_Void();
24687 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24688 PyObject
*resultobj
= 0;
24689 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24698 PyObject
* obj0
= 0 ;
24699 PyObject
* obj1
= 0 ;
24700 PyObject
* obj2
= 0 ;
24701 char * kwnames
[] = {
24702 (char *) "self",(char *) "id",(char *) "toggle", NULL
24705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24707 if (!SWIG_IsOK(res1
)) {
24708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24710 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24711 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24712 if (!SWIG_IsOK(ecode2
)) {
24713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24715 arg2
= static_cast< int >(val2
);
24716 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24717 if (!SWIG_IsOK(ecode3
)) {
24718 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24720 arg3
= static_cast< bool >(val3
);
24722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24723 (arg1
)->SetToggle(arg2
,arg3
);
24724 wxPyEndAllowThreads(__tstate
);
24725 if (PyErr_Occurred()) SWIG_fail
;
24727 resultobj
= SWIG_Py_Void();
24734 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24735 PyObject
*resultobj
= 0;
24736 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24738 PyObject
*result
= 0 ;
24743 PyObject
* obj0
= 0 ;
24744 PyObject
* obj1
= 0 ;
24745 char * kwnames
[] = {
24746 (char *) "self",(char *) "id", NULL
24749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24751 if (!SWIG_IsOK(res1
)) {
24752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24754 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24755 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24756 if (!SWIG_IsOK(ecode2
)) {
24757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24759 arg2
= static_cast< int >(val2
);
24761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24762 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24763 wxPyEndAllowThreads(__tstate
);
24764 if (PyErr_Occurred()) SWIG_fail
;
24766 resultobj
= result
;
24773 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24774 PyObject
*resultobj
= 0;
24775 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24777 PyObject
*arg3
= (PyObject
*) 0 ;
24782 PyObject
* obj0
= 0 ;
24783 PyObject
* obj1
= 0 ;
24784 PyObject
* obj2
= 0 ;
24785 char * kwnames
[] = {
24786 (char *) "self",(char *) "id",(char *) "clientData", NULL
24789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24791 if (!SWIG_IsOK(res1
)) {
24792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24794 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24795 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24796 if (!SWIG_IsOK(ecode2
)) {
24797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24799 arg2
= static_cast< int >(val2
);
24802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24803 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24804 wxPyEndAllowThreads(__tstate
);
24805 if (PyErr_Occurred()) SWIG_fail
;
24807 resultobj
= SWIG_Py_Void();
24814 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24815 PyObject
*resultobj
= 0;
24816 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24823 PyObject
* obj0
= 0 ;
24824 PyObject
* obj1
= 0 ;
24825 char * kwnames
[] = {
24826 (char *) "self",(char *) "id", NULL
24829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24831 if (!SWIG_IsOK(res1
)) {
24832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24834 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24835 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24836 if (!SWIG_IsOK(ecode2
)) {
24837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24839 arg2
= static_cast< int >(val2
);
24841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24842 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24843 wxPyEndAllowThreads(__tstate
);
24844 if (PyErr_Occurred()) SWIG_fail
;
24846 resultobj
= SWIG_From_int(static_cast< int >(result
));
24853 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24854 PyObject
*resultobj
= 0;
24855 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24862 PyObject
* obj0
= 0 ;
24863 PyObject
* obj1
= 0 ;
24864 char * kwnames
[] = {
24865 (char *) "self",(char *) "id", NULL
24868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24870 if (!SWIG_IsOK(res1
)) {
24871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24873 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24875 if (!SWIG_IsOK(ecode2
)) {
24876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24878 arg2
= static_cast< int >(val2
);
24880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24881 result
= (bool)(arg1
)->GetToolState(arg2
);
24882 wxPyEndAllowThreads(__tstate
);
24883 if (PyErr_Occurred()) SWIG_fail
;
24886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24894 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24895 PyObject
*resultobj
= 0;
24896 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24903 PyObject
* obj0
= 0 ;
24904 PyObject
* obj1
= 0 ;
24905 char * kwnames
[] = {
24906 (char *) "self",(char *) "id", NULL
24909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24911 if (!SWIG_IsOK(res1
)) {
24912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24914 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24915 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24916 if (!SWIG_IsOK(ecode2
)) {
24917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24919 arg2
= static_cast< int >(val2
);
24921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24922 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24923 wxPyEndAllowThreads(__tstate
);
24924 if (PyErr_Occurred()) SWIG_fail
;
24927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24935 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24936 PyObject
*resultobj
= 0;
24937 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24939 wxString
*arg3
= 0 ;
24944 bool temp3
= false ;
24945 PyObject
* obj0
= 0 ;
24946 PyObject
* obj1
= 0 ;
24947 PyObject
* obj2
= 0 ;
24948 char * kwnames
[] = {
24949 (char *) "self",(char *) "id",(char *) "helpString", NULL
24952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24954 if (!SWIG_IsOK(res1
)) {
24955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24957 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24958 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24959 if (!SWIG_IsOK(ecode2
)) {
24960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24962 arg2
= static_cast< int >(val2
);
24964 arg3
= wxString_in_helper(obj2
);
24965 if (arg3
== NULL
) SWIG_fail
;
24969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24970 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24971 wxPyEndAllowThreads(__tstate
);
24972 if (PyErr_Occurred()) SWIG_fail
;
24974 resultobj
= SWIG_Py_Void();
24989 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24990 PyObject
*resultobj
= 0;
24991 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24998 PyObject
* obj0
= 0 ;
24999 PyObject
* obj1
= 0 ;
25000 char * kwnames
[] = {
25001 (char *) "self",(char *) "id", NULL
25004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25006 if (!SWIG_IsOK(res1
)) {
25007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25009 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25011 if (!SWIG_IsOK(ecode2
)) {
25012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25014 arg2
= static_cast< int >(val2
);
25016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25017 result
= (arg1
)->GetToolShortHelp(arg2
);
25018 wxPyEndAllowThreads(__tstate
);
25019 if (PyErr_Occurred()) SWIG_fail
;
25023 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25025 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25034 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25035 PyObject
*resultobj
= 0;
25036 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25038 wxString
*arg3
= 0 ;
25043 bool temp3
= false ;
25044 PyObject
* obj0
= 0 ;
25045 PyObject
* obj1
= 0 ;
25046 PyObject
* obj2
= 0 ;
25047 char * kwnames
[] = {
25048 (char *) "self",(char *) "id",(char *) "helpString", NULL
25051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25053 if (!SWIG_IsOK(res1
)) {
25054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25056 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25058 if (!SWIG_IsOK(ecode2
)) {
25059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25061 arg2
= static_cast< int >(val2
);
25063 arg3
= wxString_in_helper(obj2
);
25064 if (arg3
== NULL
) SWIG_fail
;
25068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25069 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
25070 wxPyEndAllowThreads(__tstate
);
25071 if (PyErr_Occurred()) SWIG_fail
;
25073 resultobj
= SWIG_Py_Void();
25088 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25089 PyObject
*resultobj
= 0;
25090 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25097 PyObject
* obj0
= 0 ;
25098 PyObject
* obj1
= 0 ;
25099 char * kwnames
[] = {
25100 (char *) "self",(char *) "id", NULL
25103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25105 if (!SWIG_IsOK(res1
)) {
25106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25108 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25110 if (!SWIG_IsOK(ecode2
)) {
25111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25113 arg2
= static_cast< int >(val2
);
25115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25116 result
= (arg1
)->GetToolLongHelp(arg2
);
25117 wxPyEndAllowThreads(__tstate
);
25118 if (PyErr_Occurred()) SWIG_fail
;
25122 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25124 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25133 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25134 PyObject
*resultobj
= 0;
25135 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25144 PyObject
* obj0
= 0 ;
25145 PyObject
* obj1
= 0 ;
25146 PyObject
* obj2
= 0 ;
25147 char * kwnames
[] = {
25148 (char *) "self",(char *) "x",(char *) "y", NULL
25151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25153 if (!SWIG_IsOK(res1
)) {
25154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25156 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25157 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25158 if (!SWIG_IsOK(ecode2
)) {
25159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25161 arg2
= static_cast< int >(val2
);
25162 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25163 if (!SWIG_IsOK(ecode3
)) {
25164 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25166 arg3
= static_cast< int >(val3
);
25168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25169 (arg1
)->SetMargins(arg2
,arg3
);
25170 wxPyEndAllowThreads(__tstate
);
25171 if (PyErr_Occurred()) SWIG_fail
;
25173 resultobj
= SWIG_Py_Void();
25180 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25181 PyObject
*resultobj
= 0;
25182 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25187 PyObject
* obj0
= 0 ;
25188 PyObject
* obj1
= 0 ;
25189 char * kwnames
[] = {
25190 (char *) "self",(char *) "size", NULL
25193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25195 if (!SWIG_IsOK(res1
)) {
25196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25198 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25201 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25205 (arg1
)->SetMargins((wxSize
const &)*arg2
);
25206 wxPyEndAllowThreads(__tstate
);
25207 if (PyErr_Occurred()) SWIG_fail
;
25209 resultobj
= SWIG_Py_Void();
25216 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25217 PyObject
*resultobj
= 0;
25218 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25224 PyObject
* obj0
= 0 ;
25225 PyObject
* obj1
= 0 ;
25226 char * kwnames
[] = {
25227 (char *) "self",(char *) "packing", NULL
25230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25232 if (!SWIG_IsOK(res1
)) {
25233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25235 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25236 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25237 if (!SWIG_IsOK(ecode2
)) {
25238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25240 arg2
= static_cast< int >(val2
);
25242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25243 (arg1
)->SetToolPacking(arg2
);
25244 wxPyEndAllowThreads(__tstate
);
25245 if (PyErr_Occurred()) SWIG_fail
;
25247 resultobj
= SWIG_Py_Void();
25254 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25255 PyObject
*resultobj
= 0;
25256 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25262 PyObject
* obj0
= 0 ;
25263 PyObject
* obj1
= 0 ;
25264 char * kwnames
[] = {
25265 (char *) "self",(char *) "separation", NULL
25268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25270 if (!SWIG_IsOK(res1
)) {
25271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25273 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25274 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25275 if (!SWIG_IsOK(ecode2
)) {
25276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25278 arg2
= static_cast< int >(val2
);
25280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25281 (arg1
)->SetToolSeparation(arg2
);
25282 wxPyEndAllowThreads(__tstate
);
25283 if (PyErr_Occurred()) SWIG_fail
;
25285 resultobj
= SWIG_Py_Void();
25292 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25293 PyObject
*resultobj
= 0;
25294 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25298 PyObject
*swig_obj
[1] ;
25300 if (!args
) SWIG_fail
;
25301 swig_obj
[0] = args
;
25302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25303 if (!SWIG_IsOK(res1
)) {
25304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25306 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25309 result
= (arg1
)->GetToolMargins();
25310 wxPyEndAllowThreads(__tstate
);
25311 if (PyErr_Occurred()) SWIG_fail
;
25313 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25320 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25321 PyObject
*resultobj
= 0;
25322 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25326 PyObject
*swig_obj
[1] ;
25328 if (!args
) SWIG_fail
;
25329 swig_obj
[0] = args
;
25330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25331 if (!SWIG_IsOK(res1
)) {
25332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25334 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25337 result
= (arg1
)->GetMargins();
25338 wxPyEndAllowThreads(__tstate
);
25339 if (PyErr_Occurred()) SWIG_fail
;
25341 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25348 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25349 PyObject
*resultobj
= 0;
25350 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25354 PyObject
*swig_obj
[1] ;
25356 if (!args
) SWIG_fail
;
25357 swig_obj
[0] = args
;
25358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25359 if (!SWIG_IsOK(res1
)) {
25360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25362 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25365 result
= (int)(arg1
)->GetToolPacking();
25366 wxPyEndAllowThreads(__tstate
);
25367 if (PyErr_Occurred()) SWIG_fail
;
25369 resultobj
= SWIG_From_int(static_cast< int >(result
));
25376 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25377 PyObject
*resultobj
= 0;
25378 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25382 PyObject
*swig_obj
[1] ;
25384 if (!args
) SWIG_fail
;
25385 swig_obj
[0] = args
;
25386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25387 if (!SWIG_IsOK(res1
)) {
25388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25390 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25393 result
= (int)(arg1
)->GetToolSeparation();
25394 wxPyEndAllowThreads(__tstate
);
25395 if (PyErr_Occurred()) SWIG_fail
;
25397 resultobj
= SWIG_From_int(static_cast< int >(result
));
25404 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25405 PyObject
*resultobj
= 0;
25406 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25412 PyObject
* obj0
= 0 ;
25413 PyObject
* obj1
= 0 ;
25414 char * kwnames
[] = {
25415 (char *) "self",(char *) "nRows", NULL
25418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25420 if (!SWIG_IsOK(res1
)) {
25421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25423 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25424 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25425 if (!SWIG_IsOK(ecode2
)) {
25426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25428 arg2
= static_cast< int >(val2
);
25430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25431 (arg1
)->SetRows(arg2
);
25432 wxPyEndAllowThreads(__tstate
);
25433 if (PyErr_Occurred()) SWIG_fail
;
25435 resultobj
= SWIG_Py_Void();
25442 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25443 PyObject
*resultobj
= 0;
25444 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25453 PyObject
* obj0
= 0 ;
25454 PyObject
* obj1
= 0 ;
25455 PyObject
* obj2
= 0 ;
25456 char * kwnames
[] = {
25457 (char *) "self",(char *) "rows",(char *) "cols", NULL
25460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25462 if (!SWIG_IsOK(res1
)) {
25463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25465 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25467 if (!SWIG_IsOK(ecode2
)) {
25468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25470 arg2
= static_cast< int >(val2
);
25471 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25472 if (!SWIG_IsOK(ecode3
)) {
25473 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25475 arg3
= static_cast< int >(val3
);
25477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25478 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25479 wxPyEndAllowThreads(__tstate
);
25480 if (PyErr_Occurred()) SWIG_fail
;
25482 resultobj
= SWIG_Py_Void();
25489 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25490 PyObject
*resultobj
= 0;
25491 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25495 PyObject
*swig_obj
[1] ;
25497 if (!args
) SWIG_fail
;
25498 swig_obj
[0] = args
;
25499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25500 if (!SWIG_IsOK(res1
)) {
25501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25503 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25506 result
= (int)(arg1
)->GetMaxRows();
25507 wxPyEndAllowThreads(__tstate
);
25508 if (PyErr_Occurred()) SWIG_fail
;
25510 resultobj
= SWIG_From_int(static_cast< int >(result
));
25517 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25518 PyObject
*resultobj
= 0;
25519 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25523 PyObject
*swig_obj
[1] ;
25525 if (!args
) SWIG_fail
;
25526 swig_obj
[0] = args
;
25527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25528 if (!SWIG_IsOK(res1
)) {
25529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25531 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25534 result
= (int)(arg1
)->GetMaxCols();
25535 wxPyEndAllowThreads(__tstate
);
25536 if (PyErr_Occurred()) SWIG_fail
;
25538 resultobj
= SWIG_From_int(static_cast< int >(result
));
25545 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25546 PyObject
*resultobj
= 0;
25547 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25552 PyObject
* obj0
= 0 ;
25553 PyObject
* obj1
= 0 ;
25554 char * kwnames
[] = {
25555 (char *) "self",(char *) "size", NULL
25558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25560 if (!SWIG_IsOK(res1
)) {
25561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25563 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25566 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25570 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25571 wxPyEndAllowThreads(__tstate
);
25572 if (PyErr_Occurred()) SWIG_fail
;
25574 resultobj
= SWIG_Py_Void();
25581 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25582 PyObject
*resultobj
= 0;
25583 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25587 PyObject
*swig_obj
[1] ;
25589 if (!args
) SWIG_fail
;
25590 swig_obj
[0] = args
;
25591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25592 if (!SWIG_IsOK(res1
)) {
25593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25595 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25598 result
= (arg1
)->GetToolBitmapSize();
25599 wxPyEndAllowThreads(__tstate
);
25600 if (PyErr_Occurred()) SWIG_fail
;
25602 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25609 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25610 PyObject
*resultobj
= 0;
25611 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25615 PyObject
*swig_obj
[1] ;
25617 if (!args
) SWIG_fail
;
25618 swig_obj
[0] = args
;
25619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25620 if (!SWIG_IsOK(res1
)) {
25621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25623 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25626 result
= (arg1
)->GetToolSize();
25627 wxPyEndAllowThreads(__tstate
);
25628 if (PyErr_Occurred()) SWIG_fail
;
25630 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25637 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25638 PyObject
*resultobj
= 0;
25639 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25642 wxToolBarToolBase
*result
= 0 ;
25649 PyObject
* obj0
= 0 ;
25650 PyObject
* obj1
= 0 ;
25651 PyObject
* obj2
= 0 ;
25652 char * kwnames
[] = {
25653 (char *) "self",(char *) "x",(char *) "y", NULL
25656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25658 if (!SWIG_IsOK(res1
)) {
25659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25661 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25663 if (!SWIG_IsOK(ecode2
)) {
25664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25666 arg2
= static_cast< int >(val2
);
25667 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25668 if (!SWIG_IsOK(ecode3
)) {
25669 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25671 arg3
= static_cast< int >(val3
);
25673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25674 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25675 wxPyEndAllowThreads(__tstate
);
25676 if (PyErr_Occurred()) SWIG_fail
;
25679 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25687 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25688 PyObject
*resultobj
= 0;
25689 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25691 wxToolBarToolBase
*result
= 0 ;
25696 PyObject
* obj0
= 0 ;
25697 PyObject
* obj1
= 0 ;
25698 char * kwnames
[] = {
25699 (char *) "self",(char *) "toolid", NULL
25702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25704 if (!SWIG_IsOK(res1
)) {
25705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25707 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25709 if (!SWIG_IsOK(ecode2
)) {
25710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25712 arg2
= static_cast< int >(val2
);
25714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25715 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25716 wxPyEndAllowThreads(__tstate
);
25717 if (PyErr_Occurred()) SWIG_fail
;
25720 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25728 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25729 PyObject
*resultobj
= 0;
25730 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25734 PyObject
*swig_obj
[1] ;
25736 if (!args
) SWIG_fail
;
25737 swig_obj
[0] = args
;
25738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25739 if (!SWIG_IsOK(res1
)) {
25740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25742 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25745 result
= (bool)(arg1
)->IsVertical();
25746 wxPyEndAllowThreads(__tstate
);
25747 if (PyErr_Occurred()) SWIG_fail
;
25750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25758 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25759 PyObject
*resultobj
= 0;
25760 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25764 PyObject
*swig_obj
[1] ;
25766 if (!args
) SWIG_fail
;
25767 swig_obj
[0] = args
;
25768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25769 if (!SWIG_IsOK(res1
)) {
25770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25772 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25775 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25776 wxPyEndAllowThreads(__tstate
);
25777 if (PyErr_Occurred()) SWIG_fail
;
25779 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25786 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25788 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25789 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25790 return SWIG_Py_Void();
25793 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25794 PyObject
*resultobj
= 0;
25795 wxWindow
*arg1
= (wxWindow
*) 0 ;
25796 int arg2
= (int) -1 ;
25797 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25798 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25799 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25800 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25801 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25802 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25803 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25804 wxToolBar
*result
= 0 ;
25813 bool temp6
= false ;
25814 PyObject
* obj0
= 0 ;
25815 PyObject
* obj1
= 0 ;
25816 PyObject
* obj2
= 0 ;
25817 PyObject
* obj3
= 0 ;
25818 PyObject
* obj4
= 0 ;
25819 PyObject
* obj5
= 0 ;
25820 char * kwnames
[] = {
25821 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25826 if (!SWIG_IsOK(res1
)) {
25827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25829 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25831 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25832 if (!SWIG_IsOK(ecode2
)) {
25833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25835 arg2
= static_cast< int >(val2
);
25840 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25846 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25850 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25851 if (!SWIG_IsOK(ecode5
)) {
25852 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25854 arg5
= static_cast< long >(val5
);
25858 arg6
= wxString_in_helper(obj5
);
25859 if (arg6
== NULL
) SWIG_fail
;
25864 if (!wxPyCheckForApp()) SWIG_fail
;
25865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25866 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25867 wxPyEndAllowThreads(__tstate
);
25868 if (PyErr_Occurred()) SWIG_fail
;
25870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25885 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25886 PyObject
*resultobj
= 0;
25887 wxToolBar
*result
= 0 ;
25889 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25891 if (!wxPyCheckForApp()) SWIG_fail
;
25892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25893 result
= (wxToolBar
*)new wxToolBar();
25894 wxPyEndAllowThreads(__tstate
);
25895 if (PyErr_Occurred()) SWIG_fail
;
25897 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25904 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25905 PyObject
*resultobj
= 0;
25906 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25907 wxWindow
*arg2
= (wxWindow
*) 0 ;
25908 int arg3
= (int) -1 ;
25909 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25910 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25911 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25912 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25913 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25914 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25915 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25927 bool temp7
= false ;
25928 PyObject
* obj0
= 0 ;
25929 PyObject
* obj1
= 0 ;
25930 PyObject
* obj2
= 0 ;
25931 PyObject
* obj3
= 0 ;
25932 PyObject
* obj4
= 0 ;
25933 PyObject
* obj5
= 0 ;
25934 PyObject
* obj6
= 0 ;
25935 char * kwnames
[] = {
25936 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25941 if (!SWIG_IsOK(res1
)) {
25942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25944 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25945 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25946 if (!SWIG_IsOK(res2
)) {
25947 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25949 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25951 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25952 if (!SWIG_IsOK(ecode3
)) {
25953 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25955 arg3
= static_cast< int >(val3
);
25960 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25966 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25970 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25971 if (!SWIG_IsOK(ecode6
)) {
25972 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25974 arg6
= static_cast< long >(val6
);
25978 arg7
= wxString_in_helper(obj6
);
25979 if (arg7
== NULL
) SWIG_fail
;
25984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25985 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25986 wxPyEndAllowThreads(__tstate
);
25987 if (PyErr_Occurred()) SWIG_fail
;
25990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26006 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26007 PyObject
*resultobj
= 0;
26008 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26009 SwigValueWrapper
<wxVisualAttributes
> result
;
26012 PyObject
* obj0
= 0 ;
26013 char * kwnames
[] = {
26014 (char *) "variant", NULL
26017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
26019 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26020 if (!SWIG_IsOK(ecode1
)) {
26021 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
26023 arg1
= static_cast< wxWindowVariant
>(val1
);
26026 if (!wxPyCheckForApp()) SWIG_fail
;
26027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26028 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
26029 wxPyEndAllowThreads(__tstate
);
26030 if (PyErr_Occurred()) SWIG_fail
;
26032 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
26039 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26041 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26042 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
26043 return SWIG_Py_Void();
26046 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26047 return SWIG_Python_InitShadowInstance(args
);
26050 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
26051 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
26056 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
26057 PyObject
*pyobj
= 0;
26061 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26063 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26070 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26071 PyObject
*resultobj
= 0;
26072 wxColour
const &arg1_defvalue
= wxNullColour
;
26073 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
26074 wxColour
const &arg2_defvalue
= wxNullColour
;
26075 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
26076 wxFont
const &arg3_defvalue
= wxNullFont
;
26077 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
26078 wxListItemAttr
*result
= 0 ;
26083 PyObject
* obj0
= 0 ;
26084 PyObject
* obj1
= 0 ;
26085 PyObject
* obj2
= 0 ;
26086 char * kwnames
[] = {
26087 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26094 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
26100 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26104 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
26105 if (!SWIG_IsOK(res3
)) {
26106 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26109 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26111 arg3
= reinterpret_cast< wxFont
* >(argp3
);
26114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26115 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
26116 wxPyEndAllowThreads(__tstate
);
26117 if (PyErr_Occurred()) SWIG_fail
;
26119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
26126 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26127 PyObject
*resultobj
= 0;
26128 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26131 PyObject
*swig_obj
[1] ;
26133 if (!args
) SWIG_fail
;
26134 swig_obj
[0] = args
;
26135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
26136 if (!SWIG_IsOK(res1
)) {
26137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26139 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26144 wxPyEndAllowThreads(__tstate
);
26145 if (PyErr_Occurred()) SWIG_fail
;
26147 resultobj
= SWIG_Py_Void();
26154 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26155 PyObject
*resultobj
= 0;
26156 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26157 wxColour
*arg2
= 0 ;
26161 PyObject
* obj0
= 0 ;
26162 PyObject
* obj1
= 0 ;
26163 char * kwnames
[] = {
26164 (char *) "self",(char *) "colText", NULL
26167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26169 if (!SWIG_IsOK(res1
)) {
26170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26172 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26175 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26179 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26180 wxPyEndAllowThreads(__tstate
);
26181 if (PyErr_Occurred()) SWIG_fail
;
26183 resultobj
= SWIG_Py_Void();
26190 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26191 PyObject
*resultobj
= 0;
26192 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26193 wxColour
*arg2
= 0 ;
26197 PyObject
* obj0
= 0 ;
26198 PyObject
* obj1
= 0 ;
26199 char * kwnames
[] = {
26200 (char *) "self",(char *) "colBack", NULL
26203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26205 if (!SWIG_IsOK(res1
)) {
26206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26208 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26211 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26215 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26216 wxPyEndAllowThreads(__tstate
);
26217 if (PyErr_Occurred()) SWIG_fail
;
26219 resultobj
= SWIG_Py_Void();
26226 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26227 PyObject
*resultobj
= 0;
26228 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26234 PyObject
* obj0
= 0 ;
26235 PyObject
* obj1
= 0 ;
26236 char * kwnames
[] = {
26237 (char *) "self",(char *) "font", NULL
26240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26242 if (!SWIG_IsOK(res1
)) {
26243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26245 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26246 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26247 if (!SWIG_IsOK(res2
)) {
26248 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26251 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26253 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26256 (arg1
)->SetFont((wxFont
const &)*arg2
);
26257 wxPyEndAllowThreads(__tstate
);
26258 if (PyErr_Occurred()) SWIG_fail
;
26260 resultobj
= SWIG_Py_Void();
26267 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26268 PyObject
*resultobj
= 0;
26269 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26273 PyObject
*swig_obj
[1] ;
26275 if (!args
) SWIG_fail
;
26276 swig_obj
[0] = args
;
26277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26278 if (!SWIG_IsOK(res1
)) {
26279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26281 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26284 result
= (bool)(arg1
)->HasTextColour();
26285 wxPyEndAllowThreads(__tstate
);
26286 if (PyErr_Occurred()) SWIG_fail
;
26289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26297 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26298 PyObject
*resultobj
= 0;
26299 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26303 PyObject
*swig_obj
[1] ;
26305 if (!args
) SWIG_fail
;
26306 swig_obj
[0] = args
;
26307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26308 if (!SWIG_IsOK(res1
)) {
26309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26311 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26314 result
= (bool)(arg1
)->HasBackgroundColour();
26315 wxPyEndAllowThreads(__tstate
);
26316 if (PyErr_Occurred()) SWIG_fail
;
26319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26327 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26328 PyObject
*resultobj
= 0;
26329 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26333 PyObject
*swig_obj
[1] ;
26335 if (!args
) SWIG_fail
;
26336 swig_obj
[0] = args
;
26337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26338 if (!SWIG_IsOK(res1
)) {
26339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26341 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26344 result
= (bool)(arg1
)->HasFont();
26345 wxPyEndAllowThreads(__tstate
);
26346 if (PyErr_Occurred()) SWIG_fail
;
26349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26357 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26358 PyObject
*resultobj
= 0;
26359 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26363 PyObject
*swig_obj
[1] ;
26365 if (!args
) SWIG_fail
;
26366 swig_obj
[0] = args
;
26367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26368 if (!SWIG_IsOK(res1
)) {
26369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26371 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26374 result
= (arg1
)->GetTextColour();
26375 wxPyEndAllowThreads(__tstate
);
26376 if (PyErr_Occurred()) SWIG_fail
;
26378 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26385 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26386 PyObject
*resultobj
= 0;
26387 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26391 PyObject
*swig_obj
[1] ;
26393 if (!args
) SWIG_fail
;
26394 swig_obj
[0] = args
;
26395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26396 if (!SWIG_IsOK(res1
)) {
26397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26399 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26402 result
= (arg1
)->GetBackgroundColour();
26403 wxPyEndAllowThreads(__tstate
);
26404 if (PyErr_Occurred()) SWIG_fail
;
26406 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26413 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26414 PyObject
*resultobj
= 0;
26415 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26419 PyObject
*swig_obj
[1] ;
26421 if (!args
) SWIG_fail
;
26422 swig_obj
[0] = args
;
26423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26424 if (!SWIG_IsOK(res1
)) {
26425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26427 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26430 result
= (arg1
)->GetFont();
26431 wxPyEndAllowThreads(__tstate
);
26432 if (PyErr_Occurred()) SWIG_fail
;
26434 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26441 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26442 PyObject
*resultobj
= 0;
26443 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26444 wxListItemAttr
*arg2
= 0 ;
26449 PyObject
* obj0
= 0 ;
26450 PyObject
* obj1
= 0 ;
26451 char * kwnames
[] = {
26452 (char *) "self",(char *) "source", NULL
26455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26457 if (!SWIG_IsOK(res1
)) {
26458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26460 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26461 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26462 if (!SWIG_IsOK(res2
)) {
26463 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26466 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26468 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26471 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26472 wxPyEndAllowThreads(__tstate
);
26473 if (PyErr_Occurred()) SWIG_fail
;
26475 resultobj
= SWIG_Py_Void();
26482 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26483 PyObject
*resultobj
= 0;
26484 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26487 PyObject
*swig_obj
[1] ;
26489 if (!args
) SWIG_fail
;
26490 swig_obj
[0] = args
;
26491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26492 if (!SWIG_IsOK(res1
)) {
26493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26495 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26498 wxListItemAttr_Destroy(arg1
);
26499 wxPyEndAllowThreads(__tstate
);
26500 if (PyErr_Occurred()) SWIG_fail
;
26502 resultobj
= SWIG_Py_Void();
26509 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26511 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26512 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26513 return SWIG_Py_Void();
26516 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26517 return SWIG_Python_InitShadowInstance(args
);
26520 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26521 PyObject
*resultobj
= 0;
26522 wxListItem
*result
= 0 ;
26524 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26527 result
= (wxListItem
*)new wxListItem();
26528 wxPyEndAllowThreads(__tstate
);
26529 if (PyErr_Occurred()) SWIG_fail
;
26531 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, SWIG_POINTER_NEW
| 0 );
26538 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26539 PyObject
*resultobj
= 0;
26540 wxListItem
*arg1
= (wxListItem
*) 0 ;
26543 PyObject
*swig_obj
[1] ;
26545 if (!args
) SWIG_fail
;
26546 swig_obj
[0] = args
;
26547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26548 if (!SWIG_IsOK(res1
)) {
26549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26551 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26556 wxPyEndAllowThreads(__tstate
);
26557 if (PyErr_Occurred()) SWIG_fail
;
26559 resultobj
= SWIG_Py_Void();
26566 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26567 PyObject
*resultobj
= 0;
26568 wxListItem
*arg1
= (wxListItem
*) 0 ;
26571 PyObject
*swig_obj
[1] ;
26573 if (!args
) SWIG_fail
;
26574 swig_obj
[0] = args
;
26575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26576 if (!SWIG_IsOK(res1
)) {
26577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26579 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26583 wxPyEndAllowThreads(__tstate
);
26584 if (PyErr_Occurred()) SWIG_fail
;
26586 resultobj
= SWIG_Py_Void();
26593 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26594 PyObject
*resultobj
= 0;
26595 wxListItem
*arg1
= (wxListItem
*) 0 ;
26598 PyObject
*swig_obj
[1] ;
26600 if (!args
) SWIG_fail
;
26601 swig_obj
[0] = args
;
26602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26603 if (!SWIG_IsOK(res1
)) {
26604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26606 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26609 (arg1
)->ClearAttributes();
26610 wxPyEndAllowThreads(__tstate
);
26611 if (PyErr_Occurred()) SWIG_fail
;
26613 resultobj
= SWIG_Py_Void();
26620 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26621 PyObject
*resultobj
= 0;
26622 wxListItem
*arg1
= (wxListItem
*) 0 ;
26628 PyObject
* obj0
= 0 ;
26629 PyObject
* obj1
= 0 ;
26630 char * kwnames
[] = {
26631 (char *) "self",(char *) "mask", NULL
26634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26636 if (!SWIG_IsOK(res1
)) {
26637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26639 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26640 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26641 if (!SWIG_IsOK(ecode2
)) {
26642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26644 arg2
= static_cast< long >(val2
);
26646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26647 (arg1
)->SetMask(arg2
);
26648 wxPyEndAllowThreads(__tstate
);
26649 if (PyErr_Occurred()) SWIG_fail
;
26651 resultobj
= SWIG_Py_Void();
26658 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26659 PyObject
*resultobj
= 0;
26660 wxListItem
*arg1
= (wxListItem
*) 0 ;
26666 PyObject
* obj0
= 0 ;
26667 PyObject
* obj1
= 0 ;
26668 char * kwnames
[] = {
26669 (char *) "self",(char *) "id", NULL
26672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26674 if (!SWIG_IsOK(res1
)) {
26675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26677 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26678 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26679 if (!SWIG_IsOK(ecode2
)) {
26680 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26682 arg2
= static_cast< long >(val2
);
26684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26685 (arg1
)->SetId(arg2
);
26686 wxPyEndAllowThreads(__tstate
);
26687 if (PyErr_Occurred()) SWIG_fail
;
26689 resultobj
= SWIG_Py_Void();
26696 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26697 PyObject
*resultobj
= 0;
26698 wxListItem
*arg1
= (wxListItem
*) 0 ;
26704 PyObject
* obj0
= 0 ;
26705 PyObject
* obj1
= 0 ;
26706 char * kwnames
[] = {
26707 (char *) "self",(char *) "col", NULL
26710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26712 if (!SWIG_IsOK(res1
)) {
26713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26715 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26717 if (!SWIG_IsOK(ecode2
)) {
26718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26720 arg2
= static_cast< int >(val2
);
26722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26723 (arg1
)->SetColumn(arg2
);
26724 wxPyEndAllowThreads(__tstate
);
26725 if (PyErr_Occurred()) SWIG_fail
;
26727 resultobj
= SWIG_Py_Void();
26734 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26735 PyObject
*resultobj
= 0;
26736 wxListItem
*arg1
= (wxListItem
*) 0 ;
26742 PyObject
* obj0
= 0 ;
26743 PyObject
* obj1
= 0 ;
26744 char * kwnames
[] = {
26745 (char *) "self",(char *) "state", NULL
26748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26750 if (!SWIG_IsOK(res1
)) {
26751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26753 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26754 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26755 if (!SWIG_IsOK(ecode2
)) {
26756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26758 arg2
= static_cast< long >(val2
);
26760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26761 (arg1
)->SetState(arg2
);
26762 wxPyEndAllowThreads(__tstate
);
26763 if (PyErr_Occurred()) SWIG_fail
;
26765 resultobj
= SWIG_Py_Void();
26772 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26773 PyObject
*resultobj
= 0;
26774 wxListItem
*arg1
= (wxListItem
*) 0 ;
26780 PyObject
* obj0
= 0 ;
26781 PyObject
* obj1
= 0 ;
26782 char * kwnames
[] = {
26783 (char *) "self",(char *) "stateMask", NULL
26786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26788 if (!SWIG_IsOK(res1
)) {
26789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26791 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26792 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26793 if (!SWIG_IsOK(ecode2
)) {
26794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26796 arg2
= static_cast< long >(val2
);
26798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26799 (arg1
)->SetStateMask(arg2
);
26800 wxPyEndAllowThreads(__tstate
);
26801 if (PyErr_Occurred()) SWIG_fail
;
26803 resultobj
= SWIG_Py_Void();
26810 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26811 PyObject
*resultobj
= 0;
26812 wxListItem
*arg1
= (wxListItem
*) 0 ;
26813 wxString
*arg2
= 0 ;
26816 bool temp2
= false ;
26817 PyObject
* obj0
= 0 ;
26818 PyObject
* obj1
= 0 ;
26819 char * kwnames
[] = {
26820 (char *) "self",(char *) "text", NULL
26823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26825 if (!SWIG_IsOK(res1
)) {
26826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26828 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26830 arg2
= wxString_in_helper(obj1
);
26831 if (arg2
== NULL
) SWIG_fail
;
26835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26836 (arg1
)->SetText((wxString
const &)*arg2
);
26837 wxPyEndAllowThreads(__tstate
);
26838 if (PyErr_Occurred()) SWIG_fail
;
26840 resultobj
= SWIG_Py_Void();
26855 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26856 PyObject
*resultobj
= 0;
26857 wxListItem
*arg1
= (wxListItem
*) 0 ;
26863 PyObject
* obj0
= 0 ;
26864 PyObject
* obj1
= 0 ;
26865 char * kwnames
[] = {
26866 (char *) "self",(char *) "image", NULL
26869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26871 if (!SWIG_IsOK(res1
)) {
26872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26874 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26875 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26876 if (!SWIG_IsOK(ecode2
)) {
26877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26879 arg2
= static_cast< int >(val2
);
26881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26882 (arg1
)->SetImage(arg2
);
26883 wxPyEndAllowThreads(__tstate
);
26884 if (PyErr_Occurred()) SWIG_fail
;
26886 resultobj
= SWIG_Py_Void();
26893 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26894 PyObject
*resultobj
= 0;
26895 wxListItem
*arg1
= (wxListItem
*) 0 ;
26901 PyObject
* obj0
= 0 ;
26902 PyObject
* obj1
= 0 ;
26903 char * kwnames
[] = {
26904 (char *) "self",(char *) "data", NULL
26907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26909 if (!SWIG_IsOK(res1
)) {
26910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26912 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26913 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26914 if (!SWIG_IsOK(ecode2
)) {
26915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26917 arg2
= static_cast< long >(val2
);
26919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26920 (arg1
)->SetData(arg2
);
26921 wxPyEndAllowThreads(__tstate
);
26922 if (PyErr_Occurred()) SWIG_fail
;
26924 resultobj
= SWIG_Py_Void();
26931 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26932 PyObject
*resultobj
= 0;
26933 wxListItem
*arg1
= (wxListItem
*) 0 ;
26939 PyObject
* obj0
= 0 ;
26940 PyObject
* obj1
= 0 ;
26941 char * kwnames
[] = {
26942 (char *) "self",(char *) "width", NULL
26945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26947 if (!SWIG_IsOK(res1
)) {
26948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26950 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26951 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26952 if (!SWIG_IsOK(ecode2
)) {
26953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26955 arg2
= static_cast< int >(val2
);
26957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26958 (arg1
)->SetWidth(arg2
);
26959 wxPyEndAllowThreads(__tstate
);
26960 if (PyErr_Occurred()) SWIG_fail
;
26962 resultobj
= SWIG_Py_Void();
26969 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26970 PyObject
*resultobj
= 0;
26971 wxListItem
*arg1
= (wxListItem
*) 0 ;
26972 wxListColumnFormat arg2
;
26977 PyObject
* obj0
= 0 ;
26978 PyObject
* obj1
= 0 ;
26979 char * kwnames
[] = {
26980 (char *) "self",(char *) "align", NULL
26983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26985 if (!SWIG_IsOK(res1
)) {
26986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26988 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26989 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26990 if (!SWIG_IsOK(ecode2
)) {
26991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26993 arg2
= static_cast< wxListColumnFormat
>(val2
);
26995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26996 (arg1
)->SetAlign(arg2
);
26997 wxPyEndAllowThreads(__tstate
);
26998 if (PyErr_Occurred()) SWIG_fail
;
27000 resultobj
= SWIG_Py_Void();
27007 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27008 PyObject
*resultobj
= 0;
27009 wxListItem
*arg1
= (wxListItem
*) 0 ;
27010 wxColour
*arg2
= 0 ;
27014 PyObject
* obj0
= 0 ;
27015 PyObject
* obj1
= 0 ;
27016 char * kwnames
[] = {
27017 (char *) "self",(char *) "colText", NULL
27020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27022 if (!SWIG_IsOK(res1
)) {
27023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27025 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27028 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27032 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
27033 wxPyEndAllowThreads(__tstate
);
27034 if (PyErr_Occurred()) SWIG_fail
;
27036 resultobj
= SWIG_Py_Void();
27043 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27044 PyObject
*resultobj
= 0;
27045 wxListItem
*arg1
= (wxListItem
*) 0 ;
27046 wxColour
*arg2
= 0 ;
27050 PyObject
* obj0
= 0 ;
27051 PyObject
* obj1
= 0 ;
27052 char * kwnames
[] = {
27053 (char *) "self",(char *) "colBack", NULL
27056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27058 if (!SWIG_IsOK(res1
)) {
27059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27061 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27064 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27068 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
27069 wxPyEndAllowThreads(__tstate
);
27070 if (PyErr_Occurred()) SWIG_fail
;
27072 resultobj
= SWIG_Py_Void();
27079 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27080 PyObject
*resultobj
= 0;
27081 wxListItem
*arg1
= (wxListItem
*) 0 ;
27087 PyObject
* obj0
= 0 ;
27088 PyObject
* obj1
= 0 ;
27089 char * kwnames
[] = {
27090 (char *) "self",(char *) "font", NULL
27093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27095 if (!SWIG_IsOK(res1
)) {
27096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27098 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27099 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27100 if (!SWIG_IsOK(res2
)) {
27101 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27104 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27106 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27109 (arg1
)->SetFont((wxFont
const &)*arg2
);
27110 wxPyEndAllowThreads(__tstate
);
27111 if (PyErr_Occurred()) SWIG_fail
;
27113 resultobj
= SWIG_Py_Void();
27120 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27121 PyObject
*resultobj
= 0;
27122 wxListItem
*arg1
= (wxListItem
*) 0 ;
27126 PyObject
*swig_obj
[1] ;
27128 if (!args
) SWIG_fail
;
27129 swig_obj
[0] = args
;
27130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27131 if (!SWIG_IsOK(res1
)) {
27132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27134 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27137 result
= (long)(arg1
)->GetMask();
27138 wxPyEndAllowThreads(__tstate
);
27139 if (PyErr_Occurred()) SWIG_fail
;
27141 resultobj
= SWIG_From_long(static_cast< long >(result
));
27148 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27149 PyObject
*resultobj
= 0;
27150 wxListItem
*arg1
= (wxListItem
*) 0 ;
27154 PyObject
*swig_obj
[1] ;
27156 if (!args
) SWIG_fail
;
27157 swig_obj
[0] = args
;
27158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27159 if (!SWIG_IsOK(res1
)) {
27160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27162 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27165 result
= (long)(arg1
)->GetId();
27166 wxPyEndAllowThreads(__tstate
);
27167 if (PyErr_Occurred()) SWIG_fail
;
27169 resultobj
= SWIG_From_long(static_cast< long >(result
));
27176 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27177 PyObject
*resultobj
= 0;
27178 wxListItem
*arg1
= (wxListItem
*) 0 ;
27182 PyObject
*swig_obj
[1] ;
27184 if (!args
) SWIG_fail
;
27185 swig_obj
[0] = args
;
27186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27187 if (!SWIG_IsOK(res1
)) {
27188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27190 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27193 result
= (int)(arg1
)->GetColumn();
27194 wxPyEndAllowThreads(__tstate
);
27195 if (PyErr_Occurred()) SWIG_fail
;
27197 resultobj
= SWIG_From_int(static_cast< int >(result
));
27204 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27205 PyObject
*resultobj
= 0;
27206 wxListItem
*arg1
= (wxListItem
*) 0 ;
27210 PyObject
*swig_obj
[1] ;
27212 if (!args
) SWIG_fail
;
27213 swig_obj
[0] = args
;
27214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27215 if (!SWIG_IsOK(res1
)) {
27216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27218 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27221 result
= (long)(arg1
)->GetState();
27222 wxPyEndAllowThreads(__tstate
);
27223 if (PyErr_Occurred()) SWIG_fail
;
27225 resultobj
= SWIG_From_long(static_cast< long >(result
));
27232 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27233 PyObject
*resultobj
= 0;
27234 wxListItem
*arg1
= (wxListItem
*) 0 ;
27235 wxString
*result
= 0 ;
27238 PyObject
*swig_obj
[1] ;
27240 if (!args
) SWIG_fail
;
27241 swig_obj
[0] = args
;
27242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27243 if (!SWIG_IsOK(res1
)) {
27244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27246 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27250 wxString
const &_result_ref
= (arg1
)->GetText();
27251 result
= (wxString
*) &_result_ref
;
27253 wxPyEndAllowThreads(__tstate
);
27254 if (PyErr_Occurred()) SWIG_fail
;
27258 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27260 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27269 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27270 PyObject
*resultobj
= 0;
27271 wxListItem
*arg1
= (wxListItem
*) 0 ;
27275 PyObject
*swig_obj
[1] ;
27277 if (!args
) SWIG_fail
;
27278 swig_obj
[0] = args
;
27279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27280 if (!SWIG_IsOK(res1
)) {
27281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27283 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27286 result
= (int)(arg1
)->GetImage();
27287 wxPyEndAllowThreads(__tstate
);
27288 if (PyErr_Occurred()) SWIG_fail
;
27290 resultobj
= SWIG_From_int(static_cast< int >(result
));
27297 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27298 PyObject
*resultobj
= 0;
27299 wxListItem
*arg1
= (wxListItem
*) 0 ;
27303 PyObject
*swig_obj
[1] ;
27305 if (!args
) SWIG_fail
;
27306 swig_obj
[0] = args
;
27307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27308 if (!SWIG_IsOK(res1
)) {
27309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27311 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27314 result
= (long)(arg1
)->GetData();
27315 wxPyEndAllowThreads(__tstate
);
27316 if (PyErr_Occurred()) SWIG_fail
;
27318 resultobj
= SWIG_From_long(static_cast< long >(result
));
27325 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27326 PyObject
*resultobj
= 0;
27327 wxListItem
*arg1
= (wxListItem
*) 0 ;
27331 PyObject
*swig_obj
[1] ;
27333 if (!args
) SWIG_fail
;
27334 swig_obj
[0] = args
;
27335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27336 if (!SWIG_IsOK(res1
)) {
27337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27339 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27342 result
= (int)(arg1
)->GetWidth();
27343 wxPyEndAllowThreads(__tstate
);
27344 if (PyErr_Occurred()) SWIG_fail
;
27346 resultobj
= SWIG_From_int(static_cast< int >(result
));
27353 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27354 PyObject
*resultobj
= 0;
27355 wxListItem
*arg1
= (wxListItem
*) 0 ;
27356 wxListColumnFormat result
;
27359 PyObject
*swig_obj
[1] ;
27361 if (!args
) SWIG_fail
;
27362 swig_obj
[0] = args
;
27363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27364 if (!SWIG_IsOK(res1
)) {
27365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27367 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27370 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27371 wxPyEndAllowThreads(__tstate
);
27372 if (PyErr_Occurred()) SWIG_fail
;
27374 resultobj
= SWIG_From_int(static_cast< int >(result
));
27381 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27382 PyObject
*resultobj
= 0;
27383 wxListItem
*arg1
= (wxListItem
*) 0 ;
27384 wxListItemAttr
*result
= 0 ;
27387 PyObject
*swig_obj
[1] ;
27389 if (!args
) SWIG_fail
;
27390 swig_obj
[0] = args
;
27391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27392 if (!SWIG_IsOK(res1
)) {
27393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27395 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27398 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27399 wxPyEndAllowThreads(__tstate
);
27400 if (PyErr_Occurred()) SWIG_fail
;
27402 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27409 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27410 PyObject
*resultobj
= 0;
27411 wxListItem
*arg1
= (wxListItem
*) 0 ;
27415 PyObject
*swig_obj
[1] ;
27417 if (!args
) SWIG_fail
;
27418 swig_obj
[0] = args
;
27419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27420 if (!SWIG_IsOK(res1
)) {
27421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27423 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27426 result
= (bool)(arg1
)->HasAttributes();
27427 wxPyEndAllowThreads(__tstate
);
27428 if (PyErr_Occurred()) SWIG_fail
;
27431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27439 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27440 PyObject
*resultobj
= 0;
27441 wxListItem
*arg1
= (wxListItem
*) 0 ;
27445 PyObject
*swig_obj
[1] ;
27447 if (!args
) SWIG_fail
;
27448 swig_obj
[0] = args
;
27449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27450 if (!SWIG_IsOK(res1
)) {
27451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27453 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27456 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27457 wxPyEndAllowThreads(__tstate
);
27458 if (PyErr_Occurred()) SWIG_fail
;
27460 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27467 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27468 PyObject
*resultobj
= 0;
27469 wxListItem
*arg1
= (wxListItem
*) 0 ;
27473 PyObject
*swig_obj
[1] ;
27475 if (!args
) SWIG_fail
;
27476 swig_obj
[0] = args
;
27477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27478 if (!SWIG_IsOK(res1
)) {
27479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27481 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27484 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27485 wxPyEndAllowThreads(__tstate
);
27486 if (PyErr_Occurred()) SWIG_fail
;
27488 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27495 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27496 PyObject
*resultobj
= 0;
27497 wxListItem
*arg1
= (wxListItem
*) 0 ;
27501 PyObject
*swig_obj
[1] ;
27503 if (!args
) SWIG_fail
;
27504 swig_obj
[0] = args
;
27505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27506 if (!SWIG_IsOK(res1
)) {
27507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27509 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27512 result
= ((wxListItem
const *)arg1
)->GetFont();
27513 wxPyEndAllowThreads(__tstate
);
27514 if (PyErr_Occurred()) SWIG_fail
;
27516 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27523 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27524 PyObject
*resultobj
= 0;
27525 wxListItem
*arg1
= (wxListItem
*) 0 ;
27531 PyObject
*swig_obj
[2] ;
27533 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27535 if (!SWIG_IsOK(res1
)) {
27536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27538 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27539 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27540 if (!SWIG_IsOK(ecode2
)) {
27541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27543 arg2
= static_cast< long >(val2
);
27544 if (arg1
) (arg1
)->m_mask
= arg2
;
27546 resultobj
= SWIG_Py_Void();
27553 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27554 PyObject
*resultobj
= 0;
27555 wxListItem
*arg1
= (wxListItem
*) 0 ;
27559 PyObject
*swig_obj
[1] ;
27561 if (!args
) SWIG_fail
;
27562 swig_obj
[0] = args
;
27563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27564 if (!SWIG_IsOK(res1
)) {
27565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27567 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27568 result
= (long) ((arg1
)->m_mask
);
27569 resultobj
= SWIG_From_long(static_cast< long >(result
));
27576 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27577 PyObject
*resultobj
= 0;
27578 wxListItem
*arg1
= (wxListItem
*) 0 ;
27584 PyObject
*swig_obj
[2] ;
27586 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27588 if (!SWIG_IsOK(res1
)) {
27589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27591 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27592 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27593 if (!SWIG_IsOK(ecode2
)) {
27594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27596 arg2
= static_cast< long >(val2
);
27597 if (arg1
) (arg1
)->m_itemId
= arg2
;
27599 resultobj
= SWIG_Py_Void();
27606 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27607 PyObject
*resultobj
= 0;
27608 wxListItem
*arg1
= (wxListItem
*) 0 ;
27612 PyObject
*swig_obj
[1] ;
27614 if (!args
) SWIG_fail
;
27615 swig_obj
[0] = args
;
27616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27617 if (!SWIG_IsOK(res1
)) {
27618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27620 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27621 result
= (long) ((arg1
)->m_itemId
);
27622 resultobj
= SWIG_From_long(static_cast< long >(result
));
27629 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27630 PyObject
*resultobj
= 0;
27631 wxListItem
*arg1
= (wxListItem
*) 0 ;
27637 PyObject
*swig_obj
[2] ;
27639 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27641 if (!SWIG_IsOK(res1
)) {
27642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27644 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27645 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27646 if (!SWIG_IsOK(ecode2
)) {
27647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27649 arg2
= static_cast< int >(val2
);
27650 if (arg1
) (arg1
)->m_col
= arg2
;
27652 resultobj
= SWIG_Py_Void();
27659 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27660 PyObject
*resultobj
= 0;
27661 wxListItem
*arg1
= (wxListItem
*) 0 ;
27665 PyObject
*swig_obj
[1] ;
27667 if (!args
) SWIG_fail
;
27668 swig_obj
[0] = args
;
27669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27670 if (!SWIG_IsOK(res1
)) {
27671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27673 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27674 result
= (int) ((arg1
)->m_col
);
27675 resultobj
= SWIG_From_int(static_cast< int >(result
));
27682 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27683 PyObject
*resultobj
= 0;
27684 wxListItem
*arg1
= (wxListItem
*) 0 ;
27690 PyObject
*swig_obj
[2] ;
27692 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27694 if (!SWIG_IsOK(res1
)) {
27695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27697 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27698 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27699 if (!SWIG_IsOK(ecode2
)) {
27700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27702 arg2
= static_cast< long >(val2
);
27703 if (arg1
) (arg1
)->m_state
= arg2
;
27705 resultobj
= SWIG_Py_Void();
27712 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27713 PyObject
*resultobj
= 0;
27714 wxListItem
*arg1
= (wxListItem
*) 0 ;
27718 PyObject
*swig_obj
[1] ;
27720 if (!args
) SWIG_fail
;
27721 swig_obj
[0] = args
;
27722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27723 if (!SWIG_IsOK(res1
)) {
27724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27726 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27727 result
= (long) ((arg1
)->m_state
);
27728 resultobj
= SWIG_From_long(static_cast< long >(result
));
27735 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27736 PyObject
*resultobj
= 0;
27737 wxListItem
*arg1
= (wxListItem
*) 0 ;
27743 PyObject
*swig_obj
[2] ;
27745 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27747 if (!SWIG_IsOK(res1
)) {
27748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27750 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27751 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27752 if (!SWIG_IsOK(ecode2
)) {
27753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27755 arg2
= static_cast< long >(val2
);
27756 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27758 resultobj
= SWIG_Py_Void();
27765 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27766 PyObject
*resultobj
= 0;
27767 wxListItem
*arg1
= (wxListItem
*) 0 ;
27771 PyObject
*swig_obj
[1] ;
27773 if (!args
) SWIG_fail
;
27774 swig_obj
[0] = args
;
27775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27776 if (!SWIG_IsOK(res1
)) {
27777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27779 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27780 result
= (long) ((arg1
)->m_stateMask
);
27781 resultobj
= SWIG_From_long(static_cast< long >(result
));
27788 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27789 PyObject
*resultobj
= 0;
27790 wxListItem
*arg1
= (wxListItem
*) 0 ;
27791 wxString
*arg2
= (wxString
*) 0 ;
27794 bool temp2
= false ;
27795 PyObject
*swig_obj
[2] ;
27797 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27799 if (!SWIG_IsOK(res1
)) {
27800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27802 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27804 arg2
= wxString_in_helper(swig_obj
[1]);
27805 if (arg2
== NULL
) SWIG_fail
;
27808 if (arg1
) (arg1
)->m_text
= *arg2
;
27810 resultobj
= SWIG_Py_Void();
27825 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27826 PyObject
*resultobj
= 0;
27827 wxListItem
*arg1
= (wxListItem
*) 0 ;
27828 wxString
*result
= 0 ;
27831 PyObject
*swig_obj
[1] ;
27833 if (!args
) SWIG_fail
;
27834 swig_obj
[0] = args
;
27835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27836 if (!SWIG_IsOK(res1
)) {
27837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27839 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27840 result
= (wxString
*)& ((arg1
)->m_text
);
27843 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27845 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27854 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27855 PyObject
*resultobj
= 0;
27856 wxListItem
*arg1
= (wxListItem
*) 0 ;
27862 PyObject
*swig_obj
[2] ;
27864 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27866 if (!SWIG_IsOK(res1
)) {
27867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27869 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27870 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27871 if (!SWIG_IsOK(ecode2
)) {
27872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27874 arg2
= static_cast< int >(val2
);
27875 if (arg1
) (arg1
)->m_image
= arg2
;
27877 resultobj
= SWIG_Py_Void();
27884 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27885 PyObject
*resultobj
= 0;
27886 wxListItem
*arg1
= (wxListItem
*) 0 ;
27890 PyObject
*swig_obj
[1] ;
27892 if (!args
) SWIG_fail
;
27893 swig_obj
[0] = args
;
27894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27895 if (!SWIG_IsOK(res1
)) {
27896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27898 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27899 result
= (int) ((arg1
)->m_image
);
27900 resultobj
= SWIG_From_int(static_cast< int >(result
));
27907 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27908 PyObject
*resultobj
= 0;
27909 wxListItem
*arg1
= (wxListItem
*) 0 ;
27915 PyObject
*swig_obj
[2] ;
27917 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27919 if (!SWIG_IsOK(res1
)) {
27920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27922 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27923 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27924 if (!SWIG_IsOK(ecode2
)) {
27925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27927 arg2
= static_cast< long >(val2
);
27928 if (arg1
) (arg1
)->m_data
= arg2
;
27930 resultobj
= SWIG_Py_Void();
27937 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27938 PyObject
*resultobj
= 0;
27939 wxListItem
*arg1
= (wxListItem
*) 0 ;
27943 PyObject
*swig_obj
[1] ;
27945 if (!args
) SWIG_fail
;
27946 swig_obj
[0] = args
;
27947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27948 if (!SWIG_IsOK(res1
)) {
27949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27951 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27952 result
= (long) ((arg1
)->m_data
);
27953 resultobj
= SWIG_From_long(static_cast< long >(result
));
27960 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27961 PyObject
*resultobj
= 0;
27962 wxListItem
*arg1
= (wxListItem
*) 0 ;
27968 PyObject
*swig_obj
[2] ;
27970 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27972 if (!SWIG_IsOK(res1
)) {
27973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27975 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27976 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27977 if (!SWIG_IsOK(ecode2
)) {
27978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27980 arg2
= static_cast< int >(val2
);
27981 if (arg1
) (arg1
)->m_format
= arg2
;
27983 resultobj
= SWIG_Py_Void();
27990 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27991 PyObject
*resultobj
= 0;
27992 wxListItem
*arg1
= (wxListItem
*) 0 ;
27996 PyObject
*swig_obj
[1] ;
27998 if (!args
) SWIG_fail
;
27999 swig_obj
[0] = args
;
28000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28001 if (!SWIG_IsOK(res1
)) {
28002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28004 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28005 result
= (int) ((arg1
)->m_format
);
28006 resultobj
= SWIG_From_int(static_cast< int >(result
));
28013 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28014 PyObject
*resultobj
= 0;
28015 wxListItem
*arg1
= (wxListItem
*) 0 ;
28021 PyObject
*swig_obj
[2] ;
28023 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
28024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28025 if (!SWIG_IsOK(res1
)) {
28026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28028 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28029 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28030 if (!SWIG_IsOK(ecode2
)) {
28031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
28033 arg2
= static_cast< int >(val2
);
28034 if (arg1
) (arg1
)->m_width
= arg2
;
28036 resultobj
= SWIG_Py_Void();
28043 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28044 PyObject
*resultobj
= 0;
28045 wxListItem
*arg1
= (wxListItem
*) 0 ;
28049 PyObject
*swig_obj
[1] ;
28051 if (!args
) SWIG_fail
;
28052 swig_obj
[0] = args
;
28053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28054 if (!SWIG_IsOK(res1
)) {
28055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28057 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28058 result
= (int) ((arg1
)->m_width
);
28059 resultobj
= SWIG_From_int(static_cast< int >(result
));
28066 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28068 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28069 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
28070 return SWIG_Py_Void();
28073 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28074 return SWIG_Python_InitShadowInstance(args
);
28077 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28078 PyObject
*resultobj
= 0;
28079 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28080 int arg2
= (int) 0 ;
28081 wxListEvent
*result
= 0 ;
28086 PyObject
* obj0
= 0 ;
28087 PyObject
* obj1
= 0 ;
28088 char * kwnames
[] = {
28089 (char *) "commandType",(char *) "id", NULL
28092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28094 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28095 if (!SWIG_IsOK(ecode1
)) {
28096 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28098 arg1
= static_cast< wxEventType
>(val1
);
28101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28102 if (!SWIG_IsOK(ecode2
)) {
28103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28105 arg2
= static_cast< int >(val2
);
28108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28109 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
28110 wxPyEndAllowThreads(__tstate
);
28111 if (PyErr_Occurred()) SWIG_fail
;
28113 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
28120 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28121 PyObject
*resultobj
= 0;
28122 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28128 PyObject
*swig_obj
[2] ;
28130 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
28131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28132 if (!SWIG_IsOK(res1
)) {
28133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28135 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28136 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28137 if (!SWIG_IsOK(ecode2
)) {
28138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28140 arg2
= static_cast< int >(val2
);
28141 if (arg1
) (arg1
)->m_code
= arg2
;
28143 resultobj
= SWIG_Py_Void();
28150 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28151 PyObject
*resultobj
= 0;
28152 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28156 PyObject
*swig_obj
[1] ;
28158 if (!args
) SWIG_fail
;
28159 swig_obj
[0] = args
;
28160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28161 if (!SWIG_IsOK(res1
)) {
28162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28164 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28165 result
= (int) ((arg1
)->m_code
);
28166 resultobj
= SWIG_From_int(static_cast< int >(result
));
28173 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28174 PyObject
*resultobj
= 0;
28175 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28181 PyObject
*swig_obj
[2] ;
28183 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28185 if (!SWIG_IsOK(res1
)) {
28186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28188 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28189 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28190 if (!SWIG_IsOK(ecode2
)) {
28191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28193 arg2
= static_cast< long >(val2
);
28194 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
28196 resultobj
= SWIG_Py_Void();
28203 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28204 PyObject
*resultobj
= 0;
28205 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28209 PyObject
*swig_obj
[1] ;
28211 if (!args
) SWIG_fail
;
28212 swig_obj
[0] = args
;
28213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28214 if (!SWIG_IsOK(res1
)) {
28215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28217 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28218 result
= (long) ((arg1
)->m_oldItemIndex
);
28219 resultobj
= SWIG_From_long(static_cast< long >(result
));
28226 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28227 PyObject
*resultobj
= 0;
28228 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28234 PyObject
*swig_obj
[2] ;
28236 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28238 if (!SWIG_IsOK(res1
)) {
28239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28241 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28242 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28243 if (!SWIG_IsOK(ecode2
)) {
28244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28246 arg2
= static_cast< long >(val2
);
28247 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
28249 resultobj
= SWIG_Py_Void();
28256 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28257 PyObject
*resultobj
= 0;
28258 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28262 PyObject
*swig_obj
[1] ;
28264 if (!args
) SWIG_fail
;
28265 swig_obj
[0] = args
;
28266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28267 if (!SWIG_IsOK(res1
)) {
28268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28270 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28271 result
= (long) ((arg1
)->m_itemIndex
);
28272 resultobj
= SWIG_From_long(static_cast< long >(result
));
28279 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28280 PyObject
*resultobj
= 0;
28281 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28287 PyObject
*swig_obj
[2] ;
28289 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28291 if (!SWIG_IsOK(res1
)) {
28292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28294 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28295 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28296 if (!SWIG_IsOK(ecode2
)) {
28297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28299 arg2
= static_cast< int >(val2
);
28300 if (arg1
) (arg1
)->m_col
= arg2
;
28302 resultobj
= SWIG_Py_Void();
28309 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28310 PyObject
*resultobj
= 0;
28311 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28315 PyObject
*swig_obj
[1] ;
28317 if (!args
) SWIG_fail
;
28318 swig_obj
[0] = args
;
28319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28320 if (!SWIG_IsOK(res1
)) {
28321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28323 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28324 result
= (int) ((arg1
)->m_col
);
28325 resultobj
= SWIG_From_int(static_cast< int >(result
));
28332 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28333 PyObject
*resultobj
= 0;
28334 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28335 wxPoint
*arg2
= (wxPoint
*) 0 ;
28340 PyObject
*swig_obj
[2] ;
28342 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28344 if (!SWIG_IsOK(res1
)) {
28345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28347 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28348 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28349 if (!SWIG_IsOK(res2
)) {
28350 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28352 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28353 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28355 resultobj
= SWIG_Py_Void();
28362 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28363 PyObject
*resultobj
= 0;
28364 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28365 wxPoint
*result
= 0 ;
28368 PyObject
*swig_obj
[1] ;
28370 if (!args
) SWIG_fail
;
28371 swig_obj
[0] = args
;
28372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28373 if (!SWIG_IsOK(res1
)) {
28374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28376 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28377 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28378 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28385 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28386 PyObject
*resultobj
= 0;
28387 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28388 wxListItem
*result
= 0 ;
28391 PyObject
*swig_obj
[1] ;
28393 if (!args
) SWIG_fail
;
28394 swig_obj
[0] = args
;
28395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28396 if (!SWIG_IsOK(res1
)) {
28397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28399 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28400 result
= (wxListItem
*)& ((arg1
)->m_item
);
28402 resultobj
= wxPyMake_wxObject(result
, 0);
28410 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28411 PyObject
*resultobj
= 0;
28412 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28416 PyObject
*swig_obj
[1] ;
28418 if (!args
) SWIG_fail
;
28419 swig_obj
[0] = args
;
28420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28421 if (!SWIG_IsOK(res1
)) {
28422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28424 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28427 result
= (int)(arg1
)->GetKeyCode();
28428 wxPyEndAllowThreads(__tstate
);
28429 if (PyErr_Occurred()) SWIG_fail
;
28431 resultobj
= SWIG_From_int(static_cast< int >(result
));
28438 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28439 PyObject
*resultobj
= 0;
28440 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28444 PyObject
*swig_obj
[1] ;
28446 if (!args
) SWIG_fail
;
28447 swig_obj
[0] = args
;
28448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28449 if (!SWIG_IsOK(res1
)) {
28450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28452 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28455 result
= (long)(arg1
)->GetIndex();
28456 wxPyEndAllowThreads(__tstate
);
28457 if (PyErr_Occurred()) SWIG_fail
;
28459 resultobj
= SWIG_From_long(static_cast< long >(result
));
28466 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28467 PyObject
*resultobj
= 0;
28468 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28472 PyObject
*swig_obj
[1] ;
28474 if (!args
) SWIG_fail
;
28475 swig_obj
[0] = args
;
28476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28477 if (!SWIG_IsOK(res1
)) {
28478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28480 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28483 result
= (int)(arg1
)->GetColumn();
28484 wxPyEndAllowThreads(__tstate
);
28485 if (PyErr_Occurred()) SWIG_fail
;
28487 resultobj
= SWIG_From_int(static_cast< int >(result
));
28494 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28495 PyObject
*resultobj
= 0;
28496 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28500 PyObject
*swig_obj
[1] ;
28502 if (!args
) SWIG_fail
;
28503 swig_obj
[0] = args
;
28504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28505 if (!SWIG_IsOK(res1
)) {
28506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28508 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28511 result
= (arg1
)->GetPoint();
28512 wxPyEndAllowThreads(__tstate
);
28513 if (PyErr_Occurred()) SWIG_fail
;
28515 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28522 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28523 PyObject
*resultobj
= 0;
28524 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28525 wxString
*result
= 0 ;
28528 PyObject
*swig_obj
[1] ;
28530 if (!args
) SWIG_fail
;
28531 swig_obj
[0] = args
;
28532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28533 if (!SWIG_IsOK(res1
)) {
28534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28536 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28540 wxString
const &_result_ref
= (arg1
)->GetLabel();
28541 result
= (wxString
*) &_result_ref
;
28543 wxPyEndAllowThreads(__tstate
);
28544 if (PyErr_Occurred()) SWIG_fail
;
28548 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28550 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28559 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28560 PyObject
*resultobj
= 0;
28561 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28562 wxString
*result
= 0 ;
28565 PyObject
*swig_obj
[1] ;
28567 if (!args
) SWIG_fail
;
28568 swig_obj
[0] = args
;
28569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28570 if (!SWIG_IsOK(res1
)) {
28571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28573 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28577 wxString
const &_result_ref
= (arg1
)->GetText();
28578 result
= (wxString
*) &_result_ref
;
28580 wxPyEndAllowThreads(__tstate
);
28581 if (PyErr_Occurred()) SWIG_fail
;
28585 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28587 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28596 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28597 PyObject
*resultobj
= 0;
28598 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28602 PyObject
*swig_obj
[1] ;
28604 if (!args
) SWIG_fail
;
28605 swig_obj
[0] = args
;
28606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28607 if (!SWIG_IsOK(res1
)) {
28608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28610 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28613 result
= (int)(arg1
)->GetImage();
28614 wxPyEndAllowThreads(__tstate
);
28615 if (PyErr_Occurred()) SWIG_fail
;
28617 resultobj
= SWIG_From_int(static_cast< int >(result
));
28624 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28625 PyObject
*resultobj
= 0;
28626 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28630 PyObject
*swig_obj
[1] ;
28632 if (!args
) SWIG_fail
;
28633 swig_obj
[0] = args
;
28634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28635 if (!SWIG_IsOK(res1
)) {
28636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28638 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28641 result
= (long)(arg1
)->GetData();
28642 wxPyEndAllowThreads(__tstate
);
28643 if (PyErr_Occurred()) SWIG_fail
;
28645 resultobj
= SWIG_From_long(static_cast< long >(result
));
28652 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28653 PyObject
*resultobj
= 0;
28654 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28658 PyObject
*swig_obj
[1] ;
28660 if (!args
) SWIG_fail
;
28661 swig_obj
[0] = args
;
28662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28663 if (!SWIG_IsOK(res1
)) {
28664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28666 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28669 result
= (long)(arg1
)->GetMask();
28670 wxPyEndAllowThreads(__tstate
);
28671 if (PyErr_Occurred()) SWIG_fail
;
28673 resultobj
= SWIG_From_long(static_cast< long >(result
));
28680 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28681 PyObject
*resultobj
= 0;
28682 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28683 wxListItem
*result
= 0 ;
28686 PyObject
*swig_obj
[1] ;
28688 if (!args
) SWIG_fail
;
28689 swig_obj
[0] = args
;
28690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28691 if (!SWIG_IsOK(res1
)) {
28692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28694 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28698 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28699 result
= (wxListItem
*) &_result_ref
;
28701 wxPyEndAllowThreads(__tstate
);
28702 if (PyErr_Occurred()) SWIG_fail
;
28704 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28711 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28712 PyObject
*resultobj
= 0;
28713 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28717 PyObject
*swig_obj
[1] ;
28719 if (!args
) SWIG_fail
;
28720 swig_obj
[0] = args
;
28721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28722 if (!SWIG_IsOK(res1
)) {
28723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28725 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28728 result
= (long)(arg1
)->GetCacheFrom();
28729 wxPyEndAllowThreads(__tstate
);
28730 if (PyErr_Occurred()) SWIG_fail
;
28732 resultobj
= SWIG_From_long(static_cast< long >(result
));
28739 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28740 PyObject
*resultobj
= 0;
28741 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28745 PyObject
*swig_obj
[1] ;
28747 if (!args
) SWIG_fail
;
28748 swig_obj
[0] = args
;
28749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28750 if (!SWIG_IsOK(res1
)) {
28751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28753 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28756 result
= (long)(arg1
)->GetCacheTo();
28757 wxPyEndAllowThreads(__tstate
);
28758 if (PyErr_Occurred()) SWIG_fail
;
28760 resultobj
= SWIG_From_long(static_cast< long >(result
));
28767 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28768 PyObject
*resultobj
= 0;
28769 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28773 PyObject
*swig_obj
[1] ;
28775 if (!args
) SWIG_fail
;
28776 swig_obj
[0] = args
;
28777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28778 if (!SWIG_IsOK(res1
)) {
28779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28781 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28784 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28785 wxPyEndAllowThreads(__tstate
);
28786 if (PyErr_Occurred()) SWIG_fail
;
28789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28797 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28798 PyObject
*resultobj
= 0;
28799 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28805 PyObject
* obj0
= 0 ;
28806 PyObject
* obj1
= 0 ;
28807 char * kwnames
[] = {
28808 (char *) "self",(char *) "editCancelled", NULL
28811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28813 if (!SWIG_IsOK(res1
)) {
28814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28816 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28817 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28818 if (!SWIG_IsOK(ecode2
)) {
28819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28821 arg2
= static_cast< bool >(val2
);
28823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28824 (arg1
)->SetEditCanceled(arg2
);
28825 wxPyEndAllowThreads(__tstate
);
28826 if (PyErr_Occurred()) SWIG_fail
;
28828 resultobj
= SWIG_Py_Void();
28835 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28837 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28838 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28839 return SWIG_Py_Void();
28842 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28843 return SWIG_Python_InitShadowInstance(args
);
28846 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28847 PyObject
*resultobj
= 0;
28848 wxWindow
*arg1
= (wxWindow
*) 0 ;
28849 int arg2
= (int) -1 ;
28850 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28851 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28852 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28853 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28854 long arg5
= (long) wxLC_ICON
;
28855 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28856 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28857 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28858 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28859 wxPyListCtrl
*result
= 0 ;
28870 bool temp7
= false ;
28871 PyObject
* obj0
= 0 ;
28872 PyObject
* obj1
= 0 ;
28873 PyObject
* obj2
= 0 ;
28874 PyObject
* obj3
= 0 ;
28875 PyObject
* obj4
= 0 ;
28876 PyObject
* obj5
= 0 ;
28877 PyObject
* obj6
= 0 ;
28878 char * kwnames
[] = {
28879 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28884 if (!SWIG_IsOK(res1
)) {
28885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28887 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28889 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28890 if (!SWIG_IsOK(ecode2
)) {
28891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28893 arg2
= static_cast< int >(val2
);
28898 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28904 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28908 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28909 if (!SWIG_IsOK(ecode5
)) {
28910 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28912 arg5
= static_cast< long >(val5
);
28915 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28916 if (!SWIG_IsOK(res6
)) {
28917 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28920 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28922 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28926 arg7
= wxString_in_helper(obj6
);
28927 if (arg7
== NULL
) SWIG_fail
;
28932 if (!wxPyCheckForApp()) SWIG_fail
;
28933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28934 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28935 wxPyEndAllowThreads(__tstate
);
28936 if (PyErr_Occurred()) SWIG_fail
;
28938 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28953 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28954 PyObject
*resultobj
= 0;
28955 wxPyListCtrl
*result
= 0 ;
28957 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28959 if (!wxPyCheckForApp()) SWIG_fail
;
28960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28961 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28962 wxPyEndAllowThreads(__tstate
);
28963 if (PyErr_Occurred()) SWIG_fail
;
28965 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28972 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28973 PyObject
*resultobj
= 0;
28974 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28975 wxWindow
*arg2
= (wxWindow
*) 0 ;
28976 int arg3
= (int) -1 ;
28977 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28978 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28979 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28980 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28981 long arg6
= (long) wxLC_ICON
;
28982 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28983 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28984 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28985 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28999 bool temp8
= false ;
29000 PyObject
* obj0
= 0 ;
29001 PyObject
* obj1
= 0 ;
29002 PyObject
* obj2
= 0 ;
29003 PyObject
* obj3
= 0 ;
29004 PyObject
* obj4
= 0 ;
29005 PyObject
* obj5
= 0 ;
29006 PyObject
* obj6
= 0 ;
29007 PyObject
* obj7
= 0 ;
29008 char * kwnames
[] = {
29009 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
29013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29014 if (!SWIG_IsOK(res1
)) {
29015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29017 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29018 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29019 if (!SWIG_IsOK(res2
)) {
29020 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29022 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29024 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29025 if (!SWIG_IsOK(ecode3
)) {
29026 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
29028 arg3
= static_cast< int >(val3
);
29033 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29039 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29043 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29044 if (!SWIG_IsOK(ecode6
)) {
29045 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
29047 arg6
= static_cast< long >(val6
);
29050 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
29051 if (!SWIG_IsOK(res7
)) {
29052 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29055 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29057 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
29061 arg8
= wxString_in_helper(obj7
);
29062 if (arg8
== NULL
) SWIG_fail
;
29067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29068 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
29069 wxPyEndAllowThreads(__tstate
);
29070 if (PyErr_Occurred()) SWIG_fail
;
29073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29089 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29090 PyObject
*resultobj
= 0;
29091 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29092 PyObject
*arg2
= (PyObject
*) 0 ;
29093 PyObject
*arg3
= (PyObject
*) 0 ;
29096 PyObject
* obj0
= 0 ;
29097 PyObject
* obj1
= 0 ;
29098 PyObject
* obj2
= 0 ;
29099 char * kwnames
[] = {
29100 (char *) "self",(char *) "self",(char *) "_class", NULL
29103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29105 if (!SWIG_IsOK(res1
)) {
29106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29108 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29113 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29114 wxPyEndAllowThreads(__tstate
);
29115 if (PyErr_Occurred()) SWIG_fail
;
29117 resultobj
= SWIG_Py_Void();
29124 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29125 PyObject
*resultobj
= 0;
29126 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29128 wxListItem
*result
= 0 ;
29133 PyObject
* obj0
= 0 ;
29134 PyObject
* obj1
= 0 ;
29135 char * kwnames
[] = {
29136 (char *) "self",(char *) "col", NULL
29139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29141 if (!SWIG_IsOK(res1
)) {
29142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29144 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29145 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29146 if (!SWIG_IsOK(ecode2
)) {
29147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29149 arg2
= static_cast< int >(val2
);
29151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29152 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
29153 wxPyEndAllowThreads(__tstate
);
29154 if (PyErr_Occurred()) SWIG_fail
;
29157 resultobj
= wxPyMake_wxObject(result
, 0);
29165 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29166 PyObject
*resultobj
= 0;
29167 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29169 wxListItem
*arg3
= 0 ;
29177 PyObject
* obj0
= 0 ;
29178 PyObject
* obj1
= 0 ;
29179 PyObject
* obj2
= 0 ;
29180 char * kwnames
[] = {
29181 (char *) "self",(char *) "col",(char *) "item", NULL
29184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29186 if (!SWIG_IsOK(res1
)) {
29187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29189 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29190 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29191 if (!SWIG_IsOK(ecode2
)) {
29192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29194 arg2
= static_cast< int >(val2
);
29195 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
29196 if (!SWIG_IsOK(res3
)) {
29197 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29200 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29202 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
29204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29205 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
29206 wxPyEndAllowThreads(__tstate
);
29207 if (PyErr_Occurred()) SWIG_fail
;
29210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29218 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29219 PyObject
*resultobj
= 0;
29220 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29227 PyObject
* obj0
= 0 ;
29228 PyObject
* obj1
= 0 ;
29229 char * kwnames
[] = {
29230 (char *) "self",(char *) "col", NULL
29233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29235 if (!SWIG_IsOK(res1
)) {
29236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29238 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29239 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29240 if (!SWIG_IsOK(ecode2
)) {
29241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29243 arg2
= static_cast< int >(val2
);
29245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29246 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
29247 wxPyEndAllowThreads(__tstate
);
29248 if (PyErr_Occurred()) SWIG_fail
;
29250 resultobj
= SWIG_From_int(static_cast< int >(result
));
29257 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29258 PyObject
*resultobj
= 0;
29259 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29269 PyObject
* obj0
= 0 ;
29270 PyObject
* obj1
= 0 ;
29271 PyObject
* obj2
= 0 ;
29272 char * kwnames
[] = {
29273 (char *) "self",(char *) "col",(char *) "width", NULL
29276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29278 if (!SWIG_IsOK(res1
)) {
29279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29281 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29283 if (!SWIG_IsOK(ecode2
)) {
29284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29286 arg2
= static_cast< int >(val2
);
29287 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29288 if (!SWIG_IsOK(ecode3
)) {
29289 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29291 arg3
= static_cast< int >(val3
);
29293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29294 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29295 wxPyEndAllowThreads(__tstate
);
29296 if (PyErr_Occurred()) SWIG_fail
;
29299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29307 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29308 PyObject
*resultobj
= 0;
29309 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29313 PyObject
*swig_obj
[1] ;
29315 if (!args
) SWIG_fail
;
29316 swig_obj
[0] = args
;
29317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29318 if (!SWIG_IsOK(res1
)) {
29319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29321 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29324 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29325 wxPyEndAllowThreads(__tstate
);
29326 if (PyErr_Occurred()) SWIG_fail
;
29328 resultobj
= SWIG_From_int(static_cast< int >(result
));
29335 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29336 PyObject
*resultobj
= 0;
29337 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29341 PyObject
*swig_obj
[1] ;
29343 if (!args
) SWIG_fail
;
29344 swig_obj
[0] = args
;
29345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29346 if (!SWIG_IsOK(res1
)) {
29347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29349 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29352 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29353 wxPyEndAllowThreads(__tstate
);
29354 if (PyErr_Occurred()) SWIG_fail
;
29356 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29363 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29364 PyObject
*resultobj
= 0;
29365 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29366 wxTextCtrl
*result
= 0 ;
29369 PyObject
*swig_obj
[1] ;
29371 if (!args
) SWIG_fail
;
29372 swig_obj
[0] = args
;
29373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29374 if (!SWIG_IsOK(res1
)) {
29375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29377 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29380 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29381 wxPyEndAllowThreads(__tstate
);
29382 if (PyErr_Occurred()) SWIG_fail
;
29385 resultobj
= wxPyMake_wxObject(result
, 0);
29393 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29394 PyObject
*resultobj
= 0;
29395 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29397 int arg3
= (int) 0 ;
29398 wxListItem
*result
= 0 ;
29405 PyObject
* obj0
= 0 ;
29406 PyObject
* obj1
= 0 ;
29407 PyObject
* obj2
= 0 ;
29408 char * kwnames
[] = {
29409 (char *) "self",(char *) "itemId",(char *) "col", NULL
29412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29414 if (!SWIG_IsOK(res1
)) {
29415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29417 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29418 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29419 if (!SWIG_IsOK(ecode2
)) {
29420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29422 arg2
= static_cast< long >(val2
);
29424 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29425 if (!SWIG_IsOK(ecode3
)) {
29426 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29428 arg3
= static_cast< int >(val3
);
29431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29432 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29433 wxPyEndAllowThreads(__tstate
);
29434 if (PyErr_Occurred()) SWIG_fail
;
29437 resultobj
= wxPyMake_wxObject(result
, 0);
29445 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29446 PyObject
*resultobj
= 0;
29447 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29448 wxListItem
*arg2
= 0 ;
29454 PyObject
* obj0
= 0 ;
29455 PyObject
* obj1
= 0 ;
29456 char * kwnames
[] = {
29457 (char *) "self",(char *) "info", NULL
29460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29462 if (!SWIG_IsOK(res1
)) {
29463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29465 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29466 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29467 if (!SWIG_IsOK(res2
)) {
29468 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29471 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29473 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29476 result
= (bool)(arg1
)->SetItem(*arg2
);
29477 wxPyEndAllowThreads(__tstate
);
29478 if (PyErr_Occurred()) SWIG_fail
;
29481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29489 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29490 PyObject
*resultobj
= 0;
29491 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29494 wxString
*arg4
= 0 ;
29495 int arg5
= (int) -1 ;
29503 bool temp4
= false ;
29506 PyObject
* obj0
= 0 ;
29507 PyObject
* obj1
= 0 ;
29508 PyObject
* obj2
= 0 ;
29509 PyObject
* obj3
= 0 ;
29510 PyObject
* obj4
= 0 ;
29511 char * kwnames
[] = {
29512 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29517 if (!SWIG_IsOK(res1
)) {
29518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29520 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29521 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29522 if (!SWIG_IsOK(ecode2
)) {
29523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29525 arg2
= static_cast< long >(val2
);
29526 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29527 if (!SWIG_IsOK(ecode3
)) {
29528 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29530 arg3
= static_cast< int >(val3
);
29532 arg4
= wxString_in_helper(obj3
);
29533 if (arg4
== NULL
) SWIG_fail
;
29537 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29538 if (!SWIG_IsOK(ecode5
)) {
29539 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29541 arg5
= static_cast< int >(val5
);
29544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29545 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29546 wxPyEndAllowThreads(__tstate
);
29547 if (PyErr_Occurred()) SWIG_fail
;
29549 resultobj
= SWIG_From_long(static_cast< long >(result
));
29564 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29565 PyObject
*resultobj
= 0;
29566 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29576 PyObject
* obj0
= 0 ;
29577 PyObject
* obj1
= 0 ;
29578 PyObject
* obj2
= 0 ;
29579 char * kwnames
[] = {
29580 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29585 if (!SWIG_IsOK(res1
)) {
29586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29588 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29589 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29590 if (!SWIG_IsOK(ecode2
)) {
29591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29593 arg2
= static_cast< long >(val2
);
29594 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29595 if (!SWIG_IsOK(ecode3
)) {
29596 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29598 arg3
= static_cast< long >(val3
);
29600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29601 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29602 wxPyEndAllowThreads(__tstate
);
29603 if (PyErr_Occurred()) SWIG_fail
;
29605 resultobj
= SWIG_From_int(static_cast< int >(result
));
29612 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29613 PyObject
*resultobj
= 0;
29614 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29627 PyObject
* obj0
= 0 ;
29628 PyObject
* obj1
= 0 ;
29629 PyObject
* obj2
= 0 ;
29630 PyObject
* obj3
= 0 ;
29631 char * kwnames
[] = {
29632 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29637 if (!SWIG_IsOK(res1
)) {
29638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29640 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29641 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29642 if (!SWIG_IsOK(ecode2
)) {
29643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29645 arg2
= static_cast< long >(val2
);
29646 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29647 if (!SWIG_IsOK(ecode3
)) {
29648 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29650 arg3
= static_cast< long >(val3
);
29651 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29652 if (!SWIG_IsOK(ecode4
)) {
29653 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29655 arg4
= static_cast< long >(val4
);
29657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29658 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29659 wxPyEndAllowThreads(__tstate
);
29660 if (PyErr_Occurred()) SWIG_fail
;
29663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29671 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29672 PyObject
*resultobj
= 0;
29673 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29676 int arg4
= (int) -1 ;
29686 PyObject
* obj0
= 0 ;
29687 PyObject
* obj1
= 0 ;
29688 PyObject
* obj2
= 0 ;
29689 PyObject
* obj3
= 0 ;
29690 char * kwnames
[] = {
29691 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29696 if (!SWIG_IsOK(res1
)) {
29697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29699 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29700 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29701 if (!SWIG_IsOK(ecode2
)) {
29702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29704 arg2
= static_cast< long >(val2
);
29705 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29706 if (!SWIG_IsOK(ecode3
)) {
29707 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29709 arg3
= static_cast< int >(val3
);
29711 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29712 if (!SWIG_IsOK(ecode4
)) {
29713 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29715 arg4
= static_cast< int >(val4
);
29718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29719 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29720 wxPyEndAllowThreads(__tstate
);
29721 if (PyErr_Occurred()) SWIG_fail
;
29724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29732 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29733 PyObject
*resultobj
= 0;
29734 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29747 PyObject
* obj0
= 0 ;
29748 PyObject
* obj1
= 0 ;
29749 PyObject
* obj2
= 0 ;
29750 PyObject
* obj3
= 0 ;
29751 char * kwnames
[] = {
29752 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29757 if (!SWIG_IsOK(res1
)) {
29758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29760 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29761 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29762 if (!SWIG_IsOK(ecode2
)) {
29763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29765 arg2
= static_cast< long >(val2
);
29766 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29767 if (!SWIG_IsOK(ecode3
)) {
29768 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29770 arg3
= static_cast< long >(val3
);
29771 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29772 if (!SWIG_IsOK(ecode4
)) {
29773 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29775 arg4
= static_cast< int >(val4
);
29777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29778 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29779 wxPyEndAllowThreads(__tstate
);
29780 if (PyErr_Occurred()) SWIG_fail
;
29783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29791 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29792 PyObject
*resultobj
= 0;
29793 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29800 PyObject
* obj0
= 0 ;
29801 PyObject
* obj1
= 0 ;
29802 char * kwnames
[] = {
29803 (char *) "self",(char *) "item", NULL
29806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29808 if (!SWIG_IsOK(res1
)) {
29809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29811 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29812 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29813 if (!SWIG_IsOK(ecode2
)) {
29814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29816 arg2
= static_cast< long >(val2
);
29818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29819 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29820 wxPyEndAllowThreads(__tstate
);
29821 if (PyErr_Occurred()) SWIG_fail
;
29825 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29827 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29836 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29837 PyObject
*resultobj
= 0;
29838 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29840 wxString
*arg3
= 0 ;
29845 bool temp3
= false ;
29846 PyObject
* obj0
= 0 ;
29847 PyObject
* obj1
= 0 ;
29848 PyObject
* obj2
= 0 ;
29849 char * kwnames
[] = {
29850 (char *) "self",(char *) "item",(char *) "str", NULL
29853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29855 if (!SWIG_IsOK(res1
)) {
29856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29858 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29859 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29860 if (!SWIG_IsOK(ecode2
)) {
29861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29863 arg2
= static_cast< long >(val2
);
29865 arg3
= wxString_in_helper(obj2
);
29866 if (arg3
== NULL
) SWIG_fail
;
29870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29871 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29872 wxPyEndAllowThreads(__tstate
);
29873 if (PyErr_Occurred()) SWIG_fail
;
29875 resultobj
= SWIG_Py_Void();
29890 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29891 PyObject
*resultobj
= 0;
29892 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29899 PyObject
* obj0
= 0 ;
29900 PyObject
* obj1
= 0 ;
29901 char * kwnames
[] = {
29902 (char *) "self",(char *) "item", NULL
29905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29907 if (!SWIG_IsOK(res1
)) {
29908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29910 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29911 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29912 if (!SWIG_IsOK(ecode2
)) {
29913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29915 arg2
= static_cast< long >(val2
);
29917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29918 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29919 wxPyEndAllowThreads(__tstate
);
29920 if (PyErr_Occurred()) SWIG_fail
;
29922 resultobj
= SWIG_From_long(static_cast< long >(result
));
29929 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29930 PyObject
*resultobj
= 0;
29931 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29941 PyObject
* obj0
= 0 ;
29942 PyObject
* obj1
= 0 ;
29943 PyObject
* obj2
= 0 ;
29944 char * kwnames
[] = {
29945 (char *) "self",(char *) "item",(char *) "data", NULL
29948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29950 if (!SWIG_IsOK(res1
)) {
29951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29953 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29954 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29955 if (!SWIG_IsOK(ecode2
)) {
29956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29958 arg2
= static_cast< long >(val2
);
29959 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29960 if (!SWIG_IsOK(ecode3
)) {
29961 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29963 arg3
= static_cast< long >(val3
);
29965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29966 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29967 wxPyEndAllowThreads(__tstate
);
29968 if (PyErr_Occurred()) SWIG_fail
;
29971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29979 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29980 PyObject
*resultobj
= 0;
29981 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29988 PyObject
* obj0
= 0 ;
29989 PyObject
* obj1
= 0 ;
29990 char * kwnames
[] = {
29991 (char *) "self",(char *) "item", NULL
29994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29996 if (!SWIG_IsOK(res1
)) {
29997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29999 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30000 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30001 if (!SWIG_IsOK(ecode2
)) {
30002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
30004 arg2
= static_cast< long >(val2
);
30006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30007 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
30008 wxPyEndAllowThreads(__tstate
);
30009 if (PyErr_Occurred()) SWIG_fail
;
30011 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30018 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30019 PyObject
*resultobj
= 0;
30020 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30022 int arg3
= (int) wxLIST_RECT_BOUNDS
;
30030 PyObject
* obj0
= 0 ;
30031 PyObject
* obj1
= 0 ;
30032 PyObject
* obj2
= 0 ;
30033 char * kwnames
[] = {
30034 (char *) "self",(char *) "item",(char *) "code", NULL
30037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30039 if (!SWIG_IsOK(res1
)) {
30040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30042 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30043 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30044 if (!SWIG_IsOK(ecode2
)) {
30045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
30047 arg2
= static_cast< long >(val2
);
30049 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30050 if (!SWIG_IsOK(ecode3
)) {
30051 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
30053 arg3
= static_cast< int >(val3
);
30056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30057 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
30058 wxPyEndAllowThreads(__tstate
);
30059 if (PyErr_Occurred()) SWIG_fail
;
30061 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30068 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30069 PyObject
*resultobj
= 0;
30070 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30072 wxPoint
*arg3
= 0 ;
30079 PyObject
* obj0
= 0 ;
30080 PyObject
* obj1
= 0 ;
30081 PyObject
* obj2
= 0 ;
30082 char * kwnames
[] = {
30083 (char *) "self",(char *) "item",(char *) "pos", NULL
30086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30088 if (!SWIG_IsOK(res1
)) {
30089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30091 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30092 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30093 if (!SWIG_IsOK(ecode2
)) {
30094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30096 arg2
= static_cast< long >(val2
);
30099 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30103 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
30104 wxPyEndAllowThreads(__tstate
);
30105 if (PyErr_Occurred()) SWIG_fail
;
30108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30116 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30117 PyObject
*resultobj
= 0;
30118 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30122 PyObject
*swig_obj
[1] ;
30124 if (!args
) SWIG_fail
;
30125 swig_obj
[0] = args
;
30126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30127 if (!SWIG_IsOK(res1
)) {
30128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30130 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30133 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
30134 wxPyEndAllowThreads(__tstate
);
30135 if (PyErr_Occurred()) SWIG_fail
;
30137 resultobj
= SWIG_From_int(static_cast< int >(result
));
30144 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30145 PyObject
*resultobj
= 0;
30146 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30150 PyObject
*swig_obj
[1] ;
30152 if (!args
) SWIG_fail
;
30153 swig_obj
[0] = args
;
30154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30155 if (!SWIG_IsOK(res1
)) {
30156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30158 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30161 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
30162 wxPyEndAllowThreads(__tstate
);
30163 if (PyErr_Occurred()) SWIG_fail
;
30165 resultobj
= SWIG_From_int(static_cast< int >(result
));
30172 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30173 PyObject
*resultobj
= 0;
30174 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30178 PyObject
*swig_obj
[1] ;
30180 if (!args
) SWIG_fail
;
30181 swig_obj
[0] = args
;
30182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30183 if (!SWIG_IsOK(res1
)) {
30184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30186 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30189 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
30190 wxPyEndAllowThreads(__tstate
);
30191 if (PyErr_Occurred()) SWIG_fail
;
30193 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30200 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30201 PyObject
*resultobj
= 0;
30202 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30204 bool arg3
= (bool) false ;
30211 PyObject
* obj0
= 0 ;
30212 PyObject
* obj1
= 0 ;
30213 PyObject
* obj2
= 0 ;
30214 char * kwnames
[] = {
30215 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
30218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30220 if (!SWIG_IsOK(res1
)) {
30221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30223 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30224 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30225 if (!SWIG_IsOK(ecode2
)) {
30226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
30228 arg2
= static_cast< int >(val2
);
30230 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30231 if (!SWIG_IsOK(ecode3
)) {
30232 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
30234 arg3
= static_cast< bool >(val3
);
30237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30238 (arg1
)->SetItemSpacing(arg2
,arg3
);
30239 wxPyEndAllowThreads(__tstate
);
30240 if (PyErr_Occurred()) SWIG_fail
;
30242 resultobj
= SWIG_Py_Void();
30249 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30250 PyObject
*resultobj
= 0;
30251 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30255 PyObject
*swig_obj
[1] ;
30257 if (!args
) SWIG_fail
;
30258 swig_obj
[0] = args
;
30259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30260 if (!SWIG_IsOK(res1
)) {
30261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30263 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30266 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
30267 wxPyEndAllowThreads(__tstate
);
30268 if (PyErr_Occurred()) SWIG_fail
;
30270 resultobj
= SWIG_From_int(static_cast< int >(result
));
30277 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30278 PyObject
*resultobj
= 0;
30279 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30283 PyObject
*swig_obj
[1] ;
30285 if (!args
) SWIG_fail
;
30286 swig_obj
[0] = args
;
30287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30288 if (!SWIG_IsOK(res1
)) {
30289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30291 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30294 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30295 wxPyEndAllowThreads(__tstate
);
30296 if (PyErr_Occurred()) SWIG_fail
;
30298 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30305 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30306 PyObject
*resultobj
= 0;
30307 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30308 wxColour
*arg2
= 0 ;
30312 PyObject
* obj0
= 0 ;
30313 PyObject
* obj1
= 0 ;
30314 char * kwnames
[] = {
30315 (char *) "self",(char *) "col", NULL
30318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30320 if (!SWIG_IsOK(res1
)) {
30321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30323 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30326 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30330 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30331 wxPyEndAllowThreads(__tstate
);
30332 if (PyErr_Occurred()) SWIG_fail
;
30334 resultobj
= SWIG_Py_Void();
30341 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30342 PyObject
*resultobj
= 0;
30343 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30347 PyObject
*swig_obj
[1] ;
30349 if (!args
) SWIG_fail
;
30350 swig_obj
[0] = args
;
30351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30352 if (!SWIG_IsOK(res1
)) {
30353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30355 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30358 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30359 wxPyEndAllowThreads(__tstate
);
30360 if (PyErr_Occurred()) SWIG_fail
;
30362 resultobj
= SWIG_From_long(static_cast< long >(result
));
30369 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30370 PyObject
*resultobj
= 0;
30371 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30373 bool arg3
= (bool) true ;
30380 PyObject
* obj0
= 0 ;
30381 PyObject
* obj1
= 0 ;
30382 PyObject
* obj2
= 0 ;
30383 char * kwnames
[] = {
30384 (char *) "self",(char *) "style",(char *) "add", NULL
30387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30389 if (!SWIG_IsOK(res1
)) {
30390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30392 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30393 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30394 if (!SWIG_IsOK(ecode2
)) {
30395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30397 arg2
= static_cast< long >(val2
);
30399 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30400 if (!SWIG_IsOK(ecode3
)) {
30401 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30403 arg3
= static_cast< bool >(val3
);
30406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30407 (arg1
)->SetSingleStyle(arg2
,arg3
);
30408 wxPyEndAllowThreads(__tstate
);
30409 if (PyErr_Occurred()) SWIG_fail
;
30411 resultobj
= SWIG_Py_Void();
30418 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30419 PyObject
*resultobj
= 0;
30420 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30422 int arg3
= (int) wxLIST_NEXT_ALL
;
30423 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30433 PyObject
* obj0
= 0 ;
30434 PyObject
* obj1
= 0 ;
30435 PyObject
* obj2
= 0 ;
30436 PyObject
* obj3
= 0 ;
30437 char * kwnames
[] = {
30438 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30443 if (!SWIG_IsOK(res1
)) {
30444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30446 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30447 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30448 if (!SWIG_IsOK(ecode2
)) {
30449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30451 arg2
= static_cast< long >(val2
);
30453 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30454 if (!SWIG_IsOK(ecode3
)) {
30455 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30457 arg3
= static_cast< int >(val3
);
30460 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30461 if (!SWIG_IsOK(ecode4
)) {
30462 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30464 arg4
= static_cast< int >(val4
);
30467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30468 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30469 wxPyEndAllowThreads(__tstate
);
30470 if (PyErr_Occurred()) SWIG_fail
;
30472 resultobj
= SWIG_From_long(static_cast< long >(result
));
30479 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30480 PyObject
*resultobj
= 0;
30481 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30483 wxImageList
*result
= 0 ;
30488 PyObject
* obj0
= 0 ;
30489 PyObject
* obj1
= 0 ;
30490 char * kwnames
[] = {
30491 (char *) "self",(char *) "which", NULL
30494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30496 if (!SWIG_IsOK(res1
)) {
30497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30499 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30501 if (!SWIG_IsOK(ecode2
)) {
30502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30504 arg2
= static_cast< int >(val2
);
30506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30507 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30508 wxPyEndAllowThreads(__tstate
);
30509 if (PyErr_Occurred()) SWIG_fail
;
30512 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30520 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30521 PyObject
*resultobj
= 0;
30522 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30523 wxImageList
*arg2
= (wxImageList
*) 0 ;
30531 PyObject
* obj0
= 0 ;
30532 PyObject
* obj1
= 0 ;
30533 PyObject
* obj2
= 0 ;
30534 char * kwnames
[] = {
30535 (char *) "self",(char *) "imageList",(char *) "which", NULL
30538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30540 if (!SWIG_IsOK(res1
)) {
30541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30543 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30544 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30545 if (!SWIG_IsOK(res2
)) {
30546 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30548 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30549 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30550 if (!SWIG_IsOK(ecode3
)) {
30551 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30553 arg3
= static_cast< int >(val3
);
30555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30556 (arg1
)->SetImageList(arg2
,arg3
);
30557 wxPyEndAllowThreads(__tstate
);
30558 if (PyErr_Occurred()) SWIG_fail
;
30560 resultobj
= SWIG_Py_Void();
30567 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30568 PyObject
*resultobj
= 0;
30569 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30570 wxImageList
*arg2
= (wxImageList
*) 0 ;
30577 PyObject
* obj0
= 0 ;
30578 PyObject
* obj1
= 0 ;
30579 PyObject
* obj2
= 0 ;
30580 char * kwnames
[] = {
30581 (char *) "self",(char *) "imageList",(char *) "which", NULL
30584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30586 if (!SWIG_IsOK(res1
)) {
30587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30589 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30590 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30591 if (!SWIG_IsOK(res2
)) {
30592 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30594 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30595 if (!SWIG_IsOK(ecode3
)) {
30596 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30598 arg3
= static_cast< int >(val3
);
30600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30601 (arg1
)->AssignImageList(arg2
,arg3
);
30602 wxPyEndAllowThreads(__tstate
);
30603 if (PyErr_Occurred()) SWIG_fail
;
30605 resultobj
= SWIG_Py_Void();
30612 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30613 PyObject
*resultobj
= 0;
30614 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30618 PyObject
*swig_obj
[1] ;
30620 if (!args
) SWIG_fail
;
30621 swig_obj
[0] = args
;
30622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30623 if (!SWIG_IsOK(res1
)) {
30624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30626 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30629 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30630 wxPyEndAllowThreads(__tstate
);
30631 if (PyErr_Occurred()) SWIG_fail
;
30634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30642 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30643 PyObject
*resultobj
= 0;
30644 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30648 PyObject
*swig_obj
[1] ;
30650 if (!args
) SWIG_fail
;
30651 swig_obj
[0] = args
;
30652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30653 if (!SWIG_IsOK(res1
)) {
30654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30656 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30659 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30660 wxPyEndAllowThreads(__tstate
);
30661 if (PyErr_Occurred()) SWIG_fail
;
30664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30672 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30673 PyObject
*resultobj
= 0;
30674 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30680 PyObject
* obj0
= 0 ;
30681 PyObject
* obj1
= 0 ;
30682 char * kwnames
[] = {
30683 (char *) "self",(char *) "item", NULL
30686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30688 if (!SWIG_IsOK(res1
)) {
30689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30691 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30692 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30693 if (!SWIG_IsOK(ecode2
)) {
30694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30696 arg2
= static_cast< long >(val2
);
30698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30699 (arg1
)->RefreshItem(arg2
);
30700 wxPyEndAllowThreads(__tstate
);
30701 if (PyErr_Occurred()) SWIG_fail
;
30703 resultobj
= SWIG_Py_Void();
30710 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30711 PyObject
*resultobj
= 0;
30712 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30721 PyObject
* obj0
= 0 ;
30722 PyObject
* obj1
= 0 ;
30723 PyObject
* obj2
= 0 ;
30724 char * kwnames
[] = {
30725 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30730 if (!SWIG_IsOK(res1
)) {
30731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30733 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30734 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30735 if (!SWIG_IsOK(ecode2
)) {
30736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30738 arg2
= static_cast< long >(val2
);
30739 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30740 if (!SWIG_IsOK(ecode3
)) {
30741 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30743 arg3
= static_cast< long >(val3
);
30745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30746 (arg1
)->RefreshItems(arg2
,arg3
);
30747 wxPyEndAllowThreads(__tstate
);
30748 if (PyErr_Occurred()) SWIG_fail
;
30750 resultobj
= SWIG_Py_Void();
30757 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30758 PyObject
*resultobj
= 0;
30759 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30760 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30766 PyObject
* obj0
= 0 ;
30767 PyObject
* obj1
= 0 ;
30768 char * kwnames
[] = {
30769 (char *) "self",(char *) "flag", NULL
30772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30774 if (!SWIG_IsOK(res1
)) {
30775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30777 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30779 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30780 if (!SWIG_IsOK(ecode2
)) {
30781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30783 arg2
= static_cast< int >(val2
);
30786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30787 result
= (bool)(arg1
)->Arrange(arg2
);
30788 wxPyEndAllowThreads(__tstate
);
30789 if (PyErr_Occurred()) SWIG_fail
;
30792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30800 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30801 PyObject
*resultobj
= 0;
30802 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30809 PyObject
* obj0
= 0 ;
30810 PyObject
* obj1
= 0 ;
30811 char * kwnames
[] = {
30812 (char *) "self",(char *) "item", NULL
30815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30817 if (!SWIG_IsOK(res1
)) {
30818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30820 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30821 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30822 if (!SWIG_IsOK(ecode2
)) {
30823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30825 arg2
= static_cast< long >(val2
);
30827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30828 result
= (bool)(arg1
)->DeleteItem(arg2
);
30829 wxPyEndAllowThreads(__tstate
);
30830 if (PyErr_Occurred()) SWIG_fail
;
30833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30841 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30842 PyObject
*resultobj
= 0;
30843 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30847 PyObject
*swig_obj
[1] ;
30849 if (!args
) SWIG_fail
;
30850 swig_obj
[0] = args
;
30851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30852 if (!SWIG_IsOK(res1
)) {
30853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30855 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30858 result
= (bool)(arg1
)->DeleteAllItems();
30859 wxPyEndAllowThreads(__tstate
);
30860 if (PyErr_Occurred()) SWIG_fail
;
30863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30871 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30872 PyObject
*resultobj
= 0;
30873 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30880 PyObject
* obj0
= 0 ;
30881 PyObject
* obj1
= 0 ;
30882 char * kwnames
[] = {
30883 (char *) "self",(char *) "col", NULL
30886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30888 if (!SWIG_IsOK(res1
)) {
30889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30891 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30892 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30893 if (!SWIG_IsOK(ecode2
)) {
30894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30896 arg2
= static_cast< int >(val2
);
30898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30899 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30900 wxPyEndAllowThreads(__tstate
);
30901 if (PyErr_Occurred()) SWIG_fail
;
30904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30912 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30913 PyObject
*resultobj
= 0;
30914 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30918 PyObject
*swig_obj
[1] ;
30920 if (!args
) SWIG_fail
;
30921 swig_obj
[0] = args
;
30922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30923 if (!SWIG_IsOK(res1
)) {
30924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30926 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30929 result
= (bool)(arg1
)->DeleteAllColumns();
30930 wxPyEndAllowThreads(__tstate
);
30931 if (PyErr_Occurred()) SWIG_fail
;
30934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30942 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30943 PyObject
*resultobj
= 0;
30944 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30947 PyObject
*swig_obj
[1] ;
30949 if (!args
) SWIG_fail
;
30950 swig_obj
[0] = args
;
30951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30952 if (!SWIG_IsOK(res1
)) {
30953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30955 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30958 (arg1
)->ClearAll();
30959 wxPyEndAllowThreads(__tstate
);
30960 if (PyErr_Occurred()) SWIG_fail
;
30962 resultobj
= SWIG_Py_Void();
30969 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30970 PyObject
*resultobj
= 0;
30971 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30977 PyObject
* obj0
= 0 ;
30978 PyObject
* obj1
= 0 ;
30979 char * kwnames
[] = {
30980 (char *) "self",(char *) "item", NULL
30983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30985 if (!SWIG_IsOK(res1
)) {
30986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30988 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30989 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30990 if (!SWIG_IsOK(ecode2
)) {
30991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30993 arg2
= static_cast< long >(val2
);
30995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30996 (arg1
)->EditLabel(arg2
);
30997 wxPyEndAllowThreads(__tstate
);
30998 if (PyErr_Occurred()) SWIG_fail
;
31000 resultobj
= SWIG_Py_Void();
31007 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31008 PyObject
*resultobj
= 0;
31009 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31016 PyObject
* obj0
= 0 ;
31017 PyObject
* obj1
= 0 ;
31018 char * kwnames
[] = {
31019 (char *) "self",(char *) "item", NULL
31022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31024 if (!SWIG_IsOK(res1
)) {
31025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31027 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31028 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31029 if (!SWIG_IsOK(ecode2
)) {
31030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
31032 arg2
= static_cast< long >(val2
);
31034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31035 result
= (bool)(arg1
)->EnsureVisible(arg2
);
31036 wxPyEndAllowThreads(__tstate
);
31037 if (PyErr_Occurred()) SWIG_fail
;
31040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31048 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31049 PyObject
*resultobj
= 0;
31050 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31052 wxString
*arg3
= 0 ;
31053 bool arg4
= (bool) false ;
31059 bool temp3
= false ;
31062 PyObject
* obj0
= 0 ;
31063 PyObject
* obj1
= 0 ;
31064 PyObject
* obj2
= 0 ;
31065 PyObject
* obj3
= 0 ;
31066 char * kwnames
[] = {
31067 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31072 if (!SWIG_IsOK(res1
)) {
31073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31075 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31076 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31077 if (!SWIG_IsOK(ecode2
)) {
31078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31080 arg2
= static_cast< long >(val2
);
31082 arg3
= wxString_in_helper(obj2
);
31083 if (arg3
== NULL
) SWIG_fail
;
31087 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
31088 if (!SWIG_IsOK(ecode4
)) {
31089 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31091 arg4
= static_cast< bool >(val4
);
31094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31095 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
31096 wxPyEndAllowThreads(__tstate
);
31097 if (PyErr_Occurred()) SWIG_fail
;
31099 resultobj
= SWIG_From_long(static_cast< long >(result
));
31114 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31115 PyObject
*resultobj
= 0;
31116 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31126 PyObject
* obj0
= 0 ;
31127 PyObject
* obj1
= 0 ;
31128 PyObject
* obj2
= 0 ;
31129 char * kwnames
[] = {
31130 (char *) "self",(char *) "start",(char *) "data", NULL
31133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31135 if (!SWIG_IsOK(res1
)) {
31136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31138 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31139 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31140 if (!SWIG_IsOK(ecode2
)) {
31141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31143 arg2
= static_cast< long >(val2
);
31144 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
31145 if (!SWIG_IsOK(ecode3
)) {
31146 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31148 arg3
= static_cast< long >(val3
);
31150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31151 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
31152 wxPyEndAllowThreads(__tstate
);
31153 if (PyErr_Occurred()) SWIG_fail
;
31155 resultobj
= SWIG_From_long(static_cast< long >(result
));
31162 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31163 PyObject
*resultobj
= 0;
31164 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31166 wxPoint
*arg3
= 0 ;
31176 PyObject
* obj0
= 0 ;
31177 PyObject
* obj1
= 0 ;
31178 PyObject
* obj2
= 0 ;
31179 PyObject
* obj3
= 0 ;
31180 char * kwnames
[] = {
31181 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31186 if (!SWIG_IsOK(res1
)) {
31187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31189 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31190 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31191 if (!SWIG_IsOK(ecode2
)) {
31192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31194 arg2
= static_cast< long >(val2
);
31197 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31199 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31200 if (!SWIG_IsOK(ecode4
)) {
31201 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31203 arg4
= static_cast< int >(val4
);
31205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31206 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
31207 wxPyEndAllowThreads(__tstate
);
31208 if (PyErr_Occurred()) SWIG_fail
;
31210 resultobj
= SWIG_From_long(static_cast< long >(result
));
31217 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31218 PyObject
*resultobj
= 0;
31219 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31220 wxPoint
*arg2
= 0 ;
31227 int res3
= SWIG_TMPOBJ
;
31228 PyObject
* obj0
= 0 ;
31229 PyObject
* obj1
= 0 ;
31230 char * kwnames
[] = {
31231 (char *) "self",(char *) "point", NULL
31235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31237 if (!SWIG_IsOK(res1
)) {
31238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31240 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31243 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31247 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31248 wxPyEndAllowThreads(__tstate
);
31249 if (PyErr_Occurred()) SWIG_fail
;
31251 resultobj
= SWIG_From_long(static_cast< long >(result
));
31252 if (SWIG_IsTmpObj(res3
)) {
31253 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31255 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31256 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31264 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31265 PyObject
*resultobj
= 0;
31266 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31267 wxPoint
*arg2
= 0 ;
31269 long *arg4
= (long *) 0 ;
31275 int res3
= SWIG_TMPOBJ
;
31277 int res4
= SWIG_TMPOBJ
;
31278 PyObject
* obj0
= 0 ;
31279 PyObject
* obj1
= 0 ;
31280 char * kwnames
[] = {
31281 (char *) "self",(char *) "point", NULL
31286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31288 if (!SWIG_IsOK(res1
)) {
31289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31291 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31294 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31298 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31299 wxPyEndAllowThreads(__tstate
);
31300 if (PyErr_Occurred()) SWIG_fail
;
31302 resultobj
= SWIG_From_long(static_cast< long >(result
));
31303 if (SWIG_IsTmpObj(res3
)) {
31304 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31306 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31307 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31309 if (SWIG_IsTmpObj(res4
)) {
31310 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31312 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31313 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31321 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31322 PyObject
*resultobj
= 0;
31323 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31324 wxListItem
*arg2
= 0 ;
31330 PyObject
* obj0
= 0 ;
31331 PyObject
* obj1
= 0 ;
31332 char * kwnames
[] = {
31333 (char *) "self",(char *) "info", NULL
31336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31338 if (!SWIG_IsOK(res1
)) {
31339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31341 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31342 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31343 if (!SWIG_IsOK(res2
)) {
31344 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31347 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31349 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31352 result
= (long)(arg1
)->InsertItem(*arg2
);
31353 wxPyEndAllowThreads(__tstate
);
31354 if (PyErr_Occurred()) SWIG_fail
;
31356 resultobj
= SWIG_From_long(static_cast< long >(result
));
31363 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31364 PyObject
*resultobj
= 0;
31365 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31367 wxString
*arg3
= 0 ;
31368 int arg4
= (int) -1 ;
31374 bool temp3
= false ;
31377 PyObject
* obj0
= 0 ;
31378 PyObject
* obj1
= 0 ;
31379 PyObject
* obj2
= 0 ;
31380 PyObject
* obj3
= 0 ;
31381 char * kwnames
[] = {
31382 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31387 if (!SWIG_IsOK(res1
)) {
31388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31390 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31391 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31392 if (!SWIG_IsOK(ecode2
)) {
31393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31395 arg2
= static_cast< long >(val2
);
31397 arg3
= wxString_in_helper(obj2
);
31398 if (arg3
== NULL
) SWIG_fail
;
31402 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31403 if (!SWIG_IsOK(ecode4
)) {
31404 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31406 arg4
= static_cast< int >(val4
);
31409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31410 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31411 wxPyEndAllowThreads(__tstate
);
31412 if (PyErr_Occurred()) SWIG_fail
;
31414 resultobj
= SWIG_From_long(static_cast< long >(result
));
31429 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31430 PyObject
*resultobj
= 0;
31431 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31441 PyObject
* obj0
= 0 ;
31442 PyObject
* obj1
= 0 ;
31443 PyObject
* obj2
= 0 ;
31444 char * kwnames
[] = {
31445 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31450 if (!SWIG_IsOK(res1
)) {
31451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31453 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31454 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31455 if (!SWIG_IsOK(ecode2
)) {
31456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31458 arg2
= static_cast< long >(val2
);
31459 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31460 if (!SWIG_IsOK(ecode3
)) {
31461 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31463 arg3
= static_cast< int >(val3
);
31465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31466 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31467 wxPyEndAllowThreads(__tstate
);
31468 if (PyErr_Occurred()) SWIG_fail
;
31470 resultobj
= SWIG_From_long(static_cast< long >(result
));
31477 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31478 PyObject
*resultobj
= 0;
31479 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31481 wxString
*arg3
= 0 ;
31488 bool temp3
= false ;
31491 PyObject
* obj0
= 0 ;
31492 PyObject
* obj1
= 0 ;
31493 PyObject
* obj2
= 0 ;
31494 PyObject
* obj3
= 0 ;
31495 char * kwnames
[] = {
31496 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31501 if (!SWIG_IsOK(res1
)) {
31502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31504 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31505 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31506 if (!SWIG_IsOK(ecode2
)) {
31507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31509 arg2
= static_cast< long >(val2
);
31511 arg3
= wxString_in_helper(obj2
);
31512 if (arg3
== NULL
) SWIG_fail
;
31515 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31516 if (!SWIG_IsOK(ecode4
)) {
31517 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31519 arg4
= static_cast< int >(val4
);
31521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31522 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31523 wxPyEndAllowThreads(__tstate
);
31524 if (PyErr_Occurred()) SWIG_fail
;
31526 resultobj
= SWIG_From_long(static_cast< long >(result
));
31541 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31542 PyObject
*resultobj
= 0;
31543 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31545 wxListItem
*arg3
= 0 ;
31553 PyObject
* obj0
= 0 ;
31554 PyObject
* obj1
= 0 ;
31555 PyObject
* obj2
= 0 ;
31556 char * kwnames
[] = {
31557 (char *) "self",(char *) "col",(char *) "info", NULL
31560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31562 if (!SWIG_IsOK(res1
)) {
31563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31565 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31566 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31567 if (!SWIG_IsOK(ecode2
)) {
31568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31570 arg2
= static_cast< long >(val2
);
31571 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31572 if (!SWIG_IsOK(res3
)) {
31573 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31576 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31578 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31581 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31582 wxPyEndAllowThreads(__tstate
);
31583 if (PyErr_Occurred()) SWIG_fail
;
31585 resultobj
= SWIG_From_long(static_cast< long >(result
));
31592 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31593 PyObject
*resultobj
= 0;
31594 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31596 wxString
*arg3
= 0 ;
31597 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31598 int arg5
= (int) -1 ;
31604 bool temp3
= false ;
31609 PyObject
* obj0
= 0 ;
31610 PyObject
* obj1
= 0 ;
31611 PyObject
* obj2
= 0 ;
31612 PyObject
* obj3
= 0 ;
31613 PyObject
* obj4
= 0 ;
31614 char * kwnames
[] = {
31615 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31620 if (!SWIG_IsOK(res1
)) {
31621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31623 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31624 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31625 if (!SWIG_IsOK(ecode2
)) {
31626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31628 arg2
= static_cast< long >(val2
);
31630 arg3
= wxString_in_helper(obj2
);
31631 if (arg3
== NULL
) SWIG_fail
;
31635 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31636 if (!SWIG_IsOK(ecode4
)) {
31637 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31639 arg4
= static_cast< int >(val4
);
31642 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31643 if (!SWIG_IsOK(ecode5
)) {
31644 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31646 arg5
= static_cast< int >(val5
);
31649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31650 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31651 wxPyEndAllowThreads(__tstate
);
31652 if (PyErr_Occurred()) SWIG_fail
;
31654 resultobj
= SWIG_From_long(static_cast< long >(result
));
31669 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31670 PyObject
*resultobj
= 0;
31671 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31677 PyObject
* obj0
= 0 ;
31678 PyObject
* obj1
= 0 ;
31679 char * kwnames
[] = {
31680 (char *) "self",(char *) "count", NULL
31683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31685 if (!SWIG_IsOK(res1
)) {
31686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31688 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31689 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31690 if (!SWIG_IsOK(ecode2
)) {
31691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31693 arg2
= static_cast< long >(val2
);
31695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31696 (arg1
)->SetItemCount(arg2
);
31697 wxPyEndAllowThreads(__tstate
);
31698 if (PyErr_Occurred()) SWIG_fail
;
31700 resultobj
= SWIG_Py_Void();
31707 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31708 PyObject
*resultobj
= 0;
31709 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31719 PyObject
* obj0
= 0 ;
31720 PyObject
* obj1
= 0 ;
31721 PyObject
* obj2
= 0 ;
31722 char * kwnames
[] = {
31723 (char *) "self",(char *) "dx",(char *) "dy", NULL
31726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31728 if (!SWIG_IsOK(res1
)) {
31729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31731 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31732 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31733 if (!SWIG_IsOK(ecode2
)) {
31734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31736 arg2
= static_cast< int >(val2
);
31737 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31738 if (!SWIG_IsOK(ecode3
)) {
31739 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31741 arg3
= static_cast< int >(val3
);
31743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31744 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31745 wxPyEndAllowThreads(__tstate
);
31746 if (PyErr_Occurred()) SWIG_fail
;
31749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31757 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31758 PyObject
*resultobj
= 0;
31759 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31761 wxColour
*arg3
= 0 ;
31767 PyObject
* obj0
= 0 ;
31768 PyObject
* obj1
= 0 ;
31769 PyObject
* obj2
= 0 ;
31770 char * kwnames
[] = {
31771 (char *) "self",(char *) "item",(char *) "col", NULL
31774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31776 if (!SWIG_IsOK(res1
)) {
31777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31779 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31780 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31781 if (!SWIG_IsOK(ecode2
)) {
31782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31784 arg2
= static_cast< long >(val2
);
31787 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31791 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31792 wxPyEndAllowThreads(__tstate
);
31793 if (PyErr_Occurred()) SWIG_fail
;
31795 resultobj
= SWIG_Py_Void();
31802 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31803 PyObject
*resultobj
= 0;
31804 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31811 PyObject
* obj0
= 0 ;
31812 PyObject
* obj1
= 0 ;
31813 char * kwnames
[] = {
31814 (char *) "self",(char *) "item", NULL
31817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31819 if (!SWIG_IsOK(res1
)) {
31820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31822 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31823 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31824 if (!SWIG_IsOK(ecode2
)) {
31825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31827 arg2
= static_cast< long >(val2
);
31829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31830 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31831 wxPyEndAllowThreads(__tstate
);
31832 if (PyErr_Occurred()) SWIG_fail
;
31834 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31841 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31842 PyObject
*resultobj
= 0;
31843 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31845 wxColour
*arg3
= 0 ;
31851 PyObject
* obj0
= 0 ;
31852 PyObject
* obj1
= 0 ;
31853 PyObject
* obj2
= 0 ;
31854 char * kwnames
[] = {
31855 (char *) "self",(char *) "item",(char *) "col", NULL
31858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31860 if (!SWIG_IsOK(res1
)) {
31861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31863 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31864 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31865 if (!SWIG_IsOK(ecode2
)) {
31866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31868 arg2
= static_cast< long >(val2
);
31871 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31875 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31876 wxPyEndAllowThreads(__tstate
);
31877 if (PyErr_Occurred()) SWIG_fail
;
31879 resultobj
= SWIG_Py_Void();
31886 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31887 PyObject
*resultobj
= 0;
31888 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31895 PyObject
* obj0
= 0 ;
31896 PyObject
* obj1
= 0 ;
31897 char * kwnames
[] = {
31898 (char *) "self",(char *) "item", NULL
31901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31903 if (!SWIG_IsOK(res1
)) {
31904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31906 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31907 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31908 if (!SWIG_IsOK(ecode2
)) {
31909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31911 arg2
= static_cast< long >(val2
);
31913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31914 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31915 wxPyEndAllowThreads(__tstate
);
31916 if (PyErr_Occurred()) SWIG_fail
;
31918 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31925 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31926 PyObject
*resultobj
= 0;
31927 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31936 PyObject
* obj0
= 0 ;
31937 PyObject
* obj1
= 0 ;
31938 PyObject
* obj2
= 0 ;
31939 char * kwnames
[] = {
31940 (char *) "self",(char *) "item",(char *) "f", NULL
31943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31945 if (!SWIG_IsOK(res1
)) {
31946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31948 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31949 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31950 if (!SWIG_IsOK(ecode2
)) {
31951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31953 arg2
= static_cast< long >(val2
);
31954 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31955 if (!SWIG_IsOK(res3
)) {
31956 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31959 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31961 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31964 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31965 wxPyEndAllowThreads(__tstate
);
31966 if (PyErr_Occurred()) SWIG_fail
;
31968 resultobj
= SWIG_Py_Void();
31975 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31976 PyObject
*resultobj
= 0;
31977 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31984 PyObject
* obj0
= 0 ;
31985 PyObject
* obj1
= 0 ;
31986 char * kwnames
[] = {
31987 (char *) "self",(char *) "item", NULL
31990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31992 if (!SWIG_IsOK(res1
)) {
31993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31995 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31996 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31997 if (!SWIG_IsOK(ecode2
)) {
31998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
32000 arg2
= static_cast< long >(val2
);
32002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32003 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
32004 wxPyEndAllowThreads(__tstate
);
32005 if (PyErr_Occurred()) SWIG_fail
;
32007 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
32014 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32015 PyObject
*resultobj
= 0;
32016 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32017 PyObject
*arg2
= (PyObject
*) 0 ;
32021 PyObject
* obj0
= 0 ;
32022 PyObject
* obj1
= 0 ;
32023 char * kwnames
[] = {
32024 (char *) "self",(char *) "func", NULL
32027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32029 if (!SWIG_IsOK(res1
)) {
32030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32032 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32036 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
32037 wxPyEndAllowThreads(__tstate
);
32038 if (PyErr_Occurred()) SWIG_fail
;
32041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32049 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32050 PyObject
*resultobj
= 0;
32051 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32052 wxWindow
*result
= 0 ;
32055 PyObject
*swig_obj
[1] ;
32057 if (!args
) SWIG_fail
;
32058 swig_obj
[0] = args
;
32059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32060 if (!SWIG_IsOK(res1
)) {
32061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32063 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32066 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
32067 wxPyEndAllowThreads(__tstate
);
32068 if (PyErr_Occurred()) SWIG_fail
;
32071 resultobj
= wxPyMake_wxObject(result
, 0);
32079 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32080 PyObject
*resultobj
= 0;
32081 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
32082 SwigValueWrapper
<wxVisualAttributes
> result
;
32085 PyObject
* obj0
= 0 ;
32086 char * kwnames
[] = {
32087 (char *) "variant", NULL
32090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
32092 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32093 if (!SWIG_IsOK(ecode1
)) {
32094 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32096 arg1
= static_cast< wxWindowVariant
>(val1
);
32099 if (!wxPyCheckForApp()) SWIG_fail
;
32100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32101 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
32102 wxPyEndAllowThreads(__tstate
);
32103 if (PyErr_Occurred()) SWIG_fail
;
32105 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
32112 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32114 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32115 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
32116 return SWIG_Py_Void();
32119 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32120 return SWIG_Python_InitShadowInstance(args
);
32123 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32124 PyObject
*resultobj
= 0;
32125 wxWindow
*arg1
= (wxWindow
*) 0 ;
32126 int arg2
= (int) -1 ;
32127 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32128 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32129 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32130 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32131 long arg5
= (long) wxLC_REPORT
;
32132 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32133 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32134 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
32135 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32136 wxListView
*result
= 0 ;
32147 bool temp7
= false ;
32148 PyObject
* obj0
= 0 ;
32149 PyObject
* obj1
= 0 ;
32150 PyObject
* obj2
= 0 ;
32151 PyObject
* obj3
= 0 ;
32152 PyObject
* obj4
= 0 ;
32153 PyObject
* obj5
= 0 ;
32154 PyObject
* obj6
= 0 ;
32155 char * kwnames
[] = {
32156 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32161 if (!SWIG_IsOK(res1
)) {
32162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32164 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32167 if (!SWIG_IsOK(ecode2
)) {
32168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32170 arg2
= static_cast< int >(val2
);
32175 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32181 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32185 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
32186 if (!SWIG_IsOK(ecode5
)) {
32187 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32189 arg5
= static_cast< long >(val5
);
32192 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
32193 if (!SWIG_IsOK(res6
)) {
32194 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32197 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32199 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
32203 arg7
= wxString_in_helper(obj6
);
32204 if (arg7
== NULL
) SWIG_fail
;
32209 if (!wxPyCheckForApp()) SWIG_fail
;
32210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32211 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32212 wxPyEndAllowThreads(__tstate
);
32213 if (PyErr_Occurred()) SWIG_fail
;
32215 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
32230 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32231 PyObject
*resultobj
= 0;
32232 wxListView
*result
= 0 ;
32234 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
32236 if (!wxPyCheckForApp()) SWIG_fail
;
32237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32238 result
= (wxListView
*)new wxListView();
32239 wxPyEndAllowThreads(__tstate
);
32240 if (PyErr_Occurred()) SWIG_fail
;
32242 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
32249 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32250 PyObject
*resultobj
= 0;
32251 wxListView
*arg1
= (wxListView
*) 0 ;
32252 wxWindow
*arg2
= (wxWindow
*) 0 ;
32253 int arg3
= (int) -1 ;
32254 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32255 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32256 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32257 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32258 long arg6
= (long) wxLC_REPORT
;
32259 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32260 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32261 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
32262 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32276 bool temp8
= false ;
32277 PyObject
* obj0
= 0 ;
32278 PyObject
* obj1
= 0 ;
32279 PyObject
* obj2
= 0 ;
32280 PyObject
* obj3
= 0 ;
32281 PyObject
* obj4
= 0 ;
32282 PyObject
* obj5
= 0 ;
32283 PyObject
* obj6
= 0 ;
32284 PyObject
* obj7
= 0 ;
32285 char * kwnames
[] = {
32286 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32291 if (!SWIG_IsOK(res1
)) {
32292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32294 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32295 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32296 if (!SWIG_IsOK(res2
)) {
32297 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32299 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32301 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32302 if (!SWIG_IsOK(ecode3
)) {
32303 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32305 arg3
= static_cast< int >(val3
);
32310 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32316 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32320 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32321 if (!SWIG_IsOK(ecode6
)) {
32322 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32324 arg6
= static_cast< long >(val6
);
32327 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32328 if (!SWIG_IsOK(res7
)) {
32329 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32332 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32334 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32338 arg8
= wxString_in_helper(obj7
);
32339 if (arg8
== NULL
) SWIG_fail
;
32344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32345 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32346 wxPyEndAllowThreads(__tstate
);
32347 if (PyErr_Occurred()) SWIG_fail
;
32350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32366 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32367 PyObject
*resultobj
= 0;
32368 wxListView
*arg1
= (wxListView
*) 0 ;
32370 bool arg3
= (bool) true ;
32377 PyObject
* obj0
= 0 ;
32378 PyObject
* obj1
= 0 ;
32379 PyObject
* obj2
= 0 ;
32380 char * kwnames
[] = {
32381 (char *) "self",(char *) "n",(char *) "on", NULL
32384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32386 if (!SWIG_IsOK(res1
)) {
32387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32389 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32390 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32391 if (!SWIG_IsOK(ecode2
)) {
32392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32394 arg2
= static_cast< long >(val2
);
32396 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32397 if (!SWIG_IsOK(ecode3
)) {
32398 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32400 arg3
= static_cast< bool >(val3
);
32403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32404 (arg1
)->Select(arg2
,arg3
);
32405 wxPyEndAllowThreads(__tstate
);
32406 if (PyErr_Occurred()) SWIG_fail
;
32408 resultobj
= SWIG_Py_Void();
32415 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32416 PyObject
*resultobj
= 0;
32417 wxListView
*arg1
= (wxListView
*) 0 ;
32423 PyObject
* obj0
= 0 ;
32424 PyObject
* obj1
= 0 ;
32425 char * kwnames
[] = {
32426 (char *) "self",(char *) "index", NULL
32429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32431 if (!SWIG_IsOK(res1
)) {
32432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32434 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32435 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32436 if (!SWIG_IsOK(ecode2
)) {
32437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32439 arg2
= static_cast< long >(val2
);
32441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32442 (arg1
)->Focus(arg2
);
32443 wxPyEndAllowThreads(__tstate
);
32444 if (PyErr_Occurred()) SWIG_fail
;
32446 resultobj
= SWIG_Py_Void();
32453 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32454 PyObject
*resultobj
= 0;
32455 wxListView
*arg1
= (wxListView
*) 0 ;
32459 PyObject
*swig_obj
[1] ;
32461 if (!args
) SWIG_fail
;
32462 swig_obj
[0] = args
;
32463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32464 if (!SWIG_IsOK(res1
)) {
32465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32467 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32470 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32471 wxPyEndAllowThreads(__tstate
);
32472 if (PyErr_Occurred()) SWIG_fail
;
32474 resultobj
= SWIG_From_long(static_cast< long >(result
));
32481 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32482 PyObject
*resultobj
= 0;
32483 wxListView
*arg1
= (wxListView
*) 0 ;
32490 PyObject
* obj0
= 0 ;
32491 PyObject
* obj1
= 0 ;
32492 char * kwnames
[] = {
32493 (char *) "self",(char *) "item", NULL
32496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32498 if (!SWIG_IsOK(res1
)) {
32499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32501 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32502 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32503 if (!SWIG_IsOK(ecode2
)) {
32504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32506 arg2
= static_cast< long >(val2
);
32508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32509 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32510 wxPyEndAllowThreads(__tstate
);
32511 if (PyErr_Occurred()) SWIG_fail
;
32513 resultobj
= SWIG_From_long(static_cast< long >(result
));
32520 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32521 PyObject
*resultobj
= 0;
32522 wxListView
*arg1
= (wxListView
*) 0 ;
32526 PyObject
*swig_obj
[1] ;
32528 if (!args
) SWIG_fail
;
32529 swig_obj
[0] = args
;
32530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32531 if (!SWIG_IsOK(res1
)) {
32532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32534 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32537 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32538 wxPyEndAllowThreads(__tstate
);
32539 if (PyErr_Occurred()) SWIG_fail
;
32541 resultobj
= SWIG_From_long(static_cast< long >(result
));
32548 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32549 PyObject
*resultobj
= 0;
32550 wxListView
*arg1
= (wxListView
*) 0 ;
32557 PyObject
* obj0
= 0 ;
32558 PyObject
* obj1
= 0 ;
32559 char * kwnames
[] = {
32560 (char *) "self",(char *) "index", NULL
32563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32565 if (!SWIG_IsOK(res1
)) {
32566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32568 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32569 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32570 if (!SWIG_IsOK(ecode2
)) {
32571 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32573 arg2
= static_cast< long >(val2
);
32575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32576 result
= (bool)(arg1
)->IsSelected(arg2
);
32577 wxPyEndAllowThreads(__tstate
);
32578 if (PyErr_Occurred()) SWIG_fail
;
32581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32589 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32590 PyObject
*resultobj
= 0;
32591 wxListView
*arg1
= (wxListView
*) 0 ;
32600 PyObject
* obj0
= 0 ;
32601 PyObject
* obj1
= 0 ;
32602 PyObject
* obj2
= 0 ;
32603 char * kwnames
[] = {
32604 (char *) "self",(char *) "col",(char *) "image", NULL
32607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32609 if (!SWIG_IsOK(res1
)) {
32610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32612 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32614 if (!SWIG_IsOK(ecode2
)) {
32615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32617 arg2
= static_cast< int >(val2
);
32618 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32619 if (!SWIG_IsOK(ecode3
)) {
32620 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32622 arg3
= static_cast< int >(val3
);
32624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32625 (arg1
)->SetColumnImage(arg2
,arg3
);
32626 wxPyEndAllowThreads(__tstate
);
32627 if (PyErr_Occurred()) SWIG_fail
;
32629 resultobj
= SWIG_Py_Void();
32636 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32637 PyObject
*resultobj
= 0;
32638 wxListView
*arg1
= (wxListView
*) 0 ;
32644 PyObject
* obj0
= 0 ;
32645 PyObject
* obj1
= 0 ;
32646 char * kwnames
[] = {
32647 (char *) "self",(char *) "col", NULL
32650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32652 if (!SWIG_IsOK(res1
)) {
32653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32655 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32657 if (!SWIG_IsOK(ecode2
)) {
32658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32660 arg2
= static_cast< int >(val2
);
32662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32663 (arg1
)->ClearColumnImage(arg2
);
32664 wxPyEndAllowThreads(__tstate
);
32665 if (PyErr_Occurred()) SWIG_fail
;
32667 resultobj
= SWIG_Py_Void();
32674 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32676 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32677 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32678 return SWIG_Py_Void();
32681 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32682 return SWIG_Python_InitShadowInstance(args
);
32685 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32686 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32691 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32692 PyObject
*pyobj
= 0;
32696 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32698 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32705 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32706 PyObject
*resultobj
= 0;
32707 wxTreeItemId
*result
= 0 ;
32709 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32712 result
= (wxTreeItemId
*)new wxTreeItemId();
32713 wxPyEndAllowThreads(__tstate
);
32714 if (PyErr_Occurred()) SWIG_fail
;
32716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32723 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32724 PyObject
*resultobj
= 0;
32725 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32728 PyObject
*swig_obj
[1] ;
32730 if (!args
) SWIG_fail
;
32731 swig_obj
[0] = args
;
32732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32733 if (!SWIG_IsOK(res1
)) {
32734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32736 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32741 wxPyEndAllowThreads(__tstate
);
32742 if (PyErr_Occurred()) SWIG_fail
;
32744 resultobj
= SWIG_Py_Void();
32751 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32752 PyObject
*resultobj
= 0;
32753 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32757 PyObject
*swig_obj
[1] ;
32759 if (!args
) SWIG_fail
;
32760 swig_obj
[0] = args
;
32761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32762 if (!SWIG_IsOK(res1
)) {
32763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32765 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32768 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32769 wxPyEndAllowThreads(__tstate
);
32770 if (PyErr_Occurred()) SWIG_fail
;
32773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32781 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32782 PyObject
*resultobj
= 0;
32783 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32784 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32790 PyObject
* obj0
= 0 ;
32791 PyObject
* obj1
= 0 ;
32792 char * kwnames
[] = {
32793 (char *) "self",(char *) "other", NULL
32796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32798 if (!SWIG_IsOK(res1
)) {
32799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32801 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32802 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32803 if (!SWIG_IsOK(res2
)) {
32804 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32806 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32809 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32810 wxPyEndAllowThreads(__tstate
);
32811 if (PyErr_Occurred()) SWIG_fail
;
32814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32822 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32823 PyObject
*resultobj
= 0;
32824 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32825 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32831 PyObject
* obj0
= 0 ;
32832 PyObject
* obj1
= 0 ;
32833 char * kwnames
[] = {
32834 (char *) "self",(char *) "other", NULL
32837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32839 if (!SWIG_IsOK(res1
)) {
32840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32842 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32843 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32844 if (!SWIG_IsOK(res2
)) {
32845 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32847 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32850 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32851 wxPyEndAllowThreads(__tstate
);
32852 if (PyErr_Occurred()) SWIG_fail
;
32855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32863 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32864 PyObject
*resultobj
= 0;
32865 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32866 void *arg2
= (void *) 0 ;
32870 PyObject
*swig_obj
[2] ;
32872 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32874 if (!SWIG_IsOK(res1
)) {
32875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32877 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32878 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32879 if (!SWIG_IsOK(res2
)) {
32880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32882 if (arg1
) (arg1
)->m_pItem
= arg2
;
32884 resultobj
= SWIG_Py_Void();
32891 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32892 PyObject
*resultobj
= 0;
32893 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32897 PyObject
*swig_obj
[1] ;
32899 if (!args
) SWIG_fail
;
32900 swig_obj
[0] = args
;
32901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32902 if (!SWIG_IsOK(res1
)) {
32903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32905 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32906 result
= (void *) ((arg1
)->m_pItem
);
32907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32914 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32916 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32917 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32918 return SWIG_Py_Void();
32921 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32922 return SWIG_Python_InitShadowInstance(args
);
32925 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32926 PyObject
*resultobj
= 0;
32927 PyObject
*arg1
= (PyObject
*) NULL
;
32928 wxPyTreeItemData
*result
= 0 ;
32929 PyObject
* obj0
= 0 ;
32930 char * kwnames
[] = {
32931 (char *) "obj", NULL
32934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32940 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32941 wxPyEndAllowThreads(__tstate
);
32942 if (PyErr_Occurred()) SWIG_fail
;
32944 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32951 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32952 PyObject
*resultobj
= 0;
32953 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32956 PyObject
*swig_obj
[1] ;
32958 if (!args
) SWIG_fail
;
32959 swig_obj
[0] = args
;
32960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32961 if (!SWIG_IsOK(res1
)) {
32962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32964 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32969 wxPyEndAllowThreads(__tstate
);
32970 if (PyErr_Occurred()) SWIG_fail
;
32972 resultobj
= SWIG_Py_Void();
32979 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32980 PyObject
*resultobj
= 0;
32981 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32982 PyObject
*result
= 0 ;
32985 PyObject
*swig_obj
[1] ;
32987 if (!args
) SWIG_fail
;
32988 swig_obj
[0] = args
;
32989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32990 if (!SWIG_IsOK(res1
)) {
32991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32993 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32996 result
= (PyObject
*)(arg1
)->GetData();
32997 wxPyEndAllowThreads(__tstate
);
32998 if (PyErr_Occurred()) SWIG_fail
;
33000 resultobj
= result
;
33007 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33008 PyObject
*resultobj
= 0;
33009 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33010 PyObject
*arg2
= (PyObject
*) 0 ;
33013 PyObject
* obj0
= 0 ;
33014 PyObject
* obj1
= 0 ;
33015 char * kwnames
[] = {
33016 (char *) "self",(char *) "obj", NULL
33019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33021 if (!SWIG_IsOK(res1
)) {
33022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33024 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33028 (arg1
)->SetData(arg2
);
33029 wxPyEndAllowThreads(__tstate
);
33030 if (PyErr_Occurred()) SWIG_fail
;
33032 resultobj
= SWIG_Py_Void();
33039 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33040 PyObject
*resultobj
= 0;
33041 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33042 wxTreeItemId
*result
= 0 ;
33045 PyObject
*swig_obj
[1] ;
33047 if (!args
) SWIG_fail
;
33048 swig_obj
[0] = args
;
33049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33050 if (!SWIG_IsOK(res1
)) {
33051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33053 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33057 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
33058 result
= (wxTreeItemId
*) &_result_ref
;
33060 wxPyEndAllowThreads(__tstate
);
33061 if (PyErr_Occurred()) SWIG_fail
;
33063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33070 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33071 PyObject
*resultobj
= 0;
33072 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33073 wxTreeItemId
*arg2
= 0 ;
33078 PyObject
* obj0
= 0 ;
33079 PyObject
* obj1
= 0 ;
33080 char * kwnames
[] = {
33081 (char *) "self",(char *) "id", NULL
33084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33086 if (!SWIG_IsOK(res1
)) {
33087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33089 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33090 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33091 if (!SWIG_IsOK(res2
)) {
33092 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33095 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33097 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33100 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
33101 wxPyEndAllowThreads(__tstate
);
33102 if (PyErr_Occurred()) SWIG_fail
;
33104 resultobj
= SWIG_Py_Void();
33111 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33112 PyObject
*resultobj
= 0;
33113 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33116 PyObject
*swig_obj
[1] ;
33118 if (!args
) SWIG_fail
;
33119 swig_obj
[0] = args
;
33120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33121 if (!SWIG_IsOK(res1
)) {
33122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33124 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33127 wxPyTreeItemData_Destroy(arg1
);
33128 wxPyEndAllowThreads(__tstate
);
33129 if (PyErr_Occurred()) SWIG_fail
;
33131 resultobj
= SWIG_Py_Void();
33138 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33140 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33141 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
33142 return SWIG_Py_Void();
33145 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33146 return SWIG_Python_InitShadowInstance(args
);
33149 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
33152 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33153 if (!SWIG_IsOK(res
)) {
33154 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33157 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33159 wxTreeItemId
* temp
;
33160 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
33161 wxNullTreeItemId
= *temp
;
33162 if (SWIG_IsNewObj(res
)) delete temp
;
33171 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
33172 PyObject
*pyobj
= 0;
33174 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
33179 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33180 PyObject
*resultobj
= 0;
33181 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33182 int arg2
= (int) 0 ;
33183 wxTreeEvent
*result
= 0 ;
33189 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
33191 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33192 if (!SWIG_IsOK(ecode1
)) {
33193 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33195 arg1
= static_cast< wxEventType
>(val1
);
33198 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33199 if (!SWIG_IsOK(ecode2
)) {
33200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33202 arg2
= static_cast< int >(val2
);
33205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33206 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
33207 wxPyEndAllowThreads(__tstate
);
33208 if (PyErr_Occurred()) SWIG_fail
;
33210 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33217 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33218 PyObject
*resultobj
= 0;
33220 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
33221 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
33222 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
33223 wxTreeEvent
*result
= 0 ;
33231 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33232 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33233 if (!SWIG_IsOK(ecode1
)) {
33234 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33236 arg1
= static_cast< wxEventType
>(val1
);
33237 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33238 if (!SWIG_IsOK(res2
)) {
33239 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33241 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
33243 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
33244 if (!SWIG_IsOK(res3
)) {
33245 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33248 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33250 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
33253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33254 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
33255 wxPyEndAllowThreads(__tstate
);
33256 if (PyErr_Occurred()) SWIG_fail
;
33258 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33265 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
33269 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
33271 if ((argc
>= 0) && (argc
<= 2)) {
33276 int res
= SWIG_AsVal_int(argv
[1], NULL
);
33277 _v
= SWIG_CheckState(res
);
33280 if (!_v
) goto check_1
;
33282 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
33286 if ((argc
>= 2) && (argc
<= 3)) {
33287 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33291 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33296 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33297 PyObject
*resultobj
= 0;
33298 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33299 wxTreeItemId result
;
33302 PyObject
*swig_obj
[1] ;
33304 if (!args
) SWIG_fail
;
33305 swig_obj
[0] = args
;
33306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33307 if (!SWIG_IsOK(res1
)) {
33308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33310 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33313 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33314 wxPyEndAllowThreads(__tstate
);
33315 if (PyErr_Occurred()) SWIG_fail
;
33317 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33324 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33325 PyObject
*resultobj
= 0;
33326 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33327 wxTreeItemId
*arg2
= 0 ;
33332 PyObject
* obj0
= 0 ;
33333 PyObject
* obj1
= 0 ;
33334 char * kwnames
[] = {
33335 (char *) "self",(char *) "item", NULL
33338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33340 if (!SWIG_IsOK(res1
)) {
33341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33343 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33344 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33345 if (!SWIG_IsOK(res2
)) {
33346 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33349 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33351 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33354 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33355 wxPyEndAllowThreads(__tstate
);
33356 if (PyErr_Occurred()) SWIG_fail
;
33358 resultobj
= SWIG_Py_Void();
33365 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33366 PyObject
*resultobj
= 0;
33367 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33368 wxTreeItemId result
;
33371 PyObject
*swig_obj
[1] ;
33373 if (!args
) SWIG_fail
;
33374 swig_obj
[0] = args
;
33375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33376 if (!SWIG_IsOK(res1
)) {
33377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33379 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33382 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33383 wxPyEndAllowThreads(__tstate
);
33384 if (PyErr_Occurred()) SWIG_fail
;
33386 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33393 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33394 PyObject
*resultobj
= 0;
33395 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33396 wxTreeItemId
*arg2
= 0 ;
33401 PyObject
* obj0
= 0 ;
33402 PyObject
* obj1
= 0 ;
33403 char * kwnames
[] = {
33404 (char *) "self",(char *) "item", NULL
33407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33409 if (!SWIG_IsOK(res1
)) {
33410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33412 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33413 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33414 if (!SWIG_IsOK(res2
)) {
33415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33418 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33420 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33423 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33424 wxPyEndAllowThreads(__tstate
);
33425 if (PyErr_Occurred()) SWIG_fail
;
33427 resultobj
= SWIG_Py_Void();
33434 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33435 PyObject
*resultobj
= 0;
33436 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33440 PyObject
*swig_obj
[1] ;
33442 if (!args
) SWIG_fail
;
33443 swig_obj
[0] = args
;
33444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33445 if (!SWIG_IsOK(res1
)) {
33446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33448 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33451 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33452 wxPyEndAllowThreads(__tstate
);
33453 if (PyErr_Occurred()) SWIG_fail
;
33455 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33462 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33463 PyObject
*resultobj
= 0;
33464 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33465 wxPoint
*arg2
= 0 ;
33469 PyObject
* obj0
= 0 ;
33470 PyObject
* obj1
= 0 ;
33471 char * kwnames
[] = {
33472 (char *) "self",(char *) "pt", NULL
33475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33477 if (!SWIG_IsOK(res1
)) {
33478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33480 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33483 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33487 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33488 wxPyEndAllowThreads(__tstate
);
33489 if (PyErr_Occurred()) SWIG_fail
;
33491 resultobj
= SWIG_Py_Void();
33498 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33499 PyObject
*resultobj
= 0;
33500 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33501 wxKeyEvent
*result
= 0 ;
33504 PyObject
*swig_obj
[1] ;
33506 if (!args
) SWIG_fail
;
33507 swig_obj
[0] = args
;
33508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33509 if (!SWIG_IsOK(res1
)) {
33510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33512 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33516 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33517 result
= (wxKeyEvent
*) &_result_ref
;
33519 wxPyEndAllowThreads(__tstate
);
33520 if (PyErr_Occurred()) SWIG_fail
;
33522 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33529 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33530 PyObject
*resultobj
= 0;
33531 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33535 PyObject
*swig_obj
[1] ;
33537 if (!args
) SWIG_fail
;
33538 swig_obj
[0] = args
;
33539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33540 if (!SWIG_IsOK(res1
)) {
33541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33543 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33546 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33547 wxPyEndAllowThreads(__tstate
);
33548 if (PyErr_Occurred()) SWIG_fail
;
33550 resultobj
= SWIG_From_int(static_cast< int >(result
));
33557 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33558 PyObject
*resultobj
= 0;
33559 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33560 wxKeyEvent
*arg2
= 0 ;
33565 PyObject
* obj0
= 0 ;
33566 PyObject
* obj1
= 0 ;
33567 char * kwnames
[] = {
33568 (char *) "self",(char *) "evt", NULL
33571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33573 if (!SWIG_IsOK(res1
)) {
33574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33576 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33577 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33578 if (!SWIG_IsOK(res2
)) {
33579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33584 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33587 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33588 wxPyEndAllowThreads(__tstate
);
33589 if (PyErr_Occurred()) SWIG_fail
;
33591 resultobj
= SWIG_Py_Void();
33598 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33599 PyObject
*resultobj
= 0;
33600 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33601 wxString
*result
= 0 ;
33604 PyObject
*swig_obj
[1] ;
33606 if (!args
) SWIG_fail
;
33607 swig_obj
[0] = args
;
33608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33609 if (!SWIG_IsOK(res1
)) {
33610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33612 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33616 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33617 result
= (wxString
*) &_result_ref
;
33619 wxPyEndAllowThreads(__tstate
);
33620 if (PyErr_Occurred()) SWIG_fail
;
33624 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33626 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33635 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33636 PyObject
*resultobj
= 0;
33637 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33638 wxString
*arg2
= 0 ;
33641 bool temp2
= false ;
33642 PyObject
* obj0
= 0 ;
33643 PyObject
* obj1
= 0 ;
33644 char * kwnames
[] = {
33645 (char *) "self",(char *) "label", NULL
33648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33650 if (!SWIG_IsOK(res1
)) {
33651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33653 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33655 arg2
= wxString_in_helper(obj1
);
33656 if (arg2
== NULL
) SWIG_fail
;
33660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33661 (arg1
)->SetLabel((wxString
const &)*arg2
);
33662 wxPyEndAllowThreads(__tstate
);
33663 if (PyErr_Occurred()) SWIG_fail
;
33665 resultobj
= SWIG_Py_Void();
33680 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33681 PyObject
*resultobj
= 0;
33682 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33686 PyObject
*swig_obj
[1] ;
33688 if (!args
) SWIG_fail
;
33689 swig_obj
[0] = args
;
33690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33691 if (!SWIG_IsOK(res1
)) {
33692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33694 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33697 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33698 wxPyEndAllowThreads(__tstate
);
33699 if (PyErr_Occurred()) SWIG_fail
;
33702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33710 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33711 PyObject
*resultobj
= 0;
33712 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33718 PyObject
* obj0
= 0 ;
33719 PyObject
* obj1
= 0 ;
33720 char * kwnames
[] = {
33721 (char *) "self",(char *) "editCancelled", NULL
33724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33726 if (!SWIG_IsOK(res1
)) {
33727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33729 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33730 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33731 if (!SWIG_IsOK(ecode2
)) {
33732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33734 arg2
= static_cast< bool >(val2
);
33736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33737 (arg1
)->SetEditCanceled(arg2
);
33738 wxPyEndAllowThreads(__tstate
);
33739 if (PyErr_Occurred()) SWIG_fail
;
33741 resultobj
= SWIG_Py_Void();
33748 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33749 PyObject
*resultobj
= 0;
33750 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33751 wxString
*arg2
= 0 ;
33754 bool temp2
= false ;
33755 PyObject
* obj0
= 0 ;
33756 PyObject
* obj1
= 0 ;
33757 char * kwnames
[] = {
33758 (char *) "self",(char *) "toolTip", NULL
33761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33763 if (!SWIG_IsOK(res1
)) {
33764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33766 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33768 arg2
= wxString_in_helper(obj1
);
33769 if (arg2
== NULL
) SWIG_fail
;
33773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33774 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33775 wxPyEndAllowThreads(__tstate
);
33776 if (PyErr_Occurred()) SWIG_fail
;
33778 resultobj
= SWIG_Py_Void();
33793 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33794 PyObject
*resultobj
= 0;
33795 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33799 PyObject
*swig_obj
[1] ;
33801 if (!args
) SWIG_fail
;
33802 swig_obj
[0] = args
;
33803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33804 if (!SWIG_IsOK(res1
)) {
33805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33807 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33810 result
= (arg1
)->GetToolTip();
33811 wxPyEndAllowThreads(__tstate
);
33812 if (PyErr_Occurred()) SWIG_fail
;
33816 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33818 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33827 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33829 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33830 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33831 return SWIG_Py_Void();
33834 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33835 return SWIG_Python_InitShadowInstance(args
);
33838 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33839 PyObject
*resultobj
= 0;
33840 wxWindow
*arg1
= (wxWindow
*) 0 ;
33841 int arg2
= (int) -1 ;
33842 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33843 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33844 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33845 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33846 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33847 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33848 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33849 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33850 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33851 wxPyTreeCtrl
*result
= 0 ;
33862 bool temp7
= false ;
33863 PyObject
* obj0
= 0 ;
33864 PyObject
* obj1
= 0 ;
33865 PyObject
* obj2
= 0 ;
33866 PyObject
* obj3
= 0 ;
33867 PyObject
* obj4
= 0 ;
33868 PyObject
* obj5
= 0 ;
33869 PyObject
* obj6
= 0 ;
33870 char * kwnames
[] = {
33871 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33876 if (!SWIG_IsOK(res1
)) {
33877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33879 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33882 if (!SWIG_IsOK(ecode2
)) {
33883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33885 arg2
= static_cast< int >(val2
);
33890 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33896 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33900 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33901 if (!SWIG_IsOK(ecode5
)) {
33902 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33904 arg5
= static_cast< long >(val5
);
33907 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33908 if (!SWIG_IsOK(res6
)) {
33909 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33912 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33914 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33918 arg7
= wxString_in_helper(obj6
);
33919 if (arg7
== NULL
) SWIG_fail
;
33924 if (!wxPyCheckForApp()) SWIG_fail
;
33925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33926 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33927 wxPyEndAllowThreads(__tstate
);
33928 if (PyErr_Occurred()) SWIG_fail
;
33930 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33945 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33946 PyObject
*resultobj
= 0;
33947 wxPyTreeCtrl
*result
= 0 ;
33949 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33951 if (!wxPyCheckForApp()) SWIG_fail
;
33952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33953 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33954 wxPyEndAllowThreads(__tstate
);
33955 if (PyErr_Occurred()) SWIG_fail
;
33957 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33964 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33965 PyObject
*resultobj
= 0;
33966 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33967 wxWindow
*arg2
= (wxWindow
*) 0 ;
33968 int arg3
= (int) -1 ;
33969 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33970 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33971 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33972 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33973 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33974 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33975 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33976 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33977 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33991 bool temp8
= false ;
33992 PyObject
* obj0
= 0 ;
33993 PyObject
* obj1
= 0 ;
33994 PyObject
* obj2
= 0 ;
33995 PyObject
* obj3
= 0 ;
33996 PyObject
* obj4
= 0 ;
33997 PyObject
* obj5
= 0 ;
33998 PyObject
* obj6
= 0 ;
33999 PyObject
* obj7
= 0 ;
34000 char * kwnames
[] = {
34001 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
34005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34006 if (!SWIG_IsOK(res1
)) {
34007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34009 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34010 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34011 if (!SWIG_IsOK(res2
)) {
34012 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
34014 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34016 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34017 if (!SWIG_IsOK(ecode3
)) {
34018 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
34020 arg3
= static_cast< int >(val3
);
34025 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34031 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34035 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
34036 if (!SWIG_IsOK(ecode6
)) {
34037 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
34039 arg6
= static_cast< long >(val6
);
34042 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
34043 if (!SWIG_IsOK(res7
)) {
34044 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34047 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34049 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
34053 arg8
= wxString_in_helper(obj7
);
34054 if (arg8
== NULL
) SWIG_fail
;
34059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34060 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34061 wxPyEndAllowThreads(__tstate
);
34062 if (PyErr_Occurred()) SWIG_fail
;
34065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34081 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34082 PyObject
*resultobj
= 0;
34083 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34084 PyObject
*arg2
= (PyObject
*) 0 ;
34085 PyObject
*arg3
= (PyObject
*) 0 ;
34088 PyObject
* obj0
= 0 ;
34089 PyObject
* obj1
= 0 ;
34090 PyObject
* obj2
= 0 ;
34091 char * kwnames
[] = {
34092 (char *) "self",(char *) "self",(char *) "_class", NULL
34095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34097 if (!SWIG_IsOK(res1
)) {
34098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34100 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34105 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34106 wxPyEndAllowThreads(__tstate
);
34107 if (PyErr_Occurred()) SWIG_fail
;
34109 resultobj
= SWIG_Py_Void();
34116 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34117 PyObject
*resultobj
= 0;
34118 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34119 unsigned int result
;
34122 PyObject
*swig_obj
[1] ;
34124 if (!args
) SWIG_fail
;
34125 swig_obj
[0] = args
;
34126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34127 if (!SWIG_IsOK(res1
)) {
34128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34130 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34133 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
34134 wxPyEndAllowThreads(__tstate
);
34135 if (PyErr_Occurred()) SWIG_fail
;
34137 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34144 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34145 PyObject
*resultobj
= 0;
34146 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34147 unsigned int result
;
34150 PyObject
*swig_obj
[1] ;
34152 if (!args
) SWIG_fail
;
34153 swig_obj
[0] = args
;
34154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34155 if (!SWIG_IsOK(res1
)) {
34156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34158 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34161 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
34162 wxPyEndAllowThreads(__tstate
);
34163 if (PyErr_Occurred()) SWIG_fail
;
34165 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34172 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34173 PyObject
*resultobj
= 0;
34174 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34175 unsigned int arg2
;
34178 unsigned int val2
;
34180 PyObject
* obj0
= 0 ;
34181 PyObject
* obj1
= 0 ;
34182 char * kwnames
[] = {
34183 (char *) "self",(char *) "indent", NULL
34186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34188 if (!SWIG_IsOK(res1
)) {
34189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34191 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34192 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34193 if (!SWIG_IsOK(ecode2
)) {
34194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34196 arg2
= static_cast< unsigned int >(val2
);
34198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34199 (arg1
)->SetIndent(arg2
);
34200 wxPyEndAllowThreads(__tstate
);
34201 if (PyErr_Occurred()) SWIG_fail
;
34203 resultobj
= SWIG_Py_Void();
34210 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34211 PyObject
*resultobj
= 0;
34212 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34213 unsigned int result
;
34216 PyObject
*swig_obj
[1] ;
34218 if (!args
) SWIG_fail
;
34219 swig_obj
[0] = args
;
34220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34221 if (!SWIG_IsOK(res1
)) {
34222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34224 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34227 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
34228 wxPyEndAllowThreads(__tstate
);
34229 if (PyErr_Occurred()) SWIG_fail
;
34231 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34238 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34239 PyObject
*resultobj
= 0;
34240 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34241 unsigned int arg2
;
34244 unsigned int val2
;
34246 PyObject
* obj0
= 0 ;
34247 PyObject
* obj1
= 0 ;
34248 char * kwnames
[] = {
34249 (char *) "self",(char *) "spacing", NULL
34252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34254 if (!SWIG_IsOK(res1
)) {
34255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34257 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34258 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34259 if (!SWIG_IsOK(ecode2
)) {
34260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34262 arg2
= static_cast< unsigned int >(val2
);
34264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34265 (arg1
)->SetSpacing(arg2
);
34266 wxPyEndAllowThreads(__tstate
);
34267 if (PyErr_Occurred()) SWIG_fail
;
34269 resultobj
= SWIG_Py_Void();
34276 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34277 PyObject
*resultobj
= 0;
34278 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34279 wxImageList
*result
= 0 ;
34282 PyObject
*swig_obj
[1] ;
34284 if (!args
) SWIG_fail
;
34285 swig_obj
[0] = args
;
34286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34287 if (!SWIG_IsOK(res1
)) {
34288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34290 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34293 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34294 wxPyEndAllowThreads(__tstate
);
34295 if (PyErr_Occurred()) SWIG_fail
;
34298 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34306 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34307 PyObject
*resultobj
= 0;
34308 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34309 wxImageList
*result
= 0 ;
34312 PyObject
*swig_obj
[1] ;
34314 if (!args
) SWIG_fail
;
34315 swig_obj
[0] = args
;
34316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34317 if (!SWIG_IsOK(res1
)) {
34318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34320 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34323 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34324 wxPyEndAllowThreads(__tstate
);
34325 if (PyErr_Occurred()) SWIG_fail
;
34328 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34336 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34337 PyObject
*resultobj
= 0;
34338 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34339 wxImageList
*arg2
= (wxImageList
*) 0 ;
34344 PyObject
* obj0
= 0 ;
34345 PyObject
* obj1
= 0 ;
34346 char * kwnames
[] = {
34347 (char *) "self",(char *) "imageList", NULL
34350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34352 if (!SWIG_IsOK(res1
)) {
34353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34355 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34356 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34357 if (!SWIG_IsOK(res2
)) {
34358 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34360 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34363 (arg1
)->SetImageList(arg2
);
34364 wxPyEndAllowThreads(__tstate
);
34365 if (PyErr_Occurred()) SWIG_fail
;
34367 resultobj
= SWIG_Py_Void();
34374 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34375 PyObject
*resultobj
= 0;
34376 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34377 wxImageList
*arg2
= (wxImageList
*) 0 ;
34382 PyObject
* obj0
= 0 ;
34383 PyObject
* obj1
= 0 ;
34384 char * kwnames
[] = {
34385 (char *) "self",(char *) "imageList", NULL
34388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34390 if (!SWIG_IsOK(res1
)) {
34391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34393 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34394 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34395 if (!SWIG_IsOK(res2
)) {
34396 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34398 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34401 (arg1
)->SetStateImageList(arg2
);
34402 wxPyEndAllowThreads(__tstate
);
34403 if (PyErr_Occurred()) SWIG_fail
;
34405 resultobj
= SWIG_Py_Void();
34412 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34413 PyObject
*resultobj
= 0;
34414 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34415 wxImageList
*arg2
= (wxImageList
*) 0 ;
34419 PyObject
* obj0
= 0 ;
34420 PyObject
* obj1
= 0 ;
34421 char * kwnames
[] = {
34422 (char *) "self",(char *) "imageList", NULL
34425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34427 if (!SWIG_IsOK(res1
)) {
34428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34430 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34431 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34432 if (!SWIG_IsOK(res2
)) {
34433 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34437 (arg1
)->AssignImageList(arg2
);
34438 wxPyEndAllowThreads(__tstate
);
34439 if (PyErr_Occurred()) SWIG_fail
;
34441 resultobj
= SWIG_Py_Void();
34448 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34449 PyObject
*resultobj
= 0;
34450 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34451 wxImageList
*arg2
= (wxImageList
*) 0 ;
34455 PyObject
* obj0
= 0 ;
34456 PyObject
* obj1
= 0 ;
34457 char * kwnames
[] = {
34458 (char *) "self",(char *) "imageList", NULL
34461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34463 if (!SWIG_IsOK(res1
)) {
34464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34466 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34467 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34468 if (!SWIG_IsOK(res2
)) {
34469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34473 (arg1
)->AssignStateImageList(arg2
);
34474 wxPyEndAllowThreads(__tstate
);
34475 if (PyErr_Occurred()) SWIG_fail
;
34477 resultobj
= SWIG_Py_Void();
34484 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34485 PyObject
*resultobj
= 0;
34486 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34487 wxTreeItemId
*arg2
= 0 ;
34493 PyObject
* obj0
= 0 ;
34494 PyObject
* obj1
= 0 ;
34495 char * kwnames
[] = {
34496 (char *) "self",(char *) "item", NULL
34499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34501 if (!SWIG_IsOK(res1
)) {
34502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34504 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34505 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34506 if (!SWIG_IsOK(res2
)) {
34507 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34510 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34512 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34515 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34516 wxPyEndAllowThreads(__tstate
);
34517 if (PyErr_Occurred()) SWIG_fail
;
34521 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34523 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34532 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34533 PyObject
*resultobj
= 0;
34534 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34535 wxTreeItemId
*arg2
= 0 ;
34536 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34544 PyObject
* obj0
= 0 ;
34545 PyObject
* obj1
= 0 ;
34546 PyObject
* obj2
= 0 ;
34547 char * kwnames
[] = {
34548 (char *) "self",(char *) "item",(char *) "which", NULL
34551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34553 if (!SWIG_IsOK(res1
)) {
34554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34556 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34557 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34558 if (!SWIG_IsOK(res2
)) {
34559 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34562 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34564 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34566 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34567 if (!SWIG_IsOK(ecode3
)) {
34568 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34570 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34574 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34575 wxPyEndAllowThreads(__tstate
);
34576 if (PyErr_Occurred()) SWIG_fail
;
34578 resultobj
= SWIG_From_int(static_cast< int >(result
));
34585 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34586 PyObject
*resultobj
= 0;
34587 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34588 wxTreeItemId
*arg2
= 0 ;
34589 wxPyTreeItemData
*result
= 0 ;
34594 PyObject
* obj0
= 0 ;
34595 PyObject
* obj1
= 0 ;
34596 char * kwnames
[] = {
34597 (char *) "self",(char *) "item", NULL
34600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34602 if (!SWIG_IsOK(res1
)) {
34603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34605 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34606 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34607 if (!SWIG_IsOK(res2
)) {
34608 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34611 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34613 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34616 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34617 wxPyEndAllowThreads(__tstate
);
34618 if (PyErr_Occurred()) SWIG_fail
;
34620 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34627 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34628 PyObject
*resultobj
= 0;
34629 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34630 wxTreeItemId
*arg2
= 0 ;
34631 PyObject
*result
= 0 ;
34636 PyObject
* obj0
= 0 ;
34637 PyObject
* obj1
= 0 ;
34638 char * kwnames
[] = {
34639 (char *) "self",(char *) "item", NULL
34642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34644 if (!SWIG_IsOK(res1
)) {
34645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34647 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34648 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34649 if (!SWIG_IsOK(res2
)) {
34650 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34653 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34655 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34658 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34659 wxPyEndAllowThreads(__tstate
);
34660 if (PyErr_Occurred()) SWIG_fail
;
34662 resultobj
= result
;
34669 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34670 PyObject
*resultobj
= 0;
34671 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34672 wxTreeItemId
*arg2
= 0 ;
34678 PyObject
* obj0
= 0 ;
34679 PyObject
* obj1
= 0 ;
34680 char * kwnames
[] = {
34681 (char *) "self",(char *) "item", NULL
34684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34686 if (!SWIG_IsOK(res1
)) {
34687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34689 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34690 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34691 if (!SWIG_IsOK(res2
)) {
34692 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34695 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34697 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34700 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34701 wxPyEndAllowThreads(__tstate
);
34702 if (PyErr_Occurred()) SWIG_fail
;
34704 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34711 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34712 PyObject
*resultobj
= 0;
34713 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34714 wxTreeItemId
*arg2
= 0 ;
34720 PyObject
* obj0
= 0 ;
34721 PyObject
* obj1
= 0 ;
34722 char * kwnames
[] = {
34723 (char *) "self",(char *) "item", NULL
34726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34728 if (!SWIG_IsOK(res1
)) {
34729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34731 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34732 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34733 if (!SWIG_IsOK(res2
)) {
34734 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34737 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34739 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34742 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34743 wxPyEndAllowThreads(__tstate
);
34744 if (PyErr_Occurred()) SWIG_fail
;
34746 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34753 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34754 PyObject
*resultobj
= 0;
34755 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34756 wxTreeItemId
*arg2
= 0 ;
34762 PyObject
* obj0
= 0 ;
34763 PyObject
* obj1
= 0 ;
34764 char * kwnames
[] = {
34765 (char *) "self",(char *) "item", NULL
34768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34770 if (!SWIG_IsOK(res1
)) {
34771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34773 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34774 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34775 if (!SWIG_IsOK(res2
)) {
34776 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34779 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34781 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34784 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34785 wxPyEndAllowThreads(__tstate
);
34786 if (PyErr_Occurred()) SWIG_fail
;
34788 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34795 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34796 PyObject
*resultobj
= 0;
34797 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34798 wxTreeItemId
*arg2
= 0 ;
34799 wxString
*arg3
= 0 ;
34804 bool temp3
= false ;
34805 PyObject
* obj0
= 0 ;
34806 PyObject
* obj1
= 0 ;
34807 PyObject
* obj2
= 0 ;
34808 char * kwnames
[] = {
34809 (char *) "self",(char *) "item",(char *) "text", NULL
34812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34814 if (!SWIG_IsOK(res1
)) {
34815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34817 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34818 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34819 if (!SWIG_IsOK(res2
)) {
34820 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34823 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34825 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34827 arg3
= wxString_in_helper(obj2
);
34828 if (arg3
== NULL
) SWIG_fail
;
34832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34833 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34834 wxPyEndAllowThreads(__tstate
);
34835 if (PyErr_Occurred()) SWIG_fail
;
34837 resultobj
= SWIG_Py_Void();
34852 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34853 PyObject
*resultobj
= 0;
34854 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34855 wxTreeItemId
*arg2
= 0 ;
34857 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34866 PyObject
* obj0
= 0 ;
34867 PyObject
* obj1
= 0 ;
34868 PyObject
* obj2
= 0 ;
34869 PyObject
* obj3
= 0 ;
34870 char * kwnames
[] = {
34871 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34876 if (!SWIG_IsOK(res1
)) {
34877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34879 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34880 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34881 if (!SWIG_IsOK(res2
)) {
34882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34885 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34887 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34888 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34889 if (!SWIG_IsOK(ecode3
)) {
34890 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34892 arg3
= static_cast< int >(val3
);
34894 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34895 if (!SWIG_IsOK(ecode4
)) {
34896 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34898 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34902 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34903 wxPyEndAllowThreads(__tstate
);
34904 if (PyErr_Occurred()) SWIG_fail
;
34906 resultobj
= SWIG_Py_Void();
34913 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34914 PyObject
*resultobj
= 0;
34915 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34916 wxTreeItemId
*arg2
= 0 ;
34917 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34923 PyObject
* obj0
= 0 ;
34924 PyObject
* obj1
= 0 ;
34925 PyObject
* obj2
= 0 ;
34926 char * kwnames
[] = {
34927 (char *) "self",(char *) "item",(char *) "data", NULL
34930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34932 if (!SWIG_IsOK(res1
)) {
34933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34935 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34936 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34937 if (!SWIG_IsOK(res2
)) {
34938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34941 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34943 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34944 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34945 if (!SWIG_IsOK(res3
)) {
34946 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34950 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34951 wxPyEndAllowThreads(__tstate
);
34952 if (PyErr_Occurred()) SWIG_fail
;
34954 resultobj
= SWIG_Py_Void();
34961 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34962 PyObject
*resultobj
= 0;
34963 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34964 wxTreeItemId
*arg2
= 0 ;
34965 PyObject
*arg3
= (PyObject
*) 0 ;
34970 PyObject
* obj0
= 0 ;
34971 PyObject
* obj1
= 0 ;
34972 PyObject
* obj2
= 0 ;
34973 char * kwnames
[] = {
34974 (char *) "self",(char *) "item",(char *) "obj", NULL
34977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34979 if (!SWIG_IsOK(res1
)) {
34980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34982 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34983 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34984 if (!SWIG_IsOK(res2
)) {
34985 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34988 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34990 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34994 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34995 wxPyEndAllowThreads(__tstate
);
34996 if (PyErr_Occurred()) SWIG_fail
;
34998 resultobj
= SWIG_Py_Void();
35005 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35006 PyObject
*resultobj
= 0;
35007 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35008 wxTreeItemId
*arg2
= 0 ;
35009 bool arg3
= (bool) true ;
35016 PyObject
* obj0
= 0 ;
35017 PyObject
* obj1
= 0 ;
35018 PyObject
* obj2
= 0 ;
35019 char * kwnames
[] = {
35020 (char *) "self",(char *) "item",(char *) "has", NULL
35023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35025 if (!SWIG_IsOK(res1
)) {
35026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35028 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35029 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35030 if (!SWIG_IsOK(res2
)) {
35031 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35034 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35036 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35038 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35039 if (!SWIG_IsOK(ecode3
)) {
35040 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
35042 arg3
= static_cast< bool >(val3
);
35045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35046 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
35047 wxPyEndAllowThreads(__tstate
);
35048 if (PyErr_Occurred()) SWIG_fail
;
35050 resultobj
= SWIG_Py_Void();
35057 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35058 PyObject
*resultobj
= 0;
35059 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35060 wxTreeItemId
*arg2
= 0 ;
35061 bool arg3
= (bool) true ;
35068 PyObject
* obj0
= 0 ;
35069 PyObject
* obj1
= 0 ;
35070 PyObject
* obj2
= 0 ;
35071 char * kwnames
[] = {
35072 (char *) "self",(char *) "item",(char *) "bold", NULL
35075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35077 if (!SWIG_IsOK(res1
)) {
35078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35080 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35081 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35082 if (!SWIG_IsOK(res2
)) {
35083 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35086 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35088 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35090 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35091 if (!SWIG_IsOK(ecode3
)) {
35092 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35094 arg3
= static_cast< bool >(val3
);
35097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35098 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
35099 wxPyEndAllowThreads(__tstate
);
35100 if (PyErr_Occurred()) SWIG_fail
;
35102 resultobj
= SWIG_Py_Void();
35109 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35110 PyObject
*resultobj
= 0;
35111 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35112 wxTreeItemId
*arg2
= 0 ;
35113 bool arg3
= (bool) true ;
35120 PyObject
* obj0
= 0 ;
35121 PyObject
* obj1
= 0 ;
35122 PyObject
* obj2
= 0 ;
35123 char * kwnames
[] = {
35124 (char *) "self",(char *) "item",(char *) "highlight", NULL
35127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35129 if (!SWIG_IsOK(res1
)) {
35130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35132 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35133 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35134 if (!SWIG_IsOK(res2
)) {
35135 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35138 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35140 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35142 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35143 if (!SWIG_IsOK(ecode3
)) {
35144 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35146 arg3
= static_cast< bool >(val3
);
35149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35150 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
35151 wxPyEndAllowThreads(__tstate
);
35152 if (PyErr_Occurred()) SWIG_fail
;
35154 resultobj
= SWIG_Py_Void();
35161 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35162 PyObject
*resultobj
= 0;
35163 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35164 wxTreeItemId
*arg2
= 0 ;
35165 wxColour
*arg3
= 0 ;
35171 PyObject
* obj0
= 0 ;
35172 PyObject
* obj1
= 0 ;
35173 PyObject
* obj2
= 0 ;
35174 char * kwnames
[] = {
35175 (char *) "self",(char *) "item",(char *) "col", NULL
35178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35180 if (!SWIG_IsOK(res1
)) {
35181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35183 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35184 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35185 if (!SWIG_IsOK(res2
)) {
35186 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35189 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35191 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35194 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35198 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35199 wxPyEndAllowThreads(__tstate
);
35200 if (PyErr_Occurred()) SWIG_fail
;
35202 resultobj
= SWIG_Py_Void();
35209 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35210 PyObject
*resultobj
= 0;
35211 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35212 wxTreeItemId
*arg2
= 0 ;
35213 wxColour
*arg3
= 0 ;
35219 PyObject
* obj0
= 0 ;
35220 PyObject
* obj1
= 0 ;
35221 PyObject
* obj2
= 0 ;
35222 char * kwnames
[] = {
35223 (char *) "self",(char *) "item",(char *) "col", NULL
35226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35228 if (!SWIG_IsOK(res1
)) {
35229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35231 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35232 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35233 if (!SWIG_IsOK(res2
)) {
35234 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35237 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35239 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35242 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35246 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35247 wxPyEndAllowThreads(__tstate
);
35248 if (PyErr_Occurred()) SWIG_fail
;
35250 resultobj
= SWIG_Py_Void();
35257 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35258 PyObject
*resultobj
= 0;
35259 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35260 wxTreeItemId
*arg2
= 0 ;
35268 PyObject
* obj0
= 0 ;
35269 PyObject
* obj1
= 0 ;
35270 PyObject
* obj2
= 0 ;
35271 char * kwnames
[] = {
35272 (char *) "self",(char *) "item",(char *) "font", NULL
35275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35277 if (!SWIG_IsOK(res1
)) {
35278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35280 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35281 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35282 if (!SWIG_IsOK(res2
)) {
35283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35286 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35288 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35289 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35290 if (!SWIG_IsOK(res3
)) {
35291 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35294 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35296 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35299 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35300 wxPyEndAllowThreads(__tstate
);
35301 if (PyErr_Occurred()) SWIG_fail
;
35303 resultobj
= SWIG_Py_Void();
35310 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35311 PyObject
*resultobj
= 0;
35312 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35313 wxTreeItemId
*arg2
= 0 ;
35319 PyObject
* obj0
= 0 ;
35320 PyObject
* obj1
= 0 ;
35321 char * kwnames
[] = {
35322 (char *) "self",(char *) "item", NULL
35325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35327 if (!SWIG_IsOK(res1
)) {
35328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35330 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35331 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35332 if (!SWIG_IsOK(res2
)) {
35333 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35336 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35338 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35341 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35342 wxPyEndAllowThreads(__tstate
);
35343 if (PyErr_Occurred()) SWIG_fail
;
35346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35354 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35355 PyObject
*resultobj
= 0;
35356 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35357 wxTreeItemId
*arg2
= 0 ;
35363 PyObject
* obj0
= 0 ;
35364 PyObject
* obj1
= 0 ;
35365 char * kwnames
[] = {
35366 (char *) "self",(char *) "item", NULL
35369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35371 if (!SWIG_IsOK(res1
)) {
35372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35374 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35375 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35376 if (!SWIG_IsOK(res2
)) {
35377 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35380 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35382 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35385 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35386 wxPyEndAllowThreads(__tstate
);
35387 if (PyErr_Occurred()) SWIG_fail
;
35390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35398 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35399 PyObject
*resultobj
= 0;
35400 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35401 wxTreeItemId
*arg2
= 0 ;
35407 PyObject
* obj0
= 0 ;
35408 PyObject
* obj1
= 0 ;
35409 char * kwnames
[] = {
35410 (char *) "self",(char *) "item", NULL
35413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35415 if (!SWIG_IsOK(res1
)) {
35416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35418 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35419 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35420 if (!SWIG_IsOK(res2
)) {
35421 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35424 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35426 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35429 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35430 wxPyEndAllowThreads(__tstate
);
35431 if (PyErr_Occurred()) SWIG_fail
;
35434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35442 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35443 PyObject
*resultobj
= 0;
35444 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35445 wxTreeItemId
*arg2
= 0 ;
35451 PyObject
* obj0
= 0 ;
35452 PyObject
* obj1
= 0 ;
35453 char * kwnames
[] = {
35454 (char *) "self",(char *) "item", NULL
35457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35459 if (!SWIG_IsOK(res1
)) {
35460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35462 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35463 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35464 if (!SWIG_IsOK(res2
)) {
35465 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35468 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35470 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35473 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35474 wxPyEndAllowThreads(__tstate
);
35475 if (PyErr_Occurred()) SWIG_fail
;
35478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35486 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35487 PyObject
*resultobj
= 0;
35488 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35489 wxTreeItemId
*arg2
= 0 ;
35495 PyObject
* obj0
= 0 ;
35496 PyObject
* obj1
= 0 ;
35497 char * kwnames
[] = {
35498 (char *) "self",(char *) "item", NULL
35501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35503 if (!SWIG_IsOK(res1
)) {
35504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35506 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35507 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35508 if (!SWIG_IsOK(res2
)) {
35509 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35512 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35514 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35517 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35518 wxPyEndAllowThreads(__tstate
);
35519 if (PyErr_Occurred()) SWIG_fail
;
35522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35530 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35531 PyObject
*resultobj
= 0;
35532 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35533 wxTreeItemId
*arg2
= 0 ;
35534 bool arg3
= (bool) true ;
35542 PyObject
* obj0
= 0 ;
35543 PyObject
* obj1
= 0 ;
35544 PyObject
* obj2
= 0 ;
35545 char * kwnames
[] = {
35546 (char *) "self",(char *) "item",(char *) "recursively", NULL
35549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35551 if (!SWIG_IsOK(res1
)) {
35552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35554 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35555 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35556 if (!SWIG_IsOK(res2
)) {
35557 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35560 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35562 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35564 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35565 if (!SWIG_IsOK(ecode3
)) {
35566 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35568 arg3
= static_cast< bool >(val3
);
35571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35572 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35573 wxPyEndAllowThreads(__tstate
);
35574 if (PyErr_Occurred()) SWIG_fail
;
35576 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35583 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35584 PyObject
*resultobj
= 0;
35585 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35586 wxTreeItemId result
;
35589 PyObject
*swig_obj
[1] ;
35591 if (!args
) SWIG_fail
;
35592 swig_obj
[0] = args
;
35593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35594 if (!SWIG_IsOK(res1
)) {
35595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35597 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35600 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35601 wxPyEndAllowThreads(__tstate
);
35602 if (PyErr_Occurred()) SWIG_fail
;
35604 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35611 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35612 PyObject
*resultobj
= 0;
35613 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35614 wxTreeItemId result
;
35617 PyObject
*swig_obj
[1] ;
35619 if (!args
) SWIG_fail
;
35620 swig_obj
[0] = args
;
35621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35622 if (!SWIG_IsOK(res1
)) {
35623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35625 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35628 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35629 wxPyEndAllowThreads(__tstate
);
35630 if (PyErr_Occurred()) SWIG_fail
;
35632 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35639 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35640 PyObject
*resultobj
= 0;
35641 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35642 PyObject
*result
= 0 ;
35645 PyObject
*swig_obj
[1] ;
35647 if (!args
) SWIG_fail
;
35648 swig_obj
[0] = args
;
35649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35650 if (!SWIG_IsOK(res1
)) {
35651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35653 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35656 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35657 wxPyEndAllowThreads(__tstate
);
35658 if (PyErr_Occurred()) SWIG_fail
;
35660 resultobj
= result
;
35667 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35668 PyObject
*resultobj
= 0;
35669 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35670 wxTreeItemId
*arg2
= 0 ;
35671 wxTreeItemId result
;
35676 PyObject
* obj0
= 0 ;
35677 PyObject
* obj1
= 0 ;
35678 char * kwnames
[] = {
35679 (char *) "self",(char *) "item", NULL
35682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35684 if (!SWIG_IsOK(res1
)) {
35685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35687 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35688 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35689 if (!SWIG_IsOK(res2
)) {
35690 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35695 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35698 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35699 wxPyEndAllowThreads(__tstate
);
35700 if (PyErr_Occurred()) SWIG_fail
;
35702 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35709 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35710 PyObject
*resultobj
= 0;
35711 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35712 wxTreeItemId
*arg2
= 0 ;
35713 PyObject
*result
= 0 ;
35718 PyObject
* obj0
= 0 ;
35719 PyObject
* obj1
= 0 ;
35720 char * kwnames
[] = {
35721 (char *) "self",(char *) "item", NULL
35724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35726 if (!SWIG_IsOK(res1
)) {
35727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35729 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35730 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35731 if (!SWIG_IsOK(res2
)) {
35732 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35735 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35737 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35740 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35741 wxPyEndAllowThreads(__tstate
);
35742 if (PyErr_Occurred()) SWIG_fail
;
35744 resultobj
= result
;
35751 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35752 PyObject
*resultobj
= 0;
35753 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35754 wxTreeItemId
*arg2
= 0 ;
35755 void *arg3
= (void *) 0 ;
35756 PyObject
*result
= 0 ;
35762 PyObject
* obj0
= 0 ;
35763 PyObject
* obj1
= 0 ;
35764 PyObject
* obj2
= 0 ;
35765 char * kwnames
[] = {
35766 (char *) "self",(char *) "item",(char *) "cookie", NULL
35769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35771 if (!SWIG_IsOK(res1
)) {
35772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35774 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35775 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35776 if (!SWIG_IsOK(res2
)) {
35777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35780 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35782 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35783 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35784 if (!SWIG_IsOK(res3
)) {
35785 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35789 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35790 wxPyEndAllowThreads(__tstate
);
35791 if (PyErr_Occurred()) SWIG_fail
;
35793 resultobj
= result
;
35800 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35801 PyObject
*resultobj
= 0;
35802 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35803 wxTreeItemId
*arg2
= 0 ;
35804 wxTreeItemId result
;
35809 PyObject
* obj0
= 0 ;
35810 PyObject
* obj1
= 0 ;
35811 char * kwnames
[] = {
35812 (char *) "self",(char *) "item", NULL
35815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35817 if (!SWIG_IsOK(res1
)) {
35818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35820 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35821 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35822 if (!SWIG_IsOK(res2
)) {
35823 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35828 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35831 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35832 wxPyEndAllowThreads(__tstate
);
35833 if (PyErr_Occurred()) SWIG_fail
;
35835 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35842 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35843 PyObject
*resultobj
= 0;
35844 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35845 wxTreeItemId
*arg2
= 0 ;
35846 wxTreeItemId result
;
35851 PyObject
* obj0
= 0 ;
35852 PyObject
* obj1
= 0 ;
35853 char * kwnames
[] = {
35854 (char *) "self",(char *) "item", NULL
35857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35859 if (!SWIG_IsOK(res1
)) {
35860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35862 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35863 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35864 if (!SWIG_IsOK(res2
)) {
35865 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35868 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35870 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35873 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35874 wxPyEndAllowThreads(__tstate
);
35875 if (PyErr_Occurred()) SWIG_fail
;
35877 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35884 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35885 PyObject
*resultobj
= 0;
35886 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35887 wxTreeItemId
*arg2
= 0 ;
35888 wxTreeItemId result
;
35893 PyObject
* obj0
= 0 ;
35894 PyObject
* obj1
= 0 ;
35895 char * kwnames
[] = {
35896 (char *) "self",(char *) "item", NULL
35899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35901 if (!SWIG_IsOK(res1
)) {
35902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35904 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35905 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35906 if (!SWIG_IsOK(res2
)) {
35907 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35910 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35912 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35915 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35916 wxPyEndAllowThreads(__tstate
);
35917 if (PyErr_Occurred()) SWIG_fail
;
35919 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35926 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35927 PyObject
*resultobj
= 0;
35928 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35929 wxTreeItemId result
;
35932 PyObject
*swig_obj
[1] ;
35934 if (!args
) SWIG_fail
;
35935 swig_obj
[0] = args
;
35936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35937 if (!SWIG_IsOK(res1
)) {
35938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35940 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35943 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35944 wxPyEndAllowThreads(__tstate
);
35945 if (PyErr_Occurred()) SWIG_fail
;
35947 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35954 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35955 PyObject
*resultobj
= 0;
35956 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35957 wxTreeItemId
*arg2
= 0 ;
35958 wxTreeItemId result
;
35963 PyObject
* obj0
= 0 ;
35964 PyObject
* obj1
= 0 ;
35965 char * kwnames
[] = {
35966 (char *) "self",(char *) "item", NULL
35969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35971 if (!SWIG_IsOK(res1
)) {
35972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35974 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35975 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35976 if (!SWIG_IsOK(res2
)) {
35977 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35980 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35982 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35985 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35986 wxPyEndAllowThreads(__tstate
);
35987 if (PyErr_Occurred()) SWIG_fail
;
35989 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35996 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35997 PyObject
*resultobj
= 0;
35998 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35999 wxTreeItemId
*arg2
= 0 ;
36000 wxTreeItemId result
;
36005 PyObject
* obj0
= 0 ;
36006 PyObject
* obj1
= 0 ;
36007 char * kwnames
[] = {
36008 (char *) "self",(char *) "item", NULL
36011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36013 if (!SWIG_IsOK(res1
)) {
36014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36016 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36017 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36018 if (!SWIG_IsOK(res2
)) {
36019 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36022 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36024 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36027 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
36028 wxPyEndAllowThreads(__tstate
);
36029 if (PyErr_Occurred()) SWIG_fail
;
36031 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36038 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36039 PyObject
*resultobj
= 0;
36040 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36041 wxString
*arg2
= 0 ;
36042 int arg3
= (int) -1 ;
36043 int arg4
= (int) -1 ;
36044 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
36045 wxTreeItemId result
;
36048 bool temp2
= false ;
36054 PyObject
* obj0
= 0 ;
36055 PyObject
* obj1
= 0 ;
36056 PyObject
* obj2
= 0 ;
36057 PyObject
* obj3
= 0 ;
36058 PyObject
* obj4
= 0 ;
36059 char * kwnames
[] = {
36060 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36065 if (!SWIG_IsOK(res1
)) {
36066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36068 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36070 arg2
= wxString_in_helper(obj1
);
36071 if (arg2
== NULL
) SWIG_fail
;
36075 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36076 if (!SWIG_IsOK(ecode3
)) {
36077 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36079 arg3
= static_cast< int >(val3
);
36082 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36083 if (!SWIG_IsOK(ecode4
)) {
36084 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36086 arg4
= static_cast< int >(val4
);
36089 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36090 if (!SWIG_IsOK(res5
)) {
36091 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36096 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
36097 wxPyEndAllowThreads(__tstate
);
36098 if (PyErr_Occurred()) SWIG_fail
;
36100 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36115 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36116 PyObject
*resultobj
= 0;
36117 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36118 wxTreeItemId
*arg2
= 0 ;
36119 wxString
*arg3
= 0 ;
36120 int arg4
= (int) -1 ;
36121 int arg5
= (int) -1 ;
36122 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36123 wxTreeItemId result
;
36128 bool temp3
= false ;
36134 PyObject
* obj0
= 0 ;
36135 PyObject
* obj1
= 0 ;
36136 PyObject
* obj2
= 0 ;
36137 PyObject
* obj3
= 0 ;
36138 PyObject
* obj4
= 0 ;
36139 PyObject
* obj5
= 0 ;
36140 char * kwnames
[] = {
36141 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36146 if (!SWIG_IsOK(res1
)) {
36147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36149 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36150 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36151 if (!SWIG_IsOK(res2
)) {
36152 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36155 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36157 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36159 arg3
= wxString_in_helper(obj2
);
36160 if (arg3
== NULL
) SWIG_fail
;
36164 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36165 if (!SWIG_IsOK(ecode4
)) {
36166 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36168 arg4
= static_cast< int >(val4
);
36171 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36172 if (!SWIG_IsOK(ecode5
)) {
36173 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36175 arg5
= static_cast< int >(val5
);
36178 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36179 if (!SWIG_IsOK(res6
)) {
36180 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36185 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36186 wxPyEndAllowThreads(__tstate
);
36187 if (PyErr_Occurred()) SWIG_fail
;
36189 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36204 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36205 PyObject
*resultobj
= 0;
36206 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36207 wxTreeItemId
*arg2
= 0 ;
36208 wxTreeItemId
*arg3
= 0 ;
36209 wxString
*arg4
= 0 ;
36210 int arg5
= (int) -1 ;
36211 int arg6
= (int) -1 ;
36212 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36213 wxTreeItemId result
;
36220 bool temp4
= false ;
36226 PyObject
* obj0
= 0 ;
36227 PyObject
* obj1
= 0 ;
36228 PyObject
* obj2
= 0 ;
36229 PyObject
* obj3
= 0 ;
36230 PyObject
* obj4
= 0 ;
36231 PyObject
* obj5
= 0 ;
36232 PyObject
* obj6
= 0 ;
36233 char * kwnames
[] = {
36234 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36239 if (!SWIG_IsOK(res1
)) {
36240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36242 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36243 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36244 if (!SWIG_IsOK(res2
)) {
36245 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36248 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36250 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36251 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36252 if (!SWIG_IsOK(res3
)) {
36253 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36256 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36258 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
36260 arg4
= wxString_in_helper(obj3
);
36261 if (arg4
== NULL
) SWIG_fail
;
36265 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36266 if (!SWIG_IsOK(ecode5
)) {
36267 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36269 arg5
= static_cast< int >(val5
);
36272 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36273 if (!SWIG_IsOK(ecode6
)) {
36274 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36276 arg6
= static_cast< int >(val6
);
36279 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36280 if (!SWIG_IsOK(res7
)) {
36281 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36286 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36287 wxPyEndAllowThreads(__tstate
);
36288 if (PyErr_Occurred()) SWIG_fail
;
36290 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36305 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36306 PyObject
*resultobj
= 0;
36307 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36308 wxTreeItemId
*arg2
= 0 ;
36310 wxString
*arg4
= 0 ;
36311 int arg5
= (int) -1 ;
36312 int arg6
= (int) -1 ;
36313 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36314 wxTreeItemId result
;
36321 bool temp4
= false ;
36327 PyObject
* obj0
= 0 ;
36328 PyObject
* obj1
= 0 ;
36329 PyObject
* obj2
= 0 ;
36330 PyObject
* obj3
= 0 ;
36331 PyObject
* obj4
= 0 ;
36332 PyObject
* obj5
= 0 ;
36333 PyObject
* obj6
= 0 ;
36334 char * kwnames
[] = {
36335 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36340 if (!SWIG_IsOK(res1
)) {
36341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36343 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36344 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36345 if (!SWIG_IsOK(res2
)) {
36346 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36349 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36351 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36352 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36353 if (!SWIG_IsOK(ecode3
)) {
36354 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36356 arg3
= static_cast< size_t >(val3
);
36358 arg4
= wxString_in_helper(obj3
);
36359 if (arg4
== NULL
) SWIG_fail
;
36363 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36364 if (!SWIG_IsOK(ecode5
)) {
36365 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36367 arg5
= static_cast< int >(val5
);
36370 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36371 if (!SWIG_IsOK(ecode6
)) {
36372 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36374 arg6
= static_cast< int >(val6
);
36377 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36378 if (!SWIG_IsOK(res7
)) {
36379 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36384 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36385 wxPyEndAllowThreads(__tstate
);
36386 if (PyErr_Occurred()) SWIG_fail
;
36388 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36403 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36404 PyObject
*resultobj
= 0;
36405 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36406 wxTreeItemId
*arg2
= 0 ;
36407 wxString
*arg3
= 0 ;
36408 int arg4
= (int) -1 ;
36409 int arg5
= (int) -1 ;
36410 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36411 wxTreeItemId result
;
36416 bool temp3
= false ;
36422 PyObject
* obj0
= 0 ;
36423 PyObject
* obj1
= 0 ;
36424 PyObject
* obj2
= 0 ;
36425 PyObject
* obj3
= 0 ;
36426 PyObject
* obj4
= 0 ;
36427 PyObject
* obj5
= 0 ;
36428 char * kwnames
[] = {
36429 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36434 if (!SWIG_IsOK(res1
)) {
36435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36437 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36438 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36439 if (!SWIG_IsOK(res2
)) {
36440 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36443 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36445 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36447 arg3
= wxString_in_helper(obj2
);
36448 if (arg3
== NULL
) SWIG_fail
;
36452 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36453 if (!SWIG_IsOK(ecode4
)) {
36454 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36456 arg4
= static_cast< int >(val4
);
36459 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36460 if (!SWIG_IsOK(ecode5
)) {
36461 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36463 arg5
= static_cast< int >(val5
);
36466 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36467 if (!SWIG_IsOK(res6
)) {
36468 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36473 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36474 wxPyEndAllowThreads(__tstate
);
36475 if (PyErr_Occurred()) SWIG_fail
;
36477 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36492 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36493 PyObject
*resultobj
= 0;
36494 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36495 wxTreeItemId
*arg2
= 0 ;
36500 PyObject
* obj0
= 0 ;
36501 PyObject
* obj1
= 0 ;
36502 char * kwnames
[] = {
36503 (char *) "self",(char *) "item", NULL
36506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36508 if (!SWIG_IsOK(res1
)) {
36509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36511 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36512 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36513 if (!SWIG_IsOK(res2
)) {
36514 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36517 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36519 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36522 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36523 wxPyEndAllowThreads(__tstate
);
36524 if (PyErr_Occurred()) SWIG_fail
;
36526 resultobj
= SWIG_Py_Void();
36533 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36534 PyObject
*resultobj
= 0;
36535 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36536 wxTreeItemId
*arg2
= 0 ;
36541 PyObject
* obj0
= 0 ;
36542 PyObject
* obj1
= 0 ;
36543 char * kwnames
[] = {
36544 (char *) "self",(char *) "item", NULL
36547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36549 if (!SWIG_IsOK(res1
)) {
36550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36552 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36553 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36554 if (!SWIG_IsOK(res2
)) {
36555 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36558 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36560 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36563 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36564 wxPyEndAllowThreads(__tstate
);
36565 if (PyErr_Occurred()) SWIG_fail
;
36567 resultobj
= SWIG_Py_Void();
36574 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36575 PyObject
*resultobj
= 0;
36576 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36579 PyObject
*swig_obj
[1] ;
36581 if (!args
) SWIG_fail
;
36582 swig_obj
[0] = args
;
36583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36584 if (!SWIG_IsOK(res1
)) {
36585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36587 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36590 (arg1
)->DeleteAllItems();
36591 wxPyEndAllowThreads(__tstate
);
36592 if (PyErr_Occurred()) SWIG_fail
;
36594 resultobj
= SWIG_Py_Void();
36601 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36602 PyObject
*resultobj
= 0;
36603 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36604 wxTreeItemId
*arg2
= 0 ;
36609 PyObject
* obj0
= 0 ;
36610 PyObject
* obj1
= 0 ;
36611 char * kwnames
[] = {
36612 (char *) "self",(char *) "item", NULL
36615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36617 if (!SWIG_IsOK(res1
)) {
36618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36620 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36621 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36622 if (!SWIG_IsOK(res2
)) {
36623 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36626 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36628 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36631 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36632 wxPyEndAllowThreads(__tstate
);
36633 if (PyErr_Occurred()) SWIG_fail
;
36635 resultobj
= SWIG_Py_Void();
36642 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36643 PyObject
*resultobj
= 0;
36644 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36645 wxTreeItemId
*arg2
= 0 ;
36650 PyObject
* obj0
= 0 ;
36651 PyObject
* obj1
= 0 ;
36652 char * kwnames
[] = {
36653 (char *) "self",(char *) "item", NULL
36656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36658 if (!SWIG_IsOK(res1
)) {
36659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36661 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36662 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36663 if (!SWIG_IsOK(res2
)) {
36664 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36667 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36669 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36672 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36673 wxPyEndAllowThreads(__tstate
);
36674 if (PyErr_Occurred()) SWIG_fail
;
36676 resultobj
= SWIG_Py_Void();
36683 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36684 PyObject
*resultobj
= 0;
36685 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36688 PyObject
*swig_obj
[1] ;
36690 if (!args
) SWIG_fail
;
36691 swig_obj
[0] = args
;
36692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36693 if (!SWIG_IsOK(res1
)) {
36694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36696 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36699 (arg1
)->ExpandAll();
36700 wxPyEndAllowThreads(__tstate
);
36701 if (PyErr_Occurred()) SWIG_fail
;
36703 resultobj
= SWIG_Py_Void();
36710 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36711 PyObject
*resultobj
= 0;
36712 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36713 wxTreeItemId
*arg2
= 0 ;
36718 PyObject
* obj0
= 0 ;
36719 PyObject
* obj1
= 0 ;
36720 char * kwnames
[] = {
36721 (char *) "self",(char *) "item", NULL
36724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36726 if (!SWIG_IsOK(res1
)) {
36727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36729 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36730 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36731 if (!SWIG_IsOK(res2
)) {
36732 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36735 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36737 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36740 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36741 wxPyEndAllowThreads(__tstate
);
36742 if (PyErr_Occurred()) SWIG_fail
;
36744 resultobj
= SWIG_Py_Void();
36751 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36752 PyObject
*resultobj
= 0;
36753 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36754 wxTreeItemId
*arg2
= 0 ;
36759 PyObject
* obj0
= 0 ;
36760 PyObject
* obj1
= 0 ;
36761 char * kwnames
[] = {
36762 (char *) "self",(char *) "item", NULL
36765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36767 if (!SWIG_IsOK(res1
)) {
36768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36770 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36771 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36772 if (!SWIG_IsOK(res2
)) {
36773 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36776 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36778 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36781 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36782 wxPyEndAllowThreads(__tstate
);
36783 if (PyErr_Occurred()) SWIG_fail
;
36785 resultobj
= SWIG_Py_Void();
36792 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36793 PyObject
*resultobj
= 0;
36794 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36795 wxTreeItemId
*arg2
= 0 ;
36800 PyObject
* obj0
= 0 ;
36801 PyObject
* obj1
= 0 ;
36802 char * kwnames
[] = {
36803 (char *) "self",(char *) "item", NULL
36806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36808 if (!SWIG_IsOK(res1
)) {
36809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36811 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36812 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36813 if (!SWIG_IsOK(res2
)) {
36814 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36817 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36819 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36822 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36823 wxPyEndAllowThreads(__tstate
);
36824 if (PyErr_Occurred()) SWIG_fail
;
36826 resultobj
= SWIG_Py_Void();
36833 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36834 PyObject
*resultobj
= 0;
36835 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36838 PyObject
*swig_obj
[1] ;
36840 if (!args
) SWIG_fail
;
36841 swig_obj
[0] = args
;
36842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36843 if (!SWIG_IsOK(res1
)) {
36844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36846 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36849 (arg1
)->Unselect();
36850 wxPyEndAllowThreads(__tstate
);
36851 if (PyErr_Occurred()) SWIG_fail
;
36853 resultobj
= SWIG_Py_Void();
36860 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36861 PyObject
*resultobj
= 0;
36862 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36863 wxTreeItemId
*arg2
= 0 ;
36868 PyObject
* obj0
= 0 ;
36869 PyObject
* obj1
= 0 ;
36870 char * kwnames
[] = {
36871 (char *) "self",(char *) "item", NULL
36874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36876 if (!SWIG_IsOK(res1
)) {
36877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36879 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36880 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36881 if (!SWIG_IsOK(res2
)) {
36882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36885 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36887 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36890 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36891 wxPyEndAllowThreads(__tstate
);
36892 if (PyErr_Occurred()) SWIG_fail
;
36894 resultobj
= SWIG_Py_Void();
36901 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36902 PyObject
*resultobj
= 0;
36903 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36906 PyObject
*swig_obj
[1] ;
36908 if (!args
) SWIG_fail
;
36909 swig_obj
[0] = args
;
36910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36911 if (!SWIG_IsOK(res1
)) {
36912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36914 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36917 (arg1
)->UnselectAll();
36918 wxPyEndAllowThreads(__tstate
);
36919 if (PyErr_Occurred()) SWIG_fail
;
36921 resultobj
= SWIG_Py_Void();
36928 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36929 PyObject
*resultobj
= 0;
36930 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36931 wxTreeItemId
*arg2
= 0 ;
36932 bool arg3
= (bool) true ;
36939 PyObject
* obj0
= 0 ;
36940 PyObject
* obj1
= 0 ;
36941 PyObject
* obj2
= 0 ;
36942 char * kwnames
[] = {
36943 (char *) "self",(char *) "item",(char *) "select", NULL
36946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36948 if (!SWIG_IsOK(res1
)) {
36949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36951 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36952 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36953 if (!SWIG_IsOK(res2
)) {
36954 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36957 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36959 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36961 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36962 if (!SWIG_IsOK(ecode3
)) {
36963 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36965 arg3
= static_cast< bool >(val3
);
36968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36969 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36970 wxPyEndAllowThreads(__tstate
);
36971 if (PyErr_Occurred()) SWIG_fail
;
36973 resultobj
= SWIG_Py_Void();
36980 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36981 PyObject
*resultobj
= 0;
36982 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36983 wxTreeItemId
*arg2
= 0 ;
36988 PyObject
* obj0
= 0 ;
36989 PyObject
* obj1
= 0 ;
36990 char * kwnames
[] = {
36991 (char *) "self",(char *) "item", NULL
36994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36996 if (!SWIG_IsOK(res1
)) {
36997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36999 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37000 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37001 if (!SWIG_IsOK(res2
)) {
37002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37005 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37007 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37010 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
37011 wxPyEndAllowThreads(__tstate
);
37012 if (PyErr_Occurred()) SWIG_fail
;
37014 resultobj
= SWIG_Py_Void();
37021 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37022 PyObject
*resultobj
= 0;
37023 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37024 wxTreeItemId
*arg2
= 0 ;
37029 PyObject
* obj0
= 0 ;
37030 PyObject
* obj1
= 0 ;
37031 char * kwnames
[] = {
37032 (char *) "self",(char *) "item", NULL
37035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37037 if (!SWIG_IsOK(res1
)) {
37038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37040 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37041 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37042 if (!SWIG_IsOK(res2
)) {
37043 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37046 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37048 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37051 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
37052 wxPyEndAllowThreads(__tstate
);
37053 if (PyErr_Occurred()) SWIG_fail
;
37055 resultobj
= SWIG_Py_Void();
37062 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37063 PyObject
*resultobj
= 0;
37064 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37065 wxTreeItemId
*arg2
= 0 ;
37070 PyObject
* obj0
= 0 ;
37071 PyObject
* obj1
= 0 ;
37072 char * kwnames
[] = {
37073 (char *) "self",(char *) "item", NULL
37076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37078 if (!SWIG_IsOK(res1
)) {
37079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37081 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37082 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37083 if (!SWIG_IsOK(res2
)) {
37084 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37087 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37089 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37092 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
37093 wxPyEndAllowThreads(__tstate
);
37094 if (PyErr_Occurred()) SWIG_fail
;
37096 resultobj
= SWIG_Py_Void();
37103 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37104 PyObject
*resultobj
= 0;
37105 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37106 wxTreeItemId
*arg2
= 0 ;
37111 PyObject
* obj0
= 0 ;
37112 PyObject
* obj1
= 0 ;
37113 char * kwnames
[] = {
37114 (char *) "self",(char *) "item", NULL
37117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37119 if (!SWIG_IsOK(res1
)) {
37120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37122 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37123 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37124 if (!SWIG_IsOK(res2
)) {
37125 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37128 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37130 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37133 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
37134 wxPyEndAllowThreads(__tstate
);
37135 if (PyErr_Occurred()) SWIG_fail
;
37137 resultobj
= SWIG_Py_Void();
37144 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37145 PyObject
*resultobj
= 0;
37146 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37147 wxTextCtrl
*result
= 0 ;
37150 PyObject
*swig_obj
[1] ;
37152 if (!args
) SWIG_fail
;
37153 swig_obj
[0] = args
;
37154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37155 if (!SWIG_IsOK(res1
)) {
37156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37158 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37161 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
37162 wxPyEndAllowThreads(__tstate
);
37163 if (PyErr_Occurred()) SWIG_fail
;
37166 resultobj
= wxPyMake_wxObject(result
, 0);
37174 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37175 PyObject
*resultobj
= 0;
37176 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37177 wxTreeItemId
*arg2
= 0 ;
37182 PyObject
* obj0
= 0 ;
37183 PyObject
* obj1
= 0 ;
37184 char * kwnames
[] = {
37185 (char *) "self",(char *) "item", NULL
37188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37190 if (!SWIG_IsOK(res1
)) {
37191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37193 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37194 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37195 if (!SWIG_IsOK(res2
)) {
37196 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37199 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37201 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37204 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
37205 wxPyEndAllowThreads(__tstate
);
37206 if (PyErr_Occurred()) SWIG_fail
;
37208 resultobj
= SWIG_Py_Void();
37215 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37216 PyObject
*resultobj
= 0;
37217 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37218 wxPoint
*arg2
= 0 ;
37220 wxTreeItemId result
;
37225 int res3
= SWIG_TMPOBJ
;
37226 PyObject
* obj0
= 0 ;
37227 PyObject
* obj1
= 0 ;
37228 char * kwnames
[] = {
37229 (char *) "self",(char *) "point", NULL
37233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37235 if (!SWIG_IsOK(res1
)) {
37236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37238 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37241 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37245 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
37246 wxPyEndAllowThreads(__tstate
);
37247 if (PyErr_Occurred()) SWIG_fail
;
37249 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37250 if (SWIG_IsTmpObj(res3
)) {
37251 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
37253 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37254 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
37262 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37263 PyObject
*resultobj
= 0;
37264 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37265 wxTreeItemId
*arg2
= 0 ;
37266 bool arg3
= (bool) false ;
37267 PyObject
*result
= 0 ;
37274 PyObject
* obj0
= 0 ;
37275 PyObject
* obj1
= 0 ;
37276 PyObject
* obj2
= 0 ;
37277 char * kwnames
[] = {
37278 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37283 if (!SWIG_IsOK(res1
)) {
37284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37286 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37287 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37288 if (!SWIG_IsOK(res2
)) {
37289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37292 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37294 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37296 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37297 if (!SWIG_IsOK(ecode3
)) {
37298 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37300 arg3
= static_cast< bool >(val3
);
37303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37304 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37305 wxPyEndAllowThreads(__tstate
);
37306 if (PyErr_Occurred()) SWIG_fail
;
37308 resultobj
= result
;
37315 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37316 PyObject
*resultobj
= 0;
37317 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37318 SwigValueWrapper
<wxVisualAttributes
> result
;
37321 PyObject
* obj0
= 0 ;
37322 char * kwnames
[] = {
37323 (char *) "variant", NULL
37326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37328 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37329 if (!SWIG_IsOK(ecode1
)) {
37330 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37332 arg1
= static_cast< wxWindowVariant
>(val1
);
37335 if (!wxPyCheckForApp()) SWIG_fail
;
37336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37337 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37338 wxPyEndAllowThreads(__tstate
);
37339 if (PyErr_Occurred()) SWIG_fail
;
37341 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37348 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37349 PyObject
*resultobj
= 0;
37350 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37356 PyObject
* obj0
= 0 ;
37357 PyObject
* obj1
= 0 ;
37358 char * kwnames
[] = {
37359 (char *) "self",(char *) "q", NULL
37362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37364 if (!SWIG_IsOK(res1
)) {
37365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37367 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37368 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37369 if (!SWIG_IsOK(ecode2
)) {
37370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37372 arg2
= static_cast< bool >(val2
);
37374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37375 (arg1
)->SetQuickBestSize(arg2
);
37376 wxPyEndAllowThreads(__tstate
);
37377 if (PyErr_Occurred()) SWIG_fail
;
37379 resultobj
= SWIG_Py_Void();
37386 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37387 PyObject
*resultobj
= 0;
37388 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37392 PyObject
*swig_obj
[1] ;
37394 if (!args
) SWIG_fail
;
37395 swig_obj
[0] = args
;
37396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37397 if (!SWIG_IsOK(res1
)) {
37398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37400 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37403 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37404 wxPyEndAllowThreads(__tstate
);
37405 if (PyErr_Occurred()) SWIG_fail
;
37408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37416 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37418 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37419 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37420 return SWIG_Py_Void();
37423 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37424 return SWIG_Python_InitShadowInstance(args
);
37427 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37428 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37433 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37434 PyObject
*pyobj
= 0;
37438 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37440 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37447 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37448 PyObject
*resultobj
= 0;
37449 wxWindow
*arg1
= (wxWindow
*) 0 ;
37450 int arg2
= (int) (int)-1 ;
37451 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37452 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37453 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37454 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37455 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37456 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37457 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37458 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37459 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37460 int arg8
= (int) 0 ;
37461 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37462 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37463 wxGenericDirCtrl
*result
= 0 ;
37468 bool temp3
= false ;
37473 bool temp7
= false ;
37476 bool temp9
= false ;
37477 PyObject
* obj0
= 0 ;
37478 PyObject
* obj1
= 0 ;
37479 PyObject
* obj2
= 0 ;
37480 PyObject
* obj3
= 0 ;
37481 PyObject
* obj4
= 0 ;
37482 PyObject
* obj5
= 0 ;
37483 PyObject
* obj6
= 0 ;
37484 PyObject
* obj7
= 0 ;
37485 PyObject
* obj8
= 0 ;
37486 char * kwnames
[] = {
37487 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37492 if (!SWIG_IsOK(res1
)) {
37493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37495 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37497 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37498 if (!SWIG_IsOK(ecode2
)) {
37499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37501 arg2
= static_cast< int >(val2
);
37505 arg3
= wxString_in_helper(obj2
);
37506 if (arg3
== NULL
) SWIG_fail
;
37513 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37519 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37523 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37524 if (!SWIG_IsOK(ecode6
)) {
37525 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37527 arg6
= static_cast< long >(val6
);
37531 arg7
= wxString_in_helper(obj6
);
37532 if (arg7
== NULL
) SWIG_fail
;
37537 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37538 if (!SWIG_IsOK(ecode8
)) {
37539 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37541 arg8
= static_cast< int >(val8
);
37545 arg9
= wxString_in_helper(obj8
);
37546 if (arg9
== NULL
) SWIG_fail
;
37551 if (!wxPyCheckForApp()) SWIG_fail
;
37552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37553 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37554 wxPyEndAllowThreads(__tstate
);
37555 if (PyErr_Occurred()) SWIG_fail
;
37557 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37588 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37589 PyObject
*resultobj
= 0;
37590 wxGenericDirCtrl
*result
= 0 ;
37592 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37594 if (!wxPyCheckForApp()) SWIG_fail
;
37595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37596 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37597 wxPyEndAllowThreads(__tstate
);
37598 if (PyErr_Occurred()) SWIG_fail
;
37600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37607 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37608 PyObject
*resultobj
= 0;
37609 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37610 wxWindow
*arg2
= (wxWindow
*) 0 ;
37611 int arg3
= (int) (int)-1 ;
37612 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37613 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37614 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37615 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37616 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37617 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37618 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37619 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37620 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37621 int arg9
= (int) 0 ;
37622 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37623 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37631 bool temp4
= false ;
37636 bool temp8
= false ;
37639 bool temp10
= false ;
37640 PyObject
* obj0
= 0 ;
37641 PyObject
* obj1
= 0 ;
37642 PyObject
* obj2
= 0 ;
37643 PyObject
* obj3
= 0 ;
37644 PyObject
* obj4
= 0 ;
37645 PyObject
* obj5
= 0 ;
37646 PyObject
* obj6
= 0 ;
37647 PyObject
* obj7
= 0 ;
37648 PyObject
* obj8
= 0 ;
37649 PyObject
* obj9
= 0 ;
37650 char * kwnames
[] = {
37651 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37656 if (!SWIG_IsOK(res1
)) {
37657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37659 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37660 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37661 if (!SWIG_IsOK(res2
)) {
37662 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37664 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37666 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37667 if (!SWIG_IsOK(ecode3
)) {
37668 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37670 arg3
= static_cast< int >(val3
);
37674 arg4
= wxString_in_helper(obj3
);
37675 if (arg4
== NULL
) SWIG_fail
;
37682 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37688 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37692 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37693 if (!SWIG_IsOK(ecode7
)) {
37694 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37696 arg7
= static_cast< long >(val7
);
37700 arg8
= wxString_in_helper(obj7
);
37701 if (arg8
== NULL
) SWIG_fail
;
37706 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37707 if (!SWIG_IsOK(ecode9
)) {
37708 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37710 arg9
= static_cast< int >(val9
);
37714 arg10
= wxString_in_helper(obj9
);
37715 if (arg10
== NULL
) SWIG_fail
;
37720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37721 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37722 wxPyEndAllowThreads(__tstate
);
37723 if (PyErr_Occurred()) SWIG_fail
;
37726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37758 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37759 PyObject
*resultobj
= 0;
37760 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37761 wxString
*arg2
= 0 ;
37765 bool temp2
= false ;
37766 PyObject
* obj0
= 0 ;
37767 PyObject
* obj1
= 0 ;
37768 char * kwnames
[] = {
37769 (char *) "self",(char *) "path", NULL
37772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37774 if (!SWIG_IsOK(res1
)) {
37775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37777 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37779 arg2
= wxString_in_helper(obj1
);
37780 if (arg2
== NULL
) SWIG_fail
;
37784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37785 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37786 wxPyEndAllowThreads(__tstate
);
37787 if (PyErr_Occurred()) SWIG_fail
;
37790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37806 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37807 PyObject
*resultobj
= 0;
37808 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37809 wxString
*arg2
= 0 ;
37813 bool temp2
= false ;
37814 PyObject
* obj0
= 0 ;
37815 PyObject
* obj1
= 0 ;
37816 char * kwnames
[] = {
37817 (char *) "self",(char *) "path", NULL
37820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37822 if (!SWIG_IsOK(res1
)) {
37823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37825 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37827 arg2
= wxString_in_helper(obj1
);
37828 if (arg2
== NULL
) SWIG_fail
;
37832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37833 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
37834 wxPyEndAllowThreads(__tstate
);
37835 if (PyErr_Occurred()) SWIG_fail
;
37838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37854 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37855 PyObject
*resultobj
= 0;
37856 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37860 PyObject
*swig_obj
[1] ;
37862 if (!args
) SWIG_fail
;
37863 swig_obj
[0] = args
;
37864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37865 if (!SWIG_IsOK(res1
)) {
37866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37868 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37871 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37872 wxPyEndAllowThreads(__tstate
);
37873 if (PyErr_Occurred()) SWIG_fail
;
37877 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37879 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37888 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37889 PyObject
*resultobj
= 0;
37890 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37891 wxString
*arg2
= 0 ;
37894 bool temp2
= false ;
37895 PyObject
* obj0
= 0 ;
37896 PyObject
* obj1
= 0 ;
37897 char * kwnames
[] = {
37898 (char *) "self",(char *) "path", NULL
37901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37903 if (!SWIG_IsOK(res1
)) {
37904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37906 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37908 arg2
= wxString_in_helper(obj1
);
37909 if (arg2
== NULL
) SWIG_fail
;
37913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37914 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37915 wxPyEndAllowThreads(__tstate
);
37916 if (PyErr_Occurred()) SWIG_fail
;
37918 resultobj
= SWIG_Py_Void();
37933 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37934 PyObject
*resultobj
= 0;
37935 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37939 PyObject
*swig_obj
[1] ;
37941 if (!args
) SWIG_fail
;
37942 swig_obj
[0] = args
;
37943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37944 if (!SWIG_IsOK(res1
)) {
37945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37947 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37950 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37951 wxPyEndAllowThreads(__tstate
);
37952 if (PyErr_Occurred()) SWIG_fail
;
37956 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37958 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37967 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37968 PyObject
*resultobj
= 0;
37969 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37973 PyObject
*swig_obj
[1] ;
37975 if (!args
) SWIG_fail
;
37976 swig_obj
[0] = args
;
37977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37978 if (!SWIG_IsOK(res1
)) {
37979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37981 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37984 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37985 wxPyEndAllowThreads(__tstate
);
37986 if (PyErr_Occurred()) SWIG_fail
;
37990 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37992 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38001 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38002 PyObject
*resultobj
= 0;
38003 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38004 wxString
*arg2
= 0 ;
38007 bool temp2
= false ;
38008 PyObject
* obj0
= 0 ;
38009 PyObject
* obj1
= 0 ;
38010 char * kwnames
[] = {
38011 (char *) "self",(char *) "path", NULL
38014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38016 if (!SWIG_IsOK(res1
)) {
38017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38019 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38021 arg2
= wxString_in_helper(obj1
);
38022 if (arg2
== NULL
) SWIG_fail
;
38026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38027 (arg1
)->SetPath((wxString
const &)*arg2
);
38028 wxPyEndAllowThreads(__tstate
);
38029 if (PyErr_Occurred()) SWIG_fail
;
38031 resultobj
= SWIG_Py_Void();
38046 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38047 PyObject
*resultobj
= 0;
38048 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38054 PyObject
* obj0
= 0 ;
38055 PyObject
* obj1
= 0 ;
38056 char * kwnames
[] = {
38057 (char *) "self",(char *) "show", NULL
38060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38062 if (!SWIG_IsOK(res1
)) {
38063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38065 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38066 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38067 if (!SWIG_IsOK(ecode2
)) {
38068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38070 arg2
= static_cast< bool >(val2
);
38072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38073 (arg1
)->ShowHidden(arg2
);
38074 wxPyEndAllowThreads(__tstate
);
38075 if (PyErr_Occurred()) SWIG_fail
;
38077 resultobj
= SWIG_Py_Void();
38084 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38085 PyObject
*resultobj
= 0;
38086 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38090 PyObject
*swig_obj
[1] ;
38092 if (!args
) SWIG_fail
;
38093 swig_obj
[0] = args
;
38094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38095 if (!SWIG_IsOK(res1
)) {
38096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38098 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38101 result
= (bool)(arg1
)->GetShowHidden();
38102 wxPyEndAllowThreads(__tstate
);
38103 if (PyErr_Occurred()) SWIG_fail
;
38106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38114 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38115 PyObject
*resultobj
= 0;
38116 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38120 PyObject
*swig_obj
[1] ;
38122 if (!args
) SWIG_fail
;
38123 swig_obj
[0] = args
;
38124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38125 if (!SWIG_IsOK(res1
)) {
38126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38128 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38131 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
38132 wxPyEndAllowThreads(__tstate
);
38133 if (PyErr_Occurred()) SWIG_fail
;
38137 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38139 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38148 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38149 PyObject
*resultobj
= 0;
38150 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38151 wxString
*arg2
= 0 ;
38154 bool temp2
= false ;
38155 PyObject
* obj0
= 0 ;
38156 PyObject
* obj1
= 0 ;
38157 char * kwnames
[] = {
38158 (char *) "self",(char *) "filter", NULL
38161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38163 if (!SWIG_IsOK(res1
)) {
38164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38166 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38168 arg2
= wxString_in_helper(obj1
);
38169 if (arg2
== NULL
) SWIG_fail
;
38173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38174 (arg1
)->SetFilter((wxString
const &)*arg2
);
38175 wxPyEndAllowThreads(__tstate
);
38176 if (PyErr_Occurred()) SWIG_fail
;
38178 resultobj
= SWIG_Py_Void();
38193 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38194 PyObject
*resultobj
= 0;
38195 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38199 PyObject
*swig_obj
[1] ;
38201 if (!args
) SWIG_fail
;
38202 swig_obj
[0] = args
;
38203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38204 if (!SWIG_IsOK(res1
)) {
38205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38207 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38210 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
38211 wxPyEndAllowThreads(__tstate
);
38212 if (PyErr_Occurred()) SWIG_fail
;
38214 resultobj
= SWIG_From_int(static_cast< int >(result
));
38221 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38222 PyObject
*resultobj
= 0;
38223 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38229 PyObject
* obj0
= 0 ;
38230 PyObject
* obj1
= 0 ;
38231 char * kwnames
[] = {
38232 (char *) "self",(char *) "n", NULL
38235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38237 if (!SWIG_IsOK(res1
)) {
38238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38240 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38242 if (!SWIG_IsOK(ecode2
)) {
38243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38245 arg2
= static_cast< int >(val2
);
38247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38248 (arg1
)->SetFilterIndex(arg2
);
38249 wxPyEndAllowThreads(__tstate
);
38250 if (PyErr_Occurred()) SWIG_fail
;
38252 resultobj
= SWIG_Py_Void();
38259 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38260 PyObject
*resultobj
= 0;
38261 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38262 wxTreeItemId result
;
38265 PyObject
*swig_obj
[1] ;
38267 if (!args
) SWIG_fail
;
38268 swig_obj
[0] = args
;
38269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38270 if (!SWIG_IsOK(res1
)) {
38271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38273 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38276 result
= (arg1
)->GetRootId();
38277 wxPyEndAllowThreads(__tstate
);
38278 if (PyErr_Occurred()) SWIG_fail
;
38280 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38287 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38288 PyObject
*resultobj
= 0;
38289 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38290 wxPyTreeCtrl
*result
= 0 ;
38293 PyObject
*swig_obj
[1] ;
38295 if (!args
) SWIG_fail
;
38296 swig_obj
[0] = args
;
38297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38298 if (!SWIG_IsOK(res1
)) {
38299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38301 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38304 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38305 wxPyEndAllowThreads(__tstate
);
38306 if (PyErr_Occurred()) SWIG_fail
;
38309 resultobj
= wxPyMake_wxObject(result
, 0);
38317 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38318 PyObject
*resultobj
= 0;
38319 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38320 wxDirFilterListCtrl
*result
= 0 ;
38323 PyObject
*swig_obj
[1] ;
38325 if (!args
) SWIG_fail
;
38326 swig_obj
[0] = args
;
38327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38328 if (!SWIG_IsOK(res1
)) {
38329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38331 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38334 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38335 wxPyEndAllowThreads(__tstate
);
38336 if (PyErr_Occurred()) SWIG_fail
;
38338 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38345 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38346 PyObject
*resultobj
= 0;
38347 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38348 wxTreeItemId arg2
;
38349 wxString
*arg3
= 0 ;
38351 wxTreeItemId result
;
38356 bool temp3
= false ;
38358 int res4
= SWIG_TMPOBJ
;
38359 PyObject
* obj0
= 0 ;
38360 PyObject
* obj1
= 0 ;
38361 PyObject
* obj2
= 0 ;
38362 char * kwnames
[] = {
38363 (char *) "self",(char *) "parentId",(char *) "path", NULL
38367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38369 if (!SWIG_IsOK(res1
)) {
38370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38372 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38374 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38375 if (!SWIG_IsOK(res2
)) {
38376 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38379 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38381 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38383 if (SWIG_IsNewObj(res2
)) delete temp
;
38387 arg3
= wxString_in_helper(obj2
);
38388 if (arg3
== NULL
) SWIG_fail
;
38392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38393 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38394 wxPyEndAllowThreads(__tstate
);
38395 if (PyErr_Occurred()) SWIG_fail
;
38397 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38398 if (SWIG_IsTmpObj(res4
)) {
38399 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38401 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38402 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38418 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38419 PyObject
*resultobj
= 0;
38420 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38423 PyObject
*swig_obj
[1] ;
38425 if (!args
) SWIG_fail
;
38426 swig_obj
[0] = args
;
38427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38428 if (!SWIG_IsOK(res1
)) {
38429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38431 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38434 (arg1
)->DoResize();
38435 wxPyEndAllowThreads(__tstate
);
38436 if (PyErr_Occurred()) SWIG_fail
;
38438 resultobj
= SWIG_Py_Void();
38445 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38446 PyObject
*resultobj
= 0;
38447 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38450 PyObject
*swig_obj
[1] ;
38452 if (!args
) SWIG_fail
;
38453 swig_obj
[0] = args
;
38454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38455 if (!SWIG_IsOK(res1
)) {
38456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38458 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38461 (arg1
)->ReCreateTree();
38462 wxPyEndAllowThreads(__tstate
);
38463 if (PyErr_Occurred()) SWIG_fail
;
38465 resultobj
= SWIG_Py_Void();
38472 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38474 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38475 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38476 return SWIG_Py_Void();
38479 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38480 return SWIG_Python_InitShadowInstance(args
);
38483 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38484 PyObject
*resultobj
= 0;
38485 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38486 int arg2
= (int) (int)-1 ;
38487 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38488 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38489 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38490 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38491 long arg5
= (long) 0 ;
38492 wxDirFilterListCtrl
*result
= 0 ;
38501 PyObject
* obj0
= 0 ;
38502 PyObject
* obj1
= 0 ;
38503 PyObject
* obj2
= 0 ;
38504 PyObject
* obj3
= 0 ;
38505 PyObject
* obj4
= 0 ;
38506 char * kwnames
[] = {
38507 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38512 if (!SWIG_IsOK(res1
)) {
38513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38515 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38518 if (!SWIG_IsOK(ecode2
)) {
38519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38521 arg2
= static_cast< int >(val2
);
38526 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38532 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38536 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38537 if (!SWIG_IsOK(ecode5
)) {
38538 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38540 arg5
= static_cast< long >(val5
);
38543 if (!wxPyCheckForApp()) SWIG_fail
;
38544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38545 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38546 wxPyEndAllowThreads(__tstate
);
38547 if (PyErr_Occurred()) SWIG_fail
;
38549 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38556 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38557 PyObject
*resultobj
= 0;
38558 wxDirFilterListCtrl
*result
= 0 ;
38560 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38562 if (!wxPyCheckForApp()) SWIG_fail
;
38563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38564 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38565 wxPyEndAllowThreads(__tstate
);
38566 if (PyErr_Occurred()) SWIG_fail
;
38568 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38575 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38576 PyObject
*resultobj
= 0;
38577 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38578 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38579 int arg3
= (int) (int)-1 ;
38580 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38581 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38582 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38583 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38584 long arg6
= (long) 0 ;
38596 PyObject
* obj0
= 0 ;
38597 PyObject
* obj1
= 0 ;
38598 PyObject
* obj2
= 0 ;
38599 PyObject
* obj3
= 0 ;
38600 PyObject
* obj4
= 0 ;
38601 PyObject
* obj5
= 0 ;
38602 char * kwnames
[] = {
38603 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38608 if (!SWIG_IsOK(res1
)) {
38609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38611 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38612 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38613 if (!SWIG_IsOK(res2
)) {
38614 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38616 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38618 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38619 if (!SWIG_IsOK(ecode3
)) {
38620 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38622 arg3
= static_cast< int >(val3
);
38627 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38633 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38637 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38638 if (!SWIG_IsOK(ecode6
)) {
38639 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38641 arg6
= static_cast< long >(val6
);
38644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38645 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38646 wxPyEndAllowThreads(__tstate
);
38647 if (PyErr_Occurred()) SWIG_fail
;
38650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38658 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38659 PyObject
*resultobj
= 0;
38660 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38661 wxString
*arg2
= 0 ;
38665 bool temp2
= false ;
38668 PyObject
* obj0
= 0 ;
38669 PyObject
* obj1
= 0 ;
38670 PyObject
* obj2
= 0 ;
38671 char * kwnames
[] = {
38672 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38677 if (!SWIG_IsOK(res1
)) {
38678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38680 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38682 arg2
= wxString_in_helper(obj1
);
38683 if (arg2
== NULL
) SWIG_fail
;
38686 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38687 if (!SWIG_IsOK(ecode3
)) {
38688 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38690 arg3
= static_cast< int >(val3
);
38692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38693 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38694 wxPyEndAllowThreads(__tstate
);
38695 if (PyErr_Occurred()) SWIG_fail
;
38697 resultobj
= SWIG_Py_Void();
38712 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38714 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38715 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38716 return SWIG_Py_Void();
38719 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38720 return SWIG_Python_InitShadowInstance(args
);
38723 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38724 PyObject
*resultobj
= 0;
38725 wxWindow
*arg1
= (wxWindow
*) 0 ;
38726 int arg2
= (int) (int)-1 ;
38727 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38728 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38729 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38730 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38731 long arg5
= (long) 0 ;
38732 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38733 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38734 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38735 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38736 wxPyControl
*result
= 0 ;
38747 bool temp7
= false ;
38748 PyObject
* obj0
= 0 ;
38749 PyObject
* obj1
= 0 ;
38750 PyObject
* obj2
= 0 ;
38751 PyObject
* obj3
= 0 ;
38752 PyObject
* obj4
= 0 ;
38753 PyObject
* obj5
= 0 ;
38754 PyObject
* obj6
= 0 ;
38755 char * kwnames
[] = {
38756 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38761 if (!SWIG_IsOK(res1
)) {
38762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38764 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38766 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38767 if (!SWIG_IsOK(ecode2
)) {
38768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38770 arg2
= static_cast< int >(val2
);
38775 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38781 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38785 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38786 if (!SWIG_IsOK(ecode5
)) {
38787 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38789 arg5
= static_cast< long >(val5
);
38792 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38793 if (!SWIG_IsOK(res6
)) {
38794 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38797 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38799 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38803 arg7
= wxString_in_helper(obj6
);
38804 if (arg7
== NULL
) SWIG_fail
;
38809 if (!wxPyCheckForApp()) SWIG_fail
;
38810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38811 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38812 wxPyEndAllowThreads(__tstate
);
38813 if (PyErr_Occurred()) SWIG_fail
;
38815 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38830 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38831 PyObject
*resultobj
= 0;
38832 wxPyControl
*result
= 0 ;
38834 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38836 if (!wxPyCheckForApp()) SWIG_fail
;
38837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38838 result
= (wxPyControl
*)new wxPyControl();
38839 wxPyEndAllowThreads(__tstate
);
38840 if (PyErr_Occurred()) SWIG_fail
;
38842 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38849 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38850 PyObject
*resultobj
= 0;
38851 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38852 PyObject
*arg2
= (PyObject
*) 0 ;
38853 PyObject
*arg3
= (PyObject
*) 0 ;
38856 PyObject
* obj0
= 0 ;
38857 PyObject
* obj1
= 0 ;
38858 PyObject
* obj2
= 0 ;
38859 char * kwnames
[] = {
38860 (char *) "self",(char *) "self",(char *) "_class", NULL
38863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38865 if (!SWIG_IsOK(res1
)) {
38866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38868 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38873 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38874 wxPyEndAllowThreads(__tstate
);
38875 if (PyErr_Occurred()) SWIG_fail
;
38877 resultobj
= SWIG_Py_Void();
38884 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38885 PyObject
*resultobj
= 0;
38886 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38887 wxDC
*arg2
= (wxDC
*) 0 ;
38893 PyObject
* obj0
= 0 ;
38894 PyObject
* obj1
= 0 ;
38895 char * kwnames
[] = {
38896 (char *) "self",(char *) "dc", NULL
38899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38901 if (!SWIG_IsOK(res1
)) {
38902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38904 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38905 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38906 if (!SWIG_IsOK(res2
)) {
38907 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38909 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38912 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38913 wxPyEndAllowThreads(__tstate
);
38914 if (PyErr_Occurred()) SWIG_fail
;
38917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38925 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38926 PyObject
*resultobj
= 0;
38927 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38942 PyObject
* obj0
= 0 ;
38943 PyObject
* obj1
= 0 ;
38944 PyObject
* obj2
= 0 ;
38945 PyObject
* obj3
= 0 ;
38946 PyObject
* obj4
= 0 ;
38947 char * kwnames
[] = {
38948 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38953 if (!SWIG_IsOK(res1
)) {
38954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38956 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38957 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38958 if (!SWIG_IsOK(ecode2
)) {
38959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38961 arg2
= static_cast< int >(val2
);
38962 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38963 if (!SWIG_IsOK(ecode3
)) {
38964 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38966 arg3
= static_cast< int >(val3
);
38967 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38968 if (!SWIG_IsOK(ecode4
)) {
38969 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38971 arg4
= static_cast< int >(val4
);
38972 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38973 if (!SWIG_IsOK(ecode5
)) {
38974 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38976 arg5
= static_cast< int >(val5
);
38978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38979 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38980 wxPyEndAllowThreads(__tstate
);
38981 if (PyErr_Occurred()) SWIG_fail
;
38983 resultobj
= SWIG_Py_Void();
38990 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38991 PyObject
*resultobj
= 0;
38992 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38997 int arg6
= (int) wxSIZE_AUTO
;
39010 PyObject
* obj0
= 0 ;
39011 PyObject
* obj1
= 0 ;
39012 PyObject
* obj2
= 0 ;
39013 PyObject
* obj3
= 0 ;
39014 PyObject
* obj4
= 0 ;
39015 PyObject
* obj5
= 0 ;
39016 char * kwnames
[] = {
39017 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
39021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39022 if (!SWIG_IsOK(res1
)) {
39023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39025 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39027 if (!SWIG_IsOK(ecode2
)) {
39028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39030 arg2
= static_cast< int >(val2
);
39031 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39032 if (!SWIG_IsOK(ecode3
)) {
39033 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39035 arg3
= static_cast< int >(val3
);
39036 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39037 if (!SWIG_IsOK(ecode4
)) {
39038 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39040 arg4
= static_cast< int >(val4
);
39041 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39042 if (!SWIG_IsOK(ecode5
)) {
39043 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39045 arg5
= static_cast< int >(val5
);
39047 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
39048 if (!SWIG_IsOK(ecode6
)) {
39049 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39051 arg6
= static_cast< int >(val6
);
39054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39055 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
39056 wxPyEndAllowThreads(__tstate
);
39057 if (PyErr_Occurred()) SWIG_fail
;
39059 resultobj
= SWIG_Py_Void();
39066 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39067 PyObject
*resultobj
= 0;
39068 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39077 PyObject
* obj0
= 0 ;
39078 PyObject
* obj1
= 0 ;
39079 PyObject
* obj2
= 0 ;
39080 char * kwnames
[] = {
39081 (char *) "self",(char *) "width",(char *) "height", NULL
39084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39086 if (!SWIG_IsOK(res1
)) {
39087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39089 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39091 if (!SWIG_IsOK(ecode2
)) {
39092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39094 arg2
= static_cast< int >(val2
);
39095 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39096 if (!SWIG_IsOK(ecode3
)) {
39097 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39099 arg3
= static_cast< int >(val3
);
39101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39102 (arg1
)->DoSetClientSize(arg2
,arg3
);
39103 wxPyEndAllowThreads(__tstate
);
39104 if (PyErr_Occurred()) SWIG_fail
;
39106 resultobj
= SWIG_Py_Void();
39113 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39114 PyObject
*resultobj
= 0;
39115 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39124 PyObject
* obj0
= 0 ;
39125 PyObject
* obj1
= 0 ;
39126 PyObject
* obj2
= 0 ;
39127 char * kwnames
[] = {
39128 (char *) "self",(char *) "x",(char *) "y", NULL
39131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39133 if (!SWIG_IsOK(res1
)) {
39134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39136 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39138 if (!SWIG_IsOK(ecode2
)) {
39139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39141 arg2
= static_cast< int >(val2
);
39142 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39143 if (!SWIG_IsOK(ecode3
)) {
39144 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39146 arg3
= static_cast< int >(val3
);
39148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39149 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
39150 wxPyEndAllowThreads(__tstate
);
39151 if (PyErr_Occurred()) SWIG_fail
;
39153 resultobj
= SWIG_Py_Void();
39160 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39161 PyObject
*resultobj
= 0;
39162 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39163 int *arg2
= (int *) 0 ;
39164 int *arg3
= (int *) 0 ;
39168 int res2
= SWIG_TMPOBJ
;
39170 int res3
= SWIG_TMPOBJ
;
39171 PyObject
*swig_obj
[1] ;
39175 if (!args
) SWIG_fail
;
39176 swig_obj
[0] = args
;
39177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39178 if (!SWIG_IsOK(res1
)) {
39179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39181 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39184 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
39185 wxPyEndAllowThreads(__tstate
);
39186 if (PyErr_Occurred()) SWIG_fail
;
39188 resultobj
= SWIG_Py_Void();
39189 if (SWIG_IsTmpObj(res2
)) {
39190 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39192 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39193 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39195 if (SWIG_IsTmpObj(res3
)) {
39196 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39198 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39199 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39207 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39208 PyObject
*resultobj
= 0;
39209 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39210 int *arg2
= (int *) 0 ;
39211 int *arg3
= (int *) 0 ;
39215 int res2
= SWIG_TMPOBJ
;
39217 int res3
= SWIG_TMPOBJ
;
39218 PyObject
*swig_obj
[1] ;
39222 if (!args
) SWIG_fail
;
39223 swig_obj
[0] = args
;
39224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39225 if (!SWIG_IsOK(res1
)) {
39226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39228 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39231 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
39232 wxPyEndAllowThreads(__tstate
);
39233 if (PyErr_Occurred()) SWIG_fail
;
39235 resultobj
= SWIG_Py_Void();
39236 if (SWIG_IsTmpObj(res2
)) {
39237 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39239 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39240 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39242 if (SWIG_IsTmpObj(res3
)) {
39243 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39245 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39246 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39254 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39255 PyObject
*resultobj
= 0;
39256 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39257 int *arg2
= (int *) 0 ;
39258 int *arg3
= (int *) 0 ;
39262 int res2
= SWIG_TMPOBJ
;
39264 int res3
= SWIG_TMPOBJ
;
39265 PyObject
*swig_obj
[1] ;
39269 if (!args
) SWIG_fail
;
39270 swig_obj
[0] = args
;
39271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39272 if (!SWIG_IsOK(res1
)) {
39273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39275 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39278 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39279 wxPyEndAllowThreads(__tstate
);
39280 if (PyErr_Occurred()) SWIG_fail
;
39282 resultobj
= SWIG_Py_Void();
39283 if (SWIG_IsTmpObj(res2
)) {
39284 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39286 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39287 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39289 if (SWIG_IsTmpObj(res3
)) {
39290 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39292 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39293 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39301 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39302 PyObject
*resultobj
= 0;
39303 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39307 PyObject
*swig_obj
[1] ;
39309 if (!args
) SWIG_fail
;
39310 swig_obj
[0] = args
;
39311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39312 if (!SWIG_IsOK(res1
)) {
39313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39315 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39318 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39319 wxPyEndAllowThreads(__tstate
);
39320 if (PyErr_Occurred()) SWIG_fail
;
39322 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39329 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39330 PyObject
*resultobj
= 0;
39331 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39335 PyObject
*swig_obj
[1] ;
39337 if (!args
) SWIG_fail
;
39338 swig_obj
[0] = args
;
39339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39340 if (!SWIG_IsOK(res1
)) {
39341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39343 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39346 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39347 wxPyEndAllowThreads(__tstate
);
39348 if (PyErr_Occurred()) SWIG_fail
;
39350 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39357 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39358 PyObject
*resultobj
= 0;
39359 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39360 SwigValueWrapper
<wxVisualAttributes
> result
;
39363 PyObject
*swig_obj
[1] ;
39365 if (!args
) SWIG_fail
;
39366 swig_obj
[0] = args
;
39367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39368 if (!SWIG_IsOK(res1
)) {
39369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39371 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39374 result
= (arg1
)->GetDefaultAttributes();
39375 wxPyEndAllowThreads(__tstate
);
39376 if (PyErr_Occurred()) SWIG_fail
;
39378 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39385 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39386 PyObject
*resultobj
= 0;
39387 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39390 PyObject
*swig_obj
[1] ;
39392 if (!args
) SWIG_fail
;
39393 swig_obj
[0] = args
;
39394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39395 if (!SWIG_IsOK(res1
)) {
39396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39398 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39401 (arg1
)->OnInternalIdle();
39402 wxPyEndAllowThreads(__tstate
);
39403 if (PyErr_Occurred()) SWIG_fail
;
39405 resultobj
= SWIG_Py_Void();
39412 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39414 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39415 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39416 return SWIG_Py_Void();
39419 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39420 return SWIG_Python_InitShadowInstance(args
);
39423 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39424 PyObject
*resultobj
= 0;
39425 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39426 int arg2
= (int) 0 ;
39427 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39428 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39429 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39430 wxHelpEvent
*result
= 0 ;
39438 PyObject
* obj0
= 0 ;
39439 PyObject
* obj1
= 0 ;
39440 PyObject
* obj2
= 0 ;
39441 PyObject
* obj3
= 0 ;
39442 char * kwnames
[] = {
39443 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39448 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39449 if (!SWIG_IsOK(ecode1
)) {
39450 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39452 arg1
= static_cast< wxEventType
>(val1
);
39455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39456 if (!SWIG_IsOK(ecode2
)) {
39457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39459 arg2
= static_cast< int >(val2
);
39464 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39468 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39469 if (!SWIG_IsOK(ecode4
)) {
39470 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39472 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39476 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39477 wxPyEndAllowThreads(__tstate
);
39478 if (PyErr_Occurred()) SWIG_fail
;
39480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39487 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39488 PyObject
*resultobj
= 0;
39489 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39493 PyObject
*swig_obj
[1] ;
39495 if (!args
) SWIG_fail
;
39496 swig_obj
[0] = args
;
39497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39498 if (!SWIG_IsOK(res1
)) {
39499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39501 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39504 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39505 wxPyEndAllowThreads(__tstate
);
39506 if (PyErr_Occurred()) SWIG_fail
;
39508 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39515 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39516 PyObject
*resultobj
= 0;
39517 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39518 wxPoint
*arg2
= 0 ;
39522 PyObject
* obj0
= 0 ;
39523 PyObject
* obj1
= 0 ;
39524 char * kwnames
[] = {
39525 (char *) "self",(char *) "pos", NULL
39528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39530 if (!SWIG_IsOK(res1
)) {
39531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39533 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39536 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39540 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39541 wxPyEndAllowThreads(__tstate
);
39542 if (PyErr_Occurred()) SWIG_fail
;
39544 resultobj
= SWIG_Py_Void();
39551 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39552 PyObject
*resultobj
= 0;
39553 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39554 wxString
*result
= 0 ;
39557 PyObject
*swig_obj
[1] ;
39559 if (!args
) SWIG_fail
;
39560 swig_obj
[0] = args
;
39561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39562 if (!SWIG_IsOK(res1
)) {
39563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39565 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39569 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39570 result
= (wxString
*) &_result_ref
;
39572 wxPyEndAllowThreads(__tstate
);
39573 if (PyErr_Occurred()) SWIG_fail
;
39577 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39579 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39588 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39589 PyObject
*resultobj
= 0;
39590 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39591 wxString
*arg2
= 0 ;
39594 bool temp2
= false ;
39595 PyObject
* obj0
= 0 ;
39596 PyObject
* obj1
= 0 ;
39597 char * kwnames
[] = {
39598 (char *) "self",(char *) "link", NULL
39601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39603 if (!SWIG_IsOK(res1
)) {
39604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39606 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39608 arg2
= wxString_in_helper(obj1
);
39609 if (arg2
== NULL
) SWIG_fail
;
39613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39614 (arg1
)->SetLink((wxString
const &)*arg2
);
39615 wxPyEndAllowThreads(__tstate
);
39616 if (PyErr_Occurred()) SWIG_fail
;
39618 resultobj
= SWIG_Py_Void();
39633 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39634 PyObject
*resultobj
= 0;
39635 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39636 wxString
*result
= 0 ;
39639 PyObject
*swig_obj
[1] ;
39641 if (!args
) SWIG_fail
;
39642 swig_obj
[0] = args
;
39643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39644 if (!SWIG_IsOK(res1
)) {
39645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39647 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39651 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39652 result
= (wxString
*) &_result_ref
;
39654 wxPyEndAllowThreads(__tstate
);
39655 if (PyErr_Occurred()) SWIG_fail
;
39659 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39661 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39670 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39671 PyObject
*resultobj
= 0;
39672 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39673 wxString
*arg2
= 0 ;
39676 bool temp2
= false ;
39677 PyObject
* obj0
= 0 ;
39678 PyObject
* obj1
= 0 ;
39679 char * kwnames
[] = {
39680 (char *) "self",(char *) "target", NULL
39683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39685 if (!SWIG_IsOK(res1
)) {
39686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39688 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39690 arg2
= wxString_in_helper(obj1
);
39691 if (arg2
== NULL
) SWIG_fail
;
39695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39696 (arg1
)->SetTarget((wxString
const &)*arg2
);
39697 wxPyEndAllowThreads(__tstate
);
39698 if (PyErr_Occurred()) SWIG_fail
;
39700 resultobj
= SWIG_Py_Void();
39715 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39716 PyObject
*resultobj
= 0;
39717 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39718 wxHelpEvent::Origin result
;
39721 PyObject
*swig_obj
[1] ;
39723 if (!args
) SWIG_fail
;
39724 swig_obj
[0] = args
;
39725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39726 if (!SWIG_IsOK(res1
)) {
39727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39729 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39732 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39733 wxPyEndAllowThreads(__tstate
);
39734 if (PyErr_Occurred()) SWIG_fail
;
39736 resultobj
= SWIG_From_int(static_cast< int >(result
));
39743 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39744 PyObject
*resultobj
= 0;
39745 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39746 wxHelpEvent::Origin arg2
;
39751 PyObject
* obj0
= 0 ;
39752 PyObject
* obj1
= 0 ;
39753 char * kwnames
[] = {
39754 (char *) "self",(char *) "origin", NULL
39757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39759 if (!SWIG_IsOK(res1
)) {
39760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39762 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39763 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39764 if (!SWIG_IsOK(ecode2
)) {
39765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39767 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39770 (arg1
)->SetOrigin(arg2
);
39771 wxPyEndAllowThreads(__tstate
);
39772 if (PyErr_Occurred()) SWIG_fail
;
39774 resultobj
= SWIG_Py_Void();
39781 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39783 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39784 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39785 return SWIG_Py_Void();
39788 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39789 return SWIG_Python_InitShadowInstance(args
);
39792 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39793 PyObject
*resultobj
= 0;
39794 wxWindow
*arg1
= (wxWindow
*) NULL
;
39795 bool arg2
= (bool) true ;
39796 wxContextHelp
*result
= 0 ;
39801 PyObject
* obj0
= 0 ;
39802 PyObject
* obj1
= 0 ;
39803 char * kwnames
[] = {
39804 (char *) "window",(char *) "doNow", NULL
39807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39810 if (!SWIG_IsOK(res1
)) {
39811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39813 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39816 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39817 if (!SWIG_IsOK(ecode2
)) {
39818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39820 arg2
= static_cast< bool >(val2
);
39823 if (!wxPyCheckForApp()) SWIG_fail
;
39824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39825 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39826 wxPyEndAllowThreads(__tstate
);
39827 if (PyErr_Occurred()) SWIG_fail
;
39829 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39836 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39837 PyObject
*resultobj
= 0;
39838 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39841 PyObject
*swig_obj
[1] ;
39843 if (!args
) SWIG_fail
;
39844 swig_obj
[0] = args
;
39845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39846 if (!SWIG_IsOK(res1
)) {
39847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39849 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39854 wxPyEndAllowThreads(__tstate
);
39855 if (PyErr_Occurred()) SWIG_fail
;
39857 resultobj
= SWIG_Py_Void();
39864 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39865 PyObject
*resultobj
= 0;
39866 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39867 wxWindow
*arg2
= (wxWindow
*) NULL
;
39873 PyObject
* obj0
= 0 ;
39874 PyObject
* obj1
= 0 ;
39875 char * kwnames
[] = {
39876 (char *) "self",(char *) "window", NULL
39879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39881 if (!SWIG_IsOK(res1
)) {
39882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39884 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39886 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39887 if (!SWIG_IsOK(res2
)) {
39888 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39890 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39894 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39895 wxPyEndAllowThreads(__tstate
);
39896 if (PyErr_Occurred()) SWIG_fail
;
39899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39907 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39908 PyObject
*resultobj
= 0;
39909 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39913 PyObject
*swig_obj
[1] ;
39915 if (!args
) SWIG_fail
;
39916 swig_obj
[0] = args
;
39917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39918 if (!SWIG_IsOK(res1
)) {
39919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39921 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39924 result
= (bool)(arg1
)->EndContextHelp();
39925 wxPyEndAllowThreads(__tstate
);
39926 if (PyErr_Occurred()) SWIG_fail
;
39929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39937 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39939 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39940 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39941 return SWIG_Py_Void();
39944 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39945 return SWIG_Python_InitShadowInstance(args
);
39948 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39949 PyObject
*resultobj
= 0;
39950 wxWindow
*arg1
= (wxWindow
*) 0 ;
39951 int arg2
= (int) wxID_CONTEXT_HELP
;
39952 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39953 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39954 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39955 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39956 long arg5
= (long) wxBU_AUTODRAW
;
39957 wxContextHelpButton
*result
= 0 ;
39966 PyObject
* obj0
= 0 ;
39967 PyObject
* obj1
= 0 ;
39968 PyObject
* obj2
= 0 ;
39969 PyObject
* obj3
= 0 ;
39970 PyObject
* obj4
= 0 ;
39971 char * kwnames
[] = {
39972 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39977 if (!SWIG_IsOK(res1
)) {
39978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39980 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39982 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39983 if (!SWIG_IsOK(ecode2
)) {
39984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39986 arg2
= static_cast< int >(val2
);
39991 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39997 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
40001 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
40002 if (!SWIG_IsOK(ecode5
)) {
40003 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
40005 arg5
= static_cast< long >(val5
);
40008 if (!wxPyCheckForApp()) SWIG_fail
;
40009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40010 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
40011 wxPyEndAllowThreads(__tstate
);
40012 if (PyErr_Occurred()) SWIG_fail
;
40014 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
40021 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40023 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40024 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
40025 return SWIG_Py_Void();
40028 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40029 return SWIG_Python_InitShadowInstance(args
);
40032 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40033 PyObject
*resultobj
= 0;
40034 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40037 PyObject
*swig_obj
[1] ;
40039 if (!args
) SWIG_fail
;
40040 swig_obj
[0] = args
;
40041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40042 if (!SWIG_IsOK(res1
)) {
40043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40045 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40050 wxPyEndAllowThreads(__tstate
);
40051 if (PyErr_Occurred()) SWIG_fail
;
40053 resultobj
= SWIG_Py_Void();
40060 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40061 PyObject
*resultobj
= 0;
40062 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40063 wxHelpProvider
*result
= 0 ;
40065 PyObject
* obj0
= 0 ;
40066 char * kwnames
[] = {
40067 (char *) "helpProvider", NULL
40070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
40071 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40072 if (!SWIG_IsOK(res1
)) {
40073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40077 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
40078 wxPyEndAllowThreads(__tstate
);
40079 if (PyErr_Occurred()) SWIG_fail
;
40081 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
40088 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40089 PyObject
*resultobj
= 0;
40090 wxHelpProvider
*result
= 0 ;
40092 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
40094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40095 result
= (wxHelpProvider
*)wxHelpProvider::Get();
40096 wxPyEndAllowThreads(__tstate
);
40097 if (PyErr_Occurred()) SWIG_fail
;
40099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40106 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40107 PyObject
*resultobj
= 0;
40108 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40109 wxWindow
*arg2
= (wxWindow
*) 0 ;
40115 PyObject
* obj0
= 0 ;
40116 PyObject
* obj1
= 0 ;
40117 char * kwnames
[] = {
40118 (char *) "self",(char *) "window", NULL
40121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40123 if (!SWIG_IsOK(res1
)) {
40124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40126 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40127 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40128 if (!SWIG_IsOK(res2
)) {
40129 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40131 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40134 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
40135 wxPyEndAllowThreads(__tstate
);
40136 if (PyErr_Occurred()) SWIG_fail
;
40140 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40142 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40151 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40152 PyObject
*resultobj
= 0;
40153 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40154 wxWindow
*arg2
= (wxWindow
*) 0 ;
40160 PyObject
* obj0
= 0 ;
40161 PyObject
* obj1
= 0 ;
40162 char * kwnames
[] = {
40163 (char *) "self",(char *) "window", NULL
40166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40168 if (!SWIG_IsOK(res1
)) {
40169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40171 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40172 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40173 if (!SWIG_IsOK(res2
)) {
40174 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40176 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40179 result
= (bool)(arg1
)->ShowHelp(arg2
);
40180 wxPyEndAllowThreads(__tstate
);
40181 if (PyErr_Occurred()) SWIG_fail
;
40184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40192 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40193 PyObject
*resultobj
= 0;
40194 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40195 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
40196 wxPoint
*arg3
= 0 ;
40197 wxHelpEvent::Origin arg4
;
40206 PyObject
* obj0
= 0 ;
40207 PyObject
* obj1
= 0 ;
40208 PyObject
* obj2
= 0 ;
40209 PyObject
* obj3
= 0 ;
40210 char * kwnames
[] = {
40211 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40216 if (!SWIG_IsOK(res1
)) {
40217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40219 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40220 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
40221 if (!SWIG_IsOK(res2
)) {
40222 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40224 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
40227 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40229 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40230 if (!SWIG_IsOK(ecode4
)) {
40231 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40233 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
40235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40236 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
40237 wxPyEndAllowThreads(__tstate
);
40238 if (PyErr_Occurred()) SWIG_fail
;
40241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40249 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40250 PyObject
*resultobj
= 0;
40251 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40252 wxWindow
*arg2
= (wxWindow
*) 0 ;
40253 wxString
*arg3
= 0 ;
40258 bool temp3
= false ;
40259 PyObject
* obj0
= 0 ;
40260 PyObject
* obj1
= 0 ;
40261 PyObject
* obj2
= 0 ;
40262 char * kwnames
[] = {
40263 (char *) "self",(char *) "window",(char *) "text", NULL
40266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40268 if (!SWIG_IsOK(res1
)) {
40269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40271 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40272 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40273 if (!SWIG_IsOK(res2
)) {
40274 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40276 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40278 arg3
= wxString_in_helper(obj2
);
40279 if (arg3
== NULL
) SWIG_fail
;
40283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40284 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40285 wxPyEndAllowThreads(__tstate
);
40286 if (PyErr_Occurred()) SWIG_fail
;
40288 resultobj
= SWIG_Py_Void();
40303 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40304 PyObject
*resultobj
= 0;
40305 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40307 wxString
*arg3
= 0 ;
40312 bool temp3
= false ;
40313 PyObject
* obj0
= 0 ;
40314 PyObject
* obj1
= 0 ;
40315 PyObject
* obj2
= 0 ;
40316 char * kwnames
[] = {
40317 (char *) "self",(char *) "id",(char *) "text", NULL
40320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40322 if (!SWIG_IsOK(res1
)) {
40323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40325 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40327 if (!SWIG_IsOK(ecode2
)) {
40328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40330 arg2
= static_cast< int >(val2
);
40332 arg3
= wxString_in_helper(obj2
);
40333 if (arg3
== NULL
) SWIG_fail
;
40337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40338 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40339 wxPyEndAllowThreads(__tstate
);
40340 if (PyErr_Occurred()) SWIG_fail
;
40342 resultobj
= SWIG_Py_Void();
40357 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40358 PyObject
*resultobj
= 0;
40359 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40360 wxWindow
*arg2
= (wxWindow
*) 0 ;
40365 PyObject
* obj0
= 0 ;
40366 PyObject
* obj1
= 0 ;
40367 char * kwnames
[] = {
40368 (char *) "self",(char *) "window", NULL
40371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40373 if (!SWIG_IsOK(res1
)) {
40374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40376 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40377 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40378 if (!SWIG_IsOK(res2
)) {
40379 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40381 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40384 (arg1
)->RemoveHelp(arg2
);
40385 wxPyEndAllowThreads(__tstate
);
40386 if (PyErr_Occurred()) SWIG_fail
;
40388 resultobj
= SWIG_Py_Void();
40395 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40396 PyObject
*resultobj
= 0;
40397 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40400 PyObject
*swig_obj
[1] ;
40402 if (!args
) SWIG_fail
;
40403 swig_obj
[0] = args
;
40404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40405 if (!SWIG_IsOK(res1
)) {
40406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40408 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40411 wxHelpProvider_Destroy(arg1
);
40412 wxPyEndAllowThreads(__tstate
);
40413 if (PyErr_Occurred()) SWIG_fail
;
40415 resultobj
= SWIG_Py_Void();
40422 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40424 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40425 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40426 return SWIG_Py_Void();
40429 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40430 PyObject
*resultobj
= 0;
40431 wxSimpleHelpProvider
*result
= 0 ;
40433 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40436 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40437 wxPyEndAllowThreads(__tstate
);
40438 if (PyErr_Occurred()) SWIG_fail
;
40440 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40447 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40449 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40450 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40451 return SWIG_Py_Void();
40454 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40455 return SWIG_Python_InitShadowInstance(args
);
40458 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40459 PyObject
*resultobj
= 0;
40460 wxBitmap
*arg1
= 0 ;
40461 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40462 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40463 wxGenericDragImage
*result
= 0 ;
40468 PyObject
* obj0
= 0 ;
40469 PyObject
* obj1
= 0 ;
40470 char * kwnames
[] = {
40471 (char *) "image",(char *) "cursor", NULL
40474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40475 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40476 if (!SWIG_IsOK(res1
)) {
40477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40480 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40482 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40484 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40485 if (!SWIG_IsOK(res2
)) {
40486 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40489 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40491 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40494 if (!wxPyCheckForApp()) SWIG_fail
;
40495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40496 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40497 wxPyEndAllowThreads(__tstate
);
40498 if (PyErr_Occurred()) SWIG_fail
;
40500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40507 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40508 PyObject
*resultobj
= 0;
40510 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40511 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40512 wxGenericDragImage
*result
= 0 ;
40517 PyObject
* obj0
= 0 ;
40518 PyObject
* obj1
= 0 ;
40519 char * kwnames
[] = {
40520 (char *) "image",(char *) "cursor", NULL
40523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40524 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40525 if (!SWIG_IsOK(res1
)) {
40526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40529 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40531 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40533 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40534 if (!SWIG_IsOK(res2
)) {
40535 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40538 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40540 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40543 if (!wxPyCheckForApp()) SWIG_fail
;
40544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40545 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40546 wxPyEndAllowThreads(__tstate
);
40547 if (PyErr_Occurred()) SWIG_fail
;
40549 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40556 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40557 PyObject
*resultobj
= 0;
40558 wxString
*arg1
= 0 ;
40559 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40560 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40561 wxGenericDragImage
*result
= 0 ;
40562 bool temp1
= false ;
40565 PyObject
* obj0
= 0 ;
40566 PyObject
* obj1
= 0 ;
40567 char * kwnames
[] = {
40568 (char *) "str",(char *) "cursor", NULL
40571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40573 arg1
= wxString_in_helper(obj0
);
40574 if (arg1
== NULL
) SWIG_fail
;
40578 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40579 if (!SWIG_IsOK(res2
)) {
40580 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40583 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40585 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40588 if (!wxPyCheckForApp()) SWIG_fail
;
40589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40590 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40591 wxPyEndAllowThreads(__tstate
);
40592 if (PyErr_Occurred()) SWIG_fail
;
40594 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40609 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40610 PyObject
*resultobj
= 0;
40611 wxPyTreeCtrl
*arg1
= 0 ;
40612 wxTreeItemId
*arg2
= 0 ;
40613 wxGenericDragImage
*result
= 0 ;
40618 PyObject
* obj0
= 0 ;
40619 PyObject
* obj1
= 0 ;
40620 char * kwnames
[] = {
40621 (char *) "treeCtrl",(char *) "id", NULL
40624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40625 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40626 if (!SWIG_IsOK(res1
)) {
40627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40630 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40632 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40633 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40634 if (!SWIG_IsOK(res2
)) {
40635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40638 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40640 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40642 if (!wxPyCheckForApp()) SWIG_fail
;
40643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40644 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40645 wxPyEndAllowThreads(__tstate
);
40646 if (PyErr_Occurred()) SWIG_fail
;
40648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40655 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40656 PyObject
*resultobj
= 0;
40657 wxPyListCtrl
*arg1
= 0 ;
40659 wxGenericDragImage
*result
= 0 ;
40664 PyObject
* obj0
= 0 ;
40665 PyObject
* obj1
= 0 ;
40666 char * kwnames
[] = {
40667 (char *) "listCtrl",(char *) "id", NULL
40670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40671 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40672 if (!SWIG_IsOK(res1
)) {
40673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40676 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40678 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40679 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40680 if (!SWIG_IsOK(ecode2
)) {
40681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40683 arg2
= static_cast< long >(val2
);
40685 if (!wxPyCheckForApp()) SWIG_fail
;
40686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40687 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40688 wxPyEndAllowThreads(__tstate
);
40689 if (PyErr_Occurred()) SWIG_fail
;
40691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40698 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40699 PyObject
*resultobj
= 0;
40700 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40703 PyObject
*swig_obj
[1] ;
40705 if (!args
) SWIG_fail
;
40706 swig_obj
[0] = args
;
40707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40708 if (!SWIG_IsOK(res1
)) {
40709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40711 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40716 wxPyEndAllowThreads(__tstate
);
40717 if (PyErr_Occurred()) SWIG_fail
;
40719 resultobj
= SWIG_Py_Void();
40726 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40727 PyObject
*resultobj
= 0;
40728 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40729 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40734 PyObject
* obj0
= 0 ;
40735 PyObject
* obj1
= 0 ;
40736 char * kwnames
[] = {
40737 (char *) "self",(char *) "bitmap", NULL
40740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40742 if (!SWIG_IsOK(res1
)) {
40743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40745 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40746 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40747 if (!SWIG_IsOK(res2
)) {
40748 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40750 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40753 (arg1
)->SetBackingBitmap(arg2
);
40754 wxPyEndAllowThreads(__tstate
);
40755 if (PyErr_Occurred()) SWIG_fail
;
40757 resultobj
= SWIG_Py_Void();
40764 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40765 PyObject
*resultobj
= 0;
40766 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40767 wxPoint
*arg2
= 0 ;
40768 wxWindow
*arg3
= (wxWindow
*) 0 ;
40769 bool arg4
= (bool) false ;
40770 wxRect
*arg5
= (wxRect
*) NULL
;
40781 PyObject
* obj0
= 0 ;
40782 PyObject
* obj1
= 0 ;
40783 PyObject
* obj2
= 0 ;
40784 PyObject
* obj3
= 0 ;
40785 PyObject
* obj4
= 0 ;
40786 char * kwnames
[] = {
40787 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40792 if (!SWIG_IsOK(res1
)) {
40793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40795 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40798 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40800 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40801 if (!SWIG_IsOK(res3
)) {
40802 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40804 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40806 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40807 if (!SWIG_IsOK(ecode4
)) {
40808 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40810 arg4
= static_cast< bool >(val4
);
40813 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40814 if (!SWIG_IsOK(res5
)) {
40815 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40817 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40821 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40822 wxPyEndAllowThreads(__tstate
);
40823 if (PyErr_Occurred()) SWIG_fail
;
40826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40834 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40835 PyObject
*resultobj
= 0;
40836 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40837 wxPoint
*arg2
= 0 ;
40838 wxWindow
*arg3
= (wxWindow
*) 0 ;
40839 wxWindow
*arg4
= (wxWindow
*) 0 ;
40848 PyObject
* obj0
= 0 ;
40849 PyObject
* obj1
= 0 ;
40850 PyObject
* obj2
= 0 ;
40851 PyObject
* obj3
= 0 ;
40852 char * kwnames
[] = {
40853 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40858 if (!SWIG_IsOK(res1
)) {
40859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40861 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40864 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40866 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40867 if (!SWIG_IsOK(res3
)) {
40868 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40870 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40871 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40872 if (!SWIG_IsOK(res4
)) {
40873 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40875 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40878 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40879 wxPyEndAllowThreads(__tstate
);
40880 if (PyErr_Occurred()) SWIG_fail
;
40883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40891 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40892 PyObject
*resultobj
= 0;
40893 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40897 PyObject
*swig_obj
[1] ;
40899 if (!args
) SWIG_fail
;
40900 swig_obj
[0] = args
;
40901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40902 if (!SWIG_IsOK(res1
)) {
40903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40905 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40908 result
= (bool)(arg1
)->EndDrag();
40909 wxPyEndAllowThreads(__tstate
);
40910 if (PyErr_Occurred()) SWIG_fail
;
40913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40921 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40922 PyObject
*resultobj
= 0;
40923 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40924 wxPoint
*arg2
= 0 ;
40929 PyObject
* obj0
= 0 ;
40930 PyObject
* obj1
= 0 ;
40931 char * kwnames
[] = {
40932 (char *) "self",(char *) "pt", NULL
40935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40937 if (!SWIG_IsOK(res1
)) {
40938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40940 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40943 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40947 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40948 wxPyEndAllowThreads(__tstate
);
40949 if (PyErr_Occurred()) SWIG_fail
;
40952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40960 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40961 PyObject
*resultobj
= 0;
40962 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40966 PyObject
*swig_obj
[1] ;
40968 if (!args
) SWIG_fail
;
40969 swig_obj
[0] = args
;
40970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40971 if (!SWIG_IsOK(res1
)) {
40972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40974 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40977 result
= (bool)(arg1
)->Show();
40978 wxPyEndAllowThreads(__tstate
);
40979 if (PyErr_Occurred()) SWIG_fail
;
40982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40990 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40991 PyObject
*resultobj
= 0;
40992 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40996 PyObject
*swig_obj
[1] ;
40998 if (!args
) SWIG_fail
;
40999 swig_obj
[0] = args
;
41000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41001 if (!SWIG_IsOK(res1
)) {
41002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41004 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41007 result
= (bool)(arg1
)->Hide();
41008 wxPyEndAllowThreads(__tstate
);
41009 if (PyErr_Occurred()) SWIG_fail
;
41012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41020 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41021 PyObject
*resultobj
= 0;
41022 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41023 wxPoint
*arg2
= 0 ;
41028 PyObject
* obj0
= 0 ;
41029 PyObject
* obj1
= 0 ;
41030 char * kwnames
[] = {
41031 (char *) "self",(char *) "pos", NULL
41034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41036 if (!SWIG_IsOK(res1
)) {
41037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41039 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41042 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41046 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
41047 wxPyEndAllowThreads(__tstate
);
41048 if (PyErr_Occurred()) SWIG_fail
;
41050 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
41057 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41058 PyObject
*resultobj
= 0;
41059 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41061 wxPoint
*arg3
= 0 ;
41068 PyObject
* obj0
= 0 ;
41069 PyObject
* obj1
= 0 ;
41070 PyObject
* obj2
= 0 ;
41071 char * kwnames
[] = {
41072 (char *) "self",(char *) "dc",(char *) "pos", NULL
41075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41077 if (!SWIG_IsOK(res1
)) {
41078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41080 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41081 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41082 if (!SWIG_IsOK(res2
)) {
41083 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41086 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41088 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41091 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41095 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
41096 wxPyEndAllowThreads(__tstate
);
41097 if (PyErr_Occurred()) SWIG_fail
;
41100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41108 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41109 PyObject
*resultobj
= 0;
41110 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41112 wxMemoryDC
*arg3
= 0 ;
41124 PyObject
* obj0
= 0 ;
41125 PyObject
* obj1
= 0 ;
41126 PyObject
* obj2
= 0 ;
41127 PyObject
* obj3
= 0 ;
41128 PyObject
* obj4
= 0 ;
41129 char * kwnames
[] = {
41130 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41135 if (!SWIG_IsOK(res1
)) {
41136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41138 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41139 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41140 if (!SWIG_IsOK(res2
)) {
41141 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41144 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41146 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41147 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
41148 if (!SWIG_IsOK(res3
)) {
41149 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41152 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41154 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
41157 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
41161 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
41164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41165 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
41166 wxPyEndAllowThreads(__tstate
);
41167 if (PyErr_Occurred()) SWIG_fail
;
41170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41178 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41179 PyObject
*resultobj
= 0;
41180 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41181 wxPoint
*arg2
= 0 ;
41182 wxPoint
*arg3
= 0 ;
41194 PyObject
* obj0
= 0 ;
41195 PyObject
* obj1
= 0 ;
41196 PyObject
* obj2
= 0 ;
41197 PyObject
* obj3
= 0 ;
41198 PyObject
* obj4
= 0 ;
41199 char * kwnames
[] = {
41200 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41205 if (!SWIG_IsOK(res1
)) {
41206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41208 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41211 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41215 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41217 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41218 if (!SWIG_IsOK(ecode4
)) {
41219 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41221 arg4
= static_cast< bool >(val4
);
41222 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
41223 if (!SWIG_IsOK(ecode5
)) {
41224 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41226 arg5
= static_cast< bool >(val5
);
41228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41229 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
41230 wxPyEndAllowThreads(__tstate
);
41231 if (PyErr_Occurred()) SWIG_fail
;
41234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41242 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41244 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41245 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
41246 return SWIG_Py_Void();
41249 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41250 return SWIG_Python_InitShadowInstance(args
);
41253 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41254 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41259 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41260 PyObject
*pyobj
= 0;
41264 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41266 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41273 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41274 PyObject
*resultobj
= 0;
41275 wxWindow
*arg1
= (wxWindow
*) 0 ;
41276 int arg2
= (int) -1 ;
41277 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41278 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41279 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41280 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41281 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41282 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41283 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41284 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41285 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41286 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41287 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41288 wxDatePickerCtrl
*result
= 0 ;
41301 bool temp8
= false ;
41302 PyObject
* obj0
= 0 ;
41303 PyObject
* obj1
= 0 ;
41304 PyObject
* obj2
= 0 ;
41305 PyObject
* obj3
= 0 ;
41306 PyObject
* obj4
= 0 ;
41307 PyObject
* obj5
= 0 ;
41308 PyObject
* obj6
= 0 ;
41309 PyObject
* obj7
= 0 ;
41310 char * kwnames
[] = {
41311 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41316 if (!SWIG_IsOK(res1
)) {
41317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41319 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41321 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41322 if (!SWIG_IsOK(ecode2
)) {
41323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41325 arg2
= static_cast< int >(val2
);
41328 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41329 if (!SWIG_IsOK(res3
)) {
41330 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41333 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41335 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41340 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41346 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41350 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41351 if (!SWIG_IsOK(ecode6
)) {
41352 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41354 arg6
= static_cast< long >(val6
);
41357 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41358 if (!SWIG_IsOK(res7
)) {
41359 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41362 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41364 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41368 arg8
= wxString_in_helper(obj7
);
41369 if (arg8
== NULL
) SWIG_fail
;
41374 if (!wxPyCheckForApp()) SWIG_fail
;
41375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41376 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41377 wxPyEndAllowThreads(__tstate
);
41378 if (PyErr_Occurred()) SWIG_fail
;
41380 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41395 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41396 PyObject
*resultobj
= 0;
41397 wxDatePickerCtrl
*result
= 0 ;
41399 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41401 if (!wxPyCheckForApp()) SWIG_fail
;
41402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41403 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41404 wxPyEndAllowThreads(__tstate
);
41405 if (PyErr_Occurred()) SWIG_fail
;
41407 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41414 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41415 PyObject
*resultobj
= 0;
41416 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41417 wxWindow
*arg2
= (wxWindow
*) 0 ;
41418 int arg3
= (int) -1 ;
41419 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41420 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41421 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41422 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41423 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41424 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41425 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41426 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41427 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41428 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41429 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41445 bool temp9
= false ;
41446 PyObject
* obj0
= 0 ;
41447 PyObject
* obj1
= 0 ;
41448 PyObject
* obj2
= 0 ;
41449 PyObject
* obj3
= 0 ;
41450 PyObject
* obj4
= 0 ;
41451 PyObject
* obj5
= 0 ;
41452 PyObject
* obj6
= 0 ;
41453 PyObject
* obj7
= 0 ;
41454 PyObject
* obj8
= 0 ;
41455 char * kwnames
[] = {
41456 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41461 if (!SWIG_IsOK(res1
)) {
41462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41464 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41465 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41466 if (!SWIG_IsOK(res2
)) {
41467 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41469 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41471 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41472 if (!SWIG_IsOK(ecode3
)) {
41473 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41475 arg3
= static_cast< int >(val3
);
41478 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41479 if (!SWIG_IsOK(res4
)) {
41480 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41483 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41485 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41490 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41496 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41500 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41501 if (!SWIG_IsOK(ecode7
)) {
41502 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41504 arg7
= static_cast< long >(val7
);
41507 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41508 if (!SWIG_IsOK(res8
)) {
41509 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41512 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41514 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41518 arg9
= wxString_in_helper(obj8
);
41519 if (arg9
== NULL
) SWIG_fail
;
41524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41525 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41526 wxPyEndAllowThreads(__tstate
);
41527 if (PyErr_Occurred()) SWIG_fail
;
41530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41546 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41547 PyObject
*resultobj
= 0;
41548 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41549 wxDateTime
*arg2
= 0 ;
41554 PyObject
* obj0
= 0 ;
41555 PyObject
* obj1
= 0 ;
41556 char * kwnames
[] = {
41557 (char *) "self",(char *) "dt", NULL
41560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41562 if (!SWIG_IsOK(res1
)) {
41563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41565 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41566 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41567 if (!SWIG_IsOK(res2
)) {
41568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41571 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41573 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41576 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41577 wxPyEndAllowThreads(__tstate
);
41578 if (PyErr_Occurred()) SWIG_fail
;
41580 resultobj
= SWIG_Py_Void();
41587 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41588 PyObject
*resultobj
= 0;
41589 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41593 PyObject
*swig_obj
[1] ;
41595 if (!args
) SWIG_fail
;
41596 swig_obj
[0] = args
;
41597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41598 if (!SWIG_IsOK(res1
)) {
41599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41601 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41604 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41605 wxPyEndAllowThreads(__tstate
);
41606 if (PyErr_Occurred()) SWIG_fail
;
41608 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41615 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41616 PyObject
*resultobj
= 0;
41617 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41618 wxDateTime
*arg2
= 0 ;
41619 wxDateTime
*arg3
= 0 ;
41626 PyObject
* obj0
= 0 ;
41627 PyObject
* obj1
= 0 ;
41628 PyObject
* obj2
= 0 ;
41629 char * kwnames
[] = {
41630 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41635 if (!SWIG_IsOK(res1
)) {
41636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41638 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41639 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41640 if (!SWIG_IsOK(res2
)) {
41641 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41644 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41646 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41647 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41648 if (!SWIG_IsOK(res3
)) {
41649 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41652 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41654 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41657 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41658 wxPyEndAllowThreads(__tstate
);
41659 if (PyErr_Occurred()) SWIG_fail
;
41661 resultobj
= SWIG_Py_Void();
41668 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41669 PyObject
*resultobj
= 0;
41670 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41674 PyObject
*swig_obj
[1] ;
41676 if (!args
) SWIG_fail
;
41677 swig_obj
[0] = args
;
41678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41679 if (!SWIG_IsOK(res1
)) {
41680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41682 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41685 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41686 wxPyEndAllowThreads(__tstate
);
41687 if (PyErr_Occurred()) SWIG_fail
;
41689 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41696 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41697 PyObject
*resultobj
= 0;
41698 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41702 PyObject
*swig_obj
[1] ;
41704 if (!args
) SWIG_fail
;
41705 swig_obj
[0] = args
;
41706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41707 if (!SWIG_IsOK(res1
)) {
41708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41710 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41713 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41714 wxPyEndAllowThreads(__tstate
);
41715 if (PyErr_Occurred()) SWIG_fail
;
41717 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41724 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41726 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41727 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41728 return SWIG_Py_Void();
41731 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41732 return SWIG_Python_InitShadowInstance(args
);
41735 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41736 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41741 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41742 PyObject
*pyobj
= 0;
41746 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41748 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41755 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41756 PyObject
*resultobj
= 0;
41757 wxWindow
*arg1
= (wxWindow
*) 0 ;
41759 wxString
*arg3
= 0 ;
41760 wxString
*arg4
= 0 ;
41761 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41762 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41763 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41764 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41765 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41766 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41767 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41768 wxHyperlinkCtrl
*result
= 0 ;
41773 bool temp3
= false ;
41774 bool temp4
= false ;
41779 bool temp8
= false ;
41780 PyObject
* obj0
= 0 ;
41781 PyObject
* obj1
= 0 ;
41782 PyObject
* obj2
= 0 ;
41783 PyObject
* obj3
= 0 ;
41784 PyObject
* obj4
= 0 ;
41785 PyObject
* obj5
= 0 ;
41786 PyObject
* obj6
= 0 ;
41787 PyObject
* obj7
= 0 ;
41788 char * kwnames
[] = {
41789 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41794 if (!SWIG_IsOK(res1
)) {
41795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41797 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41799 if (!SWIG_IsOK(ecode2
)) {
41800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41802 arg2
= static_cast< int >(val2
);
41804 arg3
= wxString_in_helper(obj2
);
41805 if (arg3
== NULL
) SWIG_fail
;
41809 arg4
= wxString_in_helper(obj3
);
41810 if (arg4
== NULL
) SWIG_fail
;
41816 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41822 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41826 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41827 if (!SWIG_IsOK(ecode7
)) {
41828 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41830 arg7
= static_cast< long >(val7
);
41834 arg8
= wxString_in_helper(obj7
);
41835 if (arg8
== NULL
) SWIG_fail
;
41840 if (!wxPyCheckForApp()) SWIG_fail
;
41841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41842 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
41843 wxPyEndAllowThreads(__tstate
);
41844 if (PyErr_Occurred()) SWIG_fail
;
41846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
41877 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41878 PyObject
*resultobj
= 0;
41879 wxHyperlinkCtrl
*result
= 0 ;
41881 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
41883 if (!wxPyCheckForApp()) SWIG_fail
;
41884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41885 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
41886 wxPyEndAllowThreads(__tstate
);
41887 if (PyErr_Occurred()) SWIG_fail
;
41889 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
41896 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41897 PyObject
*resultobj
= 0;
41898 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41899 wxWindow
*arg2
= (wxWindow
*) 0 ;
41901 wxString
*arg4
= 0 ;
41902 wxString
*arg5
= 0 ;
41903 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
41904 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
41905 wxSize
const &arg7_defvalue
= wxDefaultSize
;
41906 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
41907 long arg8
= (long) wxHL_DEFAULT_STYLE
;
41908 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
41909 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41917 bool temp4
= false ;
41918 bool temp5
= false ;
41923 bool temp9
= false ;
41924 PyObject
* obj0
= 0 ;
41925 PyObject
* obj1
= 0 ;
41926 PyObject
* obj2
= 0 ;
41927 PyObject
* obj3
= 0 ;
41928 PyObject
* obj4
= 0 ;
41929 PyObject
* obj5
= 0 ;
41930 PyObject
* obj6
= 0 ;
41931 PyObject
* obj7
= 0 ;
41932 PyObject
* obj8
= 0 ;
41933 char * kwnames
[] = {
41934 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41939 if (!SWIG_IsOK(res1
)) {
41940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41942 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41943 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41944 if (!SWIG_IsOK(res2
)) {
41945 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41947 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41948 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41949 if (!SWIG_IsOK(ecode3
)) {
41950 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41952 arg3
= static_cast< int >(val3
);
41954 arg4
= wxString_in_helper(obj3
);
41955 if (arg4
== NULL
) SWIG_fail
;
41959 arg5
= wxString_in_helper(obj4
);
41960 if (arg5
== NULL
) SWIG_fail
;
41966 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
41972 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
41976 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
41977 if (!SWIG_IsOK(ecode8
)) {
41978 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41980 arg8
= static_cast< long >(val8
);
41984 arg9
= wxString_in_helper(obj8
);
41985 if (arg9
== NULL
) SWIG_fail
;
41990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41991 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
41992 wxPyEndAllowThreads(__tstate
);
41993 if (PyErr_Occurred()) SWIG_fail
;
41996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42028 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42029 PyObject
*resultobj
= 0;
42030 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42034 PyObject
*swig_obj
[1] ;
42036 if (!args
) SWIG_fail
;
42037 swig_obj
[0] = args
;
42038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42039 if (!SWIG_IsOK(res1
)) {
42040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42042 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42045 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
42046 wxPyEndAllowThreads(__tstate
);
42047 if (PyErr_Occurred()) SWIG_fail
;
42049 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42056 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42057 PyObject
*resultobj
= 0;
42058 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42059 wxColour
*arg2
= 0 ;
42063 PyObject
* obj0
= 0 ;
42064 PyObject
* obj1
= 0 ;
42065 char * kwnames
[] = {
42066 (char *) "self",(char *) "colour", NULL
42069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42071 if (!SWIG_IsOK(res1
)) {
42072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42074 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42077 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42081 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
42082 wxPyEndAllowThreads(__tstate
);
42083 if (PyErr_Occurred()) SWIG_fail
;
42085 resultobj
= SWIG_Py_Void();
42092 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42093 PyObject
*resultobj
= 0;
42094 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42098 PyObject
*swig_obj
[1] ;
42100 if (!args
) SWIG_fail
;
42101 swig_obj
[0] = args
;
42102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42103 if (!SWIG_IsOK(res1
)) {
42104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42106 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42109 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
42110 wxPyEndAllowThreads(__tstate
);
42111 if (PyErr_Occurred()) SWIG_fail
;
42113 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42120 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42121 PyObject
*resultobj
= 0;
42122 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42123 wxColour
*arg2
= 0 ;
42127 PyObject
* obj0
= 0 ;
42128 PyObject
* obj1
= 0 ;
42129 char * kwnames
[] = {
42130 (char *) "self",(char *) "colour", NULL
42133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42135 if (!SWIG_IsOK(res1
)) {
42136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42138 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42141 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42145 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
42146 wxPyEndAllowThreads(__tstate
);
42147 if (PyErr_Occurred()) SWIG_fail
;
42149 resultobj
= SWIG_Py_Void();
42156 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42157 PyObject
*resultobj
= 0;
42158 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42162 PyObject
*swig_obj
[1] ;
42164 if (!args
) SWIG_fail
;
42165 swig_obj
[0] = args
;
42166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42167 if (!SWIG_IsOK(res1
)) {
42168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42170 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42173 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
42174 wxPyEndAllowThreads(__tstate
);
42175 if (PyErr_Occurred()) SWIG_fail
;
42177 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42184 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42185 PyObject
*resultobj
= 0;
42186 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42187 wxColour
*arg2
= 0 ;
42191 PyObject
* obj0
= 0 ;
42192 PyObject
* obj1
= 0 ;
42193 char * kwnames
[] = {
42194 (char *) "self",(char *) "colour", NULL
42197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42199 if (!SWIG_IsOK(res1
)) {
42200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42202 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42205 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42209 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
42210 wxPyEndAllowThreads(__tstate
);
42211 if (PyErr_Occurred()) SWIG_fail
;
42213 resultobj
= SWIG_Py_Void();
42220 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42221 PyObject
*resultobj
= 0;
42222 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42226 PyObject
*swig_obj
[1] ;
42228 if (!args
) SWIG_fail
;
42229 swig_obj
[0] = args
;
42230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42231 if (!SWIG_IsOK(res1
)) {
42232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42234 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42237 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
42238 wxPyEndAllowThreads(__tstate
);
42239 if (PyErr_Occurred()) SWIG_fail
;
42243 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42245 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42254 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42255 PyObject
*resultobj
= 0;
42256 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42257 wxString
*arg2
= 0 ;
42260 bool temp2
= false ;
42261 PyObject
* obj0
= 0 ;
42262 PyObject
* obj1
= 0 ;
42263 char * kwnames
[] = {
42264 (char *) "self",(char *) "url", NULL
42267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42269 if (!SWIG_IsOK(res1
)) {
42270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42272 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42274 arg2
= wxString_in_helper(obj1
);
42275 if (arg2
== NULL
) SWIG_fail
;
42279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42280 (arg1
)->SetURL((wxString
const &)*arg2
);
42281 wxPyEndAllowThreads(__tstate
);
42282 if (PyErr_Occurred()) SWIG_fail
;
42284 resultobj
= SWIG_Py_Void();
42299 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42300 PyObject
*resultobj
= 0;
42301 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42302 bool arg2
= (bool) true ;
42307 PyObject
* obj0
= 0 ;
42308 PyObject
* obj1
= 0 ;
42309 char * kwnames
[] = {
42310 (char *) "self",(char *) "visited", NULL
42313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42315 if (!SWIG_IsOK(res1
)) {
42316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42318 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42320 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42321 if (!SWIG_IsOK(ecode2
)) {
42322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42324 arg2
= static_cast< bool >(val2
);
42327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42328 (arg1
)->SetVisited(arg2
);
42329 wxPyEndAllowThreads(__tstate
);
42330 if (PyErr_Occurred()) SWIG_fail
;
42332 resultobj
= SWIG_Py_Void();
42339 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42340 PyObject
*resultobj
= 0;
42341 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42345 PyObject
*swig_obj
[1] ;
42347 if (!args
) SWIG_fail
;
42348 swig_obj
[0] = args
;
42349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42350 if (!SWIG_IsOK(res1
)) {
42351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42353 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42356 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42357 wxPyEndAllowThreads(__tstate
);
42358 if (PyErr_Occurred()) SWIG_fail
;
42361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42369 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42371 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42372 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42373 return SWIG_Py_Void();
42376 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42377 return SWIG_Python_InitShadowInstance(args
);
42380 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42381 PyObject
*resultobj
= 0;
42382 wxObject
*arg1
= (wxObject
*) 0 ;
42384 wxString
*arg3
= 0 ;
42385 wxHyperlinkEvent
*result
= 0 ;
42390 bool temp3
= false ;
42391 PyObject
* obj0
= 0 ;
42392 PyObject
* obj1
= 0 ;
42393 PyObject
* obj2
= 0 ;
42394 char * kwnames
[] = {
42395 (char *) "generator",(char *) "id",(char *) "url", NULL
42398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42400 if (!SWIG_IsOK(res1
)) {
42401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42403 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42405 if (!SWIG_IsOK(ecode2
)) {
42406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42408 arg2
= static_cast< int >(val2
);
42410 arg3
= wxString_in_helper(obj2
);
42411 if (arg3
== NULL
) SWIG_fail
;
42415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42416 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42417 wxPyEndAllowThreads(__tstate
);
42418 if (PyErr_Occurred()) SWIG_fail
;
42420 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42435 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42436 PyObject
*resultobj
= 0;
42437 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42441 PyObject
*swig_obj
[1] ;
42443 if (!args
) SWIG_fail
;
42444 swig_obj
[0] = args
;
42445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42446 if (!SWIG_IsOK(res1
)) {
42447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42449 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42452 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42453 wxPyEndAllowThreads(__tstate
);
42454 if (PyErr_Occurred()) SWIG_fail
;
42458 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42460 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42469 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42470 PyObject
*resultobj
= 0;
42471 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42472 wxString
*arg2
= 0 ;
42475 bool temp2
= false ;
42476 PyObject
* obj0
= 0 ;
42477 PyObject
* obj1
= 0 ;
42478 char * kwnames
[] = {
42479 (char *) "self",(char *) "url", NULL
42482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42484 if (!SWIG_IsOK(res1
)) {
42485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42487 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42489 arg2
= wxString_in_helper(obj1
);
42490 if (arg2
== NULL
) SWIG_fail
;
42494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42495 (arg1
)->SetURL((wxString
const &)*arg2
);
42496 wxPyEndAllowThreads(__tstate
);
42497 if (PyErr_Occurred()) SWIG_fail
;
42499 resultobj
= SWIG_Py_Void();
42514 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42516 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42517 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42518 return SWIG_Py_Void();
42521 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42522 return SWIG_Python_InitShadowInstance(args
);
42525 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42526 PyObject
*resultobj
= 0;
42527 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42528 wxWindow
*arg2
= (wxWindow
*) 0 ;
42530 wxString
const &arg4_defvalue
= wxEmptyString
;
42531 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42532 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42533 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42534 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42535 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42536 long arg7
= (long) 0 ;
42537 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42538 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42539 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42540 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42548 bool temp4
= false ;
42555 bool temp9
= false ;
42556 PyObject
* obj0
= 0 ;
42557 PyObject
* obj1
= 0 ;
42558 PyObject
* obj2
= 0 ;
42559 PyObject
* obj3
= 0 ;
42560 PyObject
* obj4
= 0 ;
42561 PyObject
* obj5
= 0 ;
42562 PyObject
* obj6
= 0 ;
42563 PyObject
* obj7
= 0 ;
42564 PyObject
* obj8
= 0 ;
42565 char * kwnames
[] = {
42566 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42571 if (!SWIG_IsOK(res1
)) {
42572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42574 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42575 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42576 if (!SWIG_IsOK(res2
)) {
42577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42579 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42580 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42581 if (!SWIG_IsOK(ecode3
)) {
42582 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42584 arg3
= static_cast< int >(val3
);
42587 arg4
= wxString_in_helper(obj3
);
42588 if (arg4
== NULL
) SWIG_fail
;
42595 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42601 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42605 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42606 if (!SWIG_IsOK(ecode7
)) {
42607 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42609 arg7
= static_cast< long >(val7
);
42612 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42613 if (!SWIG_IsOK(res8
)) {
42614 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42617 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42619 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42623 arg9
= wxString_in_helper(obj8
);
42624 if (arg9
== NULL
) SWIG_fail
;
42629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42630 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42631 wxPyEndAllowThreads(__tstate
);
42632 if (PyErr_Occurred()) SWIG_fail
;
42635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42659 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42660 PyObject
*resultobj
= 0;
42661 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42667 PyObject
* obj0
= 0 ;
42668 PyObject
* obj1
= 0 ;
42669 char * kwnames
[] = {
42670 (char *) "self",(char *) "newmargin", NULL
42673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42675 if (!SWIG_IsOK(res1
)) {
42676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42678 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42679 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42680 if (!SWIG_IsOK(ecode2
)) {
42681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42683 arg2
= static_cast< int >(val2
);
42685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42686 (arg1
)->SetInternalMargin(arg2
);
42687 wxPyEndAllowThreads(__tstate
);
42688 if (PyErr_Occurred()) SWIG_fail
;
42690 resultobj
= SWIG_Py_Void();
42697 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42698 PyObject
*resultobj
= 0;
42699 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42703 PyObject
*swig_obj
[1] ;
42705 if (!args
) SWIG_fail
;
42706 swig_obj
[0] = args
;
42707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42708 if (!SWIG_IsOK(res1
)) {
42709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42711 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42714 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42715 wxPyEndAllowThreads(__tstate
);
42716 if (PyErr_Occurred()) SWIG_fail
;
42718 resultobj
= SWIG_From_int(static_cast< int >(result
));
42725 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42726 PyObject
*resultobj
= 0;
42727 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42733 PyObject
* obj0
= 0 ;
42734 PyObject
* obj1
= 0 ;
42735 char * kwnames
[] = {
42736 (char *) "self",(char *) "prop", NULL
42739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42741 if (!SWIG_IsOK(res1
)) {
42742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42744 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42745 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42746 if (!SWIG_IsOK(ecode2
)) {
42747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42749 arg2
= static_cast< int >(val2
);
42751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42752 (arg1
)->SetTextCtrlProportion(arg2
);
42753 wxPyEndAllowThreads(__tstate
);
42754 if (PyErr_Occurred()) SWIG_fail
;
42756 resultobj
= SWIG_Py_Void();
42763 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42764 PyObject
*resultobj
= 0;
42765 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42769 PyObject
*swig_obj
[1] ;
42771 if (!args
) SWIG_fail
;
42772 swig_obj
[0] = args
;
42773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42774 if (!SWIG_IsOK(res1
)) {
42775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42777 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42780 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42781 wxPyEndAllowThreads(__tstate
);
42782 if (PyErr_Occurred()) SWIG_fail
;
42784 resultobj
= SWIG_From_int(static_cast< int >(result
));
42791 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42792 PyObject
*resultobj
= 0;
42793 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42799 PyObject
* obj0
= 0 ;
42800 PyObject
* obj1
= 0 ;
42801 char * kwnames
[] = {
42802 (char *) "self",(char *) "prop", NULL
42805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42807 if (!SWIG_IsOK(res1
)) {
42808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42810 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42811 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42812 if (!SWIG_IsOK(ecode2
)) {
42813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42815 arg2
= static_cast< int >(val2
);
42817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42818 (arg1
)->SetPickerCtrlProportion(arg2
);
42819 wxPyEndAllowThreads(__tstate
);
42820 if (PyErr_Occurred()) SWIG_fail
;
42822 resultobj
= SWIG_Py_Void();
42829 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42830 PyObject
*resultobj
= 0;
42831 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42835 PyObject
*swig_obj
[1] ;
42837 if (!args
) SWIG_fail
;
42838 swig_obj
[0] = args
;
42839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42840 if (!SWIG_IsOK(res1
)) {
42841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42843 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42846 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
42847 wxPyEndAllowThreads(__tstate
);
42848 if (PyErr_Occurred()) SWIG_fail
;
42850 resultobj
= SWIG_From_int(static_cast< int >(result
));
42857 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42858 PyObject
*resultobj
= 0;
42859 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42863 PyObject
*swig_obj
[1] ;
42865 if (!args
) SWIG_fail
;
42866 swig_obj
[0] = args
;
42867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42868 if (!SWIG_IsOK(res1
)) {
42869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42871 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42874 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
42875 wxPyEndAllowThreads(__tstate
);
42876 if (PyErr_Occurred()) SWIG_fail
;
42879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42887 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42888 PyObject
*resultobj
= 0;
42889 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42890 bool arg2
= (bool) true ;
42895 PyObject
* obj0
= 0 ;
42896 PyObject
* obj1
= 0 ;
42897 char * kwnames
[] = {
42898 (char *) "self",(char *) "grow", NULL
42901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42903 if (!SWIG_IsOK(res1
)) {
42904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42906 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42908 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42909 if (!SWIG_IsOK(ecode2
)) {
42910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42912 arg2
= static_cast< bool >(val2
);
42915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42916 (arg1
)->SetTextCtrlGrowable(arg2
);
42917 wxPyEndAllowThreads(__tstate
);
42918 if (PyErr_Occurred()) SWIG_fail
;
42920 resultobj
= SWIG_Py_Void();
42927 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42928 PyObject
*resultobj
= 0;
42929 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42933 PyObject
*swig_obj
[1] ;
42935 if (!args
) SWIG_fail
;
42936 swig_obj
[0] = args
;
42937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42938 if (!SWIG_IsOK(res1
)) {
42939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42941 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42944 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
42945 wxPyEndAllowThreads(__tstate
);
42946 if (PyErr_Occurred()) SWIG_fail
;
42949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42957 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42958 PyObject
*resultobj
= 0;
42959 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42960 bool arg2
= (bool) true ;
42965 PyObject
* obj0
= 0 ;
42966 PyObject
* obj1
= 0 ;
42967 char * kwnames
[] = {
42968 (char *) "self",(char *) "grow", NULL
42971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42973 if (!SWIG_IsOK(res1
)) {
42974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42976 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42978 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42979 if (!SWIG_IsOK(ecode2
)) {
42980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42982 arg2
= static_cast< bool >(val2
);
42985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42986 (arg1
)->SetPickerCtrlGrowable(arg2
);
42987 wxPyEndAllowThreads(__tstate
);
42988 if (PyErr_Occurred()) SWIG_fail
;
42990 resultobj
= SWIG_Py_Void();
42997 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42998 PyObject
*resultobj
= 0;
42999 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43003 PyObject
*swig_obj
[1] ;
43005 if (!args
) SWIG_fail
;
43006 swig_obj
[0] = args
;
43007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43008 if (!SWIG_IsOK(res1
)) {
43009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43011 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43014 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
43015 wxPyEndAllowThreads(__tstate
);
43016 if (PyErr_Occurred()) SWIG_fail
;
43019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43027 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43028 PyObject
*resultobj
= 0;
43029 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43030 wxTextCtrl
*result
= 0 ;
43033 PyObject
*swig_obj
[1] ;
43035 if (!args
) SWIG_fail
;
43036 swig_obj
[0] = args
;
43037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43038 if (!SWIG_IsOK(res1
)) {
43039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43041 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43044 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
43045 wxPyEndAllowThreads(__tstate
);
43046 if (PyErr_Occurred()) SWIG_fail
;
43049 resultobj
= wxPyMake_wxObject(result
, 0);
43057 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43058 PyObject
*resultobj
= 0;
43059 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43060 wxControl
*result
= 0 ;
43063 PyObject
*swig_obj
[1] ;
43065 if (!args
) SWIG_fail
;
43066 swig_obj
[0] = args
;
43067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43068 if (!SWIG_IsOK(res1
)) {
43069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43071 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43074 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
43075 wxPyEndAllowThreads(__tstate
);
43076 if (PyErr_Occurred()) SWIG_fail
;
43079 resultobj
= wxPyMake_wxObject(result
, 0);
43087 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43089 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43090 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
43091 return SWIG_Py_Void();
43094 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
43095 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
43100 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
43101 PyObject
*pyobj
= 0;
43105 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43107 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43114 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43115 PyObject
*resultobj
= 0;
43116 wxWindow
*arg1
= (wxWindow
*) 0 ;
43117 int arg2
= (int) -1 ;
43118 wxColour
const &arg3_defvalue
= *wxBLACK
;
43119 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
43120 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43121 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43122 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43123 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43124 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
43125 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43126 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43127 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
43128 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43129 wxColourPickerCtrl
*result
= 0 ;
43141 bool temp8
= false ;
43142 PyObject
* obj0
= 0 ;
43143 PyObject
* obj1
= 0 ;
43144 PyObject
* obj2
= 0 ;
43145 PyObject
* obj3
= 0 ;
43146 PyObject
* obj4
= 0 ;
43147 PyObject
* obj5
= 0 ;
43148 PyObject
* obj6
= 0 ;
43149 PyObject
* obj7
= 0 ;
43150 char * kwnames
[] = {
43151 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43156 if (!SWIG_IsOK(res1
)) {
43157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43159 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43162 if (!SWIG_IsOK(ecode2
)) {
43163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43165 arg2
= static_cast< int >(val2
);
43170 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43176 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43182 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43186 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43187 if (!SWIG_IsOK(ecode6
)) {
43188 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43190 arg6
= static_cast< long >(val6
);
43193 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43194 if (!SWIG_IsOK(res7
)) {
43195 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43198 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43200 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43204 arg8
= wxString_in_helper(obj7
);
43205 if (arg8
== NULL
) SWIG_fail
;
43210 if (!wxPyCheckForApp()) SWIG_fail
;
43211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43212 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43213 wxPyEndAllowThreads(__tstate
);
43214 if (PyErr_Occurred()) SWIG_fail
;
43216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43231 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43232 PyObject
*resultobj
= 0;
43233 wxColourPickerCtrl
*result
= 0 ;
43235 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
43237 if (!wxPyCheckForApp()) SWIG_fail
;
43238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43239 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
43240 wxPyEndAllowThreads(__tstate
);
43241 if (PyErr_Occurred()) SWIG_fail
;
43243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43250 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43251 PyObject
*resultobj
= 0;
43252 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43253 wxWindow
*arg2
= (wxWindow
*) 0 ;
43255 wxColour
const &arg4_defvalue
= *wxBLACK
;
43256 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
43257 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43258 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43259 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43260 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43261 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
43262 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43263 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43264 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
43265 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43280 bool temp9
= false ;
43281 PyObject
* obj0
= 0 ;
43282 PyObject
* obj1
= 0 ;
43283 PyObject
* obj2
= 0 ;
43284 PyObject
* obj3
= 0 ;
43285 PyObject
* obj4
= 0 ;
43286 PyObject
* obj5
= 0 ;
43287 PyObject
* obj6
= 0 ;
43288 PyObject
* obj7
= 0 ;
43289 PyObject
* obj8
= 0 ;
43290 char * kwnames
[] = {
43291 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43296 if (!SWIG_IsOK(res1
)) {
43297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43299 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43300 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43301 if (!SWIG_IsOK(res2
)) {
43302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43304 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43305 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43306 if (!SWIG_IsOK(ecode3
)) {
43307 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43309 arg3
= static_cast< int >(val3
);
43313 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43319 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43325 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43329 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43330 if (!SWIG_IsOK(ecode7
)) {
43331 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43333 arg7
= static_cast< long >(val7
);
43336 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43337 if (!SWIG_IsOK(res8
)) {
43338 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43341 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43343 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43347 arg9
= wxString_in_helper(obj8
);
43348 if (arg9
== NULL
) SWIG_fail
;
43353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43354 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43355 wxPyEndAllowThreads(__tstate
);
43356 if (PyErr_Occurred()) SWIG_fail
;
43359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43375 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43376 PyObject
*resultobj
= 0;
43377 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43381 PyObject
*swig_obj
[1] ;
43383 if (!args
) SWIG_fail
;
43384 swig_obj
[0] = args
;
43385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43386 if (!SWIG_IsOK(res1
)) {
43387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43389 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43392 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43393 wxPyEndAllowThreads(__tstate
);
43394 if (PyErr_Occurred()) SWIG_fail
;
43396 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43403 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43404 PyObject
*resultobj
= 0;
43405 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43406 wxColour
*arg2
= 0 ;
43410 PyObject
* obj0
= 0 ;
43411 PyObject
* obj1
= 0 ;
43412 char * kwnames
[] = {
43413 (char *) "self",(char *) "col", NULL
43416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43418 if (!SWIG_IsOK(res1
)) {
43419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43421 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43424 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43428 (arg1
)->SetColour((wxColour
const &)*arg2
);
43429 wxPyEndAllowThreads(__tstate
);
43430 if (PyErr_Occurred()) SWIG_fail
;
43432 resultobj
= SWIG_Py_Void();
43439 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43441 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43442 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43443 return SWIG_Py_Void();
43446 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43447 return SWIG_Python_InitShadowInstance(args
);
43450 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43451 PyObject
*resultobj
= 0;
43452 wxObject
*arg1
= (wxObject
*) 0 ;
43454 wxColour
*arg3
= 0 ;
43455 wxColourPickerEvent
*result
= 0 ;
43461 PyObject
* obj0
= 0 ;
43462 PyObject
* obj1
= 0 ;
43463 PyObject
* obj2
= 0 ;
43464 char * kwnames
[] = {
43465 (char *) "generator",(char *) "id",(char *) "col", NULL
43468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43470 if (!SWIG_IsOK(res1
)) {
43471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43473 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43475 if (!SWIG_IsOK(ecode2
)) {
43476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43478 arg2
= static_cast< int >(val2
);
43481 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43485 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43486 wxPyEndAllowThreads(__tstate
);
43487 if (PyErr_Occurred()) SWIG_fail
;
43489 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43496 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43497 PyObject
*resultobj
= 0;
43498 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43502 PyObject
*swig_obj
[1] ;
43504 if (!args
) SWIG_fail
;
43505 swig_obj
[0] = args
;
43506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43507 if (!SWIG_IsOK(res1
)) {
43508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43510 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43513 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43514 wxPyEndAllowThreads(__tstate
);
43515 if (PyErr_Occurred()) SWIG_fail
;
43517 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43524 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43525 PyObject
*resultobj
= 0;
43526 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43527 wxColour
*arg2
= 0 ;
43531 PyObject
* obj0
= 0 ;
43532 PyObject
* obj1
= 0 ;
43533 char * kwnames
[] = {
43534 (char *) "self",(char *) "c", NULL
43537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43539 if (!SWIG_IsOK(res1
)) {
43540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43542 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43545 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43549 (arg1
)->SetColour((wxColour
const &)*arg2
);
43550 wxPyEndAllowThreads(__tstate
);
43551 if (PyErr_Occurred()) SWIG_fail
;
43553 resultobj
= SWIG_Py_Void();
43560 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43562 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43563 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43564 return SWIG_Py_Void();
43567 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43568 return SWIG_Python_InitShadowInstance(args
);
43571 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43572 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43577 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43578 PyObject
*pyobj
= 0;
43582 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43584 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43591 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43592 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43597 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43598 PyObject
*pyobj
= 0;
43602 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43604 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43611 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43612 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43617 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43618 PyObject
*pyobj
= 0;
43622 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43624 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43631 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43632 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43637 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43638 PyObject
*pyobj
= 0;
43642 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43644 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43651 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43652 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43657 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43658 PyObject
*pyobj
= 0;
43662 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43664 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43671 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43672 PyObject
*resultobj
= 0;
43673 wxWindow
*arg1
= (wxWindow
*) 0 ;
43674 int arg2
= (int) -1 ;
43675 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43676 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43677 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43678 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43679 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43680 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43681 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43682 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43683 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43684 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43685 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43686 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43687 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43688 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43689 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43690 wxFilePickerCtrl
*result
= 0 ;
43695 bool temp3
= false ;
43696 bool temp4
= false ;
43697 bool temp5
= false ;
43704 bool temp10
= false ;
43705 PyObject
* obj0
= 0 ;
43706 PyObject
* obj1
= 0 ;
43707 PyObject
* obj2
= 0 ;
43708 PyObject
* obj3
= 0 ;
43709 PyObject
* obj4
= 0 ;
43710 PyObject
* obj5
= 0 ;
43711 PyObject
* obj6
= 0 ;
43712 PyObject
* obj7
= 0 ;
43713 PyObject
* obj8
= 0 ;
43714 PyObject
* obj9
= 0 ;
43715 char * kwnames
[] = {
43716 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43721 if (!SWIG_IsOK(res1
)) {
43722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43724 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43726 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43727 if (!SWIG_IsOK(ecode2
)) {
43728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43730 arg2
= static_cast< int >(val2
);
43734 arg3
= wxString_in_helper(obj2
);
43735 if (arg3
== NULL
) SWIG_fail
;
43741 arg4
= wxString_in_helper(obj3
);
43742 if (arg4
== NULL
) SWIG_fail
;
43748 arg5
= wxString_in_helper(obj4
);
43749 if (arg5
== NULL
) SWIG_fail
;
43756 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43762 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43766 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43767 if (!SWIG_IsOK(ecode8
)) {
43768 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43770 arg8
= static_cast< long >(val8
);
43773 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43774 if (!SWIG_IsOK(res9
)) {
43775 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43778 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43780 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43784 arg10
= wxString_in_helper(obj9
);
43785 if (arg10
== NULL
) SWIG_fail
;
43790 if (!wxPyCheckForApp()) SWIG_fail
;
43791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43792 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
);
43793 wxPyEndAllowThreads(__tstate
);
43794 if (PyErr_Occurred()) SWIG_fail
;
43796 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
43835 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43836 PyObject
*resultobj
= 0;
43837 wxFilePickerCtrl
*result
= 0 ;
43839 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
43841 if (!wxPyCheckForApp()) SWIG_fail
;
43842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43843 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
43844 wxPyEndAllowThreads(__tstate
);
43845 if (PyErr_Occurred()) SWIG_fail
;
43847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
43854 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43855 PyObject
*resultobj
= 0;
43856 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43857 wxWindow
*arg2
= (wxWindow
*) 0 ;
43858 int arg3
= (int) -1 ;
43859 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43860 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43861 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
43862 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43863 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43864 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
43865 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
43866 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
43867 wxSize
const &arg8_defvalue
= wxDefaultSize
;
43868 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
43869 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
43870 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
43871 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
43872 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
43873 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
43881 bool temp4
= false ;
43882 bool temp5
= false ;
43883 bool temp6
= false ;
43890 bool temp11
= false ;
43891 PyObject
* obj0
= 0 ;
43892 PyObject
* obj1
= 0 ;
43893 PyObject
* obj2
= 0 ;
43894 PyObject
* obj3
= 0 ;
43895 PyObject
* obj4
= 0 ;
43896 PyObject
* obj5
= 0 ;
43897 PyObject
* obj6
= 0 ;
43898 PyObject
* obj7
= 0 ;
43899 PyObject
* obj8
= 0 ;
43900 PyObject
* obj9
= 0 ;
43901 PyObject
* obj10
= 0 ;
43902 char * kwnames
[] = {
43903 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
43907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43908 if (!SWIG_IsOK(res1
)) {
43909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43911 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43912 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43913 if (!SWIG_IsOK(res2
)) {
43914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43916 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43918 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43919 if (!SWIG_IsOK(ecode3
)) {
43920 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43922 arg3
= static_cast< int >(val3
);
43926 arg4
= wxString_in_helper(obj3
);
43927 if (arg4
== NULL
) SWIG_fail
;
43933 arg5
= wxString_in_helper(obj4
);
43934 if (arg5
== NULL
) SWIG_fail
;
43940 arg6
= wxString_in_helper(obj5
);
43941 if (arg6
== NULL
) SWIG_fail
;
43948 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
43954 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
43958 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
43959 if (!SWIG_IsOK(ecode9
)) {
43960 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
43962 arg9
= static_cast< long >(val9
);
43965 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
43966 if (!SWIG_IsOK(res10
)) {
43967 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43970 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43972 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
43976 arg11
= wxString_in_helper(obj10
);
43977 if (arg11
== NULL
) SWIG_fail
;
43982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43983 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
);
43984 wxPyEndAllowThreads(__tstate
);
43985 if (PyErr_Occurred()) SWIG_fail
;
43988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44028 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44029 PyObject
*resultobj
= 0;
44030 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44034 PyObject
*swig_obj
[1] ;
44036 if (!args
) SWIG_fail
;
44037 swig_obj
[0] = args
;
44038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44039 if (!SWIG_IsOK(res1
)) {
44040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44042 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44045 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
44046 wxPyEndAllowThreads(__tstate
);
44047 if (PyErr_Occurred()) SWIG_fail
;
44051 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44053 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44062 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44063 PyObject
*resultobj
= 0;
44064 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44065 wxString
*arg2
= 0 ;
44068 bool temp2
= false ;
44069 PyObject
* obj0
= 0 ;
44070 PyObject
* obj1
= 0 ;
44071 char * kwnames
[] = {
44072 (char *) "self",(char *) "str", NULL
44075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44077 if (!SWIG_IsOK(res1
)) {
44078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44080 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44082 arg2
= wxString_in_helper(obj1
);
44083 if (arg2
== NULL
) SWIG_fail
;
44087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44088 (arg1
)->SetPath((wxString
const &)*arg2
);
44089 wxPyEndAllowThreads(__tstate
);
44090 if (PyErr_Occurred()) SWIG_fail
;
44092 resultobj
= SWIG_Py_Void();
44107 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44108 PyObject
*resultobj
= 0;
44109 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44110 wxString
*arg2
= 0 ;
44114 bool temp2
= false ;
44115 PyObject
* obj0
= 0 ;
44116 PyObject
* obj1
= 0 ;
44117 char * kwnames
[] = {
44118 (char *) "self",(char *) "path", NULL
44121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44123 if (!SWIG_IsOK(res1
)) {
44124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44126 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44128 arg2
= wxString_in_helper(obj1
);
44129 if (arg2
== NULL
) SWIG_fail
;
44133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44134 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44135 wxPyEndAllowThreads(__tstate
);
44136 if (PyErr_Occurred()) SWIG_fail
;
44139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44155 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44156 PyObject
*resultobj
= 0;
44157 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44161 PyObject
*swig_obj
[1] ;
44163 if (!args
) SWIG_fail
;
44164 swig_obj
[0] = args
;
44165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44166 if (!SWIG_IsOK(res1
)) {
44167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44169 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44172 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
44173 wxPyEndAllowThreads(__tstate
);
44174 if (PyErr_Occurred()) SWIG_fail
;
44178 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44180 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44189 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44191 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44192 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
44193 return SWIG_Py_Void();
44196 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44197 return SWIG_Python_InitShadowInstance(args
);
44200 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44201 PyObject
*resultobj
= 0;
44202 wxWindow
*arg1
= (wxWindow
*) 0 ;
44203 int arg2
= (int) -1 ;
44204 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44205 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44206 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
44207 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44208 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44209 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44210 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44211 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44212 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
44213 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44214 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44215 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
44216 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44217 wxDirPickerCtrl
*result
= 0 ;
44222 bool temp3
= false ;
44223 bool temp4
= false ;
44230 bool temp9
= false ;
44231 PyObject
* obj0
= 0 ;
44232 PyObject
* obj1
= 0 ;
44233 PyObject
* obj2
= 0 ;
44234 PyObject
* obj3
= 0 ;
44235 PyObject
* obj4
= 0 ;
44236 PyObject
* obj5
= 0 ;
44237 PyObject
* obj6
= 0 ;
44238 PyObject
* obj7
= 0 ;
44239 PyObject
* obj8
= 0 ;
44240 char * kwnames
[] = {
44241 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44246 if (!SWIG_IsOK(res1
)) {
44247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44249 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44251 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44252 if (!SWIG_IsOK(ecode2
)) {
44253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44255 arg2
= static_cast< int >(val2
);
44259 arg3
= wxString_in_helper(obj2
);
44260 if (arg3
== NULL
) SWIG_fail
;
44266 arg4
= wxString_in_helper(obj3
);
44267 if (arg4
== NULL
) SWIG_fail
;
44274 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44280 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44284 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44285 if (!SWIG_IsOK(ecode7
)) {
44286 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44288 arg7
= static_cast< long >(val7
);
44291 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44292 if (!SWIG_IsOK(res8
)) {
44293 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44296 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44298 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44302 arg9
= wxString_in_helper(obj8
);
44303 if (arg9
== NULL
) SWIG_fail
;
44308 if (!wxPyCheckForApp()) SWIG_fail
;
44309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44310 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
);
44311 wxPyEndAllowThreads(__tstate
);
44312 if (PyErr_Occurred()) SWIG_fail
;
44314 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44345 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44346 PyObject
*resultobj
= 0;
44347 wxDirPickerCtrl
*result
= 0 ;
44349 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44351 if (!wxPyCheckForApp()) SWIG_fail
;
44352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44353 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44354 wxPyEndAllowThreads(__tstate
);
44355 if (PyErr_Occurred()) SWIG_fail
;
44357 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44364 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44365 PyObject
*resultobj
= 0;
44366 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44367 wxWindow
*arg2
= (wxWindow
*) 0 ;
44368 int arg3
= (int) -1 ;
44369 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44370 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44371 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44372 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44373 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44374 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44375 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44376 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44377 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44378 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44379 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44380 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44381 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44389 bool temp4
= false ;
44390 bool temp5
= false ;
44397 bool temp10
= false ;
44398 PyObject
* obj0
= 0 ;
44399 PyObject
* obj1
= 0 ;
44400 PyObject
* obj2
= 0 ;
44401 PyObject
* obj3
= 0 ;
44402 PyObject
* obj4
= 0 ;
44403 PyObject
* obj5
= 0 ;
44404 PyObject
* obj6
= 0 ;
44405 PyObject
* obj7
= 0 ;
44406 PyObject
* obj8
= 0 ;
44407 PyObject
* obj9
= 0 ;
44408 char * kwnames
[] = {
44409 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44414 if (!SWIG_IsOK(res1
)) {
44415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44417 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44418 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44419 if (!SWIG_IsOK(res2
)) {
44420 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44422 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44424 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44425 if (!SWIG_IsOK(ecode3
)) {
44426 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44428 arg3
= static_cast< int >(val3
);
44432 arg4
= wxString_in_helper(obj3
);
44433 if (arg4
== NULL
) SWIG_fail
;
44439 arg5
= wxString_in_helper(obj4
);
44440 if (arg5
== NULL
) SWIG_fail
;
44447 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44453 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44457 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44458 if (!SWIG_IsOK(ecode8
)) {
44459 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44461 arg8
= static_cast< long >(val8
);
44464 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44465 if (!SWIG_IsOK(res9
)) {
44466 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44469 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44471 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44475 arg10
= wxString_in_helper(obj9
);
44476 if (arg10
== NULL
) SWIG_fail
;
44481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44482 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
);
44483 wxPyEndAllowThreads(__tstate
);
44484 if (PyErr_Occurred()) SWIG_fail
;
44487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44519 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44520 PyObject
*resultobj
= 0;
44521 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44525 PyObject
*swig_obj
[1] ;
44527 if (!args
) SWIG_fail
;
44528 swig_obj
[0] = args
;
44529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44530 if (!SWIG_IsOK(res1
)) {
44531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44533 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44536 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44537 wxPyEndAllowThreads(__tstate
);
44538 if (PyErr_Occurred()) SWIG_fail
;
44542 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44544 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44553 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44554 PyObject
*resultobj
= 0;
44555 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44556 wxString
*arg2
= 0 ;
44559 bool temp2
= false ;
44560 PyObject
* obj0
= 0 ;
44561 PyObject
* obj1
= 0 ;
44562 char * kwnames
[] = {
44563 (char *) "self",(char *) "str", NULL
44566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44568 if (!SWIG_IsOK(res1
)) {
44569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44571 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44573 arg2
= wxString_in_helper(obj1
);
44574 if (arg2
== NULL
) SWIG_fail
;
44578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44579 (arg1
)->SetPath((wxString
const &)*arg2
);
44580 wxPyEndAllowThreads(__tstate
);
44581 if (PyErr_Occurred()) SWIG_fail
;
44583 resultobj
= SWIG_Py_Void();
44598 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44599 PyObject
*resultobj
= 0;
44600 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44601 wxString
*arg2
= 0 ;
44605 bool temp2
= false ;
44606 PyObject
* obj0
= 0 ;
44607 PyObject
* obj1
= 0 ;
44608 char * kwnames
[] = {
44609 (char *) "self",(char *) "path", NULL
44612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44614 if (!SWIG_IsOK(res1
)) {
44615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44617 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44619 arg2
= wxString_in_helper(obj1
);
44620 if (arg2
== NULL
) SWIG_fail
;
44624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44625 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44626 wxPyEndAllowThreads(__tstate
);
44627 if (PyErr_Occurred()) SWIG_fail
;
44630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44646 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44647 PyObject
*resultobj
= 0;
44648 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44652 PyObject
*swig_obj
[1] ;
44654 if (!args
) SWIG_fail
;
44655 swig_obj
[0] = args
;
44656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44657 if (!SWIG_IsOK(res1
)) {
44658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44660 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44663 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44664 wxPyEndAllowThreads(__tstate
);
44665 if (PyErr_Occurred()) SWIG_fail
;
44669 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44671 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44680 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44682 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44683 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44684 return SWIG_Py_Void();
44687 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44688 return SWIG_Python_InitShadowInstance(args
);
44691 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44692 PyObject
*resultobj
= 0;
44694 wxObject
*arg2
= (wxObject
*) 0 ;
44696 wxString
*arg4
= 0 ;
44697 wxFileDirPickerEvent
*result
= 0 ;
44704 bool temp4
= false ;
44705 PyObject
* obj0
= 0 ;
44706 PyObject
* obj1
= 0 ;
44707 PyObject
* obj2
= 0 ;
44708 PyObject
* obj3
= 0 ;
44709 char * kwnames
[] = {
44710 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44714 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44715 if (!SWIG_IsOK(ecode1
)) {
44716 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44718 arg1
= static_cast< wxEventType
>(val1
);
44719 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44720 if (!SWIG_IsOK(res2
)) {
44721 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44723 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44724 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44725 if (!SWIG_IsOK(ecode3
)) {
44726 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44728 arg3
= static_cast< int >(val3
);
44730 arg4
= wxString_in_helper(obj3
);
44731 if (arg4
== NULL
) SWIG_fail
;
44735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44736 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44737 wxPyEndAllowThreads(__tstate
);
44738 if (PyErr_Occurred()) SWIG_fail
;
44740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
44755 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44756 PyObject
*resultobj
= 0;
44757 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44761 PyObject
*swig_obj
[1] ;
44763 if (!args
) SWIG_fail
;
44764 swig_obj
[0] = args
;
44765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44766 if (!SWIG_IsOK(res1
)) {
44767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44769 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44772 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
44773 wxPyEndAllowThreads(__tstate
);
44774 if (PyErr_Occurred()) SWIG_fail
;
44778 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44780 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44789 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44790 PyObject
*resultobj
= 0;
44791 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44792 wxString
*arg2
= 0 ;
44795 bool temp2
= false ;
44796 PyObject
* obj0
= 0 ;
44797 PyObject
* obj1
= 0 ;
44798 char * kwnames
[] = {
44799 (char *) "self",(char *) "p", NULL
44802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44804 if (!SWIG_IsOK(res1
)) {
44805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44807 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44809 arg2
= wxString_in_helper(obj1
);
44810 if (arg2
== NULL
) SWIG_fail
;
44814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44815 (arg1
)->SetPath((wxString
const &)*arg2
);
44816 wxPyEndAllowThreads(__tstate
);
44817 if (PyErr_Occurred()) SWIG_fail
;
44819 resultobj
= SWIG_Py_Void();
44834 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44836 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44837 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
44838 return SWIG_Py_Void();
44841 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44842 return SWIG_Python_InitShadowInstance(args
);
44845 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
44846 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
44851 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
44852 PyObject
*pyobj
= 0;
44856 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44858 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44865 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44866 PyObject
*resultobj
= 0;
44867 wxWindow
*arg1
= (wxWindow
*) 0 ;
44868 int arg2
= (int) -1 ;
44869 wxFont
const &arg3_defvalue
= wxNullFont
;
44870 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
44871 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
44872 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
44873 wxSize
const &arg5_defvalue
= wxDefaultSize
;
44874 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
44875 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
44876 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
44877 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
44878 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
44879 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
44880 wxFontPickerCtrl
*result
= 0 ;
44893 bool temp8
= false ;
44894 PyObject
* obj0
= 0 ;
44895 PyObject
* obj1
= 0 ;
44896 PyObject
* obj2
= 0 ;
44897 PyObject
* obj3
= 0 ;
44898 PyObject
* obj4
= 0 ;
44899 PyObject
* obj5
= 0 ;
44900 PyObject
* obj6
= 0 ;
44901 PyObject
* obj7
= 0 ;
44902 char * kwnames
[] = {
44903 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
44907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44908 if (!SWIG_IsOK(res1
)) {
44909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44911 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44913 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44914 if (!SWIG_IsOK(ecode2
)) {
44915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44917 arg2
= static_cast< int >(val2
);
44920 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44921 if (!SWIG_IsOK(res3
)) {
44922 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44925 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44927 arg3
= reinterpret_cast< wxFont
* >(argp3
);
44932 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
44938 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
44942 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
44943 if (!SWIG_IsOK(ecode6
)) {
44944 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
44946 arg6
= static_cast< long >(val6
);
44949 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
44950 if (!SWIG_IsOK(res7
)) {
44951 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44954 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44956 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
44960 arg8
= wxString_in_helper(obj7
);
44961 if (arg8
== NULL
) SWIG_fail
;
44966 if (!wxPyCheckForApp()) SWIG_fail
;
44967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44968 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
44969 wxPyEndAllowThreads(__tstate
);
44970 if (PyErr_Occurred()) SWIG_fail
;
44972 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44987 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44988 PyObject
*resultobj
= 0;
44989 wxFontPickerCtrl
*result
= 0 ;
44991 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
44993 if (!wxPyCheckForApp()) SWIG_fail
;
44994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44995 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
44996 wxPyEndAllowThreads(__tstate
);
44997 if (PyErr_Occurred()) SWIG_fail
;
44999 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
45006 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45007 PyObject
*resultobj
= 0;
45008 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45009 wxWindow
*arg2
= (wxWindow
*) 0 ;
45010 int arg3
= (int) -1 ;
45011 wxFont
const &arg4_defvalue
= wxNullFont
;
45012 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
45013 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45014 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45015 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45016 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45017 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
45018 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45019 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45020 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
45021 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45037 bool temp9
= false ;
45038 PyObject
* obj0
= 0 ;
45039 PyObject
* obj1
= 0 ;
45040 PyObject
* obj2
= 0 ;
45041 PyObject
* obj3
= 0 ;
45042 PyObject
* obj4
= 0 ;
45043 PyObject
* obj5
= 0 ;
45044 PyObject
* obj6
= 0 ;
45045 PyObject
* obj7
= 0 ;
45046 PyObject
* obj8
= 0 ;
45047 char * kwnames
[] = {
45048 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45053 if (!SWIG_IsOK(res1
)) {
45054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45056 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45057 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45058 if (!SWIG_IsOK(res2
)) {
45059 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45061 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45063 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45064 if (!SWIG_IsOK(ecode3
)) {
45065 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45067 arg3
= static_cast< int >(val3
);
45070 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
45071 if (!SWIG_IsOK(res4
)) {
45072 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45075 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45077 arg4
= reinterpret_cast< wxFont
* >(argp4
);
45082 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45088 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45092 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45093 if (!SWIG_IsOK(ecode7
)) {
45094 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45096 arg7
= static_cast< long >(val7
);
45099 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45100 if (!SWIG_IsOK(res8
)) {
45101 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45104 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45106 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45110 arg9
= wxString_in_helper(obj8
);
45111 if (arg9
== NULL
) SWIG_fail
;
45116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45117 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45118 wxPyEndAllowThreads(__tstate
);
45119 if (PyErr_Occurred()) SWIG_fail
;
45122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45138 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45139 PyObject
*resultobj
= 0;
45140 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45144 PyObject
*swig_obj
[1] ;
45146 if (!args
) SWIG_fail
;
45147 swig_obj
[0] = args
;
45148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45149 if (!SWIG_IsOK(res1
)) {
45150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45152 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45155 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
45156 wxPyEndAllowThreads(__tstate
);
45157 if (PyErr_Occurred()) SWIG_fail
;
45159 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45166 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45167 PyObject
*resultobj
= 0;
45168 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45174 PyObject
* obj0
= 0 ;
45175 PyObject
* obj1
= 0 ;
45176 char * kwnames
[] = {
45177 (char *) "self",(char *) "f", NULL
45180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45182 if (!SWIG_IsOK(res1
)) {
45183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45185 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45186 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45187 if (!SWIG_IsOK(res2
)) {
45188 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45191 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45193 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45196 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
45197 wxPyEndAllowThreads(__tstate
);
45198 if (PyErr_Occurred()) SWIG_fail
;
45200 resultobj
= SWIG_Py_Void();
45207 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45208 PyObject
*resultobj
= 0;
45209 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45210 unsigned int arg2
;
45213 unsigned int val2
;
45215 PyObject
* obj0
= 0 ;
45216 PyObject
* obj1
= 0 ;
45217 char * kwnames
[] = {
45218 (char *) "self",(char *) "max", NULL
45221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45223 if (!SWIG_IsOK(res1
)) {
45224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45226 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45227 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45228 if (!SWIG_IsOK(ecode2
)) {
45229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45231 arg2
= static_cast< unsigned int >(val2
);
45233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45234 (arg1
)->SetMaxPointSize(arg2
);
45235 wxPyEndAllowThreads(__tstate
);
45236 if (PyErr_Occurred()) SWIG_fail
;
45238 resultobj
= SWIG_Py_Void();
45245 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45246 PyObject
*resultobj
= 0;
45247 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45248 unsigned int result
;
45251 PyObject
*swig_obj
[1] ;
45253 if (!args
) SWIG_fail
;
45254 swig_obj
[0] = args
;
45255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45256 if (!SWIG_IsOK(res1
)) {
45257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45259 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45262 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
45263 wxPyEndAllowThreads(__tstate
);
45264 if (PyErr_Occurred()) SWIG_fail
;
45266 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45273 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45275 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45276 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45277 return SWIG_Py_Void();
45280 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45281 return SWIG_Python_InitShadowInstance(args
);
45284 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45285 PyObject
*resultobj
= 0;
45286 wxObject
*arg1
= (wxObject
*) 0 ;
45289 wxFontPickerEvent
*result
= 0 ;
45296 PyObject
* obj0
= 0 ;
45297 PyObject
* obj1
= 0 ;
45298 PyObject
* obj2
= 0 ;
45299 char * kwnames
[] = {
45300 (char *) "generator",(char *) "id",(char *) "f", NULL
45303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45305 if (!SWIG_IsOK(res1
)) {
45306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45308 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45309 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45310 if (!SWIG_IsOK(ecode2
)) {
45311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45313 arg2
= static_cast< int >(val2
);
45314 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45315 if (!SWIG_IsOK(res3
)) {
45316 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45319 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45321 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45324 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45325 wxPyEndAllowThreads(__tstate
);
45326 if (PyErr_Occurred()) SWIG_fail
;
45328 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45335 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45336 PyObject
*resultobj
= 0;
45337 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45341 PyObject
*swig_obj
[1] ;
45343 if (!args
) SWIG_fail
;
45344 swig_obj
[0] = args
;
45345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45346 if (!SWIG_IsOK(res1
)) {
45347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45349 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45352 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45353 wxPyEndAllowThreads(__tstate
);
45354 if (PyErr_Occurred()) SWIG_fail
;
45356 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45363 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45364 PyObject
*resultobj
= 0;
45365 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45371 PyObject
* obj0
= 0 ;
45372 PyObject
* obj1
= 0 ;
45373 char * kwnames
[] = {
45374 (char *) "self",(char *) "c", NULL
45377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45379 if (!SWIG_IsOK(res1
)) {
45380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45382 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45383 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45384 if (!SWIG_IsOK(res2
)) {
45385 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45388 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45390 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45393 (arg1
)->SetFont((wxFont
const &)*arg2
);
45394 wxPyEndAllowThreads(__tstate
);
45395 if (PyErr_Occurred()) SWIG_fail
;
45397 resultobj
= SWIG_Py_Void();
45404 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45406 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45407 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45408 return SWIG_Py_Void();
45411 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45412 return SWIG_Python_InitShadowInstance(args
);
45415 SWIGINTERN
int CollapsiblePaneNameStr_set(PyObject
*) {
45416 SWIG_Error(SWIG_AttributeError
,"Variable CollapsiblePaneNameStr is read-only.");
45421 SWIGINTERN PyObject
*CollapsiblePaneNameStr_get(void) {
45422 PyObject
*pyobj
= 0;
45426 pyobj
= PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45428 pyobj
= PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45435 SWIGINTERN PyObject
*_wrap_new_CollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45436 PyObject
*resultobj
= 0;
45437 wxWindow
*arg1
= (wxWindow
*) 0 ;
45438 int arg2
= (int) -1 ;
45439 wxString
const &arg3_defvalue
= wxPyEmptyString
;
45440 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
45441 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45442 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45443 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45444 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45445 long arg6
= (long) wxCP_DEFAULT_STYLE
;
45446 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45447 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45448 wxString
const &arg8_defvalue
= wxPyCollapsiblePaneNameStr
;
45449 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45450 wxCollapsiblePane
*result
= 0 ;
45455 bool temp3
= false ;
45462 bool temp8
= false ;
45463 PyObject
* obj0
= 0 ;
45464 PyObject
* obj1
= 0 ;
45465 PyObject
* obj2
= 0 ;
45466 PyObject
* obj3
= 0 ;
45467 PyObject
* obj4
= 0 ;
45468 PyObject
* obj5
= 0 ;
45469 PyObject
* obj6
= 0 ;
45470 PyObject
* obj7
= 0 ;
45471 char * kwnames
[] = {
45472 (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45477 if (!SWIG_IsOK(res1
)) {
45478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'");
45480 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45482 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45483 if (!SWIG_IsOK(ecode2
)) {
45484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'");
45486 arg2
= static_cast< int >(val2
);
45490 arg3
= wxString_in_helper(obj2
);
45491 if (arg3
== NULL
) SWIG_fail
;
45498 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45504 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45508 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45509 if (!SWIG_IsOK(ecode6
)) {
45510 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'");
45512 arg6
= static_cast< long >(val6
);
45515 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45516 if (!SWIG_IsOK(res7
)) {
45517 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45520 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45522 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45526 arg8
= wxString_in_helper(obj7
);
45527 if (arg8
== NULL
) SWIG_fail
;
45532 if (!wxPyCheckForApp()) SWIG_fail
;
45533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45534 result
= (wxCollapsiblePane
*)new wxCollapsiblePane(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45535 wxPyEndAllowThreads(__tstate
);
45536 if (PyErr_Occurred()) SWIG_fail
;
45538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_NEW
| 0 );
45561 SWIGINTERN PyObject
*_wrap_new_PreCollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45562 PyObject
*resultobj
= 0;
45563 wxCollapsiblePane
*result
= 0 ;
45565 if (!SWIG_Python_UnpackTuple(args
,"new_PreCollapsiblePane",0,0,0)) SWIG_fail
;
45567 if (!wxPyCheckForApp()) SWIG_fail
;
45568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45569 result
= (wxCollapsiblePane
*)new wxCollapsiblePane();
45570 wxPyEndAllowThreads(__tstate
);
45571 if (PyErr_Occurred()) SWIG_fail
;
45573 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_OWN
| 0 );
45580 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45581 PyObject
*resultobj
= 0;
45582 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45583 wxWindow
*arg2
= (wxWindow
*) 0 ;
45584 int arg3
= (int) -1 ;
45585 wxString
const &arg4_defvalue
= wxPyEmptyString
;
45586 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
45587 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45588 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45589 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45590 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45591 long arg7
= (long) wxCP_DEFAULT_STYLE
;
45592 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45593 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45594 wxString
const &arg9_defvalue
= wxPyCollapsiblePaneNameStr
;
45595 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45603 bool temp4
= false ;
45610 bool temp9
= false ;
45611 PyObject
* obj0
= 0 ;
45612 PyObject
* obj1
= 0 ;
45613 PyObject
* obj2
= 0 ;
45614 PyObject
* obj3
= 0 ;
45615 PyObject
* obj4
= 0 ;
45616 PyObject
* obj5
= 0 ;
45617 PyObject
* obj6
= 0 ;
45618 PyObject
* obj7
= 0 ;
45619 PyObject
* obj8
= 0 ;
45620 char * kwnames
[] = {
45621 (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45626 if (!SWIG_IsOK(res1
)) {
45627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45629 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45630 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45631 if (!SWIG_IsOK(res2
)) {
45632 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45634 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45636 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45637 if (!SWIG_IsOK(ecode3
)) {
45638 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'");
45640 arg3
= static_cast< int >(val3
);
45644 arg4
= wxString_in_helper(obj3
);
45645 if (arg4
== NULL
) SWIG_fail
;
45652 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45658 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45662 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45663 if (!SWIG_IsOK(ecode7
)) {
45664 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'");
45666 arg7
= static_cast< long >(val7
);
45669 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45670 if (!SWIG_IsOK(res8
)) {
45671 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45674 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45676 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45680 arg9
= wxString_in_helper(obj8
);
45681 if (arg9
== NULL
) SWIG_fail
;
45686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45687 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45688 wxPyEndAllowThreads(__tstate
);
45689 if (PyErr_Occurred()) SWIG_fail
;
45692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45716 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45717 PyObject
*resultobj
= 0;
45718 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45719 bool arg2
= (bool) true ;
45724 PyObject
* obj0
= 0 ;
45725 PyObject
* obj1
= 0 ;
45726 char * kwnames
[] = {
45727 (char *) "self",(char *) "collapse", NULL
45730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CollapsiblePane_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45732 if (!SWIG_IsOK(res1
)) {
45733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45735 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45737 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
45738 if (!SWIG_IsOK(ecode2
)) {
45739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'");
45741 arg2
= static_cast< bool >(val2
);
45744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45745 (arg1
)->Collapse(arg2
);
45746 wxPyEndAllowThreads(__tstate
);
45747 if (PyErr_Occurred()) SWIG_fail
;
45749 resultobj
= SWIG_Py_Void();
45756 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45757 PyObject
*resultobj
= 0;
45758 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45761 PyObject
*swig_obj
[1] ;
45763 if (!args
) SWIG_fail
;
45764 swig_obj
[0] = args
;
45765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45766 if (!SWIG_IsOK(res1
)) {
45767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45769 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45773 wxPyEndAllowThreads(__tstate
);
45774 if (PyErr_Occurred()) SWIG_fail
;
45776 resultobj
= SWIG_Py_Void();
45783 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45784 PyObject
*resultobj
= 0;
45785 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45789 PyObject
*swig_obj
[1] ;
45791 if (!args
) SWIG_fail
;
45792 swig_obj
[0] = args
;
45793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45794 if (!SWIG_IsOK(res1
)) {
45795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45797 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45800 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsCollapsed();
45801 wxPyEndAllowThreads(__tstate
);
45802 if (PyErr_Occurred()) SWIG_fail
;
45805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45813 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45814 PyObject
*resultobj
= 0;
45815 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45819 PyObject
*swig_obj
[1] ;
45821 if (!args
) SWIG_fail
;
45822 swig_obj
[0] = args
;
45823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45824 if (!SWIG_IsOK(res1
)) {
45825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45827 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45830 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsExpanded();
45831 wxPyEndAllowThreads(__tstate
);
45832 if (PyErr_Occurred()) SWIG_fail
;
45835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45843 SWIGINTERN PyObject
*_wrap_CollapsiblePane_GetPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45844 PyObject
*resultobj
= 0;
45845 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45846 wxWindow
*result
= 0 ;
45849 PyObject
*swig_obj
[1] ;
45851 if (!args
) SWIG_fail
;
45852 swig_obj
[0] = args
;
45853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45854 if (!SWIG_IsOK(res1
)) {
45855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45857 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45860 result
= (wxWindow
*)((wxCollapsiblePane
const *)arg1
)->GetPane();
45861 wxPyEndAllowThreads(__tstate
);
45862 if (PyErr_Occurred()) SWIG_fail
;
45865 resultobj
= wxPyMake_wxObject(result
, 0);
45873 SWIGINTERN PyObject
*CollapsiblePane_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45875 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45876 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane
, SWIG_NewClientData(obj
));
45877 return SWIG_Py_Void();
45880 SWIGINTERN PyObject
*CollapsiblePane_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45881 return SWIG_Python_InitShadowInstance(args
);
45884 SWIGINTERN PyObject
*_wrap_new_CollapsiblePaneEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45885 PyObject
*resultobj
= 0;
45886 wxObject
*arg1
= (wxObject
*) 0 ;
45889 wxCollapsiblePaneEvent
*result
= 0 ;
45896 PyObject
* obj0
= 0 ;
45897 PyObject
* obj1
= 0 ;
45898 PyObject
* obj2
= 0 ;
45899 char * kwnames
[] = {
45900 (char *) "generator",(char *) "id",(char *) "collapsed", NULL
45903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_CollapsiblePaneEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45905 if (!SWIG_IsOK(res1
)) {
45906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45908 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45910 if (!SWIG_IsOK(ecode2
)) {
45911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'");
45913 arg2
= static_cast< int >(val2
);
45914 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
45915 if (!SWIG_IsOK(ecode3
)) {
45916 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'");
45918 arg3
= static_cast< bool >(val3
);
45920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45921 result
= (wxCollapsiblePaneEvent
*)new wxCollapsiblePaneEvent(arg1
,arg2
,arg3
);
45922 wxPyEndAllowThreads(__tstate
);
45923 if (PyErr_Occurred()) SWIG_fail
;
45925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_POINTER_NEW
| 0 );
45932 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45933 PyObject
*resultobj
= 0;
45934 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
45938 PyObject
*swig_obj
[1] ;
45940 if (!args
) SWIG_fail
;
45941 swig_obj
[0] = args
;
45942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
45943 if (!SWIG_IsOK(res1
)) {
45944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'");
45946 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
45948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45949 result
= (bool)((wxCollapsiblePaneEvent
const *)arg1
)->GetCollapsed();
45950 wxPyEndAllowThreads(__tstate
);
45951 if (PyErr_Occurred()) SWIG_fail
;
45954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45962 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45963 PyObject
*resultobj
= 0;
45964 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
45970 PyObject
* obj0
= 0 ;
45971 PyObject
* obj1
= 0 ;
45972 char * kwnames
[] = {
45973 (char *) "self",(char *) "c", NULL
45976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
45978 if (!SWIG_IsOK(res1
)) {
45979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'");
45981 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
45982 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
45983 if (!SWIG_IsOK(ecode2
)) {
45984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'");
45986 arg2
= static_cast< bool >(val2
);
45988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45989 (arg1
)->SetCollapsed(arg2
);
45990 wxPyEndAllowThreads(__tstate
);
45991 if (PyErr_Occurred()) SWIG_fail
;
45993 resultobj
= SWIG_Py_Void();
46000 SWIGINTERN PyObject
*CollapsiblePaneEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46002 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46003 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_NewClientData(obj
));
46004 return SWIG_Py_Void();
46007 SWIGINTERN PyObject
*CollapsiblePaneEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46008 return SWIG_Python_InitShadowInstance(args
);
46011 static PyMethodDef SwigMethods
[] = {
46012 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
46014 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
46016 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
46017 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
46019 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
46020 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
46022 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
46024 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
46025 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
46026 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
46027 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
46028 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46029 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46031 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
46035 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
46036 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
46037 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
46038 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
46040 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
46042 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
46043 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
46045 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
46047 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
46048 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
46050 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
46051 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
46053 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
46055 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
46057 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
46058 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46059 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
46060 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
46062 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46063 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
46064 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
46065 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
46066 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46067 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
46068 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
46069 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
46072 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
46073 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46075 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46076 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
46077 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46078 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
46079 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
46080 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
46081 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
46082 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
46083 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
46084 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
46085 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
46086 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
46087 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
46089 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
46090 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
46092 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46093 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
46095 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46096 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
46097 { (char *)"Gauge_Pulse", (PyCFunction
)_wrap_Gauge_Pulse
, METH_O
, NULL
},
46098 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
46099 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
46101 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
46103 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
46105 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
46106 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
46108 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46109 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46110 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
46111 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
46112 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
46114 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46115 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
46116 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
46117 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46118 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
46119 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
46120 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46121 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
46122 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46124 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46125 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
46126 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
46127 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46128 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
46129 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
46131 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46132 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46133 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46134 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
46135 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
46136 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46137 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
46138 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46139 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46140 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46141 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46142 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46143 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46144 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46145 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46147 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46148 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
46149 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46150 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46151 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46152 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46153 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
46154 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46155 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46157 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46158 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46159 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
46160 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
46161 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46162 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
46163 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46164 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46165 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46166 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
46167 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
46168 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
46169 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46170 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
46171 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
46172 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46173 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46174 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46175 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46176 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46177 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46178 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46179 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46180 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46181 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
46182 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
46183 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
46184 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
46185 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
46186 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
46187 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
46188 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46189 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
46190 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
46191 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
46192 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
46193 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
46194 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
46195 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
46196 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
46197 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
46198 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
46199 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46200 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
46201 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
46202 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46203 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
46204 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46205 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
46206 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46207 { (char *)"TextCtrl_IsEmpty", (PyCFunction
)_wrap_TextCtrl_IsEmpty
, METH_O
, NULL
},
46208 { (char *)"TextCtrl_ChangeValue", (PyCFunction
) _wrap_TextCtrl_ChangeValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46209 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46210 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46211 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46212 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
46213 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
46214 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
46215 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
46216 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
46217 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
46218 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
46219 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
46220 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46221 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46222 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46223 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46224 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
46225 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
46226 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46227 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46228 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46229 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46230 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46231 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46232 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46233 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46234 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
46235 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46236 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46237 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46238 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46239 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46240 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
46241 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
46242 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
46243 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
46244 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
46245 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
46246 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
46247 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
46248 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
46249 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
46250 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46251 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
46252 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
46253 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
46254 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46255 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
46256 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46257 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction
)_wrap_TextCtrl_SendTextUpdatedEvent
, METH_O
, NULL
},
46258 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46259 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46260 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46261 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
46262 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
46263 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46264 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
46265 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
46266 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
46267 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
46268 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
46269 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46270 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
46271 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46272 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
46273 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
46274 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
46275 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
46276 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
46277 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46278 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46279 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
46280 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
46281 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46282 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
46283 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46284 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
46285 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
46286 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
46287 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46288 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46289 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46290 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46291 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
46292 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46293 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
46294 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
46295 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46296 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
46297 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46298 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
46299 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46300 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46301 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46302 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
46303 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
46304 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46305 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46306 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
46307 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
46308 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46309 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
46310 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46311 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
46312 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
46313 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46314 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
46315 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46316 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46317 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
46318 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
46319 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46320 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
46321 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46322 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46323 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46324 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46325 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46326 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46327 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46328 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
46329 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
46330 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46331 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46332 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46333 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46334 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46335 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46336 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
46337 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
46338 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46339 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
46340 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46341 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
46342 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46343 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46344 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
46345 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
46346 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46347 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
46348 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46349 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
46350 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46351 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46352 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
46353 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
46354 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46355 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46356 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46357 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46358 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
46359 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
46360 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46361 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
46362 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46363 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
46364 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
46365 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46366 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
46367 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
46368 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
46369 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46370 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46371 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
46372 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
46373 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46374 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
46375 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46376 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46377 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
46378 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46379 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
46380 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
46381 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
46382 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46383 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
46384 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
46385 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46386 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46387 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46388 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46389 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
46390 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46391 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46392 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46393 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46394 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
46395 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46396 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
46397 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46398 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
46399 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46400 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
46401 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
46402 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46403 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46404 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
46405 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46406 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46407 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46408 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction
) _wrap_BookCtrlBase_ChangeSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46409 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46410 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46411 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46412 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
46413 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46414 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
46415 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46416 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
46417 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46418 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
46419 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
46420 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46421 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
46422 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46423 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
46424 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46425 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46426 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
46427 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46428 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction
) _wrap_Notebook_SendPageChangingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46429 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction
) _wrap_Notebook_SendPageChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46430 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
46431 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
46432 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46433 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
46434 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
46435 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46436 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
46437 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46438 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
46439 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
46440 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
46441 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46442 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
46443 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
46444 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46445 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
46446 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46447 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
46448 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
46449 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
46450 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46451 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
46452 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
46453 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46454 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
46455 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46456 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46457 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46458 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46459 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46460 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46461 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46462 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
46463 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
46464 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
46465 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46466 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
46467 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
46468 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46469 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
46470 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46471 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
46472 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
46473 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
46474 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
46475 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46476 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
46477 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
46478 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
46479 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
46480 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
46481 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
46482 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
46483 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
46484 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
46485 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
46486 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
46487 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
46488 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
46489 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
46490 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
46491 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
46492 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
46493 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
46494 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
46495 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46496 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
46497 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46498 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46499 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46500 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46501 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46502 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46503 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
46504 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46505 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
46506 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46507 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
46508 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46509 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46510 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46511 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46512 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46513 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46514 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46515 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
46516 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46517 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46518 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46519 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46520 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
46521 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
46522 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46523 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46524 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46525 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46526 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46527 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46528 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46529 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46530 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46531 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46532 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46533 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46534 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46535 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46536 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46537 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46538 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
46539 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
46540 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
46541 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
46542 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46543 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46544 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
46545 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
46546 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46547 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
46548 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
46549 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46550 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46551 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
46552 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
46553 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
46554 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46555 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
46556 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46557 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46558 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
46559 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
46560 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46561 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
46562 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46563 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46564 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46565 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
46566 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
46567 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
46568 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
46569 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
46570 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
46571 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46572 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
46573 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
46574 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
46575 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
46576 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
46577 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
46578 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
46579 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46580 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46581 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46582 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46583 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46584 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46585 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46586 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46587 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46588 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46589 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46590 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46591 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46592 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
46593 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
46594 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
46595 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
46596 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
46597 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
46598 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
46599 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
46600 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
46601 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
46602 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
46603 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
46604 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
46605 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
46606 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
46607 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
46608 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
46609 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
46610 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
46611 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
46612 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
46613 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
46614 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
46615 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
46616 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
46617 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
46618 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
46619 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
46620 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
46621 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
46622 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
46623 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
46624 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
46625 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
46626 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
46627 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
46628 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46629 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
46630 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
46631 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
46632 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
46633 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
46634 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
46635 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
46636 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
46637 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
46638 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
46639 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
46640 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
46641 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
46642 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
46643 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
46644 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
46645 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
46646 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
46647 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
46648 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
46649 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
46650 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
46651 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
46652 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
46653 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46654 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
46655 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
46656 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46657 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
46658 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46659 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46660 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46661 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46662 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46663 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46664 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
46665 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
46666 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
46667 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46668 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46669 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46670 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46671 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46672 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46673 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46674 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46675 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46676 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46677 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46678 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46679 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46680 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46681 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
46682 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
46683 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
46684 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46685 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
46686 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
46687 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46688 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
46689 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46690 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46691 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46692 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46693 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46694 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
46695 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
46696 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46697 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46698 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46699 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46700 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
46701 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46702 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
46703 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
46704 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46705 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46706 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46707 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46708 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46709 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46710 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46711 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46712 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46713 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46714 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46715 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46716 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46717 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46718 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46719 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46720 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46721 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46722 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46723 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46724 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46725 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46726 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
46727 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46728 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
46729 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
46730 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46731 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
46732 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46733 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46734 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46735 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
46736 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46737 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
46738 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46739 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46740 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46741 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
46742 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
46743 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
46744 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
46745 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
46746 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46747 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46748 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
46749 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
46750 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
46751 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
46752 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46753 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
46754 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
46755 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46756 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
46757 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46758 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
46759 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
46760 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
46761 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
46762 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
46763 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46764 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
46765 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46766 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
46767 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46768 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
46769 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
46770 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46771 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
46772 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46773 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
46774 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46775 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46776 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
46777 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
46778 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
46779 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46780 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
46781 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46782 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46783 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
46784 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
46785 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46786 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
46787 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46788 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
46789 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
46790 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46791 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46792 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46793 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46794 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46795 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46796 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46797 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46798 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46799 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46800 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46801 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46802 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46803 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46804 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46805 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46806 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46807 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46808 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46809 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46810 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46811 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46812 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46813 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46814 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46815 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46816 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46817 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
46818 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
46819 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
46820 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46821 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46822 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46823 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46824 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46825 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46826 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
46827 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46828 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46829 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46830 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46831 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46832 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46833 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46834 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46835 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46836 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
46837 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46838 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46839 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
46840 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46841 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46842 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46843 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
46844 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46845 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
46846 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46847 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46848 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46849 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46850 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46851 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
46852 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46853 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46854 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46855 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46856 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46857 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
46858 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
46859 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
46860 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46861 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
46862 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46863 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46864 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46865 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
46866 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46867 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
46868 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
46869 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46870 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46871 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
46872 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
46873 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46874 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
46875 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46876 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
46877 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
46878 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
46879 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46880 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
46881 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
46882 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
46883 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
46884 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46885 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
46886 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46887 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46888 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
46889 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
46890 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46891 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
46892 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46893 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46894 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46895 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46896 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46897 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46898 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
46899 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
46900 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
46901 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
46902 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
46903 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
46904 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
46905 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
46906 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
46907 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46908 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
46909 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46910 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
46911 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46912 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
46913 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46914 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
46915 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46916 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
46917 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
46918 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46919 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
46920 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46921 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
46922 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
46923 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
46924 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46925 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
46926 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
46927 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
46928 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46929 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
46930 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46931 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46932 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46933 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46934 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46935 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46936 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
46937 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
46938 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
46939 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
46940 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
46941 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46942 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46943 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46944 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46945 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46946 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
46947 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46948 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46949 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46950 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
46951 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46952 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
46953 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
46954 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46955 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46956 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46957 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46958 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
46959 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
46960 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46961 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
46962 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46963 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46964 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
46965 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46966 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
46967 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
46968 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46969 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46970 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46971 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
46972 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46973 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
46974 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46975 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
46976 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46977 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
46978 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46979 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
46980 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46981 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46982 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
46983 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
46984 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
46985 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46986 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
46987 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46988 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
46989 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
46990 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46991 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46992 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
46993 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46994 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
46995 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46996 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
46997 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
46998 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46999 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
47000 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47001 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
47002 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
47003 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
47004 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
47005 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47006 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
47007 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47008 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
47009 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47010 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47011 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47012 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47013 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
47014 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47015 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47016 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47017 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47018 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
47019 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47020 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
47021 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47022 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47023 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
47024 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47025 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47026 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47027 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
47028 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47029 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
47030 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47031 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47032 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
47033 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47034 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47035 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47036 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
47037 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47038 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47039 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47040 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47041 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
47042 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47043 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
47044 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47045 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47046 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
47047 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47048 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47049 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47050 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
47051 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47052 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47053 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47054 { (char *)"new_CollapsiblePane", (PyCFunction
) _wrap_new_CollapsiblePane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47055 { (char *)"new_PreCollapsiblePane", (PyCFunction
)_wrap_new_PreCollapsiblePane
, METH_NOARGS
, NULL
},
47056 { (char *)"CollapsiblePane_Create", (PyCFunction
) _wrap_CollapsiblePane_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47057 { (char *)"CollapsiblePane_Collapse", (PyCFunction
) _wrap_CollapsiblePane_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47058 { (char *)"CollapsiblePane_Expand", (PyCFunction
)_wrap_CollapsiblePane_Expand
, METH_O
, NULL
},
47059 { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction
)_wrap_CollapsiblePane_IsCollapsed
, METH_O
, NULL
},
47060 { (char *)"CollapsiblePane_IsExpanded", (PyCFunction
)_wrap_CollapsiblePane_IsExpanded
, METH_O
, NULL
},
47061 { (char *)"CollapsiblePane_GetPane", (PyCFunction
)_wrap_CollapsiblePane_GetPane
, METH_O
, NULL
},
47062 { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister
, METH_VARARGS
, NULL
},
47063 { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit
, METH_VARARGS
, NULL
},
47064 { (char *)"new_CollapsiblePaneEvent", (PyCFunction
) _wrap_new_CollapsiblePaneEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47065 { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction
)_wrap_CollapsiblePaneEvent_GetCollapsed
, METH_O
, NULL
},
47066 { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction
) _wrap_CollapsiblePaneEvent_SetCollapsed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47067 { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister
, METH_VARARGS
, NULL
},
47068 { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit
, METH_VARARGS
, NULL
},
47069 { NULL
, NULL
, 0, NULL
}
47073 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
47075 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
47076 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47078 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
47079 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
47081 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
47082 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
47084 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
47085 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
47087 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
47088 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
47090 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
47091 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47093 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
47094 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47096 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
47097 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
47099 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
47100 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47102 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
47103 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47105 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
47106 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47108 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
47109 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
47111 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
47112 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
47114 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
47115 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47117 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
47118 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47120 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
47121 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
47123 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
47124 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
47126 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
47127 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
47129 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
47130 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47132 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
47133 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47135 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
47136 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47138 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
47139 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47141 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
47142 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47144 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
47145 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
47147 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
47148 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
47150 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
47151 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47153 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
47154 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47156 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
47157 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
47159 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
47160 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
47162 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
47163 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
47165 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
47166 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
47168 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
47169 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
47171 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
47172 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
47174 static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x
) {
47175 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
47177 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
47178 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
47180 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
47181 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
47183 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
47184 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47186 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
47187 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47189 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
47190 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
47192 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
47193 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
47195 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
47196 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
47198 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
47199 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47201 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
47202 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47204 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
47205 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
47207 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
47208 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
47210 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
47211 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47213 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
47214 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
47216 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
47217 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
47219 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
47220 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47222 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
47223 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47225 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
47226 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47228 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
47229 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
47231 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
47232 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
47234 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
47235 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47237 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
47238 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47240 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
47241 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47243 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
47244 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47246 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
47247 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47249 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
47250 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
47252 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
47253 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47255 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
47256 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
47258 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
47259 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
47261 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
47262 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
47264 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
47265 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47267 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
47268 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
47270 static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x
) {
47271 return (void *)((wxControl
*) ((wxCollapsiblePane
*) x
));
47273 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
47274 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
47276 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
47277 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
47279 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
47280 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
47282 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
47283 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
47285 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
47286 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
47288 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
47289 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
47291 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
47292 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
47294 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
47295 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47297 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
47298 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
47300 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
47301 return (void *)((wxControl
*) ((wxComboBox
*) x
));
47303 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
47304 return (void *)((wxControl
*) ((wxPyControl
*) x
));
47306 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
47307 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
47309 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
47310 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
47312 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
47313 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
47315 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
47316 return (void *)((wxControl
*) ((wxGauge
*) x
));
47318 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
47319 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
47321 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
47322 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47324 static void *_p_wxListbookTo_p_wxControl(void *x
) {
47325 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
47327 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
47328 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
47330 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
47331 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
47333 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
47334 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
47336 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
47337 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
47339 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
47340 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
47342 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
47343 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
47345 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
47346 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47348 static void *_p_wxListViewTo_p_wxControl(void *x
) {
47349 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
47351 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
47352 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
47354 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
47355 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
47357 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
47358 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
47360 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
47361 return (void *)((wxControl
*) ((wxStaticText
*) x
));
47363 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
47364 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
47366 static void *_p_wxSliderTo_p_wxControl(void *x
) {
47367 return (void *)((wxControl
*) ((wxSlider
*) x
));
47369 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
47370 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
47372 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
47373 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
47375 static void *_p_wxButtonTo_p_wxControl(void *x
) {
47376 return (void *)((wxControl
*) ((wxButton
*) x
));
47378 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
47379 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
47381 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
47382 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47384 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
47385 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
47387 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
47388 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47390 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
47391 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47393 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
47394 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47396 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
47397 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47399 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
47400 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
47402 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
47403 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
47405 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
47406 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47408 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
47409 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47411 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
47412 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47414 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
47415 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
47417 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
47418 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47420 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
47421 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47423 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
47424 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47426 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
47427 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47429 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
47430 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47432 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
47433 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47435 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
47436 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47438 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
47439 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
47441 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
47442 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
47444 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
47445 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
47447 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
47448 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
47450 static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x
) {
47451 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
47453 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
47454 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
47456 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
47457 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
47459 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
47460 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
47462 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
47463 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
47465 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
47466 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47468 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
47469 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
47471 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
47472 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
47474 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
47475 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
47477 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
47478 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
47480 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
47481 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47483 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
47484 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
47486 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
47487 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
47489 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
47490 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
47492 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
47493 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
47495 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
47496 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
47498 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
47499 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47501 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
47502 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
47504 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
47505 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
47507 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
47508 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
47510 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
47511 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
47513 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
47514 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47516 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
47517 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
47519 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
47520 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
47522 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
47523 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47525 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
47526 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47528 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
47529 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
47531 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
47532 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
47534 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
47535 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
47537 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
47538 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
47540 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
47541 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47543 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
47544 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47546 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
47547 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47549 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
47550 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47552 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
47553 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
47555 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
47556 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47558 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
47559 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
47561 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
47562 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
47564 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
47565 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
47567 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
47568 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
47570 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
47571 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47573 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
47574 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
47576 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
47577 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
47579 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
47580 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47582 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
47583 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47585 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
47586 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
47588 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
47589 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47591 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
47592 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47594 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
47595 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47597 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
47598 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47600 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
47601 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
47603 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
47604 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
47606 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
47607 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
47609 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
47610 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47612 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
47613 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47615 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
47616 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
47618 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
47619 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
47621 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
47622 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47624 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
47625 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
47627 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
47628 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
47630 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
47631 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
47633 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
47634 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
47636 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
47637 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47639 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
47640 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
47642 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
47643 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
47645 static void *_p_wxSizerTo_p_wxObject(void *x
) {
47646 return (void *)((wxObject
*) ((wxSizer
*) x
));
47648 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
47649 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
47651 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
47652 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
47654 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
47655 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
47657 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
47658 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47660 static void *_p_wxEventTo_p_wxObject(void *x
) {
47661 return (void *)((wxObject
*) ((wxEvent
*) x
));
47663 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
47664 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
47666 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
47667 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
47669 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
47670 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
47672 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
47673 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
47675 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
47676 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
47678 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
47679 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
47681 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
47682 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47684 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
47685 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47687 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
47688 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
47690 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
47691 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
47693 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
47694 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
47696 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
47697 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
47699 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
47700 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
47702 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
47703 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47705 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
47706 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
47708 static void *_p_wxControlTo_p_wxObject(void *x
) {
47709 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
47711 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
47712 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
47714 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
47715 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
47717 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
47718 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
47720 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
47721 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
47723 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
47724 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
47726 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
47727 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
47729 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
47730 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47732 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
47733 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47735 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
47736 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47738 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
47739 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47741 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
47742 return (void *)((wxObject
*) ((wxFSFile
*) x
));
47744 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
47745 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
47747 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
47748 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47750 static void *_p_wxListViewTo_p_wxObject(void *x
) {
47751 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47753 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
47754 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47756 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
47757 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
47759 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
47760 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47762 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
47763 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
47765 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
47766 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47768 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
47769 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47771 static void *_p_wxListbookTo_p_wxObject(void *x
) {
47772 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47774 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
47775 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
47777 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
47778 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
47780 static void *_p_wxSliderTo_p_wxObject(void *x
) {
47781 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
47783 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
47784 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
47786 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
47787 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
47789 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
47790 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
47792 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
47793 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47795 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
47796 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47798 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
47799 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
47801 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
47802 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
47804 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
47805 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
47807 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
47808 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
47810 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
47811 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
47813 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
47814 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
47816 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
47817 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
47819 static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x
) {
47820 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
47822 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
47823 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
47825 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
47826 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
47828 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
47829 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
47831 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
47832 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
47834 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
47835 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
47837 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
47838 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
47840 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
47841 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
47843 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
47844 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
47846 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
47847 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
47849 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
47850 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
47852 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
47853 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
47855 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
47856 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
47858 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
47859 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
47861 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
47862 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
47864 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
47865 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
47867 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
47868 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
47870 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
47871 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
47873 static void *_p_wxListEventTo_p_wxObject(void *x
) {
47874 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
47876 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
47877 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47879 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
47880 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47882 static void *_p_wxButtonTo_p_wxObject(void *x
) {
47883 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
47885 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
47886 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47888 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
47889 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
47891 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
47892 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47894 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
47895 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
47897 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
47898 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47900 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
47901 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
47903 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
47904 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
47906 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
47907 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
47909 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
47910 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
47912 static void *_p_wxListItemTo_p_wxObject(void *x
) {
47913 return (void *)((wxObject
*) ((wxListItem
*) x
));
47915 static void *_p_wxImageTo_p_wxObject(void *x
) {
47916 return (void *)((wxObject
*) ((wxImage
*) x
));
47918 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
47919 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
47921 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
47922 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47924 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
47925 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
47927 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
47928 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
47930 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
47931 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47933 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
47934 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47936 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
47937 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47939 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
47940 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47942 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
47943 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47945 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
47946 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47948 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
47949 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47951 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
47952 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
47954 static void *_p_wxWindowTo_p_wxObject(void *x
) {
47955 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
47957 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47958 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47960 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47961 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47963 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47964 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47966 static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x
) {
47967 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
47969 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47970 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47972 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47973 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47975 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47976 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47978 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47979 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47981 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47982 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47984 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47985 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47987 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
47988 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47990 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
47991 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47993 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47994 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47996 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47997 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47999 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
48000 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
48002 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
48003 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
48005 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
48006 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
48008 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
48009 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48011 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
48012 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
48014 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
48015 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48017 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
48018 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48020 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
48021 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48023 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
48024 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48026 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
48027 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
48029 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
48030 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
48032 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
48033 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
48035 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
48036 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48038 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
48039 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
48041 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
48042 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
48044 static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x
) {
48045 return (void *)((wxWindow
*) (wxControl
*) ((wxCollapsiblePane
*) x
));
48047 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
48048 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
48050 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
48051 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
48053 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
48054 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48056 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
48057 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
48059 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
48060 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
48062 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
48063 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
48065 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
48066 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48068 static void *_p_wxControlTo_p_wxWindow(void *x
) {
48069 return (void *)((wxWindow
*) ((wxControl
*) x
));
48071 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
48072 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
48074 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
48075 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
48077 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
48078 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
48080 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
48081 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48083 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
48084 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
48086 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
48087 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
48089 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
48090 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
48092 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
48093 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
48095 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
48096 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
48098 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
48099 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
48101 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
48102 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48104 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
48105 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48107 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
48108 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
48110 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
48111 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
48113 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
48114 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
48116 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
48117 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
48119 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
48120 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48122 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
48123 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48125 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
48126 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48128 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
48129 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48131 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
48132 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48134 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
48135 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
48137 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
48138 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
48140 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
48141 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
48143 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
48144 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
48146 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
48147 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
48149 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
48150 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48152 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
48153 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
48155 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
48156 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
48158 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
48159 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48161 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
48162 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48164 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
48165 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
48167 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
48168 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48170 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
48171 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48173 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
48174 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48176 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
48177 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48179 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
48180 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
48182 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48183 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48185 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48186 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48188 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48189 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48191 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48192 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48194 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48195 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48197 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
48198 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48200 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
48201 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48203 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
48204 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48206 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
48207 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48209 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
48210 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48212 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
48213 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48215 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
48216 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48218 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
48219 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
48221 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
48222 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48224 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
48225 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
48227 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
48228 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48230 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
48231 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48233 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
48234 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48236 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
48237 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48239 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
48240 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48242 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
48243 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48245 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
48246 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
48248 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
48249 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48251 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
48252 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
48254 static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x
) {
48255 return (void *)((wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48257 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
48258 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48260 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
48261 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48263 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
48264 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48266 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
48267 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
48269 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
48270 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48272 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
48273 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48275 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
48276 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48278 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
48279 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
48281 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
48282 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
48284 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
48285 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
48287 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
48288 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
48290 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
48291 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
48292 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};
48293 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
48294 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
48295 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
48296 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
48297 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
48298 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
48299 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
48300 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
48301 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
48302 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
48303 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
48304 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
48305 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
48306 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
48307 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
48308 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
48309 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
48310 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
48311 static swig_type_info _swigt__p_wxCollapsiblePane
= {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0};
48312 static swig_type_info _swigt__p_wxCollapsiblePaneEvent
= {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0};
48313 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
48314 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
48315 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
48316 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
48317 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
48318 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
48319 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
48320 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
48321 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
48322 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
48323 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
48324 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
48325 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
48326 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
48327 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
48328 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
48329 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
48330 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
48331 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
48332 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
48333 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
48334 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
48335 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
48336 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
48337 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
48338 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
48339 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
48340 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
48341 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
48342 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
48343 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
48344 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
48345 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
48346 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
48347 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
48348 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
48349 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
48350 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
48351 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
48352 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
48353 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
48354 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
48355 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
48356 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
48357 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
48358 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
48359 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
48360 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
48361 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
48362 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
48363 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
48364 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
48365 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
48366 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
48367 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
48368 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
48369 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
48370 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
48371 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
48372 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
48373 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
48374 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
48375 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
48376 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
48377 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
48378 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
48379 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
48380 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
48381 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
48382 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
48383 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
48384 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
48385 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
48386 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
48387 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
48388 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
48389 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
48390 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
48391 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
48392 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
48393 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
48394 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
48395 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
48396 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
48397 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
48398 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
48399 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
48400 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
48401 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
48402 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
48403 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
48404 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
48405 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
48406 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
48407 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
48408 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
48409 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
48410 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
48411 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
48412 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
48413 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
48414 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
48415 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
48416 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
48417 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
48418 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
48419 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
48420 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
48421 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
48422 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
48423 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
48424 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
48425 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
48426 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
48427 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
48428 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
48429 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
48430 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
48431 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
48432 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
48433 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
48434 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
48435 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
48436 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
48437 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
48438 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
48439 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
48440 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
48441 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
48442 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
48443 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
48444 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
48445 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
48446 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
48447 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
48448 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
48449 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
48450 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
48451 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
48452 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
48453 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
48454 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
48455 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
48456 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
48457 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
48458 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
48459 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
48460 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
48461 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
48462 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
48463 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
48464 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
48465 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
48466 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
48467 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
48469 static swig_type_info
*swig_type_initial
[] = {
48472 &_swigt__p_form_ops_t
,
48475 &_swigt__p_unsigned_char
,
48476 &_swigt__p_unsigned_int
,
48477 &_swigt__p_unsigned_long
,
48479 &_swigt__p_wxANIHandler
,
48480 &_swigt__p_wxAcceleratorTable
,
48481 &_swigt__p_wxActivateEvent
,
48482 &_swigt__p_wxArrayInt
,
48483 &_swigt__p_wxArrayString
,
48484 &_swigt__p_wxBMPHandler
,
48485 &_swigt__p_wxBitmap
,
48486 &_swigt__p_wxBitmapButton
,
48487 &_swigt__p_wxBookCtrlBase
,
48488 &_swigt__p_wxBookCtrlBaseEvent
,
48489 &_swigt__p_wxBoxSizer
,
48490 &_swigt__p_wxButton
,
48491 &_swigt__p_wxCURHandler
,
48492 &_swigt__p_wxCheckBox
,
48493 &_swigt__p_wxCheckListBox
,
48494 &_swigt__p_wxChildFocusEvent
,
48495 &_swigt__p_wxChoice
,
48496 &_swigt__p_wxChoicebook
,
48497 &_swigt__p_wxChoicebookEvent
,
48498 &_swigt__p_wxClipboardTextEvent
,
48499 &_swigt__p_wxCloseEvent
,
48500 &_swigt__p_wxCollapsiblePane
,
48501 &_swigt__p_wxCollapsiblePaneEvent
,
48502 &_swigt__p_wxColour
,
48503 &_swigt__p_wxColourPickerCtrl
,
48504 &_swigt__p_wxColourPickerEvent
,
48505 &_swigt__p_wxComboBox
,
48506 &_swigt__p_wxCommandEvent
,
48507 &_swigt__p_wxContextHelp
,
48508 &_swigt__p_wxContextHelpButton
,
48509 &_swigt__p_wxContextMenuEvent
,
48510 &_swigt__p_wxControl
,
48511 &_swigt__p_wxControlWithItems
,
48512 &_swigt__p_wxCursor
,
48514 &_swigt__p_wxDateEvent
,
48515 &_swigt__p_wxDatePickerCtrl
,
48516 &_swigt__p_wxDateTime
,
48517 &_swigt__p_wxDirFilterListCtrl
,
48518 &_swigt__p_wxDirPickerCtrl
,
48519 &_swigt__p_wxDisplayChangedEvent
,
48520 &_swigt__p_wxDropFilesEvent
,
48521 &_swigt__p_wxDuplexMode
,
48522 &_swigt__p_wxEraseEvent
,
48523 &_swigt__p_wxEvent
,
48524 &_swigt__p_wxEvtHandler
,
48525 &_swigt__p_wxFSFile
,
48526 &_swigt__p_wxFileDirPickerEvent
,
48527 &_swigt__p_wxFilePickerCtrl
,
48528 &_swigt__p_wxFileSystem
,
48529 &_swigt__p_wxFlexGridSizer
,
48530 &_swigt__p_wxFocusEvent
,
48532 &_swigt__p_wxFontPickerCtrl
,
48533 &_swigt__p_wxFontPickerEvent
,
48534 &_swigt__p_wxGBSizerItem
,
48535 &_swigt__p_wxGIFHandler
,
48536 &_swigt__p_wxGauge
,
48537 &_swigt__p_wxGenericDirCtrl
,
48538 &_swigt__p_wxGenericDragImage
,
48539 &_swigt__p_wxGridBagSizer
,
48540 &_swigt__p_wxGridSizer
,
48541 &_swigt__p_wxHelpEvent
,
48542 &_swigt__p_wxHelpProvider
,
48543 &_swigt__p_wxHyperlinkCtrl
,
48544 &_swigt__p_wxHyperlinkEvent
,
48545 &_swigt__p_wxICOHandler
,
48547 &_swigt__p_wxIconizeEvent
,
48548 &_swigt__p_wxIdleEvent
,
48549 &_swigt__p_wxImage
,
48550 &_swigt__p_wxImageHandler
,
48551 &_swigt__p_wxImageList
,
48552 &_swigt__p_wxIndividualLayoutConstraint
,
48553 &_swigt__p_wxInitDialogEvent
,
48554 &_swigt__p_wxItemContainer
,
48555 &_swigt__p_wxJPEGHandler
,
48556 &_swigt__p_wxKeyEvent
,
48557 &_swigt__p_wxLayoutConstraints
,
48558 &_swigt__p_wxListBox
,
48559 &_swigt__p_wxListEvent
,
48560 &_swigt__p_wxListItem
,
48561 &_swigt__p_wxListItemAttr
,
48562 &_swigt__p_wxListView
,
48563 &_swigt__p_wxListbook
,
48564 &_swigt__p_wxListbookEvent
,
48565 &_swigt__p_wxMaximizeEvent
,
48566 &_swigt__p_wxMemoryDC
,
48568 &_swigt__p_wxMenuBar
,
48569 &_swigt__p_wxMenuEvent
,
48570 &_swigt__p_wxMenuItem
,
48571 &_swigt__p_wxMouseCaptureChangedEvent
,
48572 &_swigt__p_wxMouseCaptureLostEvent
,
48573 &_swigt__p_wxMouseEvent
,
48574 &_swigt__p_wxMoveEvent
,
48575 &_swigt__p_wxNavigationKeyEvent
,
48576 &_swigt__p_wxNcPaintEvent
,
48577 &_swigt__p_wxNotebook
,
48578 &_swigt__p_wxNotebookEvent
,
48579 &_swigt__p_wxNotifyEvent
,
48580 &_swigt__p_wxObject
,
48581 &_swigt__p_wxPCXHandler
,
48582 &_swigt__p_wxPNGHandler
,
48583 &_swigt__p_wxPNMHandler
,
48584 &_swigt__p_wxPaintEvent
,
48585 &_swigt__p_wxPaletteChangedEvent
,
48586 &_swigt__p_wxPaperSize
,
48587 &_swigt__p_wxPickerBase
,
48588 &_swigt__p_wxPoint
,
48589 &_swigt__p_wxPyApp
,
48590 &_swigt__p_wxPyCommandEvent
,
48591 &_swigt__p_wxPyControl
,
48592 &_swigt__p_wxPyEvent
,
48593 &_swigt__p_wxPyImageHandler
,
48594 &_swigt__p_wxPyListCtrl
,
48595 &_swigt__p_wxPySizer
,
48596 &_swigt__p_wxPyTreeCtrl
,
48597 &_swigt__p_wxPyTreeItemData
,
48598 &_swigt__p_wxPyValidator
,
48599 &_swigt__p_wxQueryNewPaletteEvent
,
48600 &_swigt__p_wxRadioBox
,
48601 &_swigt__p_wxRadioButton
,
48603 &_swigt__p_wxScrollBar
,
48604 &_swigt__p_wxScrollEvent
,
48605 &_swigt__p_wxScrollWinEvent
,
48606 &_swigt__p_wxSetCursorEvent
,
48607 &_swigt__p_wxShowEvent
,
48608 &_swigt__p_wxSimpleHelpProvider
,
48610 &_swigt__p_wxSizeEvent
,
48611 &_swigt__p_wxSizer
,
48612 &_swigt__p_wxSizerItem
,
48613 &_swigt__p_wxSlider
,
48614 &_swigt__p_wxSpinButton
,
48615 &_swigt__p_wxSpinCtrl
,
48616 &_swigt__p_wxSpinEvent
,
48617 &_swigt__p_wxStaticBitmap
,
48618 &_swigt__p_wxStaticBox
,
48619 &_swigt__p_wxStaticBoxSizer
,
48620 &_swigt__p_wxStaticLine
,
48621 &_swigt__p_wxStaticText
,
48622 &_swigt__p_wxStdDialogButtonSizer
,
48623 &_swigt__p_wxString
,
48624 &_swigt__p_wxSysColourChangedEvent
,
48625 &_swigt__p_wxTGAHandler
,
48626 &_swigt__p_wxTIFFHandler
,
48627 &_swigt__p_wxTextAttr
,
48628 &_swigt__p_wxTextCtrl
,
48629 &_swigt__p_wxTextUrlEvent
,
48630 &_swigt__p_wxToggleButton
,
48631 &_swigt__p_wxToolBar
,
48632 &_swigt__p_wxToolBarBase
,
48633 &_swigt__p_wxToolBarToolBase
,
48634 &_swigt__p_wxToolbook
,
48635 &_swigt__p_wxToolbookEvent
,
48636 &_swigt__p_wxTreeEvent
,
48637 &_swigt__p_wxTreeItemId
,
48638 &_swigt__p_wxTreebook
,
48639 &_swigt__p_wxTreebookEvent
,
48640 &_swigt__p_wxUpdateUIEvent
,
48641 &_swigt__p_wxValidator
,
48642 &_swigt__p_wxVisualAttributes
,
48643 &_swigt__p_wxWindow
,
48644 &_swigt__p_wxWindowBase
,
48645 &_swigt__p_wxWindowCreateEvent
,
48646 &_swigt__p_wxWindowDestroyEvent
,
48647 &_swigt__p_wxXPMHandler
,
48650 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
48651 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
48652 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
48653 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
48654 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
48655 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
48656 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
48657 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
48658 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
48659 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
48660 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
48661 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
48662 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}};
48663 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}};
48664 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}};
48665 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}};
48666 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
48667 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
48668 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}};
48669 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
48670 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48671 static swig_cast_info _swigc__p_wxCollapsiblePane
[] = { {&_swigt__p_wxCollapsiblePane
, 0, 0, 0},{0, 0, 0, 0}};
48672 static swig_cast_info _swigc__p_wxCollapsiblePaneEvent
[] = { {&_swigt__p_wxCollapsiblePaneEvent
, 0, 0, 0},{0, 0, 0, 0}};
48673 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
48674 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48675 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48676 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
48677 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48678 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
48679 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
48680 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
48681 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
48682 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
48683 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48684 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48685 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
48686 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}};
48687 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
48688 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
48689 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}};
48690 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}};
48691 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
48692 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
48693 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48694 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
48695 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48696 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48697 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
48698 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
48699 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48700 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48701 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
48702 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
48703 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48704 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
48705 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
48706 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48707 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48708 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48709 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48710 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
48711 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
48712 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
48713 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
48714 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48715 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48716 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48717 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48718 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
48719 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
48720 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
48721 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48722 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
48723 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}};
48724 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
48725 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
48726 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
48727 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
48728 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}};
48729 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48730 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48731 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
48732 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48733 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48734 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
48735 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48736 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
48737 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
48738 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}};
48739 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48740 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
48741 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
48742 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
48743 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}};
48744 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48745 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}};
48746 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
48747 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
48748 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
48749 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
48750 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
48751 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48752 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
48753 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48754 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
48755 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48756 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}};
48757 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
48758 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
48759 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
48760 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
48761 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48762 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48763 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48764 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
48765 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
48766 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
48767 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
48768 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
48769 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
48770 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
48771 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
48772 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
48773 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
48774 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
48775 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
48776 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
48777 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
48778 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
48779 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
48780 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
48781 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
48782 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
48783 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
48784 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
48785 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
48786 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
48787 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
48788 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}};
48789 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
48790 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}};
48791 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
48792 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
48793 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}};
48794 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48795 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
48796 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
48797 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
48798 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
48799 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
48800 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
48801 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
48802 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
48803 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
48804 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48805 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
48806 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
48807 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
48808 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
48809 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
48810 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
48811 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
48812 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48813 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
48814 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
48815 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
48816 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}};
48817 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
48818 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
48819 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48820 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48821 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
48822 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
48823 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48824 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}};
48825 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
48826 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}};
48827 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
48829 static swig_cast_info
*swig_cast_initial
[] = {
48832 _swigc__p_form_ops_t
,
48835 _swigc__p_unsigned_char
,
48836 _swigc__p_unsigned_int
,
48837 _swigc__p_unsigned_long
,
48839 _swigc__p_wxANIHandler
,
48840 _swigc__p_wxAcceleratorTable
,
48841 _swigc__p_wxActivateEvent
,
48842 _swigc__p_wxArrayInt
,
48843 _swigc__p_wxArrayString
,
48844 _swigc__p_wxBMPHandler
,
48845 _swigc__p_wxBitmap
,
48846 _swigc__p_wxBitmapButton
,
48847 _swigc__p_wxBookCtrlBase
,
48848 _swigc__p_wxBookCtrlBaseEvent
,
48849 _swigc__p_wxBoxSizer
,
48850 _swigc__p_wxButton
,
48851 _swigc__p_wxCURHandler
,
48852 _swigc__p_wxCheckBox
,
48853 _swigc__p_wxCheckListBox
,
48854 _swigc__p_wxChildFocusEvent
,
48855 _swigc__p_wxChoice
,
48856 _swigc__p_wxChoicebook
,
48857 _swigc__p_wxChoicebookEvent
,
48858 _swigc__p_wxClipboardTextEvent
,
48859 _swigc__p_wxCloseEvent
,
48860 _swigc__p_wxCollapsiblePane
,
48861 _swigc__p_wxCollapsiblePaneEvent
,
48862 _swigc__p_wxColour
,
48863 _swigc__p_wxColourPickerCtrl
,
48864 _swigc__p_wxColourPickerEvent
,
48865 _swigc__p_wxComboBox
,
48866 _swigc__p_wxCommandEvent
,
48867 _swigc__p_wxContextHelp
,
48868 _swigc__p_wxContextHelpButton
,
48869 _swigc__p_wxContextMenuEvent
,
48870 _swigc__p_wxControl
,
48871 _swigc__p_wxControlWithItems
,
48872 _swigc__p_wxCursor
,
48874 _swigc__p_wxDateEvent
,
48875 _swigc__p_wxDatePickerCtrl
,
48876 _swigc__p_wxDateTime
,
48877 _swigc__p_wxDirFilterListCtrl
,
48878 _swigc__p_wxDirPickerCtrl
,
48879 _swigc__p_wxDisplayChangedEvent
,
48880 _swigc__p_wxDropFilesEvent
,
48881 _swigc__p_wxDuplexMode
,
48882 _swigc__p_wxEraseEvent
,
48884 _swigc__p_wxEvtHandler
,
48885 _swigc__p_wxFSFile
,
48886 _swigc__p_wxFileDirPickerEvent
,
48887 _swigc__p_wxFilePickerCtrl
,
48888 _swigc__p_wxFileSystem
,
48889 _swigc__p_wxFlexGridSizer
,
48890 _swigc__p_wxFocusEvent
,
48892 _swigc__p_wxFontPickerCtrl
,
48893 _swigc__p_wxFontPickerEvent
,
48894 _swigc__p_wxGBSizerItem
,
48895 _swigc__p_wxGIFHandler
,
48897 _swigc__p_wxGenericDirCtrl
,
48898 _swigc__p_wxGenericDragImage
,
48899 _swigc__p_wxGridBagSizer
,
48900 _swigc__p_wxGridSizer
,
48901 _swigc__p_wxHelpEvent
,
48902 _swigc__p_wxHelpProvider
,
48903 _swigc__p_wxHyperlinkCtrl
,
48904 _swigc__p_wxHyperlinkEvent
,
48905 _swigc__p_wxICOHandler
,
48907 _swigc__p_wxIconizeEvent
,
48908 _swigc__p_wxIdleEvent
,
48910 _swigc__p_wxImageHandler
,
48911 _swigc__p_wxImageList
,
48912 _swigc__p_wxIndividualLayoutConstraint
,
48913 _swigc__p_wxInitDialogEvent
,
48914 _swigc__p_wxItemContainer
,
48915 _swigc__p_wxJPEGHandler
,
48916 _swigc__p_wxKeyEvent
,
48917 _swigc__p_wxLayoutConstraints
,
48918 _swigc__p_wxListBox
,
48919 _swigc__p_wxListEvent
,
48920 _swigc__p_wxListItem
,
48921 _swigc__p_wxListItemAttr
,
48922 _swigc__p_wxListView
,
48923 _swigc__p_wxListbook
,
48924 _swigc__p_wxListbookEvent
,
48925 _swigc__p_wxMaximizeEvent
,
48926 _swigc__p_wxMemoryDC
,
48928 _swigc__p_wxMenuBar
,
48929 _swigc__p_wxMenuEvent
,
48930 _swigc__p_wxMenuItem
,
48931 _swigc__p_wxMouseCaptureChangedEvent
,
48932 _swigc__p_wxMouseCaptureLostEvent
,
48933 _swigc__p_wxMouseEvent
,
48934 _swigc__p_wxMoveEvent
,
48935 _swigc__p_wxNavigationKeyEvent
,
48936 _swigc__p_wxNcPaintEvent
,
48937 _swigc__p_wxNotebook
,
48938 _swigc__p_wxNotebookEvent
,
48939 _swigc__p_wxNotifyEvent
,
48940 _swigc__p_wxObject
,
48941 _swigc__p_wxPCXHandler
,
48942 _swigc__p_wxPNGHandler
,
48943 _swigc__p_wxPNMHandler
,
48944 _swigc__p_wxPaintEvent
,
48945 _swigc__p_wxPaletteChangedEvent
,
48946 _swigc__p_wxPaperSize
,
48947 _swigc__p_wxPickerBase
,
48950 _swigc__p_wxPyCommandEvent
,
48951 _swigc__p_wxPyControl
,
48952 _swigc__p_wxPyEvent
,
48953 _swigc__p_wxPyImageHandler
,
48954 _swigc__p_wxPyListCtrl
,
48955 _swigc__p_wxPySizer
,
48956 _swigc__p_wxPyTreeCtrl
,
48957 _swigc__p_wxPyTreeItemData
,
48958 _swigc__p_wxPyValidator
,
48959 _swigc__p_wxQueryNewPaletteEvent
,
48960 _swigc__p_wxRadioBox
,
48961 _swigc__p_wxRadioButton
,
48963 _swigc__p_wxScrollBar
,
48964 _swigc__p_wxScrollEvent
,
48965 _swigc__p_wxScrollWinEvent
,
48966 _swigc__p_wxSetCursorEvent
,
48967 _swigc__p_wxShowEvent
,
48968 _swigc__p_wxSimpleHelpProvider
,
48970 _swigc__p_wxSizeEvent
,
48972 _swigc__p_wxSizerItem
,
48973 _swigc__p_wxSlider
,
48974 _swigc__p_wxSpinButton
,
48975 _swigc__p_wxSpinCtrl
,
48976 _swigc__p_wxSpinEvent
,
48977 _swigc__p_wxStaticBitmap
,
48978 _swigc__p_wxStaticBox
,
48979 _swigc__p_wxStaticBoxSizer
,
48980 _swigc__p_wxStaticLine
,
48981 _swigc__p_wxStaticText
,
48982 _swigc__p_wxStdDialogButtonSizer
,
48983 _swigc__p_wxString
,
48984 _swigc__p_wxSysColourChangedEvent
,
48985 _swigc__p_wxTGAHandler
,
48986 _swigc__p_wxTIFFHandler
,
48987 _swigc__p_wxTextAttr
,
48988 _swigc__p_wxTextCtrl
,
48989 _swigc__p_wxTextUrlEvent
,
48990 _swigc__p_wxToggleButton
,
48991 _swigc__p_wxToolBar
,
48992 _swigc__p_wxToolBarBase
,
48993 _swigc__p_wxToolBarToolBase
,
48994 _swigc__p_wxToolbook
,
48995 _swigc__p_wxToolbookEvent
,
48996 _swigc__p_wxTreeEvent
,
48997 _swigc__p_wxTreeItemId
,
48998 _swigc__p_wxTreebook
,
48999 _swigc__p_wxTreebookEvent
,
49000 _swigc__p_wxUpdateUIEvent
,
49001 _swigc__p_wxValidator
,
49002 _swigc__p_wxVisualAttributes
,
49003 _swigc__p_wxWindow
,
49004 _swigc__p_wxWindowBase
,
49005 _swigc__p_wxWindowCreateEvent
,
49006 _swigc__p_wxWindowDestroyEvent
,
49007 _swigc__p_wxXPMHandler
,
49011 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
49013 static swig_const_info swig_const_table
[] = {
49014 {0, 0, 0, 0.0, 0, 0}};
49019 /* -----------------------------------------------------------------------------
49020 * Type initialization:
49021 * This problem is tough by the requirement that no dynamic
49022 * memory is used. Also, since swig_type_info structures store pointers to
49023 * swig_cast_info structures and swig_cast_info structures store pointers back
49024 * to swig_type_info structures, we need some lookup code at initialization.
49025 * The idea is that swig generates all the structures that are needed.
49026 * The runtime then collects these partially filled structures.
49027 * The SWIG_InitializeModule function takes these initial arrays out of
49028 * swig_module, and does all the lookup, filling in the swig_module.types
49029 * array with the correct data and linking the correct swig_cast_info
49030 * structures together.
49032 * The generated swig_type_info structures are assigned staticly to an initial
49033 * array. We just loop though that array, and handle each type individually.
49034 * First we lookup if this type has been already loaded, and if so, use the
49035 * loaded structure instead of the generated one. Then we have to fill in the
49036 * cast linked list. The cast data is initially stored in something like a
49037 * two-dimensional array. Each row corresponds to a type (there are the same
49038 * number of rows as there are in the swig_type_initial array). Each entry in
49039 * a column is one of the swig_cast_info structures for that type.
49040 * The cast_initial array is actually an array of arrays, because each row has
49041 * a variable number of columns. So to actually build the cast linked list,
49042 * we find the array of casts associated with the type, and loop through it
49043 * adding the casts to the list. The one last trick we need to do is making
49044 * sure the type pointer in the swig_cast_info struct is correct.
49046 * First off, we lookup the cast->type name to see if it is already loaded.
49047 * There are three cases to handle:
49048 * 1) If the cast->type has already been loaded AND the type we are adding
49049 * casting info to has not been loaded (it is in this module), THEN we
49050 * replace the cast->type pointer with the type pointer that has already
49052 * 2) If BOTH types (the one we are adding casting info to, and the
49053 * cast->type) are loaded, THEN the cast info has already been loaded by
49054 * the previous module so we just ignore it.
49055 * 3) Finally, if cast->type has not already been loaded, then we add that
49056 * swig_cast_info to the linked list (because the cast->type) pointer will
49058 * ----------------------------------------------------------------------------- */
49068 #define SWIGRUNTIME_DEBUG
49072 SWIG_InitializeModule(void *clientdata
) {
49074 swig_module_info
*module_head
;
49075 static int init_run
= 0;
49077 clientdata
= clientdata
;
49079 if (init_run
) return;
49082 /* Initialize the swig_module */
49083 swig_module
.type_initial
= swig_type_initial
;
49084 swig_module
.cast_initial
= swig_cast_initial
;
49086 /* Try and load any already created modules */
49087 module_head
= SWIG_GetModule(clientdata
);
49089 swig_module
.next
= module_head
->next
;
49090 module_head
->next
= &swig_module
;
49092 /* This is the first module loaded */
49093 swig_module
.next
= &swig_module
;
49094 SWIG_SetModule(clientdata
, &swig_module
);
49097 /* Now work on filling in swig_module.types */
49098 #ifdef SWIGRUNTIME_DEBUG
49099 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
49101 for (i
= 0; i
< swig_module
.size
; ++i
) {
49102 swig_type_info
*type
= 0;
49103 swig_type_info
*ret
;
49104 swig_cast_info
*cast
;
49106 #ifdef SWIGRUNTIME_DEBUG
49107 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
49110 /* if there is another module already loaded */
49111 if (swig_module
.next
!= &swig_module
) {
49112 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
49115 /* Overwrite clientdata field */
49116 #ifdef SWIGRUNTIME_DEBUG
49117 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
49119 if (swig_module
.type_initial
[i
]->clientdata
) {
49120 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
49121 #ifdef SWIGRUNTIME_DEBUG
49122 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
49126 type
= swig_module
.type_initial
[i
];
49129 /* Insert casting types */
49130 cast
= swig_module
.cast_initial
[i
];
49131 while (cast
->type
) {
49132 /* Don't need to add information already in the list */
49134 #ifdef SWIGRUNTIME_DEBUG
49135 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
49137 if (swig_module
.next
!= &swig_module
) {
49138 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
49139 #ifdef SWIGRUNTIME_DEBUG
49140 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
49144 if (type
== swig_module
.type_initial
[i
]) {
49145 #ifdef SWIGRUNTIME_DEBUG
49146 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
49151 /* Check for casting already in the list */
49152 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
49153 #ifdef SWIGRUNTIME_DEBUG
49154 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
49156 if (!ocast
) ret
= 0;
49161 #ifdef SWIGRUNTIME_DEBUG
49162 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
49165 type
->cast
->prev
= cast
;
49166 cast
->next
= type
->cast
;
49172 /* Set entry in modules->types array equal to the type */
49173 swig_module
.types
[i
] = type
;
49175 swig_module
.types
[i
] = 0;
49177 #ifdef SWIGRUNTIME_DEBUG
49178 printf("**** SWIG_InitializeModule: Cast List ******\n");
49179 for (i
= 0; i
< swig_module
.size
; ++i
) {
49181 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
49182 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
49183 while (cast
->type
) {
49184 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
49188 printf("---- Total casts: %d\n",j
);
49190 printf("**** SWIG_InitializeModule: Cast List ******\n");
49194 /* This function will propagate the clientdata field of type to
49195 * any new swig_type_info structures that have been added into the list
49196 * of equivalent types. It is like calling
49197 * SWIG_TypeClientData(type, clientdata) a second time.
49200 SWIG_PropagateClientData(void) {
49202 swig_cast_info
*equiv
;
49203 static int init_run
= 0;
49205 if (init_run
) return;
49208 for (i
= 0; i
< swig_module
.size
; i
++) {
49209 if (swig_module
.types
[i
]->clientdata
) {
49210 equiv
= swig_module
.types
[i
]->cast
;
49212 if (!equiv
->converter
) {
49213 if (equiv
->type
&& !equiv
->type
->clientdata
)
49214 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
49216 equiv
= equiv
->next
;
49236 /* Python-specific SWIG API */
49237 #define SWIG_newvarlink() SWIG_Python_newvarlink()
49238 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
49239 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
49241 /* -----------------------------------------------------------------------------
49242 * global variable support code.
49243 * ----------------------------------------------------------------------------- */
49245 typedef struct swig_globalvar
{
49246 char *name
; /* Name of global variable */
49247 PyObject
*(*get_attr
)(void); /* Return the current value */
49248 int (*set_attr
)(PyObject
*); /* Set the value */
49249 struct swig_globalvar
*next
;
49252 typedef struct swig_varlinkobject
{
49254 swig_globalvar
*vars
;
49255 } swig_varlinkobject
;
49257 SWIGINTERN PyObject
*
49258 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
49259 return PyString_FromString("<Swig global variables>");
49262 SWIGINTERN PyObject
*
49263 swig_varlink_str(swig_varlinkobject
*v
) {
49264 PyObject
*str
= PyString_FromString("(");
49265 swig_globalvar
*var
;
49266 for (var
= v
->vars
; var
; var
=var
->next
) {
49267 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
49268 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
49270 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
49275 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
49276 PyObject
*str
= swig_varlink_str(v
);
49277 fprintf(fp
,"Swig global variables ");
49278 fprintf(fp
,"%s\n", PyString_AsString(str
));
49284 swig_varlink_dealloc(swig_varlinkobject
*v
) {
49285 swig_globalvar
*var
= v
->vars
;
49287 swig_globalvar
*n
= var
->next
;
49294 SWIGINTERN PyObject
*
49295 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
49296 PyObject
*res
= NULL
;
49297 swig_globalvar
*var
= v
->vars
;
49299 if (strcmp(var
->name
,n
) == 0) {
49300 res
= (*var
->get_attr
)();
49305 if (res
== NULL
&& !PyErr_Occurred()) {
49306 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
49312 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
49314 swig_globalvar
*var
= v
->vars
;
49316 if (strcmp(var
->name
,n
) == 0) {
49317 res
= (*var
->set_attr
)(p
);
49322 if (res
== 1 && !PyErr_Occurred()) {
49323 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
49328 SWIGINTERN PyTypeObject
*
49329 swig_varlink_type(void) {
49330 static char varlink__doc__
[] = "Swig var link object";
49331 static PyTypeObject varlink_type
;
49332 static int type_init
= 0;
49334 const PyTypeObject tmp
49336 PyObject_HEAD_INIT(NULL
)
49337 0, /* Number of items in variable part (ob_size) */
49338 (char *)"swigvarlink", /* Type name (tp_name) */
49339 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
49340 0, /* Itemsize (tp_itemsize) */
49341 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
49342 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
49343 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
49344 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
49345 0, /* tp_compare */
49346 (reprfunc
) swig_varlink_repr
, /* tp_repr */
49347 0, /* tp_as_number */
49348 0, /* tp_as_sequence */
49349 0, /* tp_as_mapping */
49352 (reprfunc
)swig_varlink_str
, /* tp_str */
49353 0, /* tp_getattro */
49354 0, /* tp_setattro */
49355 0, /* tp_as_buffer */
49357 varlink__doc__
, /* tp_doc */
49358 0, /* tp_traverse */
49360 0, /* tp_richcompare */
49361 0, /* tp_weaklistoffset */
49362 #if PY_VERSION_HEX >= 0x02020000
49363 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
49365 #if PY_VERSION_HEX >= 0x02030000
49368 #ifdef COUNT_ALLOCS
49369 0,0,0,0 /* tp_alloc -> tp_next */
49372 varlink_type
= tmp
;
49373 varlink_type
.ob_type
= &PyType_Type
;
49376 return &varlink_type
;
49379 /* Create a variable linking object for use later */
49380 SWIGINTERN PyObject
*
49381 SWIG_Python_newvarlink(void) {
49382 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
49386 return ((PyObject
*) result
);
49390 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
49391 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
49392 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
49394 size_t size
= strlen(name
)+1;
49395 gv
->name
= (char *)malloc(size
);
49397 strncpy(gv
->name
,name
,size
);
49398 gv
->get_attr
= get_attr
;
49399 gv
->set_attr
= set_attr
;
49400 gv
->next
= v
->vars
;
49406 SWIGINTERN PyObject
*
49408 static PyObject
*_SWIG_globals
= 0;
49409 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
49410 return _SWIG_globals
;
49413 /* -----------------------------------------------------------------------------
49414 * constants/methods manipulation
49415 * ----------------------------------------------------------------------------- */
49417 /* Install Constants */
49419 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
49422 for (i
= 0; constants
[i
].type
; ++i
) {
49423 switch(constants
[i
].type
) {
49424 case SWIG_PY_POINTER
:
49425 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
49427 case SWIG_PY_BINARY
:
49428 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
49435 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
49441 /* -----------------------------------------------------------------------------*/
49442 /* Fix SwigMethods to carry the callback ptrs when needed */
49443 /* -----------------------------------------------------------------------------*/
49446 SWIG_Python_FixMethods(PyMethodDef
*methods
,
49447 swig_const_info
*const_table
,
49448 swig_type_info
**types
,
49449 swig_type_info
**types_initial
) {
49451 for (i
= 0; methods
[i
].ml_name
; ++i
) {
49452 const char *c
= methods
[i
].ml_doc
;
49453 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
49455 swig_const_info
*ci
= 0;
49456 const char *name
= c
+ 10;
49457 for (j
= 0; const_table
[j
].type
; ++j
) {
49458 if (strncmp(const_table
[j
].name
, name
,
49459 strlen(const_table
[j
].name
)) == 0) {
49460 ci
= &(const_table
[j
]);
49465 size_t shift
= (ci
->ptype
) - types
;
49466 swig_type_info
*ty
= types_initial
[shift
];
49467 size_t ldoc
= (c
- methods
[i
].ml_doc
);
49468 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
49469 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
49472 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
49474 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
49476 strncpy(buff
, "swig_ptr: ", 10);
49478 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
49479 methods
[i
].ml_doc
= ndoc
;
49491 /* -----------------------------------------------------------------------------*
49492 * Partial Init method
49493 * -----------------------------------------------------------------------------*/
49498 SWIGEXPORT
void SWIG_init(void) {
49501 /* Fix SwigMethods to carry the callback ptrs when needed */
49502 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
49504 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
49505 d
= PyModule_GetDict(m
);
49507 SWIG_InitializeModule(0);
49508 SWIG_InstallConstants(d
,swig_const_table
);
49511 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
49512 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
49513 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
49514 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
49515 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
49516 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
49517 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
49518 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
49519 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
49520 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
49521 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
49522 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
49523 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
49524 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
49525 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
49526 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
49527 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
49528 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
49529 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
49530 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
49531 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
49532 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
49533 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
49534 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
49535 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
49536 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
49537 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
49538 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
49539 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
49540 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
49541 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
49542 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
49543 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
49544 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
49545 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
49546 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
49547 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
49548 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
49549 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
49550 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
49551 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
49552 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
49553 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
49554 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
49555 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
49556 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
49557 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
49558 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
49559 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
49560 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
49561 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
49562 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
49563 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
49564 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
49565 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
49566 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
49567 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
49568 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
49569 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
49570 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
49571 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
49572 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
49573 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
49574 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
49575 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
49576 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
49577 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
49578 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
49579 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
49580 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
49581 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
49582 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
49583 SWIG_Python_SetConstant(d
, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY
)));
49584 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
49585 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
49586 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
49587 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
49588 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
49589 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
49590 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
49591 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
49592 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
49593 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
49594 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
49595 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
49596 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
49597 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
49598 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
49599 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
49600 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
49601 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
49602 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
49603 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
49604 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
49605 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
49606 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
49607 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
49608 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
49609 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
49610 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
49611 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
49612 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
49613 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
49614 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
49615 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
49616 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
49617 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
49618 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
49619 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
49620 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
49621 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
49622 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
49623 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
49624 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
49625 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
49626 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
49627 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
49628 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
49629 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
49630 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
49631 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
49632 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
49633 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
49634 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
49635 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
49636 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
49637 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
49638 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
49639 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
49640 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
49641 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
49642 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
49643 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
49644 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
49645 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
49646 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
49647 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
49648 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
49649 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
49650 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
49651 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
49652 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
49653 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
49654 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
49655 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
49656 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
49657 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
49658 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
49659 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
49660 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
49661 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
49662 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
49663 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
49664 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
49665 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
49666 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
49667 SWIG_Python_SetConstant(d
, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP
)));
49668 SWIG_Python_SetConstant(d
, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT
)));
49669 SWIG_Python_SetConstant(d
, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM
)));
49670 SWIG_Python_SetConstant(d
, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT
)));
49671 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
49672 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
49673 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
49674 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
49675 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
49676 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
49677 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
49678 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
49679 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
49680 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
49681 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
49682 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
49683 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
49684 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
49685 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
49686 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
49687 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
49688 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
49689 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
49690 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
49691 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
49692 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
49693 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
49694 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
49695 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
49696 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
49697 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
49698 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
49699 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
49700 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
49701 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
49702 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
49703 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
49704 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
49705 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
49706 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
49707 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
49708 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
49709 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
49710 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
49711 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
49712 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
49713 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
49714 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
49715 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
49716 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
49717 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
49718 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
49719 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
49720 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
49721 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
49722 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
49723 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
49724 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
49725 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
49726 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
49727 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
49728 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
49729 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
49730 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
49731 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
49732 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
49733 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
49734 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
49735 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
49736 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
49737 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
49738 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
49739 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
49740 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
49741 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
49742 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
49743 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
49744 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
49745 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
49746 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
49747 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
49748 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
49749 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
49750 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
49751 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
49752 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
49753 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
49754 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
49755 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
49756 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
49757 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
49758 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
49759 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
49760 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
49761 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
49762 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
49763 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
49764 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
49765 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
49766 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
49767 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
49768 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
49769 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
49770 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
49772 // Map renamed classes back to their common name for OOR
49773 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
49775 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
49776 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
49777 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
49778 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
49779 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
49780 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
49781 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
49782 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
49783 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
49784 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
49785 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
49786 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
49787 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
49788 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
49789 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
49790 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
49791 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
49792 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
49793 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
49794 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
49795 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
49796 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
49797 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
49798 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
49799 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
49800 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
49801 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
49802 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
49803 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
49804 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
49805 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
49806 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
49807 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
49808 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
49809 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
49810 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
49811 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
49812 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
49813 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
49814 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
49815 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
49816 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
49817 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
49818 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
49819 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
49820 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
49821 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
49822 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
49823 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
49824 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
49825 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
49826 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
49827 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
49828 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
49829 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
49830 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
49832 // Map renamed classes back to their common name for OOR
49833 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
49834 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
49836 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
49837 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
49838 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
49839 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
49840 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
49841 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
49842 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
49843 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
49844 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
49845 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
49846 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
49848 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
49850 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
49851 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
49852 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
49853 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
49854 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
49855 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
49856 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
49857 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
49858 SWIG_Python_SetConstant(d
, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT
)));
49859 SWIG_Python_SetConstant(d
, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT
)));
49860 SWIG_Python_SetConstant(d
, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE
)));
49861 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
49862 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
49863 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
49864 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
49865 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
49866 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
49867 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
49868 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
49869 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
49870 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
49871 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
49872 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
49873 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
49874 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
49875 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
49876 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
49877 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
49878 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
49879 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
49880 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
49881 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
49882 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
49883 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
49884 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
49885 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
49886 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
49887 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
49888 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
49889 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
49890 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
49891 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
49892 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));
49893 SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get
, CollapsiblePaneNameStr_set
);
49894 SWIG_Python_SetConstant(d
, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE
)));
49895 SWIG_Python_SetConstant(d
, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE
)));
49896 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED
));