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 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_bool swig_types[0]
2463 #define SWIGTYPE_p_char swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_long swig_types[4]
2467 #define SWIGTYPE_p_unsigned_char swig_types[5]
2468 #define SWIGTYPE_p_unsigned_int swig_types[6]
2469 #define SWIGTYPE_p_unsigned_long swig_types[7]
2470 #define SWIGTYPE_p_void swig_types[8]
2471 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2472 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2473 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2474 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2475 #define SWIGTYPE_p_wxArrayString swig_types[13]
2476 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2477 #define SWIGTYPE_p_wxBitmap swig_types[15]
2478 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2479 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2480 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2481 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2482 #define SWIGTYPE_p_wxButton swig_types[20]
2483 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2484 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2485 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2486 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2487 #define SWIGTYPE_p_wxChoice swig_types[25]
2488 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2489 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2490 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2491 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2492 #define SWIGTYPE_p_wxColour swig_types[30]
2493 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[31]
2494 #define SWIGTYPE_p_wxColourPickerEvent swig_types[32]
2495 #define SWIGTYPE_p_wxComboBox swig_types[33]
2496 #define SWIGTYPE_p_wxCommandEvent swig_types[34]
2497 #define SWIGTYPE_p_wxContextHelp swig_types[35]
2498 #define SWIGTYPE_p_wxContextHelpButton swig_types[36]
2499 #define SWIGTYPE_p_wxContextMenuEvent swig_types[37]
2500 #define SWIGTYPE_p_wxControl swig_types[38]
2501 #define SWIGTYPE_p_wxControlWithItems swig_types[39]
2502 #define SWIGTYPE_p_wxCursor swig_types[40]
2503 #define SWIGTYPE_p_wxDC swig_types[41]
2504 #define SWIGTYPE_p_wxDateEvent swig_types[42]
2505 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[43]
2506 #define SWIGTYPE_p_wxDateTime swig_types[44]
2507 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[45]
2508 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[46]
2509 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[47]
2510 #define SWIGTYPE_p_wxDropFilesEvent swig_types[48]
2511 #define SWIGTYPE_p_wxDuplexMode swig_types[49]
2512 #define SWIGTYPE_p_wxEraseEvent swig_types[50]
2513 #define SWIGTYPE_p_wxEvent swig_types[51]
2514 #define SWIGTYPE_p_wxEvtHandler swig_types[52]
2515 #define SWIGTYPE_p_wxFSFile swig_types[53]
2516 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[54]
2517 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[55]
2518 #define SWIGTYPE_p_wxFileSystem swig_types[56]
2519 #define SWIGTYPE_p_wxFlexGridSizer swig_types[57]
2520 #define SWIGTYPE_p_wxFocusEvent swig_types[58]
2521 #define SWIGTYPE_p_wxFont swig_types[59]
2522 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[60]
2523 #define SWIGTYPE_p_wxFontPickerEvent swig_types[61]
2524 #define SWIGTYPE_p_wxGBSizerItem swig_types[62]
2525 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2526 #define SWIGTYPE_p_wxGauge swig_types[64]
2527 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[65]
2528 #define SWIGTYPE_p_wxGenericDragImage swig_types[66]
2529 #define SWIGTYPE_p_wxGridBagSizer swig_types[67]
2530 #define SWIGTYPE_p_wxGridSizer swig_types[68]
2531 #define SWIGTYPE_p_wxHelpEvent swig_types[69]
2532 #define SWIGTYPE_p_wxHelpProvider swig_types[70]
2533 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[71]
2534 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[72]
2535 #define SWIGTYPE_p_wxICOHandler swig_types[73]
2536 #define SWIGTYPE_p_wxIcon swig_types[74]
2537 #define SWIGTYPE_p_wxIconizeEvent swig_types[75]
2538 #define SWIGTYPE_p_wxIdleEvent swig_types[76]
2539 #define SWIGTYPE_p_wxImage swig_types[77]
2540 #define SWIGTYPE_p_wxImageHandler swig_types[78]
2541 #define SWIGTYPE_p_wxImageList swig_types[79]
2542 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[80]
2543 #define SWIGTYPE_p_wxInitDialogEvent swig_types[81]
2544 #define SWIGTYPE_p_wxItemContainer swig_types[82]
2545 #define SWIGTYPE_p_wxJPEGHandler swig_types[83]
2546 #define SWIGTYPE_p_wxKeyEvent swig_types[84]
2547 #define SWIGTYPE_p_wxLayoutConstraints swig_types[85]
2548 #define SWIGTYPE_p_wxListBox swig_types[86]
2549 #define SWIGTYPE_p_wxListEvent swig_types[87]
2550 #define SWIGTYPE_p_wxListItem swig_types[88]
2551 #define SWIGTYPE_p_wxListItemAttr swig_types[89]
2552 #define SWIGTYPE_p_wxListView swig_types[90]
2553 #define SWIGTYPE_p_wxListbook swig_types[91]
2554 #define SWIGTYPE_p_wxListbookEvent swig_types[92]
2555 #define SWIGTYPE_p_wxMaximizeEvent swig_types[93]
2556 #define SWIGTYPE_p_wxMemoryDC swig_types[94]
2557 #define SWIGTYPE_p_wxMenu swig_types[95]
2558 #define SWIGTYPE_p_wxMenuBar swig_types[96]
2559 #define SWIGTYPE_p_wxMenuEvent swig_types[97]
2560 #define SWIGTYPE_p_wxMenuItem swig_types[98]
2561 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[99]
2562 #define SWIGTYPE_p_wxMouseEvent swig_types[100]
2563 #define SWIGTYPE_p_wxMoveEvent swig_types[101]
2564 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[102]
2565 #define SWIGTYPE_p_wxNcPaintEvent swig_types[103]
2566 #define SWIGTYPE_p_wxNotebook swig_types[104]
2567 #define SWIGTYPE_p_wxNotebookEvent swig_types[105]
2568 #define SWIGTYPE_p_wxNotifyEvent swig_types[106]
2569 #define SWIGTYPE_p_wxObject swig_types[107]
2570 #define SWIGTYPE_p_wxPCXHandler swig_types[108]
2571 #define SWIGTYPE_p_wxPNGHandler swig_types[109]
2572 #define SWIGTYPE_p_wxPNMHandler swig_types[110]
2573 #define SWIGTYPE_p_wxPaintEvent swig_types[111]
2574 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[112]
2575 #define SWIGTYPE_p_wxPaperSize swig_types[113]
2576 #define SWIGTYPE_p_wxPickerBase swig_types[114]
2577 #define SWIGTYPE_p_wxPoint swig_types[115]
2578 #define SWIGTYPE_p_wxPyApp swig_types[116]
2579 #define SWIGTYPE_p_wxPyCommandEvent swig_types[117]
2580 #define SWIGTYPE_p_wxPyControl swig_types[118]
2581 #define SWIGTYPE_p_wxPyEvent swig_types[119]
2582 #define SWIGTYPE_p_wxPyImageHandler swig_types[120]
2583 #define SWIGTYPE_p_wxPyListCtrl swig_types[121]
2584 #define SWIGTYPE_p_wxPySizer swig_types[122]
2585 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[123]
2586 #define SWIGTYPE_p_wxPyTreeItemData swig_types[124]
2587 #define SWIGTYPE_p_wxPyValidator swig_types[125]
2588 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2589 #define SWIGTYPE_p_wxRadioBox swig_types[127]
2590 #define SWIGTYPE_p_wxRadioButton swig_types[128]
2591 #define SWIGTYPE_p_wxRect swig_types[129]
2592 #define SWIGTYPE_p_wxScrollBar swig_types[130]
2593 #define SWIGTYPE_p_wxScrollEvent swig_types[131]
2594 #define SWIGTYPE_p_wxScrollWinEvent swig_types[132]
2595 #define SWIGTYPE_p_wxSetCursorEvent swig_types[133]
2596 #define SWIGTYPE_p_wxShowEvent swig_types[134]
2597 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[135]
2598 #define SWIGTYPE_p_wxSize swig_types[136]
2599 #define SWIGTYPE_p_wxSizeEvent swig_types[137]
2600 #define SWIGTYPE_p_wxSizer swig_types[138]
2601 #define SWIGTYPE_p_wxSizerItem swig_types[139]
2602 #define SWIGTYPE_p_wxSlider swig_types[140]
2603 #define SWIGTYPE_p_wxSpinButton swig_types[141]
2604 #define SWIGTYPE_p_wxSpinCtrl swig_types[142]
2605 #define SWIGTYPE_p_wxSpinEvent swig_types[143]
2606 #define SWIGTYPE_p_wxStaticBitmap swig_types[144]
2607 #define SWIGTYPE_p_wxStaticBox swig_types[145]
2608 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2609 #define SWIGTYPE_p_wxStaticLine swig_types[147]
2610 #define SWIGTYPE_p_wxStaticText swig_types[148]
2611 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[149]
2612 #define SWIGTYPE_p_wxString swig_types[150]
2613 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[151]
2614 #define SWIGTYPE_p_wxTIFFHandler swig_types[152]
2615 #define SWIGTYPE_p_wxTextAttr swig_types[153]
2616 #define SWIGTYPE_p_wxTextCtrl swig_types[154]
2617 #define SWIGTYPE_p_wxTextUrlEvent swig_types[155]
2618 #define SWIGTYPE_p_wxToggleButton swig_types[156]
2619 #define SWIGTYPE_p_wxToolBar swig_types[157]
2620 #define SWIGTYPE_p_wxToolBarBase swig_types[158]
2621 #define SWIGTYPE_p_wxToolBarToolBase swig_types[159]
2622 #define SWIGTYPE_p_wxToolbook swig_types[160]
2623 #define SWIGTYPE_p_wxToolbookEvent swig_types[161]
2624 #define SWIGTYPE_p_wxTreeCtrl swig_types[162]
2625 #define SWIGTYPE_p_wxTreeEvent swig_types[163]
2626 #define SWIGTYPE_p_wxTreeItemId swig_types[164]
2627 #define SWIGTYPE_p_wxTreebook swig_types[165]
2628 #define SWIGTYPE_p_wxTreebookEvent swig_types[166]
2629 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[167]
2630 #define SWIGTYPE_p_wxValidator swig_types[168]
2631 #define SWIGTYPE_p_wxVisualAttributes swig_types[169]
2632 #define SWIGTYPE_p_wxWindow swig_types[170]
2633 #define SWIGTYPE_p_wxWindowBase swig_types[171]
2634 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[172]
2635 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[173]
2636 #define SWIGTYPE_p_wxXPMHandler swig_types[174]
2637 static swig_type_info
*swig_types
[176];
2638 static swig_module_info swig_module
= {swig_types
, 175, 0, 0, 0, 0};
2639 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2640 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2642 /* -------- TYPES TABLE (END) -------- */
2644 #if (PY_VERSION_HEX <= 0x02000000)
2645 # if !defined(SWIG_PYTHON_CLASSIC)
2646 # error "This python version requires to use swig with the '-classic' option"
2649 #if (PY_VERSION_HEX <= 0x02020000)
2650 # error "This python version requires to use swig with the '-nomodern' option"
2652 #if (PY_VERSION_HEX <= 0x02020000)
2653 # error "This python version requires to use swig with the '-nomodernargs' option"
2656 # error "This python version requires to use swig with the '-nofastunpack' option"
2659 /*-----------------------------------------------
2660 @(target):= _controls_.so
2661 ------------------------------------------------*/
2662 #define SWIG_init init_controls_
2664 #define SWIG_name "_controls_"
2666 #define SWIGVERSION 0x010329
2669 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2670 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2673 #include <stdexcept>
2677 class PyObject_ptr
{
2682 PyObject_ptr() :_obj(0)
2686 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2691 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2693 if (initial_ref
) Py_XINCREF(_obj
);
2696 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2698 Py_XINCREF(item
._obj
);
2709 operator PyObject
*() const
2714 PyObject
*operator->() const
2723 struct PyObject_var
: PyObject_ptr
{
2724 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2726 PyObject_var
& operator = (PyObject
* obj
)
2736 #include "wx/wxPython/wxPython.h"
2737 #include "wx/wxPython/pyclasses.h"
2739 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2740 static const wxString
wxPyEmptyString(wxEmptyString
);
2741 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2743 const wxArrayString wxPyEmptyStringArray
;
2745 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2747 #define SWIG_From_long PyInt_FromLong
2750 SWIGINTERNINLINE PyObject
*
2751 SWIG_From_int (int value
)
2753 return SWIG_From_long (value
);
2759 # define LLONG_MIN LONG_LONG_MIN
2762 # define LLONG_MAX LONG_LONG_MAX
2765 # define ULLONG_MAX ULONG_LONG_MAX
2770 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2772 if (PyNumber_Check(obj
)) {
2773 if (val
) *val
= PyInt_AsLong(obj
);
2776 return SWIG_TypeError
;
2781 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2784 int res
= SWIG_AsVal_long (obj
, &v
);
2785 if (SWIG_IsOK(res
)) {
2786 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2787 return SWIG_OverflowError
;
2789 if (val
) *val
= static_cast< int >(v
);
2795 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2798 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2800 if (obj
== Py_True
) {
2801 if (val
) *val
= true;
2803 } else if (obj
== Py_False
) {
2804 if (val
) *val
= false;
2808 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2809 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2814 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2815 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2816 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2817 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2818 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2819 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2821 #include <wx/checklst.h>
2823 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2824 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2827 wxPyClientData
* data
= new wxPyClientData(clientData
);
2828 self
->Insert(item
, pos
, data
);
2831 self
->Insert(item
, pos
);
2835 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2838 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2839 return SWIG_TypeError
;
2842 *val
= (unsigned long)v
;
2848 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2851 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2852 if (SWIG_IsOK(res
)) {
2853 if ((v
> UINT_MAX
)) {
2854 return SWIG_OverflowError
;
2856 if (val
) *val
= static_cast< unsigned int >(v
);
2862 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2863 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2865 self
->GetSelections(lst
);
2866 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2867 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2869 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2871 wxPyEndBlockThreads(blocked
);
2874 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2876 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2877 self
->GetItem(item
)->SetTextColour(c
);
2880 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2882 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2883 self
->GetItem(item
)->SetBackgroundColour(c
);
2886 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2888 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2889 self
->GetItem(item
)->SetFont(f
);
2892 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2893 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2894 self
->AppendText(text
);
2896 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2897 return self
->GetValue().Mid(from
, to
- from
);
2899 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2900 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2901 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2902 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2903 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2905 SWIGINTERNINLINE PyObject
*
2906 SWIG_From_unsigned_SS_long (unsigned long value
)
2908 return (value
> LONG_MAX
) ?
2909 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2913 SWIGINTERNINLINE PyObject
*
2914 SWIG_From_size_t (size_t value
)
2916 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2920 SWIGINTERNINLINE PyObject
*
2921 SWIG_From_unsigned_SS_int (unsigned int value
)
2923 return SWIG_From_unsigned_SS_long (value
);
2927 #include <wx/slider.h>
2930 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2931 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2933 #if !wxUSE_TOGGLEBTN
2934 // implement dummy items for platforms that don't have this class
2936 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2938 class wxToggleButton
: public wxControl
2941 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2942 const wxPoint
&, const wxSize
&, long,
2943 const wxValidator
&, const wxString
&)
2944 { wxPyRaiseNotImplemented(); }
2947 { wxPyRaiseNotImplemented(); }
2951 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2953 SWIGINTERNINLINE
int
2954 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2957 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2958 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2962 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2963 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2964 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2966 Py_INCREF(udata
->m_obj
);
2967 return udata
->m_obj
;
2973 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2974 self
->SetClientData(new wxPyUserData(clientData
));
2976 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
){
2977 wxPyUserData
* udata
= NULL
;
2978 if (clientData
&& clientData
!= Py_None
)
2979 udata
= new wxPyUserData(clientData
);
2980 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2981 shortHelp
, longHelp
, udata
);
2983 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
){
2984 wxPyUserData
* udata
= NULL
;
2985 if (clientData
&& clientData
!= Py_None
)
2986 udata
= new wxPyUserData(clientData
);
2987 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2988 shortHelp
, longHelp
, udata
);
2990 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2991 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
2993 Py_INCREF(udata
->m_obj
);
2994 return udata
->m_obj
;
3000 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3001 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3004 #include <wx/listctrl.h>
3006 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3007 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3008 // Python aware sorting function for wxPyListCtrl
3009 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3011 PyObject
* func
= (PyObject
*)funcPtr
;
3012 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3014 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3015 PyObject
* result
= PyEval_CallObject(func
, args
);
3018 retval
= PyInt_AsLong(result
);
3022 wxPyEndBlockThreads(blocked
);
3026 // C++ Version of a Python aware class
3027 class wxPyListCtrl
: public wxListCtrl
{
3028 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3030 wxPyListCtrl() : wxListCtrl() {}
3031 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3035 const wxValidator
& validator
,
3036 const wxString
& name
) :
3037 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3039 bool Create(wxWindow
* parent
, wxWindowID id
,
3043 const wxValidator
& validator
,
3044 const wxString
& name
) {
3045 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3048 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3049 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3051 // use the virtual version to avoid a confusing assert in the base class
3052 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3053 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3058 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3060 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3061 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3062 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3063 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3066 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3068 item
.SetMask( wxLIST_MASK_STATE
|
3076 if (self
->GetColumn(col
, item
))
3077 return new wxListItem(item
);
3081 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3082 wxListItem
* info
= new wxListItem
;
3083 info
->m_itemId
= itemId
;
3085 info
->m_mask
= 0xFFFF;
3086 self
->GetItem(*info
);
3089 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3091 self
->GetItemPosition(item
, pos
);
3094 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3096 self
->GetItemRect(item
, rect
, code
);
3099 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3100 if (!PyCallable_Check(func
))
3102 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3104 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3108 return (wxWindow
*)self
->m_mainWin
;
3112 #include <wx/treectrl.h>
3113 #include "wx/wxPython/pytree.h"
3115 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3116 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3117 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3118 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3119 // C++ version of Python aware wxTreeCtrl
3120 class wxPyTreeCtrl
: public wxTreeCtrl
{
3121 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3123 wxPyTreeCtrl() : wxTreeCtrl() {}
3124 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3128 const wxValidator
& validator
,
3129 const wxString
& name
) :
3130 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3132 bool Create(wxWindow
*parent
, wxWindowID id
,
3136 const wxValidator
& validator
,
3137 const wxString
& name
) {
3138 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3142 int OnCompareItems(const wxTreeItemId
& item1
,
3143 const wxTreeItemId
& item2
) {
3146 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3147 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3148 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3149 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3150 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3154 wxPyEndBlockThreads(blocked
);
3156 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3162 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3165 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3166 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3168 data
= new wxPyTreeItemData();
3169 data
->SetId(item
); // set the id
3170 self
->SetItemData(item
, data
);
3174 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3175 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3177 data
= new wxPyTreeItemData();
3178 data
->SetId(item
); // set the id
3179 self
->SetItemData(item
, data
);
3181 return data
->GetData();
3183 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3184 data
->SetId(item
); // set the id
3185 self
->SetItemData(item
, data
);
3187 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3188 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3190 data
= new wxPyTreeItemData(obj
);
3191 data
->SetId(item
); // set the id
3192 self
->SetItemData(item
, data
);
3196 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3197 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3198 PyObject
* rval
= PyList_New(0);
3199 wxArrayTreeItemIds array
;
3201 num
= self
->GetSelections(array
);
3202 for (x
=0; x
< num
; x
++) {
3203 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3204 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3205 PyList_Append(rval
, item
);
3208 wxPyEndBlockThreads(blocked
);
3211 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3213 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3214 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3215 PyObject
* tup
= PyTuple_New(2);
3216 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3217 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3218 wxPyEndBlockThreads(blocked
);
3221 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3222 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3223 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3224 PyObject
* tup
= PyTuple_New(2);
3225 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3226 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3227 wxPyEndBlockThreads(blocked
);
3230 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3232 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3233 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3234 wxRect
* r
= new wxRect(rect
);
3235 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3236 wxPyEndBlockThreads(blocked
);
3242 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3244 SWIGINTERNINLINE PyObject
*
3245 SWIG_From_bool (bool value
)
3247 return PyBool_FromLong(value
? 1 : 0);
3250 // C++ version of Python aware wxControl
3251 class wxPyControl
: public wxControl
3253 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3255 wxPyControl() : wxControl() {}
3256 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3257 const wxPoint
& pos
= wxDefaultPosition
,
3258 const wxSize
& size
= wxDefaultSize
,
3260 const wxValidator
& validator
=wxDefaultValidator
,
3261 const wxString
& name
= wxPyControlNameStr
)
3262 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3264 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
3266 bool DoEraseBackground(wxDC
* dc
) {
3268 return wxWindow::DoEraseBackground(dc
->GetHDC());
3270 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3276 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3277 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3278 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3279 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3281 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3282 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3283 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3285 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3286 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3288 DEC_PYCALLBACK__(InitDialog
);
3289 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3290 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3291 DEC_PYCALLBACK_BOOL_(Validate
);
3293 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3294 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3295 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3297 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3298 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3300 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3301 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3303 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3305 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3310 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3312 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3313 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3314 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3315 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3317 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3318 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3319 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3321 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3322 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3324 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3325 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3326 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3327 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3329 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3330 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3331 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3333 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3334 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3336 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3337 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3339 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3341 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3345 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3347 #include <wx/generic/dragimgg.h>
3349 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3350 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3352 self
->GetRange(&rv
, NULL
);
3355 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3357 self
->GetRange(NULL
, &rv
);
3360 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3362 #include <wx/pickerbase.h>
3363 #include <wx/clrpicker.h>
3364 #include <wx/filepicker.h>
3365 #include <wx/fontpicker.h>
3367 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3368 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3369 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3370 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3371 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3372 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3373 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3377 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3378 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3383 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3384 PyObject
*pyobj
= 0;
3388 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3390 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3397 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3398 PyObject
*resultobj
= 0;
3399 wxWindow
*arg1
= (wxWindow
*) 0 ;
3400 int arg2
= (int) -1 ;
3401 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3402 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3403 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3404 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3405 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3406 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3407 long arg6
= (long) 0 ;
3408 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3409 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3410 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3411 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3412 wxButton
*result
= 0 ;
3417 bool temp3
= false ;
3424 bool temp8
= false ;
3425 PyObject
* obj0
= 0 ;
3426 PyObject
* obj1
= 0 ;
3427 PyObject
* obj2
= 0 ;
3428 PyObject
* obj3
= 0 ;
3429 PyObject
* obj4
= 0 ;
3430 PyObject
* obj5
= 0 ;
3431 PyObject
* obj6
= 0 ;
3432 PyObject
* obj7
= 0 ;
3433 char * kwnames
[] = {
3434 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3439 if (!SWIG_IsOK(res1
)) {
3440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3442 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3445 if (!SWIG_IsOK(ecode2
)) {
3446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3448 arg2
= static_cast< int >(val2
);
3452 arg3
= wxString_in_helper(obj2
);
3453 if (arg3
== NULL
) SWIG_fail
;
3460 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3466 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3470 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3471 if (!SWIG_IsOK(ecode6
)) {
3472 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3474 arg6
= static_cast< long >(val6
);
3477 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3478 if (!SWIG_IsOK(res7
)) {
3479 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3482 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3484 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3488 arg8
= wxString_in_helper(obj7
);
3489 if (arg8
== NULL
) SWIG_fail
;
3494 if (!wxPyCheckForApp()) SWIG_fail
;
3495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3496 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3497 wxPyEndAllowThreads(__tstate
);
3498 if (PyErr_Occurred()) SWIG_fail
;
3500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3523 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3524 PyObject
*resultobj
= 0;
3525 wxButton
*result
= 0 ;
3527 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3529 if (!wxPyCheckForApp()) SWIG_fail
;
3530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3531 result
= (wxButton
*)new wxButton();
3532 wxPyEndAllowThreads(__tstate
);
3533 if (PyErr_Occurred()) SWIG_fail
;
3535 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3542 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3543 PyObject
*resultobj
= 0;
3544 wxButton
*arg1
= (wxButton
*) 0 ;
3545 wxWindow
*arg2
= (wxWindow
*) 0 ;
3546 int arg3
= (int) -1 ;
3547 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3548 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3549 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3550 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3551 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3552 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3553 long arg7
= (long) 0 ;
3554 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3555 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3556 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3557 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3565 bool temp4
= false ;
3572 bool temp9
= false ;
3573 PyObject
* obj0
= 0 ;
3574 PyObject
* obj1
= 0 ;
3575 PyObject
* obj2
= 0 ;
3576 PyObject
* obj3
= 0 ;
3577 PyObject
* obj4
= 0 ;
3578 PyObject
* obj5
= 0 ;
3579 PyObject
* obj6
= 0 ;
3580 PyObject
* obj7
= 0 ;
3581 PyObject
* obj8
= 0 ;
3582 char * kwnames
[] = {
3583 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3588 if (!SWIG_IsOK(res1
)) {
3589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3591 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3592 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3593 if (!SWIG_IsOK(res2
)) {
3594 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3596 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3598 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3599 if (!SWIG_IsOK(ecode3
)) {
3600 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3602 arg3
= static_cast< int >(val3
);
3606 arg4
= wxString_in_helper(obj3
);
3607 if (arg4
== NULL
) SWIG_fail
;
3614 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3620 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3624 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3625 if (!SWIG_IsOK(ecode7
)) {
3626 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3628 arg7
= static_cast< long >(val7
);
3631 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3632 if (!SWIG_IsOK(res8
)) {
3633 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3636 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3638 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3642 arg9
= wxString_in_helper(obj8
);
3643 if (arg9
== NULL
) SWIG_fail
;
3648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3649 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3650 wxPyEndAllowThreads(__tstate
);
3651 if (PyErr_Occurred()) SWIG_fail
;
3654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3678 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3679 PyObject
*resultobj
= 0;
3680 wxButton
*arg1
= (wxButton
*) 0 ;
3683 PyObject
*swig_obj
[1] ;
3685 if (!args
) SWIG_fail
;
3687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3688 if (!SWIG_IsOK(res1
)) {
3689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3691 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3694 (arg1
)->SetDefault();
3695 wxPyEndAllowThreads(__tstate
);
3696 if (PyErr_Occurred()) SWIG_fail
;
3698 resultobj
= SWIG_Py_Void();
3705 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3706 PyObject
*resultobj
= 0;
3709 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3712 result
= wxButton::GetDefaultSize();
3713 wxPyEndAllowThreads(__tstate
);
3714 if (PyErr_Occurred()) SWIG_fail
;
3716 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3723 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3724 PyObject
*resultobj
= 0;
3725 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3726 SwigValueWrapper
<wxVisualAttributes
> result
;
3729 PyObject
* obj0
= 0 ;
3730 char * kwnames
[] = {
3731 (char *) "variant", NULL
3734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3736 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3737 if (!SWIG_IsOK(ecode1
)) {
3738 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3740 arg1
= static_cast< wxWindowVariant
>(val1
);
3743 if (!wxPyCheckForApp()) SWIG_fail
;
3744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3745 result
= wxButton::GetClassDefaultAttributes(arg1
);
3746 wxPyEndAllowThreads(__tstate
);
3747 if (PyErr_Occurred()) SWIG_fail
;
3749 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3756 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3758 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3759 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3760 return SWIG_Py_Void();
3763 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3764 return SWIG_Python_InitShadowInstance(args
);
3767 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3768 PyObject
*resultobj
= 0;
3769 wxWindow
*arg1
= (wxWindow
*) 0 ;
3770 int arg2
= (int) -1 ;
3771 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3772 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3773 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3774 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3775 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3776 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3777 long arg6
= (long) wxBU_AUTODRAW
;
3778 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3779 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3780 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3781 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3782 wxBitmapButton
*result
= 0 ;
3795 bool temp8
= false ;
3796 PyObject
* obj0
= 0 ;
3797 PyObject
* obj1
= 0 ;
3798 PyObject
* obj2
= 0 ;
3799 PyObject
* obj3
= 0 ;
3800 PyObject
* obj4
= 0 ;
3801 PyObject
* obj5
= 0 ;
3802 PyObject
* obj6
= 0 ;
3803 PyObject
* obj7
= 0 ;
3804 char * kwnames
[] = {
3805 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3810 if (!SWIG_IsOK(res1
)) {
3811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3813 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3816 if (!SWIG_IsOK(ecode2
)) {
3817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3819 arg2
= static_cast< int >(val2
);
3822 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3823 if (!SWIG_IsOK(res3
)) {
3824 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3827 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3829 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3834 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3840 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3844 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3845 if (!SWIG_IsOK(ecode6
)) {
3846 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3848 arg6
= static_cast< long >(val6
);
3851 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3852 if (!SWIG_IsOK(res7
)) {
3853 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3856 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3858 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3862 arg8
= wxString_in_helper(obj7
);
3863 if (arg8
== NULL
) SWIG_fail
;
3868 if (!wxPyCheckForApp()) SWIG_fail
;
3869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3870 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3871 wxPyEndAllowThreads(__tstate
);
3872 if (PyErr_Occurred()) SWIG_fail
;
3874 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3889 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3890 PyObject
*resultobj
= 0;
3891 wxBitmapButton
*result
= 0 ;
3893 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3895 if (!wxPyCheckForApp()) SWIG_fail
;
3896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3897 result
= (wxBitmapButton
*)new wxBitmapButton();
3898 wxPyEndAllowThreads(__tstate
);
3899 if (PyErr_Occurred()) SWIG_fail
;
3901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3908 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3909 PyObject
*resultobj
= 0;
3910 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3911 wxWindow
*arg2
= (wxWindow
*) 0 ;
3912 int arg3
= (int) -1 ;
3913 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3914 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3915 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3916 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3917 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3918 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3919 long arg7
= (long) wxBU_AUTODRAW
;
3920 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3921 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3922 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3923 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3939 bool temp9
= false ;
3940 PyObject
* obj0
= 0 ;
3941 PyObject
* obj1
= 0 ;
3942 PyObject
* obj2
= 0 ;
3943 PyObject
* obj3
= 0 ;
3944 PyObject
* obj4
= 0 ;
3945 PyObject
* obj5
= 0 ;
3946 PyObject
* obj6
= 0 ;
3947 PyObject
* obj7
= 0 ;
3948 PyObject
* obj8
= 0 ;
3949 char * kwnames
[] = {
3950 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3955 if (!SWIG_IsOK(res1
)) {
3956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3958 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3959 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3960 if (!SWIG_IsOK(res2
)) {
3961 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3963 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3965 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3966 if (!SWIG_IsOK(ecode3
)) {
3967 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3969 arg3
= static_cast< int >(val3
);
3972 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3973 if (!SWIG_IsOK(res4
)) {
3974 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3977 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3979 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3984 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3990 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3994 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3995 if (!SWIG_IsOK(ecode7
)) {
3996 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3998 arg7
= static_cast< long >(val7
);
4001 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4002 if (!SWIG_IsOK(res8
)) {
4003 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4006 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4008 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4012 arg9
= wxString_in_helper(obj8
);
4013 if (arg9
== NULL
) SWIG_fail
;
4018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4019 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4020 wxPyEndAllowThreads(__tstate
);
4021 if (PyErr_Occurred()) SWIG_fail
;
4024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4040 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4041 PyObject
*resultobj
= 0;
4042 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4046 PyObject
*swig_obj
[1] ;
4048 if (!args
) SWIG_fail
;
4050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4051 if (!SWIG_IsOK(res1
)) {
4052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4054 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4057 result
= (arg1
)->GetBitmapLabel();
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) SWIG_fail
;
4061 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4068 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4069 PyObject
*resultobj
= 0;
4070 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4074 PyObject
*swig_obj
[1] ;
4076 if (!args
) SWIG_fail
;
4078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4079 if (!SWIG_IsOK(res1
)) {
4080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4082 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4085 result
= (arg1
)->GetBitmapDisabled();
4086 wxPyEndAllowThreads(__tstate
);
4087 if (PyErr_Occurred()) SWIG_fail
;
4089 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4096 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4097 PyObject
*resultobj
= 0;
4098 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4102 PyObject
*swig_obj
[1] ;
4104 if (!args
) SWIG_fail
;
4106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4107 if (!SWIG_IsOK(res1
)) {
4108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4110 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4113 result
= (arg1
)->GetBitmapFocus();
4114 wxPyEndAllowThreads(__tstate
);
4115 if (PyErr_Occurred()) SWIG_fail
;
4117 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4124 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4125 PyObject
*resultobj
= 0;
4126 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4130 PyObject
*swig_obj
[1] ;
4132 if (!args
) SWIG_fail
;
4134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4135 if (!SWIG_IsOK(res1
)) {
4136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4138 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4141 result
= (arg1
)->GetBitmapSelected();
4142 wxPyEndAllowThreads(__tstate
);
4143 if (PyErr_Occurred()) SWIG_fail
;
4145 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4152 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4153 PyObject
*resultobj
= 0;
4154 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4158 PyObject
*swig_obj
[1] ;
4160 if (!args
) SWIG_fail
;
4162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4163 if (!SWIG_IsOK(res1
)) {
4164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4166 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4169 result
= (arg1
)->GetBitmapHover();
4170 wxPyEndAllowThreads(__tstate
);
4171 if (PyErr_Occurred()) SWIG_fail
;
4173 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4180 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4181 PyObject
*resultobj
= 0;
4182 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4183 wxBitmap
*arg2
= 0 ;
4188 PyObject
* obj0
= 0 ;
4189 PyObject
* obj1
= 0 ;
4190 char * kwnames
[] = {
4191 (char *) "self",(char *) "bitmap", NULL
4194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4196 if (!SWIG_IsOK(res1
)) {
4197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4199 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4200 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4201 if (!SWIG_IsOK(res2
)) {
4202 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4205 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4207 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4210 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4211 wxPyEndAllowThreads(__tstate
);
4212 if (PyErr_Occurred()) SWIG_fail
;
4214 resultobj
= SWIG_Py_Void();
4221 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4222 PyObject
*resultobj
= 0;
4223 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4224 wxBitmap
*arg2
= 0 ;
4229 PyObject
* obj0
= 0 ;
4230 PyObject
* obj1
= 0 ;
4231 char * kwnames
[] = {
4232 (char *) "self",(char *) "bitmap", NULL
4235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4237 if (!SWIG_IsOK(res1
)) {
4238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4240 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4241 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4242 if (!SWIG_IsOK(res2
)) {
4243 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4246 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4248 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4251 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4252 wxPyEndAllowThreads(__tstate
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4255 resultobj
= SWIG_Py_Void();
4262 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
*resultobj
= 0;
4264 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4265 wxBitmap
*arg2
= 0 ;
4270 PyObject
* obj0
= 0 ;
4271 PyObject
* obj1
= 0 ;
4272 char * kwnames
[] = {
4273 (char *) "self",(char *) "bitmap", NULL
4276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4278 if (!SWIG_IsOK(res1
)) {
4279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4281 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4282 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4283 if (!SWIG_IsOK(res2
)) {
4284 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4287 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4289 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4292 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4293 wxPyEndAllowThreads(__tstate
);
4294 if (PyErr_Occurred()) SWIG_fail
;
4296 resultobj
= SWIG_Py_Void();
4303 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4304 PyObject
*resultobj
= 0;
4305 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4306 wxBitmap
*arg2
= 0 ;
4311 PyObject
* obj0
= 0 ;
4312 PyObject
* obj1
= 0 ;
4313 char * kwnames
[] = {
4314 (char *) "self",(char *) "bitmap", NULL
4317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4319 if (!SWIG_IsOK(res1
)) {
4320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4322 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4323 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4324 if (!SWIG_IsOK(res2
)) {
4325 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4328 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4330 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4333 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4334 wxPyEndAllowThreads(__tstate
);
4335 if (PyErr_Occurred()) SWIG_fail
;
4337 resultobj
= SWIG_Py_Void();
4344 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4345 PyObject
*resultobj
= 0;
4346 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4347 wxBitmap
*arg2
= 0 ;
4352 PyObject
* obj0
= 0 ;
4353 PyObject
* obj1
= 0 ;
4354 char * kwnames
[] = {
4355 (char *) "self",(char *) "hover", NULL
4358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4360 if (!SWIG_IsOK(res1
)) {
4361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4363 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4364 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4365 if (!SWIG_IsOK(res2
)) {
4366 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4369 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4371 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4374 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4375 wxPyEndAllowThreads(__tstate
);
4376 if (PyErr_Occurred()) SWIG_fail
;
4378 resultobj
= SWIG_Py_Void();
4385 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4386 PyObject
*resultobj
= 0;
4387 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4396 PyObject
* obj0
= 0 ;
4397 PyObject
* obj1
= 0 ;
4398 PyObject
* obj2
= 0 ;
4399 char * kwnames
[] = {
4400 (char *) "self",(char *) "x",(char *) "y", NULL
4403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4405 if (!SWIG_IsOK(res1
)) {
4406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4408 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4409 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4410 if (!SWIG_IsOK(ecode2
)) {
4411 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4413 arg2
= static_cast< int >(val2
);
4414 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4415 if (!SWIG_IsOK(ecode3
)) {
4416 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4418 arg3
= static_cast< int >(val3
);
4420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4421 (arg1
)->SetMargins(arg2
,arg3
);
4422 wxPyEndAllowThreads(__tstate
);
4423 if (PyErr_Occurred()) SWIG_fail
;
4425 resultobj
= SWIG_Py_Void();
4432 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4433 PyObject
*resultobj
= 0;
4434 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4438 PyObject
*swig_obj
[1] ;
4440 if (!args
) SWIG_fail
;
4442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4443 if (!SWIG_IsOK(res1
)) {
4444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4446 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4449 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4450 wxPyEndAllowThreads(__tstate
);
4451 if (PyErr_Occurred()) SWIG_fail
;
4453 resultobj
= SWIG_From_int(static_cast< int >(result
));
4460 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4461 PyObject
*resultobj
= 0;
4462 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4466 PyObject
*swig_obj
[1] ;
4468 if (!args
) SWIG_fail
;
4470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4471 if (!SWIG_IsOK(res1
)) {
4472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4474 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4478 wxPyEndAllowThreads(__tstate
);
4479 if (PyErr_Occurred()) SWIG_fail
;
4481 resultobj
= SWIG_From_int(static_cast< int >(result
));
4488 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4490 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4491 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4492 return SWIG_Py_Void();
4495 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4496 return SWIG_Python_InitShadowInstance(args
);
4499 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4500 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4505 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4506 PyObject
*pyobj
= 0;
4510 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4512 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4519 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4520 PyObject
*resultobj
= 0;
4521 wxWindow
*arg1
= (wxWindow
*) 0 ;
4522 int arg2
= (int) -1 ;
4523 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4524 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4525 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4526 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4527 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4528 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4529 long arg6
= (long) 0 ;
4530 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4531 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4532 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4533 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4534 wxCheckBox
*result
= 0 ;
4539 bool temp3
= false ;
4546 bool temp8
= false ;
4547 PyObject
* obj0
= 0 ;
4548 PyObject
* obj1
= 0 ;
4549 PyObject
* obj2
= 0 ;
4550 PyObject
* obj3
= 0 ;
4551 PyObject
* obj4
= 0 ;
4552 PyObject
* obj5
= 0 ;
4553 PyObject
* obj6
= 0 ;
4554 PyObject
* obj7
= 0 ;
4555 char * kwnames
[] = {
4556 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4561 if (!SWIG_IsOK(res1
)) {
4562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4564 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4566 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4567 if (!SWIG_IsOK(ecode2
)) {
4568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4570 arg2
= static_cast< int >(val2
);
4574 arg3
= wxString_in_helper(obj2
);
4575 if (arg3
== NULL
) SWIG_fail
;
4582 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4588 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4592 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4593 if (!SWIG_IsOK(ecode6
)) {
4594 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4596 arg6
= static_cast< long >(val6
);
4599 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4600 if (!SWIG_IsOK(res7
)) {
4601 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4604 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4606 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4610 arg8
= wxString_in_helper(obj7
);
4611 if (arg8
== NULL
) SWIG_fail
;
4616 if (!wxPyCheckForApp()) SWIG_fail
;
4617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4618 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4619 wxPyEndAllowThreads(__tstate
);
4620 if (PyErr_Occurred()) SWIG_fail
;
4622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4645 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4646 PyObject
*resultobj
= 0;
4647 wxCheckBox
*result
= 0 ;
4649 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4651 if (!wxPyCheckForApp()) SWIG_fail
;
4652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4653 result
= (wxCheckBox
*)new wxCheckBox();
4654 wxPyEndAllowThreads(__tstate
);
4655 if (PyErr_Occurred()) SWIG_fail
;
4657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4664 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4665 PyObject
*resultobj
= 0;
4666 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4667 wxWindow
*arg2
= (wxWindow
*) 0 ;
4668 int arg3
= (int) -1 ;
4669 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4670 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4671 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4672 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4673 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4674 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4675 long arg7
= (long) 0 ;
4676 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4677 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4678 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4679 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4687 bool temp4
= false ;
4694 bool temp9
= false ;
4695 PyObject
* obj0
= 0 ;
4696 PyObject
* obj1
= 0 ;
4697 PyObject
* obj2
= 0 ;
4698 PyObject
* obj3
= 0 ;
4699 PyObject
* obj4
= 0 ;
4700 PyObject
* obj5
= 0 ;
4701 PyObject
* obj6
= 0 ;
4702 PyObject
* obj7
= 0 ;
4703 PyObject
* obj8
= 0 ;
4704 char * kwnames
[] = {
4705 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4710 if (!SWIG_IsOK(res1
)) {
4711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4713 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4714 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4715 if (!SWIG_IsOK(res2
)) {
4716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4718 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4720 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4721 if (!SWIG_IsOK(ecode3
)) {
4722 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4724 arg3
= static_cast< int >(val3
);
4728 arg4
= wxString_in_helper(obj3
);
4729 if (arg4
== NULL
) SWIG_fail
;
4736 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4742 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4746 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4747 if (!SWIG_IsOK(ecode7
)) {
4748 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4750 arg7
= static_cast< long >(val7
);
4753 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4754 if (!SWIG_IsOK(res8
)) {
4755 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4758 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4760 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4764 arg9
= wxString_in_helper(obj8
);
4765 if (arg9
== NULL
) SWIG_fail
;
4770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4771 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4772 wxPyEndAllowThreads(__tstate
);
4773 if (PyErr_Occurred()) SWIG_fail
;
4776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4800 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4801 PyObject
*resultobj
= 0;
4802 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4806 PyObject
*swig_obj
[1] ;
4808 if (!args
) SWIG_fail
;
4810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4811 if (!SWIG_IsOK(res1
)) {
4812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4814 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4817 result
= (bool)(arg1
)->GetValue();
4818 wxPyEndAllowThreads(__tstate
);
4819 if (PyErr_Occurred()) SWIG_fail
;
4822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4830 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4831 PyObject
*resultobj
= 0;
4832 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4836 PyObject
*swig_obj
[1] ;
4838 if (!args
) SWIG_fail
;
4840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4841 if (!SWIG_IsOK(res1
)) {
4842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4844 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4847 result
= (bool)(arg1
)->IsChecked();
4848 wxPyEndAllowThreads(__tstate
);
4849 if (PyErr_Occurred()) SWIG_fail
;
4852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4860 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4861 PyObject
*resultobj
= 0;
4862 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4868 PyObject
* obj0
= 0 ;
4869 PyObject
* obj1
= 0 ;
4870 char * kwnames
[] = {
4871 (char *) "self",(char *) "state", NULL
4874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4876 if (!SWIG_IsOK(res1
)) {
4877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4879 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4880 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4881 if (!SWIG_IsOK(ecode2
)) {
4882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4884 arg2
= static_cast< bool >(val2
);
4886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4887 (arg1
)->SetValue(arg2
);
4888 wxPyEndAllowThreads(__tstate
);
4889 if (PyErr_Occurred()) SWIG_fail
;
4891 resultobj
= SWIG_Py_Void();
4898 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4899 PyObject
*resultobj
= 0;
4900 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4901 wxCheckBoxState result
;
4904 PyObject
*swig_obj
[1] ;
4906 if (!args
) SWIG_fail
;
4908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4909 if (!SWIG_IsOK(res1
)) {
4910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4912 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4915 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4916 wxPyEndAllowThreads(__tstate
);
4917 if (PyErr_Occurred()) SWIG_fail
;
4919 resultobj
= SWIG_From_int(static_cast< int >(result
));
4926 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4927 PyObject
*resultobj
= 0;
4928 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4929 wxCheckBoxState arg2
;
4934 PyObject
* obj0
= 0 ;
4935 PyObject
* obj1
= 0 ;
4936 char * kwnames
[] = {
4937 (char *) "self",(char *) "state", NULL
4940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4942 if (!SWIG_IsOK(res1
)) {
4943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4945 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4946 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4947 if (!SWIG_IsOK(ecode2
)) {
4948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4950 arg2
= static_cast< wxCheckBoxState
>(val2
);
4952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4953 (arg1
)->Set3StateValue(arg2
);
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4957 resultobj
= SWIG_Py_Void();
4964 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4965 PyObject
*resultobj
= 0;
4966 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4970 PyObject
*swig_obj
[1] ;
4972 if (!args
) SWIG_fail
;
4974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4975 if (!SWIG_IsOK(res1
)) {
4976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4978 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4981 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4982 wxPyEndAllowThreads(__tstate
);
4983 if (PyErr_Occurred()) SWIG_fail
;
4986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4994 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4995 PyObject
*resultobj
= 0;
4996 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5000 PyObject
*swig_obj
[1] ;
5002 if (!args
) SWIG_fail
;
5004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5005 if (!SWIG_IsOK(res1
)) {
5006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5008 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5011 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5012 wxPyEndAllowThreads(__tstate
);
5013 if (PyErr_Occurred()) SWIG_fail
;
5016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5024 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5025 PyObject
*resultobj
= 0;
5026 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5027 SwigValueWrapper
<wxVisualAttributes
> result
;
5030 PyObject
* obj0
= 0 ;
5031 char * kwnames
[] = {
5032 (char *) "variant", NULL
5035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5037 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5038 if (!SWIG_IsOK(ecode1
)) {
5039 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5041 arg1
= static_cast< wxWindowVariant
>(val1
);
5044 if (!wxPyCheckForApp()) SWIG_fail
;
5045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5046 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5047 wxPyEndAllowThreads(__tstate
);
5048 if (PyErr_Occurred()) SWIG_fail
;
5050 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5057 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5059 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5060 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5061 return SWIG_Py_Void();
5064 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5065 return SWIG_Python_InitShadowInstance(args
);
5068 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5069 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5074 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5075 PyObject
*pyobj
= 0;
5079 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5081 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5088 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5089 PyObject
*resultobj
= 0;
5090 wxWindow
*arg1
= (wxWindow
*) 0 ;
5091 int arg2
= (int) -1 ;
5092 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5093 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5094 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5095 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5096 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5097 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5098 long arg6
= (long) 0 ;
5099 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5100 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5101 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5102 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5103 wxChoice
*result
= 0 ;
5110 bool temp5
= false ;
5115 bool temp8
= false ;
5116 PyObject
* obj0
= 0 ;
5117 PyObject
* obj1
= 0 ;
5118 PyObject
* obj2
= 0 ;
5119 PyObject
* obj3
= 0 ;
5120 PyObject
* obj4
= 0 ;
5121 PyObject
* obj5
= 0 ;
5122 PyObject
* obj6
= 0 ;
5123 PyObject
* obj7
= 0 ;
5124 char * kwnames
[] = {
5125 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5130 if (!SWIG_IsOK(res1
)) {
5131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5133 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5135 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5136 if (!SWIG_IsOK(ecode2
)) {
5137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5139 arg2
= static_cast< int >(val2
);
5144 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5150 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5155 if (! PySequence_Check(obj4
)) {
5156 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5159 arg5
= new wxArrayString
;
5161 int i
, len
=PySequence_Length(obj4
);
5162 for (i
=0; i
<len
; i
++) {
5163 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5164 wxString
* s
= wxString_in_helper(item
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5173 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5174 if (!SWIG_IsOK(ecode6
)) {
5175 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5177 arg6
= static_cast< long >(val6
);
5180 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5181 if (!SWIG_IsOK(res7
)) {
5182 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5185 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5187 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5191 arg8
= wxString_in_helper(obj7
);
5192 if (arg8
== NULL
) SWIG_fail
;
5197 if (!wxPyCheckForApp()) SWIG_fail
;
5198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5199 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5200 wxPyEndAllowThreads(__tstate
);
5201 if (PyErr_Occurred()) SWIG_fail
;
5203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5205 if (temp5
) delete arg5
;
5214 if (temp5
) delete arg5
;
5224 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5225 PyObject
*resultobj
= 0;
5226 wxChoice
*result
= 0 ;
5228 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5230 if (!wxPyCheckForApp()) SWIG_fail
;
5231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5232 result
= (wxChoice
*)new wxChoice();
5233 wxPyEndAllowThreads(__tstate
);
5234 if (PyErr_Occurred()) SWIG_fail
;
5236 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5243 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5244 PyObject
*resultobj
= 0;
5245 wxChoice
*arg1
= (wxChoice
*) 0 ;
5246 wxWindow
*arg2
= (wxWindow
*) 0 ;
5247 int arg3
= (int) -1 ;
5248 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5249 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5250 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5251 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5252 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5253 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5254 long arg7
= (long) 0 ;
5255 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5256 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5257 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5258 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5268 bool temp6
= false ;
5273 bool temp9
= false ;
5274 PyObject
* obj0
= 0 ;
5275 PyObject
* obj1
= 0 ;
5276 PyObject
* obj2
= 0 ;
5277 PyObject
* obj3
= 0 ;
5278 PyObject
* obj4
= 0 ;
5279 PyObject
* obj5
= 0 ;
5280 PyObject
* obj6
= 0 ;
5281 PyObject
* obj7
= 0 ;
5282 PyObject
* obj8
= 0 ;
5283 char * kwnames
[] = {
5284 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5289 if (!SWIG_IsOK(res1
)) {
5290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5292 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5293 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5294 if (!SWIG_IsOK(res2
)) {
5295 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5297 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5299 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5300 if (!SWIG_IsOK(ecode3
)) {
5301 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5303 arg3
= static_cast< int >(val3
);
5308 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5314 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5319 if (! PySequence_Check(obj5
)) {
5320 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5323 arg6
= new wxArrayString
;
5325 int i
, len
=PySequence_Length(obj5
);
5326 for (i
=0; i
<len
; i
++) {
5327 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5328 wxString
* s
= wxString_in_helper(item
);
5329 if (PyErr_Occurred()) SWIG_fail
;
5337 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5338 if (!SWIG_IsOK(ecode7
)) {
5339 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5341 arg7
= static_cast< long >(val7
);
5344 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5345 if (!SWIG_IsOK(res8
)) {
5346 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5349 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5351 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5355 arg9
= wxString_in_helper(obj8
);
5356 if (arg9
== NULL
) SWIG_fail
;
5361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5362 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5363 wxPyEndAllowThreads(__tstate
);
5364 if (PyErr_Occurred()) SWIG_fail
;
5367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5370 if (temp6
) delete arg6
;
5379 if (temp6
) delete arg6
;
5389 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5390 PyObject
*resultobj
= 0;
5391 wxChoice
*arg1
= (wxChoice
*) 0 ;
5395 PyObject
*swig_obj
[1] ;
5397 if (!args
) SWIG_fail
;
5399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5400 if (!SWIG_IsOK(res1
)) {
5401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5403 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5406 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5407 wxPyEndAllowThreads(__tstate
);
5408 if (PyErr_Occurred()) SWIG_fail
;
5410 resultobj
= SWIG_From_int(static_cast< int >(result
));
5417 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5418 PyObject
*resultobj
= 0;
5419 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5420 SwigValueWrapper
<wxVisualAttributes
> result
;
5423 PyObject
* obj0
= 0 ;
5424 char * kwnames
[] = {
5425 (char *) "variant", NULL
5428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5430 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5431 if (!SWIG_IsOK(ecode1
)) {
5432 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5434 arg1
= static_cast< wxWindowVariant
>(val1
);
5437 if (!wxPyCheckForApp()) SWIG_fail
;
5438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5439 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5440 wxPyEndAllowThreads(__tstate
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5443 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5450 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5452 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5453 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5454 return SWIG_Py_Void();
5457 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5458 return SWIG_Python_InitShadowInstance(args
);
5461 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5462 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5467 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5468 PyObject
*pyobj
= 0;
5472 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5474 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5481 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5482 PyObject
*resultobj
= 0;
5483 wxWindow
*arg1
= (wxWindow
*) 0 ;
5484 int arg2
= (int) -1 ;
5485 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5486 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5487 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5488 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5489 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5490 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5491 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5492 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5493 long arg7
= (long) 0 ;
5494 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5495 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5496 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5497 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5498 wxComboBox
*result
= 0 ;
5503 bool temp3
= false ;
5506 bool temp6
= false ;
5511 bool temp9
= false ;
5512 PyObject
* obj0
= 0 ;
5513 PyObject
* obj1
= 0 ;
5514 PyObject
* obj2
= 0 ;
5515 PyObject
* obj3
= 0 ;
5516 PyObject
* obj4
= 0 ;
5517 PyObject
* obj5
= 0 ;
5518 PyObject
* obj6
= 0 ;
5519 PyObject
* obj7
= 0 ;
5520 PyObject
* obj8
= 0 ;
5521 char * kwnames
[] = {
5522 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5527 if (!SWIG_IsOK(res1
)) {
5528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5530 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5532 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5533 if (!SWIG_IsOK(ecode2
)) {
5534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5536 arg2
= static_cast< int >(val2
);
5540 arg3
= wxString_in_helper(obj2
);
5541 if (arg3
== NULL
) SWIG_fail
;
5548 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5554 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5559 if (! PySequence_Check(obj5
)) {
5560 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5563 arg6
= new wxArrayString
;
5565 int i
, len
=PySequence_Length(obj5
);
5566 for (i
=0; i
<len
; i
++) {
5567 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5568 wxString
* s
= wxString_in_helper(item
);
5569 if (PyErr_Occurred()) SWIG_fail
;
5577 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5578 if (!SWIG_IsOK(ecode7
)) {
5579 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5581 arg7
= static_cast< long >(val7
);
5584 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5585 if (!SWIG_IsOK(res8
)) {
5586 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5589 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5591 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5595 arg9
= wxString_in_helper(obj8
);
5596 if (arg9
== NULL
) SWIG_fail
;
5601 if (!wxPyCheckForApp()) SWIG_fail
;
5602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5603 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
);
5604 wxPyEndAllowThreads(__tstate
);
5605 if (PyErr_Occurred()) SWIG_fail
;
5607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5613 if (temp6
) delete arg6
;
5626 if (temp6
) delete arg6
;
5636 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5637 PyObject
*resultobj
= 0;
5638 wxComboBox
*result
= 0 ;
5640 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5642 if (!wxPyCheckForApp()) SWIG_fail
;
5643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5644 result
= (wxComboBox
*)new wxComboBox();
5645 wxPyEndAllowThreads(__tstate
);
5646 if (PyErr_Occurred()) SWIG_fail
;
5648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5655 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5656 PyObject
*resultobj
= 0;
5657 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5658 wxWindow
*arg2
= (wxWindow
*) 0 ;
5659 int arg3
= (int) -1 ;
5660 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5661 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5662 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5663 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5664 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5665 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5666 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5667 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5668 long arg8
= (long) 0 ;
5669 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5670 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5671 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5672 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5680 bool temp4
= false ;
5683 bool temp7
= false ;
5688 bool temp10
= false ;
5689 PyObject
* obj0
= 0 ;
5690 PyObject
* obj1
= 0 ;
5691 PyObject
* obj2
= 0 ;
5692 PyObject
* obj3
= 0 ;
5693 PyObject
* obj4
= 0 ;
5694 PyObject
* obj5
= 0 ;
5695 PyObject
* obj6
= 0 ;
5696 PyObject
* obj7
= 0 ;
5697 PyObject
* obj8
= 0 ;
5698 PyObject
* obj9
= 0 ;
5699 char * kwnames
[] = {
5700 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5705 if (!SWIG_IsOK(res1
)) {
5706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5708 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5709 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5710 if (!SWIG_IsOK(res2
)) {
5711 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5713 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5715 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5716 if (!SWIG_IsOK(ecode3
)) {
5717 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5719 arg3
= static_cast< int >(val3
);
5723 arg4
= wxString_in_helper(obj3
);
5724 if (arg4
== NULL
) SWIG_fail
;
5731 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5737 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5742 if (! PySequence_Check(obj6
)) {
5743 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5746 arg7
= new wxArrayString
;
5748 int i
, len
=PySequence_Length(obj6
);
5749 for (i
=0; i
<len
; i
++) {
5750 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5751 wxString
* s
= wxString_in_helper(item
);
5752 if (PyErr_Occurred()) SWIG_fail
;
5760 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5761 if (!SWIG_IsOK(ecode8
)) {
5762 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5764 arg8
= static_cast< long >(val8
);
5767 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5768 if (!SWIG_IsOK(res9
)) {
5769 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5772 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5774 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5778 arg10
= wxString_in_helper(obj9
);
5779 if (arg10
== NULL
) SWIG_fail
;
5784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5785 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
);
5786 wxPyEndAllowThreads(__tstate
);
5787 if (PyErr_Occurred()) SWIG_fail
;
5790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5797 if (temp7
) delete arg7
;
5810 if (temp7
) delete arg7
;
5820 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5821 PyObject
*resultobj
= 0;
5822 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5826 PyObject
*swig_obj
[1] ;
5828 if (!args
) SWIG_fail
;
5830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5831 if (!SWIG_IsOK(res1
)) {
5832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5834 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5837 result
= ((wxComboBox
const *)arg1
)->GetValue();
5838 wxPyEndAllowThreads(__tstate
);
5839 if (PyErr_Occurred()) SWIG_fail
;
5843 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5845 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5854 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5855 PyObject
*resultobj
= 0;
5856 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5857 wxString
*arg2
= 0 ;
5860 bool temp2
= false ;
5861 PyObject
* obj0
= 0 ;
5862 PyObject
* obj1
= 0 ;
5863 char * kwnames
[] = {
5864 (char *) "self",(char *) "value", NULL
5867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5869 if (!SWIG_IsOK(res1
)) {
5870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5872 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5874 arg2
= wxString_in_helper(obj1
);
5875 if (arg2
== NULL
) SWIG_fail
;
5879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5880 (arg1
)->SetValue((wxString
const &)*arg2
);
5881 wxPyEndAllowThreads(__tstate
);
5882 if (PyErr_Occurred()) SWIG_fail
;
5884 resultobj
= SWIG_Py_Void();
5899 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5900 PyObject
*resultobj
= 0;
5901 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5904 PyObject
*swig_obj
[1] ;
5906 if (!args
) SWIG_fail
;
5908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5909 if (!SWIG_IsOK(res1
)) {
5910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5912 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 wxPyEndAllowThreads(__tstate
);
5917 if (PyErr_Occurred()) SWIG_fail
;
5919 resultobj
= SWIG_Py_Void();
5926 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5927 PyObject
*resultobj
= 0;
5928 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5931 PyObject
*swig_obj
[1] ;
5933 if (!args
) SWIG_fail
;
5935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5936 if (!SWIG_IsOK(res1
)) {
5937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5939 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5943 wxPyEndAllowThreads(__tstate
);
5944 if (PyErr_Occurred()) SWIG_fail
;
5946 resultobj
= SWIG_Py_Void();
5953 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5954 PyObject
*resultobj
= 0;
5955 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5958 PyObject
*swig_obj
[1] ;
5960 if (!args
) SWIG_fail
;
5962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5963 if (!SWIG_IsOK(res1
)) {
5964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5966 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5970 wxPyEndAllowThreads(__tstate
);
5971 if (PyErr_Occurred()) SWIG_fail
;
5973 resultobj
= SWIG_Py_Void();
5980 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
*resultobj
= 0;
5982 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5988 PyObject
* obj0
= 0 ;
5989 PyObject
* obj1
= 0 ;
5990 char * kwnames
[] = {
5991 (char *) "self",(char *) "pos", NULL
5994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5996 if (!SWIG_IsOK(res1
)) {
5997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
5999 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6000 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6001 if (!SWIG_IsOK(ecode2
)) {
6002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6004 arg2
= static_cast< long >(val2
);
6006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6007 (arg1
)->SetInsertionPoint(arg2
);
6008 wxPyEndAllowThreads(__tstate
);
6009 if (PyErr_Occurred()) SWIG_fail
;
6011 resultobj
= SWIG_Py_Void();
6018 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6019 PyObject
*resultobj
= 0;
6020 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6024 PyObject
*swig_obj
[1] ;
6026 if (!args
) SWIG_fail
;
6028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6029 if (!SWIG_IsOK(res1
)) {
6030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6032 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6035 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6036 wxPyEndAllowThreads(__tstate
);
6037 if (PyErr_Occurred()) SWIG_fail
;
6039 resultobj
= SWIG_From_long(static_cast< long >(result
));
6046 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6047 PyObject
*resultobj
= 0;
6048 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6052 PyObject
*swig_obj
[1] ;
6054 if (!args
) SWIG_fail
;
6056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6057 if (!SWIG_IsOK(res1
)) {
6058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6060 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6063 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6064 wxPyEndAllowThreads(__tstate
);
6065 if (PyErr_Occurred()) SWIG_fail
;
6067 resultobj
= SWIG_From_long(static_cast< long >(result
));
6074 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6075 PyObject
*resultobj
= 0;
6076 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6079 wxString
*arg4
= 0 ;
6086 bool temp4
= false ;
6087 PyObject
* obj0
= 0 ;
6088 PyObject
* obj1
= 0 ;
6089 PyObject
* obj2
= 0 ;
6090 PyObject
* obj3
= 0 ;
6091 char * kwnames
[] = {
6092 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6097 if (!SWIG_IsOK(res1
)) {
6098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6100 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6101 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6102 if (!SWIG_IsOK(ecode2
)) {
6103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6105 arg2
= static_cast< long >(val2
);
6106 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6107 if (!SWIG_IsOK(ecode3
)) {
6108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6110 arg3
= static_cast< long >(val3
);
6112 arg4
= wxString_in_helper(obj3
);
6113 if (arg4
== NULL
) SWIG_fail
;
6117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6118 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6119 wxPyEndAllowThreads(__tstate
);
6120 if (PyErr_Occurred()) SWIG_fail
;
6122 resultobj
= SWIG_Py_Void();
6137 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6138 PyObject
*resultobj
= 0;
6139 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6148 PyObject
* obj0
= 0 ;
6149 PyObject
* obj1
= 0 ;
6150 PyObject
* obj2
= 0 ;
6151 char * kwnames
[] = {
6152 (char *) "self",(char *) "from",(char *) "to", NULL
6155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6157 if (!SWIG_IsOK(res1
)) {
6158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6160 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6161 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6162 if (!SWIG_IsOK(ecode2
)) {
6163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6165 arg2
= static_cast< long >(val2
);
6166 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6167 if (!SWIG_IsOK(ecode3
)) {
6168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6170 arg3
= static_cast< long >(val3
);
6172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6173 (arg1
)->SetSelection(arg2
,arg3
);
6174 wxPyEndAllowThreads(__tstate
);
6175 if (PyErr_Occurred()) SWIG_fail
;
6177 resultobj
= SWIG_Py_Void();
6184 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6185 PyObject
*resultobj
= 0;
6186 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6190 PyObject
*swig_obj
[1] ;
6192 if (!args
) SWIG_fail
;
6194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6195 if (!SWIG_IsOK(res1
)) {
6196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6198 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6201 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6202 wxPyEndAllowThreads(__tstate
);
6203 if (PyErr_Occurred()) SWIG_fail
;
6205 resultobj
= SWIG_From_int(static_cast< int >(result
));
6212 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6213 PyObject
*resultobj
= 0;
6214 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6215 wxString
*arg2
= 0 ;
6219 bool temp2
= false ;
6220 PyObject
* obj0
= 0 ;
6221 PyObject
* obj1
= 0 ;
6222 char * kwnames
[] = {
6223 (char *) "self",(char *) "string", NULL
6226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6228 if (!SWIG_IsOK(res1
)) {
6229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6231 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6233 arg2
= wxString_in_helper(obj1
);
6234 if (arg2
== NULL
) SWIG_fail
;
6238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6239 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6240 wxPyEndAllowThreads(__tstate
);
6241 if (PyErr_Occurred()) SWIG_fail
;
6244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6260 SWIGINTERN PyObject
*_wrap_ComboBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
*resultobj
= 0;
6262 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6264 wxString
*arg3
= 0 ;
6269 bool temp3
= false ;
6270 PyObject
* obj0
= 0 ;
6271 PyObject
* obj1
= 0 ;
6272 PyObject
* obj2
= 0 ;
6273 char * kwnames
[] = {
6274 (char *) "self",(char *) "n",(char *) "string", NULL
6277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6279 if (!SWIG_IsOK(res1
)) {
6280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6282 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6283 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6284 if (!SWIG_IsOK(ecode2
)) {
6285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6287 arg2
= static_cast< int >(val2
);
6289 arg3
= wxString_in_helper(obj2
);
6290 if (arg3
== NULL
) SWIG_fail
;
6294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6295 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
6296 wxPyEndAllowThreads(__tstate
);
6297 if (PyErr_Occurred()) SWIG_fail
;
6299 resultobj
= SWIG_Py_Void();
6314 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6315 PyObject
*resultobj
= 0;
6316 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6322 PyObject
* obj0
= 0 ;
6323 PyObject
* obj1
= 0 ;
6324 char * kwnames
[] = {
6325 (char *) "self",(char *) "editable", NULL
6328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6330 if (!SWIG_IsOK(res1
)) {
6331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6333 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6334 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6335 if (!SWIG_IsOK(ecode2
)) {
6336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6338 arg2
= static_cast< bool >(val2
);
6340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6341 (arg1
)->SetEditable(arg2
);
6342 wxPyEndAllowThreads(__tstate
);
6343 if (PyErr_Occurred()) SWIG_fail
;
6345 resultobj
= SWIG_Py_Void();
6352 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6353 PyObject
*resultobj
= 0;
6354 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6357 PyObject
*swig_obj
[1] ;
6359 if (!args
) SWIG_fail
;
6361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6362 if (!SWIG_IsOK(res1
)) {
6363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6365 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6368 (arg1
)->SetInsertionPointEnd();
6369 wxPyEndAllowThreads(__tstate
);
6370 if (PyErr_Occurred()) SWIG_fail
;
6372 resultobj
= SWIG_Py_Void();
6379 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6380 PyObject
*resultobj
= 0;
6381 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6390 PyObject
* obj0
= 0 ;
6391 PyObject
* obj1
= 0 ;
6392 PyObject
* obj2
= 0 ;
6393 char * kwnames
[] = {
6394 (char *) "self",(char *) "from",(char *) "to", NULL
6397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6399 if (!SWIG_IsOK(res1
)) {
6400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6402 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6403 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6404 if (!SWIG_IsOK(ecode2
)) {
6405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6407 arg2
= static_cast< long >(val2
);
6408 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6409 if (!SWIG_IsOK(ecode3
)) {
6410 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6412 arg3
= static_cast< long >(val3
);
6414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6415 (arg1
)->Remove(arg2
,arg3
);
6416 wxPyEndAllowThreads(__tstate
);
6417 if (PyErr_Occurred()) SWIG_fail
;
6419 resultobj
= SWIG_Py_Void();
6426 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6427 PyObject
*resultobj
= 0;
6428 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6432 PyObject
*swig_obj
[1] ;
6434 if (!args
) SWIG_fail
;
6436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6437 if (!SWIG_IsOK(res1
)) {
6438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6440 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6443 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6444 wxPyEndAllowThreads(__tstate
);
6445 if (PyErr_Occurred()) SWIG_fail
;
6448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6456 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6457 PyObject
*resultobj
= 0;
6458 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6461 PyObject
*swig_obj
[1] ;
6463 if (!args
) SWIG_fail
;
6465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6466 if (!SWIG_IsOK(res1
)) {
6467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6469 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6473 wxPyEndAllowThreads(__tstate
);
6474 if (PyErr_Occurred()) SWIG_fail
;
6476 resultobj
= SWIG_Py_Void();
6483 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6484 PyObject
*resultobj
= 0;
6485 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6488 PyObject
*swig_obj
[1] ;
6490 if (!args
) SWIG_fail
;
6492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6493 if (!SWIG_IsOK(res1
)) {
6494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6496 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6500 wxPyEndAllowThreads(__tstate
);
6501 if (PyErr_Occurred()) SWIG_fail
;
6503 resultobj
= SWIG_Py_Void();
6510 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(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_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6523 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6526 (arg1
)->SelectAll();
6527 wxPyEndAllowThreads(__tstate
);
6528 if (PyErr_Occurred()) SWIG_fail
;
6530 resultobj
= SWIG_Py_Void();
6537 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6538 PyObject
*resultobj
= 0;
6539 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6543 PyObject
*swig_obj
[1] ;
6545 if (!args
) SWIG_fail
;
6547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6548 if (!SWIG_IsOK(res1
)) {
6549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6551 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6554 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6555 wxPyEndAllowThreads(__tstate
);
6556 if (PyErr_Occurred()) SWIG_fail
;
6559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6567 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6568 PyObject
*resultobj
= 0;
6569 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6573 PyObject
*swig_obj
[1] ;
6575 if (!args
) SWIG_fail
;
6577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6578 if (!SWIG_IsOK(res1
)) {
6579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6581 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6584 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6585 wxPyEndAllowThreads(__tstate
);
6586 if (PyErr_Occurred()) SWIG_fail
;
6589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6597 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6598 PyObject
*resultobj
= 0;
6599 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6603 PyObject
*swig_obj
[1] ;
6605 if (!args
) SWIG_fail
;
6607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6608 if (!SWIG_IsOK(res1
)) {
6609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6611 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6614 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6615 wxPyEndAllowThreads(__tstate
);
6616 if (PyErr_Occurred()) SWIG_fail
;
6619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6627 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6628 PyObject
*resultobj
= 0;
6629 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6633 PyObject
*swig_obj
[1] ;
6635 if (!args
) SWIG_fail
;
6637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6638 if (!SWIG_IsOK(res1
)) {
6639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6641 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6644 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6645 wxPyEndAllowThreads(__tstate
);
6646 if (PyErr_Occurred()) SWIG_fail
;
6649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6657 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6658 PyObject
*resultobj
= 0;
6659 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6663 PyObject
*swig_obj
[1] ;
6665 if (!args
) SWIG_fail
;
6667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6668 if (!SWIG_IsOK(res1
)) {
6669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6671 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6674 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6675 wxPyEndAllowThreads(__tstate
);
6676 if (PyErr_Occurred()) SWIG_fail
;
6679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6687 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6688 PyObject
*resultobj
= 0;
6689 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6690 SwigValueWrapper
<wxVisualAttributes
> result
;
6693 PyObject
* obj0
= 0 ;
6694 char * kwnames
[] = {
6695 (char *) "variant", NULL
6698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6700 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6701 if (!SWIG_IsOK(ecode1
)) {
6702 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6704 arg1
= static_cast< wxWindowVariant
>(val1
);
6707 if (!wxPyCheckForApp()) SWIG_fail
;
6708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6709 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6710 wxPyEndAllowThreads(__tstate
);
6711 if (PyErr_Occurred()) SWIG_fail
;
6713 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6720 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6722 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6723 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6724 return SWIG_Py_Void();
6727 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6728 return SWIG_Python_InitShadowInstance(args
);
6731 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6732 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6737 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6738 PyObject
*pyobj
= 0;
6742 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6744 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6751 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6752 PyObject
*resultobj
= 0;
6753 wxWindow
*arg1
= (wxWindow
*) 0 ;
6754 int arg2
= (int) -1 ;
6755 int arg3
= (int) 100 ;
6756 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6757 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6758 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6759 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6760 long arg6
= (long) wxGA_HORIZONTAL
;
6761 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6762 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6763 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6764 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6765 wxGauge
*result
= 0 ;
6778 bool temp8
= false ;
6779 PyObject
* obj0
= 0 ;
6780 PyObject
* obj1
= 0 ;
6781 PyObject
* obj2
= 0 ;
6782 PyObject
* obj3
= 0 ;
6783 PyObject
* obj4
= 0 ;
6784 PyObject
* obj5
= 0 ;
6785 PyObject
* obj6
= 0 ;
6786 PyObject
* obj7
= 0 ;
6787 char * kwnames
[] = {
6788 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6793 if (!SWIG_IsOK(res1
)) {
6794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6796 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6799 if (!SWIG_IsOK(ecode2
)) {
6800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6802 arg2
= static_cast< int >(val2
);
6805 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6806 if (!SWIG_IsOK(ecode3
)) {
6807 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6809 arg3
= static_cast< int >(val3
);
6814 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6820 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6824 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6825 if (!SWIG_IsOK(ecode6
)) {
6826 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6828 arg6
= static_cast< long >(val6
);
6831 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6832 if (!SWIG_IsOK(res7
)) {
6833 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6836 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6838 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6842 arg8
= wxString_in_helper(obj7
);
6843 if (arg8
== NULL
) SWIG_fail
;
6848 if (!wxPyCheckForApp()) SWIG_fail
;
6849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6850 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6851 wxPyEndAllowThreads(__tstate
);
6852 if (PyErr_Occurred()) SWIG_fail
;
6854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6869 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6870 PyObject
*resultobj
= 0;
6871 wxGauge
*result
= 0 ;
6873 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6875 if (!wxPyCheckForApp()) SWIG_fail
;
6876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6877 result
= (wxGauge
*)new wxGauge();
6878 wxPyEndAllowThreads(__tstate
);
6879 if (PyErr_Occurred()) SWIG_fail
;
6881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6888 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6889 PyObject
*resultobj
= 0;
6890 wxGauge
*arg1
= (wxGauge
*) 0 ;
6891 wxWindow
*arg2
= (wxWindow
*) 0 ;
6892 int arg3
= (int) -1 ;
6893 int arg4
= (int) 100 ;
6894 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6895 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6896 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6897 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6898 long arg7
= (long) wxGA_HORIZONTAL
;
6899 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6900 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6901 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6902 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6918 bool temp9
= false ;
6919 PyObject
* obj0
= 0 ;
6920 PyObject
* obj1
= 0 ;
6921 PyObject
* obj2
= 0 ;
6922 PyObject
* obj3
= 0 ;
6923 PyObject
* obj4
= 0 ;
6924 PyObject
* obj5
= 0 ;
6925 PyObject
* obj6
= 0 ;
6926 PyObject
* obj7
= 0 ;
6927 PyObject
* obj8
= 0 ;
6928 char * kwnames
[] = {
6929 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6934 if (!SWIG_IsOK(res1
)) {
6935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6937 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6938 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6939 if (!SWIG_IsOK(res2
)) {
6940 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6942 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6944 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6945 if (!SWIG_IsOK(ecode3
)) {
6946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6948 arg3
= static_cast< int >(val3
);
6951 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6952 if (!SWIG_IsOK(ecode4
)) {
6953 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6955 arg4
= static_cast< int >(val4
);
6960 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6966 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6970 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6971 if (!SWIG_IsOK(ecode7
)) {
6972 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6974 arg7
= static_cast< long >(val7
);
6977 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
6978 if (!SWIG_IsOK(res8
)) {
6979 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6982 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6984 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
6988 arg9
= wxString_in_helper(obj8
);
6989 if (arg9
== NULL
) SWIG_fail
;
6994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6995 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6996 wxPyEndAllowThreads(__tstate
);
6997 if (PyErr_Occurred()) SWIG_fail
;
7000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7016 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7017 PyObject
*resultobj
= 0;
7018 wxGauge
*arg1
= (wxGauge
*) 0 ;
7024 PyObject
* obj0
= 0 ;
7025 PyObject
* obj1
= 0 ;
7026 char * kwnames
[] = {
7027 (char *) "self",(char *) "range", NULL
7030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7032 if (!SWIG_IsOK(res1
)) {
7033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7035 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7036 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7037 if (!SWIG_IsOK(ecode2
)) {
7038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7040 arg2
= static_cast< int >(val2
);
7042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7043 (arg1
)->SetRange(arg2
);
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7047 resultobj
= SWIG_Py_Void();
7054 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7055 PyObject
*resultobj
= 0;
7056 wxGauge
*arg1
= (wxGauge
*) 0 ;
7060 PyObject
*swig_obj
[1] ;
7062 if (!args
) SWIG_fail
;
7064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7065 if (!SWIG_IsOK(res1
)) {
7066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7068 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7071 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7072 wxPyEndAllowThreads(__tstate
);
7073 if (PyErr_Occurred()) SWIG_fail
;
7075 resultobj
= SWIG_From_int(static_cast< int >(result
));
7082 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7083 PyObject
*resultobj
= 0;
7084 wxGauge
*arg1
= (wxGauge
*) 0 ;
7090 PyObject
* obj0
= 0 ;
7091 PyObject
* obj1
= 0 ;
7092 char * kwnames
[] = {
7093 (char *) "self",(char *) "pos", NULL
7096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7098 if (!SWIG_IsOK(res1
)) {
7099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7101 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7103 if (!SWIG_IsOK(ecode2
)) {
7104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7106 arg2
= static_cast< int >(val2
);
7108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7109 (arg1
)->SetValue(arg2
);
7110 wxPyEndAllowThreads(__tstate
);
7111 if (PyErr_Occurred()) SWIG_fail
;
7113 resultobj
= SWIG_Py_Void();
7120 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7121 PyObject
*resultobj
= 0;
7122 wxGauge
*arg1
= (wxGauge
*) 0 ;
7126 PyObject
*swig_obj
[1] ;
7128 if (!args
) SWIG_fail
;
7130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7131 if (!SWIG_IsOK(res1
)) {
7132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7134 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7137 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7138 wxPyEndAllowThreads(__tstate
);
7139 if (PyErr_Occurred()) SWIG_fail
;
7141 resultobj
= SWIG_From_int(static_cast< int >(result
));
7148 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7149 PyObject
*resultobj
= 0;
7150 wxGauge
*arg1
= (wxGauge
*) 0 ;
7154 PyObject
*swig_obj
[1] ;
7156 if (!args
) SWIG_fail
;
7158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7159 if (!SWIG_IsOK(res1
)) {
7160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7162 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7165 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7166 wxPyEndAllowThreads(__tstate
);
7167 if (PyErr_Occurred()) SWIG_fail
;
7170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7178 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7179 PyObject
*resultobj
= 0;
7180 wxGauge
*arg1
= (wxGauge
*) 0 ;
7186 PyObject
* obj0
= 0 ;
7187 PyObject
* obj1
= 0 ;
7188 char * kwnames
[] = {
7189 (char *) "self",(char *) "w", NULL
7192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7194 if (!SWIG_IsOK(res1
)) {
7195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7197 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7198 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7199 if (!SWIG_IsOK(ecode2
)) {
7200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7202 arg2
= static_cast< int >(val2
);
7204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7205 (arg1
)->SetShadowWidth(arg2
);
7206 wxPyEndAllowThreads(__tstate
);
7207 if (PyErr_Occurred()) SWIG_fail
;
7209 resultobj
= SWIG_Py_Void();
7216 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7217 PyObject
*resultobj
= 0;
7218 wxGauge
*arg1
= (wxGauge
*) 0 ;
7222 PyObject
*swig_obj
[1] ;
7224 if (!args
) SWIG_fail
;
7226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7227 if (!SWIG_IsOK(res1
)) {
7228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7230 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7233 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7234 wxPyEndAllowThreads(__tstate
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7237 resultobj
= SWIG_From_int(static_cast< int >(result
));
7244 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7245 PyObject
*resultobj
= 0;
7246 wxGauge
*arg1
= (wxGauge
*) 0 ;
7252 PyObject
* obj0
= 0 ;
7253 PyObject
* obj1
= 0 ;
7254 char * kwnames
[] = {
7255 (char *) "self",(char *) "w", NULL
7258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7260 if (!SWIG_IsOK(res1
)) {
7261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7263 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7265 if (!SWIG_IsOK(ecode2
)) {
7266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7268 arg2
= static_cast< int >(val2
);
7270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7271 (arg1
)->SetBezelFace(arg2
);
7272 wxPyEndAllowThreads(__tstate
);
7273 if (PyErr_Occurred()) SWIG_fail
;
7275 resultobj
= SWIG_Py_Void();
7282 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7283 PyObject
*resultobj
= 0;
7284 wxGauge
*arg1
= (wxGauge
*) 0 ;
7288 PyObject
*swig_obj
[1] ;
7290 if (!args
) SWIG_fail
;
7292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7293 if (!SWIG_IsOK(res1
)) {
7294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7296 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7299 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7300 wxPyEndAllowThreads(__tstate
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7303 resultobj
= SWIG_From_int(static_cast< int >(result
));
7310 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7311 PyObject
*resultobj
= 0;
7312 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7313 SwigValueWrapper
<wxVisualAttributes
> result
;
7316 PyObject
* obj0
= 0 ;
7317 char * kwnames
[] = {
7318 (char *) "variant", NULL
7321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7323 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7324 if (!SWIG_IsOK(ecode1
)) {
7325 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7327 arg1
= static_cast< wxWindowVariant
>(val1
);
7330 if (!wxPyCheckForApp()) SWIG_fail
;
7331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7332 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7333 wxPyEndAllowThreads(__tstate
);
7334 if (PyErr_Occurred()) SWIG_fail
;
7336 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7343 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7345 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7346 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7347 return SWIG_Py_Void();
7350 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7351 return SWIG_Python_InitShadowInstance(args
);
7354 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7355 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7360 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7361 PyObject
*pyobj
= 0;
7365 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7367 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7374 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7375 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7380 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7381 PyObject
*pyobj
= 0;
7385 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7387 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7394 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7395 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7400 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7401 PyObject
*pyobj
= 0;
7405 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7407 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7414 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7415 PyObject
*resultobj
= 0;
7416 wxWindow
*arg1
= (wxWindow
*) 0 ;
7417 int arg2
= (int) -1 ;
7418 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7419 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7420 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7421 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7422 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7423 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7424 long arg6
= (long) 0 ;
7425 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7426 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7427 wxStaticBox
*result
= 0 ;
7432 bool temp3
= false ;
7437 bool temp7
= false ;
7438 PyObject
* obj0
= 0 ;
7439 PyObject
* obj1
= 0 ;
7440 PyObject
* obj2
= 0 ;
7441 PyObject
* obj3
= 0 ;
7442 PyObject
* obj4
= 0 ;
7443 PyObject
* obj5
= 0 ;
7444 PyObject
* obj6
= 0 ;
7445 char * kwnames
[] = {
7446 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7451 if (!SWIG_IsOK(res1
)) {
7452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7454 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7457 if (!SWIG_IsOK(ecode2
)) {
7458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7460 arg2
= static_cast< int >(val2
);
7464 arg3
= wxString_in_helper(obj2
);
7465 if (arg3
== NULL
) SWIG_fail
;
7472 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7478 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7482 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7483 if (!SWIG_IsOK(ecode6
)) {
7484 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7486 arg6
= static_cast< long >(val6
);
7490 arg7
= wxString_in_helper(obj6
);
7491 if (arg7
== NULL
) SWIG_fail
;
7496 if (!wxPyCheckForApp()) SWIG_fail
;
7497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7498 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7499 wxPyEndAllowThreads(__tstate
);
7500 if (PyErr_Occurred()) SWIG_fail
;
7502 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7525 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7526 PyObject
*resultobj
= 0;
7527 wxStaticBox
*result
= 0 ;
7529 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7531 if (!wxPyCheckForApp()) SWIG_fail
;
7532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7533 result
= (wxStaticBox
*)new wxStaticBox();
7534 wxPyEndAllowThreads(__tstate
);
7535 if (PyErr_Occurred()) SWIG_fail
;
7537 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7544 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7545 PyObject
*resultobj
= 0;
7546 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7547 wxWindow
*arg2
= (wxWindow
*) 0 ;
7548 int arg3
= (int) -1 ;
7549 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7550 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7551 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7552 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7553 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7554 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7555 long arg7
= (long) 0 ;
7556 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7557 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7565 bool temp4
= false ;
7570 bool temp8
= false ;
7571 PyObject
* obj0
= 0 ;
7572 PyObject
* obj1
= 0 ;
7573 PyObject
* obj2
= 0 ;
7574 PyObject
* obj3
= 0 ;
7575 PyObject
* obj4
= 0 ;
7576 PyObject
* obj5
= 0 ;
7577 PyObject
* obj6
= 0 ;
7578 PyObject
* obj7
= 0 ;
7579 char * kwnames
[] = {
7580 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7585 if (!SWIG_IsOK(res1
)) {
7586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7588 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7589 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7590 if (!SWIG_IsOK(res2
)) {
7591 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7593 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7595 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7596 if (!SWIG_IsOK(ecode3
)) {
7597 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7599 arg3
= static_cast< int >(val3
);
7603 arg4
= wxString_in_helper(obj3
);
7604 if (arg4
== NULL
) SWIG_fail
;
7611 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7617 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7621 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7622 if (!SWIG_IsOK(ecode7
)) {
7623 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7625 arg7
= static_cast< long >(val7
);
7629 arg8
= wxString_in_helper(obj7
);
7630 if (arg8
== NULL
) SWIG_fail
;
7635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7636 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7637 wxPyEndAllowThreads(__tstate
);
7638 if (PyErr_Occurred()) SWIG_fail
;
7641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7665 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7666 PyObject
*resultobj
= 0;
7667 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7668 SwigValueWrapper
<wxVisualAttributes
> result
;
7671 PyObject
* obj0
= 0 ;
7672 char * kwnames
[] = {
7673 (char *) "variant", NULL
7676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7678 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7679 if (!SWIG_IsOK(ecode1
)) {
7680 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7682 arg1
= static_cast< wxWindowVariant
>(val1
);
7685 if (!wxPyCheckForApp()) SWIG_fail
;
7686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7687 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7688 wxPyEndAllowThreads(__tstate
);
7689 if (PyErr_Occurred()) SWIG_fail
;
7691 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7698 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7700 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7701 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7702 return SWIG_Py_Void();
7705 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7706 return SWIG_Python_InitShadowInstance(args
);
7709 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7710 PyObject
*resultobj
= 0;
7711 wxWindow
*arg1
= (wxWindow
*) 0 ;
7712 int arg2
= (int) -1 ;
7713 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7714 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7715 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7716 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7717 long arg5
= (long) wxLI_HORIZONTAL
;
7718 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7719 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7720 wxStaticLine
*result
= 0 ;
7729 bool temp6
= false ;
7730 PyObject
* obj0
= 0 ;
7731 PyObject
* obj1
= 0 ;
7732 PyObject
* obj2
= 0 ;
7733 PyObject
* obj3
= 0 ;
7734 PyObject
* obj4
= 0 ;
7735 PyObject
* obj5
= 0 ;
7736 char * kwnames
[] = {
7737 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7742 if (!SWIG_IsOK(res1
)) {
7743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7745 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7747 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7748 if (!SWIG_IsOK(ecode2
)) {
7749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7751 arg2
= static_cast< int >(val2
);
7756 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7762 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7766 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7767 if (!SWIG_IsOK(ecode5
)) {
7768 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7770 arg5
= static_cast< long >(val5
);
7774 arg6
= wxString_in_helper(obj5
);
7775 if (arg6
== NULL
) SWIG_fail
;
7780 if (!wxPyCheckForApp()) SWIG_fail
;
7781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7782 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7783 wxPyEndAllowThreads(__tstate
);
7784 if (PyErr_Occurred()) SWIG_fail
;
7786 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7801 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7802 PyObject
*resultobj
= 0;
7803 wxStaticLine
*result
= 0 ;
7805 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7807 if (!wxPyCheckForApp()) SWIG_fail
;
7808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7809 result
= (wxStaticLine
*)new wxStaticLine();
7810 wxPyEndAllowThreads(__tstate
);
7811 if (PyErr_Occurred()) SWIG_fail
;
7813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7820 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7821 PyObject
*resultobj
= 0;
7822 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7823 wxWindow
*arg2
= (wxWindow
*) 0 ;
7824 int arg3
= (int) -1 ;
7825 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7826 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7827 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7828 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7829 long arg6
= (long) wxLI_HORIZONTAL
;
7830 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7831 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7843 bool temp7
= false ;
7844 PyObject
* obj0
= 0 ;
7845 PyObject
* obj1
= 0 ;
7846 PyObject
* obj2
= 0 ;
7847 PyObject
* obj3
= 0 ;
7848 PyObject
* obj4
= 0 ;
7849 PyObject
* obj5
= 0 ;
7850 PyObject
* obj6
= 0 ;
7851 char * kwnames
[] = {
7852 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7857 if (!SWIG_IsOK(res1
)) {
7858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7860 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7861 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7862 if (!SWIG_IsOK(res2
)) {
7863 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7865 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7867 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7868 if (!SWIG_IsOK(ecode3
)) {
7869 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7871 arg3
= static_cast< int >(val3
);
7876 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7882 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7886 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7887 if (!SWIG_IsOK(ecode6
)) {
7888 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7890 arg6
= static_cast< long >(val6
);
7894 arg7
= wxString_in_helper(obj6
);
7895 if (arg7
== NULL
) SWIG_fail
;
7900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7901 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7902 wxPyEndAllowThreads(__tstate
);
7903 if (PyErr_Occurred()) SWIG_fail
;
7906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7922 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7923 PyObject
*resultobj
= 0;
7924 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7928 PyObject
*swig_obj
[1] ;
7930 if (!args
) SWIG_fail
;
7932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7933 if (!SWIG_IsOK(res1
)) {
7934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7936 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7939 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7940 wxPyEndAllowThreads(__tstate
);
7941 if (PyErr_Occurred()) SWIG_fail
;
7944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7952 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7953 PyObject
*resultobj
= 0;
7956 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
7958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7959 result
= (int)wxStaticLine::GetDefaultSize();
7960 wxPyEndAllowThreads(__tstate
);
7961 if (PyErr_Occurred()) SWIG_fail
;
7963 resultobj
= SWIG_From_int(static_cast< int >(result
));
7970 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7971 PyObject
*resultobj
= 0;
7972 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7973 SwigValueWrapper
<wxVisualAttributes
> result
;
7976 PyObject
* obj0
= 0 ;
7977 char * kwnames
[] = {
7978 (char *) "variant", NULL
7981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7983 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7984 if (!SWIG_IsOK(ecode1
)) {
7985 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7987 arg1
= static_cast< wxWindowVariant
>(val1
);
7990 if (!wxPyCheckForApp()) SWIG_fail
;
7991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7992 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
7993 wxPyEndAllowThreads(__tstate
);
7994 if (PyErr_Occurred()) SWIG_fail
;
7996 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8003 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8005 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8006 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8007 return SWIG_Py_Void();
8010 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8011 return SWIG_Python_InitShadowInstance(args
);
8014 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8015 PyObject
*resultobj
= 0;
8016 wxWindow
*arg1
= (wxWindow
*) 0 ;
8017 int arg2
= (int) -1 ;
8018 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8019 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8020 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8021 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8022 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8023 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8024 long arg6
= (long) 0 ;
8025 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8026 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8027 wxStaticText
*result
= 0 ;
8032 bool temp3
= false ;
8037 bool temp7
= false ;
8038 PyObject
* obj0
= 0 ;
8039 PyObject
* obj1
= 0 ;
8040 PyObject
* obj2
= 0 ;
8041 PyObject
* obj3
= 0 ;
8042 PyObject
* obj4
= 0 ;
8043 PyObject
* obj5
= 0 ;
8044 PyObject
* obj6
= 0 ;
8045 char * kwnames
[] = {
8046 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8051 if (!SWIG_IsOK(res1
)) {
8052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8054 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8056 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8057 if (!SWIG_IsOK(ecode2
)) {
8058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8060 arg2
= static_cast< int >(val2
);
8064 arg3
= wxString_in_helper(obj2
);
8065 if (arg3
== NULL
) SWIG_fail
;
8072 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8078 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8082 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8083 if (!SWIG_IsOK(ecode6
)) {
8084 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8086 arg6
= static_cast< long >(val6
);
8090 arg7
= wxString_in_helper(obj6
);
8091 if (arg7
== NULL
) SWIG_fail
;
8096 if (!wxPyCheckForApp()) SWIG_fail
;
8097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8098 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8099 wxPyEndAllowThreads(__tstate
);
8100 if (PyErr_Occurred()) SWIG_fail
;
8102 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8125 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8126 PyObject
*resultobj
= 0;
8127 wxStaticText
*result
= 0 ;
8129 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8131 if (!wxPyCheckForApp()) SWIG_fail
;
8132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8133 result
= (wxStaticText
*)new wxStaticText();
8134 wxPyEndAllowThreads(__tstate
);
8135 if (PyErr_Occurred()) SWIG_fail
;
8137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8144 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8145 PyObject
*resultobj
= 0;
8146 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8147 wxWindow
*arg2
= (wxWindow
*) 0 ;
8148 int arg3
= (int) -1 ;
8149 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8150 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8151 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8152 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8153 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8154 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8155 long arg7
= (long) 0 ;
8156 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8157 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8165 bool temp4
= false ;
8170 bool temp8
= false ;
8171 PyObject
* obj0
= 0 ;
8172 PyObject
* obj1
= 0 ;
8173 PyObject
* obj2
= 0 ;
8174 PyObject
* obj3
= 0 ;
8175 PyObject
* obj4
= 0 ;
8176 PyObject
* obj5
= 0 ;
8177 PyObject
* obj6
= 0 ;
8178 PyObject
* obj7
= 0 ;
8179 char * kwnames
[] = {
8180 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8185 if (!SWIG_IsOK(res1
)) {
8186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8188 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8189 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8190 if (!SWIG_IsOK(res2
)) {
8191 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8193 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8195 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8196 if (!SWIG_IsOK(ecode3
)) {
8197 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8199 arg3
= static_cast< int >(val3
);
8203 arg4
= wxString_in_helper(obj3
);
8204 if (arg4
== NULL
) SWIG_fail
;
8211 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8217 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8221 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8222 if (!SWIG_IsOK(ecode7
)) {
8223 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8225 arg7
= static_cast< long >(val7
);
8229 arg8
= wxString_in_helper(obj7
);
8230 if (arg8
== NULL
) SWIG_fail
;
8235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8236 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8237 wxPyEndAllowThreads(__tstate
);
8238 if (PyErr_Occurred()) SWIG_fail
;
8241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8265 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8266 PyObject
*resultobj
= 0;
8267 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8273 PyObject
* obj0
= 0 ;
8274 PyObject
* obj1
= 0 ;
8275 char * kwnames
[] = {
8276 (char *) "self",(char *) "width", NULL
8279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8281 if (!SWIG_IsOK(res1
)) {
8282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8284 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8286 if (!SWIG_IsOK(ecode2
)) {
8287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8289 arg2
= static_cast< int >(val2
);
8291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8293 wxPyEndAllowThreads(__tstate
);
8294 if (PyErr_Occurred()) SWIG_fail
;
8296 resultobj
= SWIG_Py_Void();
8303 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8304 PyObject
*resultobj
= 0;
8305 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8306 SwigValueWrapper
<wxVisualAttributes
> result
;
8309 PyObject
* obj0
= 0 ;
8310 char * kwnames
[] = {
8311 (char *) "variant", NULL
8314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8316 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8317 if (!SWIG_IsOK(ecode1
)) {
8318 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8320 arg1
= static_cast< wxWindowVariant
>(val1
);
8323 if (!wxPyCheckForApp()) SWIG_fail
;
8324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8325 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8326 wxPyEndAllowThreads(__tstate
);
8327 if (PyErr_Occurred()) SWIG_fail
;
8329 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8336 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8338 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8339 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8340 return SWIG_Py_Void();
8343 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8344 return SWIG_Python_InitShadowInstance(args
);
8347 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8348 PyObject
*resultobj
= 0;
8349 wxWindow
*arg1
= (wxWindow
*) 0 ;
8350 int arg2
= (int) -1 ;
8351 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8352 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8353 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8354 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8355 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8356 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8357 long arg6
= (long) 0 ;
8358 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8359 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8360 wxStaticBitmap
*result
= 0 ;
8371 bool temp7
= false ;
8372 PyObject
* obj0
= 0 ;
8373 PyObject
* obj1
= 0 ;
8374 PyObject
* obj2
= 0 ;
8375 PyObject
* obj3
= 0 ;
8376 PyObject
* obj4
= 0 ;
8377 PyObject
* obj5
= 0 ;
8378 PyObject
* obj6
= 0 ;
8379 char * kwnames
[] = {
8380 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8385 if (!SWIG_IsOK(res1
)) {
8386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8388 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8390 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8391 if (!SWIG_IsOK(ecode2
)) {
8392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8394 arg2
= static_cast< int >(val2
);
8397 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8398 if (!SWIG_IsOK(res3
)) {
8399 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8402 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8404 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8409 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8415 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8419 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8420 if (!SWIG_IsOK(ecode6
)) {
8421 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8423 arg6
= static_cast< long >(val6
);
8427 arg7
= wxString_in_helper(obj6
);
8428 if (arg7
== NULL
) SWIG_fail
;
8433 if (!wxPyCheckForApp()) SWIG_fail
;
8434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8435 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8436 wxPyEndAllowThreads(__tstate
);
8437 if (PyErr_Occurred()) SWIG_fail
;
8439 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8454 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8455 PyObject
*resultobj
= 0;
8456 wxStaticBitmap
*result
= 0 ;
8458 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8460 if (!wxPyCheckForApp()) SWIG_fail
;
8461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8462 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8463 wxPyEndAllowThreads(__tstate
);
8464 if (PyErr_Occurred()) SWIG_fail
;
8466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8473 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8474 PyObject
*resultobj
= 0;
8475 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8476 wxWindow
*arg2
= (wxWindow
*) 0 ;
8477 int arg3
= (int) -1 ;
8478 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8479 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8480 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8481 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8482 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8483 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8484 long arg7
= (long) 0 ;
8485 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8486 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8500 bool temp8
= false ;
8501 PyObject
* obj0
= 0 ;
8502 PyObject
* obj1
= 0 ;
8503 PyObject
* obj2
= 0 ;
8504 PyObject
* obj3
= 0 ;
8505 PyObject
* obj4
= 0 ;
8506 PyObject
* obj5
= 0 ;
8507 PyObject
* obj6
= 0 ;
8508 PyObject
* obj7
= 0 ;
8509 char * kwnames
[] = {
8510 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8515 if (!SWIG_IsOK(res1
)) {
8516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8518 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8519 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8520 if (!SWIG_IsOK(res2
)) {
8521 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8523 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8525 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8526 if (!SWIG_IsOK(ecode3
)) {
8527 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8529 arg3
= static_cast< int >(val3
);
8532 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8533 if (!SWIG_IsOK(res4
)) {
8534 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8537 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8539 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8544 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8550 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8554 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8555 if (!SWIG_IsOK(ecode7
)) {
8556 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8558 arg7
= static_cast< long >(val7
);
8562 arg8
= wxString_in_helper(obj7
);
8563 if (arg8
== NULL
) SWIG_fail
;
8568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8569 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8570 wxPyEndAllowThreads(__tstate
);
8571 if (PyErr_Occurred()) SWIG_fail
;
8574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8590 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8591 PyObject
*resultobj
= 0;
8592 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8596 PyObject
*swig_obj
[1] ;
8598 if (!args
) SWIG_fail
;
8600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8601 if (!SWIG_IsOK(res1
)) {
8602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8604 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8607 result
= (arg1
)->GetBitmap();
8608 wxPyEndAllowThreads(__tstate
);
8609 if (PyErr_Occurred()) SWIG_fail
;
8611 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8618 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8619 PyObject
*resultobj
= 0;
8620 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8621 wxBitmap
*arg2
= 0 ;
8626 PyObject
* obj0
= 0 ;
8627 PyObject
* obj1
= 0 ;
8628 char * kwnames
[] = {
8629 (char *) "self",(char *) "bitmap", NULL
8632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8634 if (!SWIG_IsOK(res1
)) {
8635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8637 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8638 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8639 if (!SWIG_IsOK(res2
)) {
8640 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8643 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8645 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8648 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8649 wxPyEndAllowThreads(__tstate
);
8650 if (PyErr_Occurred()) SWIG_fail
;
8652 resultobj
= SWIG_Py_Void();
8659 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8660 PyObject
*resultobj
= 0;
8661 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8667 PyObject
* obj0
= 0 ;
8668 PyObject
* obj1
= 0 ;
8669 char * kwnames
[] = {
8670 (char *) "self",(char *) "icon", NULL
8673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8675 if (!SWIG_IsOK(res1
)) {
8676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8678 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8679 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8680 if (!SWIG_IsOK(res2
)) {
8681 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8684 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8686 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8689 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8690 wxPyEndAllowThreads(__tstate
);
8691 if (PyErr_Occurred()) SWIG_fail
;
8693 resultobj
= SWIG_Py_Void();
8700 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8701 PyObject
*resultobj
= 0;
8702 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8703 SwigValueWrapper
<wxVisualAttributes
> result
;
8706 PyObject
* obj0
= 0 ;
8707 char * kwnames
[] = {
8708 (char *) "variant", NULL
8711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8713 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8714 if (!SWIG_IsOK(ecode1
)) {
8715 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8717 arg1
= static_cast< wxWindowVariant
>(val1
);
8720 if (!wxPyCheckForApp()) SWIG_fail
;
8721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8722 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8723 wxPyEndAllowThreads(__tstate
);
8724 if (PyErr_Occurred()) SWIG_fail
;
8726 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8733 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8735 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8736 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8737 return SWIG_Py_Void();
8740 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8741 return SWIG_Python_InitShadowInstance(args
);
8744 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8745 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8750 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8751 PyObject
*pyobj
= 0;
8755 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8757 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8764 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8765 PyObject
*resultobj
= 0;
8766 wxWindow
*arg1
= (wxWindow
*) 0 ;
8767 int arg2
= (int) -1 ;
8768 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8769 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8770 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8771 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8772 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8773 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8774 long arg6
= (long) 0 ;
8775 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8776 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8777 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8778 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8779 wxListBox
*result
= 0 ;
8786 bool temp5
= false ;
8791 bool temp8
= false ;
8792 PyObject
* obj0
= 0 ;
8793 PyObject
* obj1
= 0 ;
8794 PyObject
* obj2
= 0 ;
8795 PyObject
* obj3
= 0 ;
8796 PyObject
* obj4
= 0 ;
8797 PyObject
* obj5
= 0 ;
8798 PyObject
* obj6
= 0 ;
8799 PyObject
* obj7
= 0 ;
8800 char * kwnames
[] = {
8801 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8806 if (!SWIG_IsOK(res1
)) {
8807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8809 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8811 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8812 if (!SWIG_IsOK(ecode2
)) {
8813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8815 arg2
= static_cast< int >(val2
);
8820 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8826 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8831 if (! PySequence_Check(obj4
)) {
8832 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8835 arg5
= new wxArrayString
;
8837 int i
, len
=PySequence_Length(obj4
);
8838 for (i
=0; i
<len
; i
++) {
8839 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8840 wxString
* s
= wxString_in_helper(item
);
8841 if (PyErr_Occurred()) SWIG_fail
;
8849 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8850 if (!SWIG_IsOK(ecode6
)) {
8851 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8853 arg6
= static_cast< long >(val6
);
8856 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8857 if (!SWIG_IsOK(res7
)) {
8858 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8861 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8863 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8867 arg8
= wxString_in_helper(obj7
);
8868 if (arg8
== NULL
) SWIG_fail
;
8873 if (!wxPyCheckForApp()) SWIG_fail
;
8874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8875 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8876 wxPyEndAllowThreads(__tstate
);
8877 if (PyErr_Occurred()) SWIG_fail
;
8879 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8881 if (temp5
) delete arg5
;
8890 if (temp5
) delete arg5
;
8900 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8901 PyObject
*resultobj
= 0;
8902 wxListBox
*result
= 0 ;
8904 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8906 if (!wxPyCheckForApp()) SWIG_fail
;
8907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8908 result
= (wxListBox
*)new wxListBox();
8909 wxPyEndAllowThreads(__tstate
);
8910 if (PyErr_Occurred()) SWIG_fail
;
8912 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8919 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8920 PyObject
*resultobj
= 0;
8921 wxListBox
*arg1
= (wxListBox
*) 0 ;
8922 wxWindow
*arg2
= (wxWindow
*) 0 ;
8923 int arg3
= (int) -1 ;
8924 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8925 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8926 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8927 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8928 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8929 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8930 long arg7
= (long) 0 ;
8931 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8932 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8933 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8934 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8944 bool temp6
= false ;
8949 bool temp9
= false ;
8950 PyObject
* obj0
= 0 ;
8951 PyObject
* obj1
= 0 ;
8952 PyObject
* obj2
= 0 ;
8953 PyObject
* obj3
= 0 ;
8954 PyObject
* obj4
= 0 ;
8955 PyObject
* obj5
= 0 ;
8956 PyObject
* obj6
= 0 ;
8957 PyObject
* obj7
= 0 ;
8958 PyObject
* obj8
= 0 ;
8959 char * kwnames
[] = {
8960 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
8964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
8965 if (!SWIG_IsOK(res1
)) {
8966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
8968 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
8969 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8970 if (!SWIG_IsOK(res2
)) {
8971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8973 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8975 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8976 if (!SWIG_IsOK(ecode3
)) {
8977 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
8979 arg3
= static_cast< int >(val3
);
8984 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8990 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8995 if (! PySequence_Check(obj5
)) {
8996 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8999 arg6
= new wxArrayString
;
9001 int i
, len
=PySequence_Length(obj5
);
9002 for (i
=0; i
<len
; i
++) {
9003 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9004 wxString
* s
= wxString_in_helper(item
);
9005 if (PyErr_Occurred()) SWIG_fail
;
9013 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9014 if (!SWIG_IsOK(ecode7
)) {
9015 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9017 arg7
= static_cast< long >(val7
);
9020 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9021 if (!SWIG_IsOK(res8
)) {
9022 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9025 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9027 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9031 arg9
= wxString_in_helper(obj8
);
9032 if (arg9
== NULL
) SWIG_fail
;
9037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9038 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9039 wxPyEndAllowThreads(__tstate
);
9040 if (PyErr_Occurred()) SWIG_fail
;
9043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9046 if (temp6
) delete arg6
;
9055 if (temp6
) delete arg6
;
9065 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9066 PyObject
*resultobj
= 0;
9067 wxListBox
*arg1
= (wxListBox
*) 0 ;
9068 wxString
*arg2
= 0 ;
9070 PyObject
*arg4
= (PyObject
*) NULL
;
9073 bool temp2
= false ;
9076 PyObject
* obj0
= 0 ;
9077 PyObject
* obj1
= 0 ;
9078 PyObject
* obj2
= 0 ;
9079 PyObject
* obj3
= 0 ;
9080 char * kwnames
[] = {
9081 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9086 if (!SWIG_IsOK(res1
)) {
9087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9089 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9091 arg2
= wxString_in_helper(obj1
);
9092 if (arg2
== NULL
) SWIG_fail
;
9095 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9096 if (!SWIG_IsOK(ecode3
)) {
9097 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9099 arg3
= static_cast< int >(val3
);
9104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9105 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9106 wxPyEndAllowThreads(__tstate
);
9107 if (PyErr_Occurred()) SWIG_fail
;
9109 resultobj
= SWIG_Py_Void();
9124 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9125 PyObject
*resultobj
= 0;
9126 wxListBox
*arg1
= (wxListBox
*) 0 ;
9127 wxArrayString
*arg2
= 0 ;
9131 bool temp2
= false ;
9134 PyObject
* obj0
= 0 ;
9135 PyObject
* obj1
= 0 ;
9136 PyObject
* obj2
= 0 ;
9137 char * kwnames
[] = {
9138 (char *) "self",(char *) "items",(char *) "pos", NULL
9141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9143 if (!SWIG_IsOK(res1
)) {
9144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9146 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9148 if (! PySequence_Check(obj1
)) {
9149 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9152 arg2
= new wxArrayString
;
9154 int i
, len
=PySequence_Length(obj1
);
9155 for (i
=0; i
<len
; i
++) {
9156 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9157 wxString
* s
= wxString_in_helper(item
);
9158 if (PyErr_Occurred()) SWIG_fail
;
9164 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9165 if (!SWIG_IsOK(ecode3
)) {
9166 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9168 arg3
= static_cast< unsigned int >(val3
);
9170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9171 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9172 wxPyEndAllowThreads(__tstate
);
9173 if (PyErr_Occurred()) SWIG_fail
;
9175 resultobj
= SWIG_Py_Void();
9177 if (temp2
) delete arg2
;
9182 if (temp2
) delete arg2
;
9188 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9189 PyObject
*resultobj
= 0;
9190 wxListBox
*arg1
= (wxListBox
*) 0 ;
9191 wxArrayString
*arg2
= 0 ;
9194 bool temp2
= false ;
9195 PyObject
* obj0
= 0 ;
9196 PyObject
* obj1
= 0 ;
9197 char * kwnames
[] = {
9198 (char *) "self",(char *) "items", NULL
9201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9203 if (!SWIG_IsOK(res1
)) {
9204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9206 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9208 if (! PySequence_Check(obj1
)) {
9209 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9212 arg2
= new wxArrayString
;
9214 int i
, len
=PySequence_Length(obj1
);
9215 for (i
=0; i
<len
; i
++) {
9216 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9217 wxString
* s
= wxString_in_helper(item
);
9218 if (PyErr_Occurred()) SWIG_fail
;
9225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9226 (arg1
)->Set((wxArrayString
const &)*arg2
);
9227 wxPyEndAllowThreads(__tstate
);
9228 if (PyErr_Occurred()) SWIG_fail
;
9230 resultobj
= SWIG_Py_Void();
9232 if (temp2
) delete arg2
;
9237 if (temp2
) delete arg2
;
9243 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9244 PyObject
*resultobj
= 0;
9245 wxListBox
*arg1
= (wxListBox
*) 0 ;
9252 PyObject
* obj0
= 0 ;
9253 PyObject
* obj1
= 0 ;
9254 char * kwnames
[] = {
9255 (char *) "self",(char *) "n", NULL
9258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9260 if (!SWIG_IsOK(res1
)) {
9261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9263 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9265 if (!SWIG_IsOK(ecode2
)) {
9266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9268 arg2
= static_cast< int >(val2
);
9270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9271 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9272 wxPyEndAllowThreads(__tstate
);
9273 if (PyErr_Occurred()) SWIG_fail
;
9276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9284 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9285 PyObject
*resultobj
= 0;
9286 wxListBox
*arg1
= (wxListBox
*) 0 ;
9288 bool arg3
= (bool) true ;
9295 PyObject
* obj0
= 0 ;
9296 PyObject
* obj1
= 0 ;
9297 PyObject
* obj2
= 0 ;
9298 char * kwnames
[] = {
9299 (char *) "self",(char *) "n",(char *) "select", NULL
9302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9304 if (!SWIG_IsOK(res1
)) {
9305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9307 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9309 if (!SWIG_IsOK(ecode2
)) {
9310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9312 arg2
= static_cast< int >(val2
);
9314 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9315 if (!SWIG_IsOK(ecode3
)) {
9316 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9318 arg3
= static_cast< bool >(val3
);
9321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9322 (arg1
)->SetSelection(arg2
,arg3
);
9323 wxPyEndAllowThreads(__tstate
);
9324 if (PyErr_Occurred()) SWIG_fail
;
9326 resultobj
= SWIG_Py_Void();
9333 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9334 PyObject
*resultobj
= 0;
9335 wxListBox
*arg1
= (wxListBox
*) 0 ;
9341 PyObject
* obj0
= 0 ;
9342 PyObject
* obj1
= 0 ;
9343 char * kwnames
[] = {
9344 (char *) "self",(char *) "n", NULL
9347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9349 if (!SWIG_IsOK(res1
)) {
9350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9352 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9353 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9354 if (!SWIG_IsOK(ecode2
)) {
9355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9357 arg2
= static_cast< int >(val2
);
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9360 (arg1
)->Select(arg2
);
9361 wxPyEndAllowThreads(__tstate
);
9362 if (PyErr_Occurred()) SWIG_fail
;
9364 resultobj
= SWIG_Py_Void();
9371 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9372 PyObject
*resultobj
= 0;
9373 wxListBox
*arg1
= (wxListBox
*) 0 ;
9379 PyObject
* obj0
= 0 ;
9380 PyObject
* obj1
= 0 ;
9381 char * kwnames
[] = {
9382 (char *) "self",(char *) "n", NULL
9385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9387 if (!SWIG_IsOK(res1
)) {
9388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9390 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9391 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9392 if (!SWIG_IsOK(ecode2
)) {
9393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9395 arg2
= static_cast< int >(val2
);
9397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9398 (arg1
)->Deselect(arg2
);
9399 wxPyEndAllowThreads(__tstate
);
9400 if (PyErr_Occurred()) SWIG_fail
;
9402 resultobj
= SWIG_Py_Void();
9409 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9410 PyObject
*resultobj
= 0;
9411 wxListBox
*arg1
= (wxListBox
*) 0 ;
9412 int arg2
= (int) -1 ;
9417 PyObject
* obj0
= 0 ;
9418 PyObject
* obj1
= 0 ;
9419 char * kwnames
[] = {
9420 (char *) "self",(char *) "itemToLeaveSelected", NULL
9423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9425 if (!SWIG_IsOK(res1
)) {
9426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9428 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9431 if (!SWIG_IsOK(ecode2
)) {
9432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9434 arg2
= static_cast< int >(val2
);
9437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9438 (arg1
)->DeselectAll(arg2
);
9439 wxPyEndAllowThreads(__tstate
);
9440 if (PyErr_Occurred()) SWIG_fail
;
9442 resultobj
= SWIG_Py_Void();
9449 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9450 PyObject
*resultobj
= 0;
9451 wxListBox
*arg1
= (wxListBox
*) 0 ;
9452 wxString
*arg2
= 0 ;
9453 bool arg3
= (bool) true ;
9457 bool temp2
= false ;
9460 PyObject
* obj0
= 0 ;
9461 PyObject
* obj1
= 0 ;
9462 PyObject
* obj2
= 0 ;
9463 char * kwnames
[] = {
9464 (char *) "self",(char *) "s",(char *) "select", NULL
9467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9469 if (!SWIG_IsOK(res1
)) {
9470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9472 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9474 arg2
= wxString_in_helper(obj1
);
9475 if (arg2
== NULL
) SWIG_fail
;
9479 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9480 if (!SWIG_IsOK(ecode3
)) {
9481 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9483 arg3
= static_cast< bool >(val3
);
9486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9487 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9488 wxPyEndAllowThreads(__tstate
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9508 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9509 PyObject
*resultobj
= 0;
9510 wxListBox
*arg1
= (wxListBox
*) 0 ;
9511 PyObject
*result
= 0 ;
9514 PyObject
*swig_obj
[1] ;
9516 if (!args
) SWIG_fail
;
9518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9519 if (!SWIG_IsOK(res1
)) {
9520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9522 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9525 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9526 wxPyEndAllowThreads(__tstate
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9536 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9537 PyObject
*resultobj
= 0;
9538 wxListBox
*arg1
= (wxListBox
*) 0 ;
9544 PyObject
* obj0
= 0 ;
9545 PyObject
* obj1
= 0 ;
9546 char * kwnames
[] = {
9547 (char *) "self",(char *) "n", NULL
9550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9552 if (!SWIG_IsOK(res1
)) {
9553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9555 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9556 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9557 if (!SWIG_IsOK(ecode2
)) {
9558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9560 arg2
= static_cast< int >(val2
);
9562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9563 (arg1
)->SetFirstItem(arg2
);
9564 wxPyEndAllowThreads(__tstate
);
9565 if (PyErr_Occurred()) SWIG_fail
;
9567 resultobj
= SWIG_Py_Void();
9574 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9575 PyObject
*resultobj
= 0;
9576 wxListBox
*arg1
= (wxListBox
*) 0 ;
9577 wxString
*arg2
= 0 ;
9580 bool temp2
= false ;
9581 PyObject
* obj0
= 0 ;
9582 PyObject
* obj1
= 0 ;
9583 char * kwnames
[] = {
9584 (char *) "self",(char *) "s", NULL
9587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9589 if (!SWIG_IsOK(res1
)) {
9590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9592 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9594 arg2
= wxString_in_helper(obj1
);
9595 if (arg2
== NULL
) SWIG_fail
;
9599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9600 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9601 wxPyEndAllowThreads(__tstate
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9604 resultobj
= SWIG_Py_Void();
9619 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9620 PyObject
*resultobj
= 0;
9621 wxListBox
*arg1
= (wxListBox
*) 0 ;
9627 PyObject
* obj0
= 0 ;
9628 PyObject
* obj1
= 0 ;
9629 char * kwnames
[] = {
9630 (char *) "self",(char *) "n", NULL
9633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9635 if (!SWIG_IsOK(res1
)) {
9636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9638 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9639 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9640 if (!SWIG_IsOK(ecode2
)) {
9641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9643 arg2
= static_cast< int >(val2
);
9645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9646 (arg1
)->EnsureVisible(arg2
);
9647 wxPyEndAllowThreads(__tstate
);
9648 if (PyErr_Occurred()) SWIG_fail
;
9650 resultobj
= SWIG_Py_Void();
9657 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9658 PyObject
*resultobj
= 0;
9659 wxListBox
*arg1
= (wxListBox
*) 0 ;
9660 wxString
*arg2
= 0 ;
9663 bool temp2
= false ;
9664 PyObject
* obj0
= 0 ;
9665 PyObject
* obj1
= 0 ;
9666 char * kwnames
[] = {
9667 (char *) "self",(char *) "s", NULL
9670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9672 if (!SWIG_IsOK(res1
)) {
9673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9675 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9677 arg2
= wxString_in_helper(obj1
);
9678 if (arg2
== NULL
) SWIG_fail
;
9682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9683 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9684 wxPyEndAllowThreads(__tstate
);
9685 if (PyErr_Occurred()) SWIG_fail
;
9687 resultobj
= SWIG_Py_Void();
9702 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9703 PyObject
*resultobj
= 0;
9704 wxListBox
*arg1
= (wxListBox
*) 0 ;
9708 PyObject
*swig_obj
[1] ;
9710 if (!args
) SWIG_fail
;
9712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9713 if (!SWIG_IsOK(res1
)) {
9714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9716 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9719 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9720 wxPyEndAllowThreads(__tstate
);
9721 if (PyErr_Occurred()) SWIG_fail
;
9724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9732 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9733 PyObject
*resultobj
= 0;
9734 wxListBox
*arg1
= (wxListBox
*) 0 ;
9740 PyObject
* obj0
= 0 ;
9741 PyObject
* obj1
= 0 ;
9742 char * kwnames
[] = {
9743 (char *) "self",(char *) "pt", NULL
9746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9748 if (!SWIG_IsOK(res1
)) {
9749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9751 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9754 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9758 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9759 wxPyEndAllowThreads(__tstate
);
9760 if (PyErr_Occurred()) SWIG_fail
;
9762 resultobj
= SWIG_From_int(static_cast< int >(result
));
9769 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9770 PyObject
*resultobj
= 0;
9771 wxListBox
*arg1
= (wxListBox
*) 0 ;
9773 wxColour
*arg3
= 0 ;
9779 PyObject
* obj0
= 0 ;
9780 PyObject
* obj1
= 0 ;
9781 PyObject
* obj2
= 0 ;
9782 char * kwnames
[] = {
9783 (char *) "self",(char *) "item",(char *) "c", NULL
9786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9788 if (!SWIG_IsOK(res1
)) {
9789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9791 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9792 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9793 if (!SWIG_IsOK(ecode2
)) {
9794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9796 arg2
= static_cast< int >(val2
);
9799 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9803 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9804 wxPyEndAllowThreads(__tstate
);
9805 if (PyErr_Occurred()) SWIG_fail
;
9807 resultobj
= SWIG_Py_Void();
9814 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9815 PyObject
*resultobj
= 0;
9816 wxListBox
*arg1
= (wxListBox
*) 0 ;
9818 wxColour
*arg3
= 0 ;
9824 PyObject
* obj0
= 0 ;
9825 PyObject
* obj1
= 0 ;
9826 PyObject
* obj2
= 0 ;
9827 char * kwnames
[] = {
9828 (char *) "self",(char *) "item",(char *) "c", NULL
9831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9833 if (!SWIG_IsOK(res1
)) {
9834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9836 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9837 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9838 if (!SWIG_IsOK(ecode2
)) {
9839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9841 arg2
= static_cast< int >(val2
);
9844 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9848 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9849 wxPyEndAllowThreads(__tstate
);
9850 if (PyErr_Occurred()) SWIG_fail
;
9852 resultobj
= SWIG_Py_Void();
9859 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9860 PyObject
*resultobj
= 0;
9861 wxListBox
*arg1
= (wxListBox
*) 0 ;
9870 PyObject
* obj0
= 0 ;
9871 PyObject
* obj1
= 0 ;
9872 PyObject
* obj2
= 0 ;
9873 char * kwnames
[] = {
9874 (char *) "self",(char *) "item",(char *) "f", NULL
9877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9879 if (!SWIG_IsOK(res1
)) {
9880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9882 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9883 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9884 if (!SWIG_IsOK(ecode2
)) {
9885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9887 arg2
= static_cast< int >(val2
);
9888 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9889 if (!SWIG_IsOK(res3
)) {
9890 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9893 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9895 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9898 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9899 wxPyEndAllowThreads(__tstate
);
9900 if (PyErr_Occurred()) SWIG_fail
;
9902 resultobj
= SWIG_Py_Void();
9909 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9910 PyObject
*resultobj
= 0;
9911 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9912 SwigValueWrapper
<wxVisualAttributes
> result
;
9915 PyObject
* obj0
= 0 ;
9916 char * kwnames
[] = {
9917 (char *) "variant", NULL
9920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9922 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9923 if (!SWIG_IsOK(ecode1
)) {
9924 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9926 arg1
= static_cast< wxWindowVariant
>(val1
);
9929 if (!wxPyCheckForApp()) SWIG_fail
;
9930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9931 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9932 wxPyEndAllowThreads(__tstate
);
9933 if (PyErr_Occurred()) SWIG_fail
;
9935 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9942 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9944 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9945 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9946 return SWIG_Py_Void();
9949 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9950 return SWIG_Python_InitShadowInstance(args
);
9953 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9954 PyObject
*resultobj
= 0;
9955 wxWindow
*arg1
= (wxWindow
*) 0 ;
9956 int arg2
= (int) -1 ;
9957 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9958 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9959 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9960 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9961 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
9962 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
9963 long arg6
= (long) 0 ;
9964 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9965 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9966 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
9967 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9968 wxCheckListBox
*result
= 0 ;
9975 bool temp5
= false ;
9980 bool temp8
= false ;
9981 PyObject
* obj0
= 0 ;
9982 PyObject
* obj1
= 0 ;
9983 PyObject
* obj2
= 0 ;
9984 PyObject
* obj3
= 0 ;
9985 PyObject
* obj4
= 0 ;
9986 PyObject
* obj5
= 0 ;
9987 PyObject
* obj6
= 0 ;
9988 PyObject
* obj7
= 0 ;
9989 char * kwnames
[] = {
9990 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
9994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9995 if (!SWIG_IsOK(res1
)) {
9996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
9998 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10000 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10001 if (!SWIG_IsOK(ecode2
)) {
10002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10004 arg2
= static_cast< int >(val2
);
10009 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10015 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10020 if (! PySequence_Check(obj4
)) {
10021 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10024 arg5
= new wxArrayString
;
10026 int i
, len
=PySequence_Length(obj4
);
10027 for (i
=0; i
<len
; i
++) {
10028 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10029 wxString
* s
= wxString_in_helper(item
);
10030 if (PyErr_Occurred()) SWIG_fail
;
10038 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10039 if (!SWIG_IsOK(ecode6
)) {
10040 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10042 arg6
= static_cast< long >(val6
);
10045 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10046 if (!SWIG_IsOK(res7
)) {
10047 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10052 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10056 arg8
= wxString_in_helper(obj7
);
10057 if (arg8
== NULL
) SWIG_fail
;
10062 if (!wxPyCheckForApp()) SWIG_fail
;
10063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10064 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10065 wxPyEndAllowThreads(__tstate
);
10066 if (PyErr_Occurred()) SWIG_fail
;
10068 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10070 if (temp5
) delete arg5
;
10079 if (temp5
) delete arg5
;
10089 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10090 PyObject
*resultobj
= 0;
10091 wxCheckListBox
*result
= 0 ;
10093 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10095 if (!wxPyCheckForApp()) SWIG_fail
;
10096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10097 result
= (wxCheckListBox
*)new wxCheckListBox();
10098 wxPyEndAllowThreads(__tstate
);
10099 if (PyErr_Occurred()) SWIG_fail
;
10101 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10108 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10109 PyObject
*resultobj
= 0;
10110 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10111 wxWindow
*arg2
= (wxWindow
*) 0 ;
10112 int arg3
= (int) -1 ;
10113 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10114 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10115 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10116 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10117 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10118 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10119 long arg7
= (long) 0 ;
10120 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10121 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10122 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10123 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10133 bool temp6
= false ;
10138 bool temp9
= false ;
10139 PyObject
* obj0
= 0 ;
10140 PyObject
* obj1
= 0 ;
10141 PyObject
* obj2
= 0 ;
10142 PyObject
* obj3
= 0 ;
10143 PyObject
* obj4
= 0 ;
10144 PyObject
* obj5
= 0 ;
10145 PyObject
* obj6
= 0 ;
10146 PyObject
* obj7
= 0 ;
10147 PyObject
* obj8
= 0 ;
10148 char * kwnames
[] = {
10149 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10154 if (!SWIG_IsOK(res1
)) {
10155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10157 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10158 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10159 if (!SWIG_IsOK(res2
)) {
10160 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10162 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10164 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10165 if (!SWIG_IsOK(ecode3
)) {
10166 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10168 arg3
= static_cast< int >(val3
);
10173 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10179 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10184 if (! PySequence_Check(obj5
)) {
10185 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10188 arg6
= new wxArrayString
;
10190 int i
, len
=PySequence_Length(obj5
);
10191 for (i
=0; i
<len
; i
++) {
10192 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10193 wxString
* s
= wxString_in_helper(item
);
10194 if (PyErr_Occurred()) SWIG_fail
;
10202 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10203 if (!SWIG_IsOK(ecode7
)) {
10204 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10206 arg7
= static_cast< long >(val7
);
10209 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10210 if (!SWIG_IsOK(res8
)) {
10211 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10214 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10216 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10220 arg9
= wxString_in_helper(obj8
);
10221 if (arg9
== NULL
) SWIG_fail
;
10226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10227 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10235 if (temp6
) delete arg6
;
10244 if (temp6
) delete arg6
;
10254 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10255 PyObject
*resultobj
= 0;
10256 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10257 unsigned int arg2
;
10261 unsigned int val2
;
10263 PyObject
* obj0
= 0 ;
10264 PyObject
* obj1
= 0 ;
10265 char * kwnames
[] = {
10266 (char *) "self",(char *) "index", NULL
10269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10271 if (!SWIG_IsOK(res1
)) {
10272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10274 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10275 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10276 if (!SWIG_IsOK(ecode2
)) {
10277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10279 arg2
= static_cast< unsigned int >(val2
);
10281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10282 result
= (bool)(arg1
)->IsChecked(arg2
);
10283 wxPyEndAllowThreads(__tstate
);
10284 if (PyErr_Occurred()) SWIG_fail
;
10287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10295 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10296 PyObject
*resultobj
= 0;
10297 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10298 unsigned int arg2
;
10299 int arg3
= (int) true ;
10302 unsigned int val2
;
10306 PyObject
* obj0
= 0 ;
10307 PyObject
* obj1
= 0 ;
10308 PyObject
* obj2
= 0 ;
10309 char * kwnames
[] = {
10310 (char *) "self",(char *) "index",(char *) "check", NULL
10313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10315 if (!SWIG_IsOK(res1
)) {
10316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10318 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10319 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10320 if (!SWIG_IsOK(ecode2
)) {
10321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10323 arg2
= static_cast< unsigned int >(val2
);
10325 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10326 if (!SWIG_IsOK(ecode3
)) {
10327 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10329 arg3
= static_cast< int >(val3
);
10332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10333 (arg1
)->Check(arg2
,arg3
);
10334 wxPyEndAllowThreads(__tstate
);
10335 if (PyErr_Occurred()) SWIG_fail
;
10337 resultobj
= SWIG_Py_Void();
10344 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10346 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10347 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10348 return SWIG_Py_Void();
10351 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10352 return SWIG_Python_InitShadowInstance(args
);
10355 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10356 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10361 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10362 PyObject
*pyobj
= 0;
10366 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10368 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10375 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10376 PyObject
*resultobj
= 0;
10377 wxColour
const &arg1_defvalue
= wxNullColour
;
10378 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10379 wxColour
const &arg2_defvalue
= wxNullColour
;
10380 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10381 wxFont
const &arg3_defvalue
= wxNullFont
;
10382 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10383 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10384 wxTextAttr
*result
= 0 ;
10391 PyObject
* obj0
= 0 ;
10392 PyObject
* obj1
= 0 ;
10393 PyObject
* obj2
= 0 ;
10394 PyObject
* obj3
= 0 ;
10395 char * kwnames
[] = {
10396 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10403 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10409 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10413 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10414 if (!SWIG_IsOK(res3
)) {
10415 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10418 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10420 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10423 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10424 if (!SWIG_IsOK(ecode4
)) {
10425 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10427 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10431 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10432 wxPyEndAllowThreads(__tstate
);
10433 if (PyErr_Occurred()) SWIG_fail
;
10435 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10442 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10443 PyObject
*resultobj
= 0;
10444 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10447 PyObject
*swig_obj
[1] ;
10449 if (!args
) SWIG_fail
;
10450 swig_obj
[0] = args
;
10451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10452 if (!SWIG_IsOK(res1
)) {
10453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10455 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10460 wxPyEndAllowThreads(__tstate
);
10461 if (PyErr_Occurred()) SWIG_fail
;
10463 resultobj
= SWIG_Py_Void();
10470 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10471 PyObject
*resultobj
= 0;
10472 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10475 PyObject
*swig_obj
[1] ;
10477 if (!args
) SWIG_fail
;
10478 swig_obj
[0] = args
;
10479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10480 if (!SWIG_IsOK(res1
)) {
10481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10483 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10487 wxPyEndAllowThreads(__tstate
);
10488 if (PyErr_Occurred()) SWIG_fail
;
10490 resultobj
= SWIG_Py_Void();
10497 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10498 PyObject
*resultobj
= 0;
10499 wxTextAttr
*arg1
= 0 ;
10500 wxTextAttr
*arg2
= 0 ;
10506 PyObject
* obj0
= 0 ;
10507 PyObject
* obj1
= 0 ;
10508 char * kwnames
[] = {
10509 (char *) "base",(char *) "overlay", NULL
10512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10513 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10514 if (!SWIG_IsOK(res1
)) {
10515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10518 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10520 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10521 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10522 if (!SWIG_IsOK(res2
)) {
10523 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10526 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10528 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10531 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10532 wxPyEndAllowThreads(__tstate
);
10533 if (PyErr_Occurred()) SWIG_fail
;
10535 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10542 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10543 PyObject
*resultobj
= 0;
10544 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10545 wxColour
*arg2
= 0 ;
10549 PyObject
* obj0
= 0 ;
10550 PyObject
* obj1
= 0 ;
10551 char * kwnames
[] = {
10552 (char *) "self",(char *) "colText", NULL
10555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10557 if (!SWIG_IsOK(res1
)) {
10558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10560 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10563 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10567 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10568 wxPyEndAllowThreads(__tstate
);
10569 if (PyErr_Occurred()) SWIG_fail
;
10571 resultobj
= SWIG_Py_Void();
10578 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10579 PyObject
*resultobj
= 0;
10580 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10581 wxColour
*arg2
= 0 ;
10585 PyObject
* obj0
= 0 ;
10586 PyObject
* obj1
= 0 ;
10587 char * kwnames
[] = {
10588 (char *) "self",(char *) "colBack", NULL
10591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10593 if (!SWIG_IsOK(res1
)) {
10594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10596 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10599 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10604 wxPyEndAllowThreads(__tstate
);
10605 if (PyErr_Occurred()) SWIG_fail
;
10607 resultobj
= SWIG_Py_Void();
10614 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10615 PyObject
*resultobj
= 0;
10616 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10618 long arg3
= (long) wxTEXT_ATTR_FONT
;
10625 PyObject
* obj0
= 0 ;
10626 PyObject
* obj1
= 0 ;
10627 PyObject
* obj2
= 0 ;
10628 char * kwnames
[] = {
10629 (char *) "self",(char *) "font",(char *) "flags", NULL
10632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10634 if (!SWIG_IsOK(res1
)) {
10635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10637 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10638 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10639 if (!SWIG_IsOK(res2
)) {
10640 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10643 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10645 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10647 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10648 if (!SWIG_IsOK(ecode3
)) {
10649 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10651 arg3
= static_cast< long >(val3
);
10654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10655 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10656 wxPyEndAllowThreads(__tstate
);
10657 if (PyErr_Occurred()) SWIG_fail
;
10659 resultobj
= SWIG_Py_Void();
10666 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10667 PyObject
*resultobj
= 0;
10668 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10669 wxTextAttrAlignment arg2
;
10674 PyObject
* obj0
= 0 ;
10675 PyObject
* obj1
= 0 ;
10676 char * kwnames
[] = {
10677 (char *) "self",(char *) "alignment", NULL
10680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10682 if (!SWIG_IsOK(res1
)) {
10683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10685 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10686 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10687 if (!SWIG_IsOK(ecode2
)) {
10688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10690 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10693 (arg1
)->SetAlignment(arg2
);
10694 wxPyEndAllowThreads(__tstate
);
10695 if (PyErr_Occurred()) SWIG_fail
;
10697 resultobj
= SWIG_Py_Void();
10704 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10705 PyObject
*resultobj
= 0;
10706 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10707 wxArrayInt
*arg2
= 0 ;
10710 bool temp2
= false ;
10711 PyObject
* obj0
= 0 ;
10712 PyObject
* obj1
= 0 ;
10713 char * kwnames
[] = {
10714 (char *) "self",(char *) "tabs", NULL
10717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10719 if (!SWIG_IsOK(res1
)) {
10720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10722 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10724 if (! PySequence_Check(obj1
)) {
10725 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10728 arg2
= new wxArrayInt
;
10730 int i
, len
=PySequence_Length(obj1
);
10731 for (i
=0; i
<len
; i
++) {
10732 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10733 PyObject
* number
= PyNumber_Int(item
);
10734 arg2
->Add(PyInt_AS_LONG(number
));
10740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10741 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10742 wxPyEndAllowThreads(__tstate
);
10743 if (PyErr_Occurred()) SWIG_fail
;
10745 resultobj
= SWIG_Py_Void();
10747 if (temp2
) delete arg2
;
10752 if (temp2
) delete arg2
;
10758 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10759 PyObject
*resultobj
= 0;
10760 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10762 int arg3
= (int) 0 ;
10769 PyObject
* obj0
= 0 ;
10770 PyObject
* obj1
= 0 ;
10771 PyObject
* obj2
= 0 ;
10772 char * kwnames
[] = {
10773 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10778 if (!SWIG_IsOK(res1
)) {
10779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10781 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10782 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10783 if (!SWIG_IsOK(ecode2
)) {
10784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10786 arg2
= static_cast< int >(val2
);
10788 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10789 if (!SWIG_IsOK(ecode3
)) {
10790 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10792 arg3
= static_cast< int >(val3
);
10795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10796 (arg1
)->SetLeftIndent(arg2
,arg3
);
10797 wxPyEndAllowThreads(__tstate
);
10798 if (PyErr_Occurred()) SWIG_fail
;
10800 resultobj
= SWIG_Py_Void();
10807 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10808 PyObject
*resultobj
= 0;
10809 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10815 PyObject
* obj0
= 0 ;
10816 PyObject
* obj1
= 0 ;
10817 char * kwnames
[] = {
10818 (char *) "self",(char *) "indent", NULL
10821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10823 if (!SWIG_IsOK(res1
)) {
10824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10826 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10827 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10828 if (!SWIG_IsOK(ecode2
)) {
10829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10831 arg2
= static_cast< int >(val2
);
10833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10834 (arg1
)->SetRightIndent(arg2
);
10835 wxPyEndAllowThreads(__tstate
);
10836 if (PyErr_Occurred()) SWIG_fail
;
10838 resultobj
= SWIG_Py_Void();
10845 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10846 PyObject
*resultobj
= 0;
10847 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10853 PyObject
* obj0
= 0 ;
10854 PyObject
* obj1
= 0 ;
10855 char * kwnames
[] = {
10856 (char *) "self",(char *) "flags", NULL
10859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10861 if (!SWIG_IsOK(res1
)) {
10862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10864 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10865 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10866 if (!SWIG_IsOK(ecode2
)) {
10867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10869 arg2
= static_cast< long >(val2
);
10871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10872 (arg1
)->SetFlags(arg2
);
10873 wxPyEndAllowThreads(__tstate
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10876 resultobj
= SWIG_Py_Void();
10883 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10884 PyObject
*resultobj
= 0;
10885 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10889 PyObject
*swig_obj
[1] ;
10891 if (!args
) SWIG_fail
;
10892 swig_obj
[0] = args
;
10893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10894 if (!SWIG_IsOK(res1
)) {
10895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10897 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10900 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10901 wxPyEndAllowThreads(__tstate
);
10902 if (PyErr_Occurred()) SWIG_fail
;
10905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10913 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10914 PyObject
*resultobj
= 0;
10915 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10919 PyObject
*swig_obj
[1] ;
10921 if (!args
) SWIG_fail
;
10922 swig_obj
[0] = args
;
10923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10924 if (!SWIG_IsOK(res1
)) {
10925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10927 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10930 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10931 wxPyEndAllowThreads(__tstate
);
10932 if (PyErr_Occurred()) SWIG_fail
;
10935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10943 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10944 PyObject
*resultobj
= 0;
10945 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10949 PyObject
*swig_obj
[1] ;
10951 if (!args
) SWIG_fail
;
10952 swig_obj
[0] = args
;
10953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10954 if (!SWIG_IsOK(res1
)) {
10955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10957 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10960 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
10961 wxPyEndAllowThreads(__tstate
);
10962 if (PyErr_Occurred()) SWIG_fail
;
10965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10973 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10974 PyObject
*resultobj
= 0;
10975 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10979 PyObject
*swig_obj
[1] ;
10981 if (!args
) SWIG_fail
;
10982 swig_obj
[0] = args
;
10983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10984 if (!SWIG_IsOK(res1
)) {
10985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10987 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10990 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
10991 wxPyEndAllowThreads(__tstate
);
10992 if (PyErr_Occurred()) SWIG_fail
;
10995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11003 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11004 PyObject
*resultobj
= 0;
11005 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11009 PyObject
*swig_obj
[1] ;
11011 if (!args
) SWIG_fail
;
11012 swig_obj
[0] = args
;
11013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11014 if (!SWIG_IsOK(res1
)) {
11015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11017 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11020 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11021 wxPyEndAllowThreads(__tstate
);
11022 if (PyErr_Occurred()) SWIG_fail
;
11025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11033 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11034 PyObject
*resultobj
= 0;
11035 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11039 PyObject
*swig_obj
[1] ;
11041 if (!args
) SWIG_fail
;
11042 swig_obj
[0] = args
;
11043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11044 if (!SWIG_IsOK(res1
)) {
11045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11047 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11050 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11051 wxPyEndAllowThreads(__tstate
);
11052 if (PyErr_Occurred()) SWIG_fail
;
11055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11063 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11064 PyObject
*resultobj
= 0;
11065 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11069 PyObject
*swig_obj
[1] ;
11071 if (!args
) SWIG_fail
;
11072 swig_obj
[0] = args
;
11073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11074 if (!SWIG_IsOK(res1
)) {
11075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11077 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11080 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11081 wxPyEndAllowThreads(__tstate
);
11082 if (PyErr_Occurred()) SWIG_fail
;
11085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11093 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11094 PyObject
*resultobj
= 0;
11095 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11102 PyObject
* obj0
= 0 ;
11103 PyObject
* obj1
= 0 ;
11104 char * kwnames
[] = {
11105 (char *) "self",(char *) "flag", NULL
11108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11110 if (!SWIG_IsOK(res1
)) {
11111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11113 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11114 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11115 if (!SWIG_IsOK(ecode2
)) {
11116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11118 arg2
= static_cast< long >(val2
);
11120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11121 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11122 wxPyEndAllowThreads(__tstate
);
11123 if (PyErr_Occurred()) SWIG_fail
;
11126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11134 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11135 PyObject
*resultobj
= 0;
11136 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11137 wxColour
*result
= 0 ;
11140 PyObject
*swig_obj
[1] ;
11142 if (!args
) SWIG_fail
;
11143 swig_obj
[0] = args
;
11144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11145 if (!SWIG_IsOK(res1
)) {
11146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11148 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11152 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11153 result
= (wxColour
*) &_result_ref
;
11155 wxPyEndAllowThreads(__tstate
);
11156 if (PyErr_Occurred()) SWIG_fail
;
11158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11165 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11166 PyObject
*resultobj
= 0;
11167 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11168 wxColour
*result
= 0 ;
11171 PyObject
*swig_obj
[1] ;
11173 if (!args
) SWIG_fail
;
11174 swig_obj
[0] = args
;
11175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11176 if (!SWIG_IsOK(res1
)) {
11177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11179 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11183 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11184 result
= (wxColour
*) &_result_ref
;
11186 wxPyEndAllowThreads(__tstate
);
11187 if (PyErr_Occurred()) SWIG_fail
;
11189 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11196 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11197 PyObject
*resultobj
= 0;
11198 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11199 wxFont
*result
= 0 ;
11202 PyObject
*swig_obj
[1] ;
11204 if (!args
) SWIG_fail
;
11205 swig_obj
[0] = args
;
11206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11207 if (!SWIG_IsOK(res1
)) {
11208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11210 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11214 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11215 result
= (wxFont
*) &_result_ref
;
11217 wxPyEndAllowThreads(__tstate
);
11218 if (PyErr_Occurred()) SWIG_fail
;
11221 wxFont
* resultptr
= new wxFont(*result
);
11222 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11230 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11231 PyObject
*resultobj
= 0;
11232 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11233 wxTextAttrAlignment result
;
11236 PyObject
*swig_obj
[1] ;
11238 if (!args
) SWIG_fail
;
11239 swig_obj
[0] = args
;
11240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11241 if (!SWIG_IsOK(res1
)) {
11242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11244 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11247 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11248 wxPyEndAllowThreads(__tstate
);
11249 if (PyErr_Occurred()) SWIG_fail
;
11251 resultobj
= SWIG_From_int(static_cast< int >(result
));
11258 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11259 PyObject
*resultobj
= 0;
11260 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11261 wxArrayInt
*result
= 0 ;
11264 PyObject
*swig_obj
[1] ;
11266 if (!args
) SWIG_fail
;
11267 swig_obj
[0] = args
;
11268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11269 if (!SWIG_IsOK(res1
)) {
11270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11272 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11276 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11277 result
= (wxArrayInt
*) &_result_ref
;
11279 wxPyEndAllowThreads(__tstate
);
11280 if (PyErr_Occurred()) SWIG_fail
;
11283 resultobj
= PyList_New(0);
11285 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
11286 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
11287 PyList_Append(resultobj
, val
);
11297 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11298 PyObject
*resultobj
= 0;
11299 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11303 PyObject
*swig_obj
[1] ;
11305 if (!args
) SWIG_fail
;
11306 swig_obj
[0] = args
;
11307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11308 if (!SWIG_IsOK(res1
)) {
11309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11311 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11314 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11315 wxPyEndAllowThreads(__tstate
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11318 resultobj
= SWIG_From_long(static_cast< long >(result
));
11325 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11326 PyObject
*resultobj
= 0;
11327 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11331 PyObject
*swig_obj
[1] ;
11333 if (!args
) SWIG_fail
;
11334 swig_obj
[0] = args
;
11335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11336 if (!SWIG_IsOK(res1
)) {
11337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11339 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11342 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11343 wxPyEndAllowThreads(__tstate
);
11344 if (PyErr_Occurred()) SWIG_fail
;
11346 resultobj
= SWIG_From_long(static_cast< long >(result
));
11353 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11354 PyObject
*resultobj
= 0;
11355 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11359 PyObject
*swig_obj
[1] ;
11361 if (!args
) SWIG_fail
;
11362 swig_obj
[0] = args
;
11363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11364 if (!SWIG_IsOK(res1
)) {
11365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11367 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11370 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11371 wxPyEndAllowThreads(__tstate
);
11372 if (PyErr_Occurred()) SWIG_fail
;
11374 resultobj
= SWIG_From_long(static_cast< long >(result
));
11381 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11382 PyObject
*resultobj
= 0;
11383 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11387 PyObject
*swig_obj
[1] ;
11389 if (!args
) SWIG_fail
;
11390 swig_obj
[0] = args
;
11391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11392 if (!SWIG_IsOK(res1
)) {
11393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11395 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11398 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11399 wxPyEndAllowThreads(__tstate
);
11400 if (PyErr_Occurred()) SWIG_fail
;
11402 resultobj
= SWIG_From_long(static_cast< long >(result
));
11409 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11410 PyObject
*resultobj
= 0;
11411 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11415 PyObject
*swig_obj
[1] ;
11417 if (!args
) SWIG_fail
;
11418 swig_obj
[0] = args
;
11419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11420 if (!SWIG_IsOK(res1
)) {
11421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11423 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11426 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11427 wxPyEndAllowThreads(__tstate
);
11428 if (PyErr_Occurred()) SWIG_fail
;
11431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11439 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11440 PyObject
*resultobj
= 0;
11441 wxTextAttr
*arg1
= 0 ;
11442 wxTextAttr
*arg2
= 0 ;
11443 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11451 PyObject
* obj0
= 0 ;
11452 PyObject
* obj1
= 0 ;
11453 PyObject
* obj2
= 0 ;
11454 char * kwnames
[] = {
11455 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11459 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11460 if (!SWIG_IsOK(res1
)) {
11461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11464 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11466 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11467 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11468 if (!SWIG_IsOK(res2
)) {
11469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11472 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11474 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11475 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11476 if (!SWIG_IsOK(res3
)) {
11477 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11479 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11482 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11483 wxPyEndAllowThreads(__tstate
);
11484 if (PyErr_Occurred()) SWIG_fail
;
11486 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11493 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11495 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11496 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11497 return SWIG_Py_Void();
11500 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11501 return SWIG_Python_InitShadowInstance(args
);
11504 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11505 PyObject
*resultobj
= 0;
11506 wxWindow
*arg1
= (wxWindow
*) 0 ;
11507 int arg2
= (int) -1 ;
11508 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11509 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11510 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11511 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11512 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11513 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11514 long arg6
= (long) 0 ;
11515 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11516 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11517 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11518 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11519 wxTextCtrl
*result
= 0 ;
11524 bool temp3
= false ;
11531 bool temp8
= false ;
11532 PyObject
* obj0
= 0 ;
11533 PyObject
* obj1
= 0 ;
11534 PyObject
* obj2
= 0 ;
11535 PyObject
* obj3
= 0 ;
11536 PyObject
* obj4
= 0 ;
11537 PyObject
* obj5
= 0 ;
11538 PyObject
* obj6
= 0 ;
11539 PyObject
* obj7
= 0 ;
11540 char * kwnames
[] = {
11541 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11546 if (!SWIG_IsOK(res1
)) {
11547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11549 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11552 if (!SWIG_IsOK(ecode2
)) {
11553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11555 arg2
= static_cast< int >(val2
);
11559 arg3
= wxString_in_helper(obj2
);
11560 if (arg3
== NULL
) SWIG_fail
;
11567 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11573 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11577 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11578 if (!SWIG_IsOK(ecode6
)) {
11579 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11581 arg6
= static_cast< long >(val6
);
11584 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11585 if (!SWIG_IsOK(res7
)) {
11586 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11589 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11591 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11595 arg8
= wxString_in_helper(obj7
);
11596 if (arg8
== NULL
) SWIG_fail
;
11601 if (!wxPyCheckForApp()) SWIG_fail
;
11602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11603 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11604 wxPyEndAllowThreads(__tstate
);
11605 if (PyErr_Occurred()) SWIG_fail
;
11607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11630 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11631 PyObject
*resultobj
= 0;
11632 wxTextCtrl
*result
= 0 ;
11634 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11636 if (!wxPyCheckForApp()) SWIG_fail
;
11637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11638 result
= (wxTextCtrl
*)new wxTextCtrl();
11639 wxPyEndAllowThreads(__tstate
);
11640 if (PyErr_Occurred()) SWIG_fail
;
11642 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11649 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11650 PyObject
*resultobj
= 0;
11651 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11652 wxWindow
*arg2
= (wxWindow
*) 0 ;
11653 int arg3
= (int) -1 ;
11654 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11655 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11656 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11657 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11658 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11659 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11660 long arg7
= (long) 0 ;
11661 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11662 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11663 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11664 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11672 bool temp4
= false ;
11679 bool temp9
= false ;
11680 PyObject
* obj0
= 0 ;
11681 PyObject
* obj1
= 0 ;
11682 PyObject
* obj2
= 0 ;
11683 PyObject
* obj3
= 0 ;
11684 PyObject
* obj4
= 0 ;
11685 PyObject
* obj5
= 0 ;
11686 PyObject
* obj6
= 0 ;
11687 PyObject
* obj7
= 0 ;
11688 PyObject
* obj8
= 0 ;
11689 char * kwnames
[] = {
11690 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11695 if (!SWIG_IsOK(res1
)) {
11696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11698 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11699 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11700 if (!SWIG_IsOK(res2
)) {
11701 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11703 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11705 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11706 if (!SWIG_IsOK(ecode3
)) {
11707 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11709 arg3
= static_cast< int >(val3
);
11713 arg4
= wxString_in_helper(obj3
);
11714 if (arg4
== NULL
) SWIG_fail
;
11721 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11727 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11731 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11732 if (!SWIG_IsOK(ecode7
)) {
11733 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11735 arg7
= static_cast< long >(val7
);
11738 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11739 if (!SWIG_IsOK(res8
)) {
11740 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11743 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11745 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11749 arg9
= wxString_in_helper(obj8
);
11750 if (arg9
== NULL
) SWIG_fail
;
11755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11756 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11757 wxPyEndAllowThreads(__tstate
);
11758 if (PyErr_Occurred()) SWIG_fail
;
11761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11785 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11786 PyObject
*resultobj
= 0;
11787 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11791 PyObject
*swig_obj
[1] ;
11793 if (!args
) SWIG_fail
;
11794 swig_obj
[0] = args
;
11795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11796 if (!SWIG_IsOK(res1
)) {
11797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11799 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11802 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11803 wxPyEndAllowThreads(__tstate
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11808 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11810 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11819 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11820 PyObject
*resultobj
= 0;
11821 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11822 wxString
*arg2
= 0 ;
11825 bool temp2
= false ;
11826 PyObject
* obj0
= 0 ;
11827 PyObject
* obj1
= 0 ;
11828 char * kwnames
[] = {
11829 (char *) "self",(char *) "value", NULL
11832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11834 if (!SWIG_IsOK(res1
)) {
11835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11837 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11839 arg2
= wxString_in_helper(obj1
);
11840 if (arg2
== NULL
) SWIG_fail
;
11844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11845 (arg1
)->SetValue((wxString
const &)*arg2
);
11846 wxPyEndAllowThreads(__tstate
);
11847 if (PyErr_Occurred()) SWIG_fail
;
11849 resultobj
= SWIG_Py_Void();
11864 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11865 PyObject
*resultobj
= 0;
11866 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11876 PyObject
* obj0
= 0 ;
11877 PyObject
* obj1
= 0 ;
11878 PyObject
* obj2
= 0 ;
11879 char * kwnames
[] = {
11880 (char *) "self",(char *) "from",(char *) "to", NULL
11883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11885 if (!SWIG_IsOK(res1
)) {
11886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11888 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11889 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11890 if (!SWIG_IsOK(ecode2
)) {
11891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11893 arg2
= static_cast< long >(val2
);
11894 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11895 if (!SWIG_IsOK(ecode3
)) {
11896 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11898 arg3
= static_cast< long >(val3
);
11900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11901 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
11902 wxPyEndAllowThreads(__tstate
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11907 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11909 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11918 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11919 PyObject
*resultobj
= 0;
11920 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11927 PyObject
* obj0
= 0 ;
11928 PyObject
* obj1
= 0 ;
11929 char * kwnames
[] = {
11930 (char *) "self",(char *) "lineNo", NULL
11933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11935 if (!SWIG_IsOK(res1
)) {
11936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11938 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11939 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11940 if (!SWIG_IsOK(ecode2
)) {
11941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
11943 arg2
= static_cast< long >(val2
);
11945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11946 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
11947 wxPyEndAllowThreads(__tstate
);
11948 if (PyErr_Occurred()) SWIG_fail
;
11950 resultobj
= SWIG_From_int(static_cast< int >(result
));
11957 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11958 PyObject
*resultobj
= 0;
11959 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11966 PyObject
* obj0
= 0 ;
11967 PyObject
* obj1
= 0 ;
11968 char * kwnames
[] = {
11969 (char *) "self",(char *) "lineNo", NULL
11972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11974 if (!SWIG_IsOK(res1
)) {
11975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11977 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11978 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11979 if (!SWIG_IsOK(ecode2
)) {
11980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
11982 arg2
= static_cast< long >(val2
);
11984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11985 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
11986 wxPyEndAllowThreads(__tstate
);
11987 if (PyErr_Occurred()) SWIG_fail
;
11991 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11993 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12002 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12003 PyObject
*resultobj
= 0;
12004 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12008 PyObject
*swig_obj
[1] ;
12010 if (!args
) SWIG_fail
;
12011 swig_obj
[0] = args
;
12012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12013 if (!SWIG_IsOK(res1
)) {
12014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12016 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12019 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12020 wxPyEndAllowThreads(__tstate
);
12021 if (PyErr_Occurred()) SWIG_fail
;
12023 resultobj
= SWIG_From_int(static_cast< int >(result
));
12030 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12031 PyObject
*resultobj
= 0;
12032 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12036 PyObject
*swig_obj
[1] ;
12038 if (!args
) SWIG_fail
;
12039 swig_obj
[0] = args
;
12040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12041 if (!SWIG_IsOK(res1
)) {
12042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12044 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12047 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12048 wxPyEndAllowThreads(__tstate
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12060 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12061 PyObject
*resultobj
= 0;
12062 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12066 PyObject
*swig_obj
[1] ;
12068 if (!args
) SWIG_fail
;
12069 swig_obj
[0] = args
;
12070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12071 if (!SWIG_IsOK(res1
)) {
12072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12074 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12077 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12078 wxPyEndAllowThreads(__tstate
);
12079 if (PyErr_Occurred()) SWIG_fail
;
12082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12090 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12091 PyObject
*resultobj
= 0;
12092 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12096 PyObject
*swig_obj
[1] ;
12098 if (!args
) SWIG_fail
;
12099 swig_obj
[0] = args
;
12100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12101 if (!SWIG_IsOK(res1
)) {
12102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12104 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12107 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12108 wxPyEndAllowThreads(__tstate
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12120 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12121 PyObject
*resultobj
= 0;
12122 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12126 PyObject
*swig_obj
[1] ;
12128 if (!args
) SWIG_fail
;
12129 swig_obj
[0] = args
;
12130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12131 if (!SWIG_IsOK(res1
)) {
12132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12134 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12137 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12138 wxPyEndAllowThreads(__tstate
);
12139 if (PyErr_Occurred()) SWIG_fail
;
12142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12150 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12151 PyObject
*resultobj
= 0;
12152 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12153 long *arg2
= (long *) 0 ;
12154 long *arg3
= (long *) 0 ;
12158 int res2
= SWIG_TMPOBJ
;
12160 int res3
= SWIG_TMPOBJ
;
12161 PyObject
*swig_obj
[1] ;
12165 if (!args
) SWIG_fail
;
12166 swig_obj
[0] = args
;
12167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12168 if (!SWIG_IsOK(res1
)) {
12169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12171 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12174 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12175 wxPyEndAllowThreads(__tstate
);
12176 if (PyErr_Occurred()) SWIG_fail
;
12178 resultobj
= SWIG_Py_Void();
12179 if (SWIG_IsTmpObj(res2
)) {
12180 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12182 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12183 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12185 if (SWIG_IsTmpObj(res3
)) {
12186 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12188 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12189 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12197 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12198 PyObject
*resultobj
= 0;
12199 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12203 PyObject
*swig_obj
[1] ;
12205 if (!args
) SWIG_fail
;
12206 swig_obj
[0] = args
;
12207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12208 if (!SWIG_IsOK(res1
)) {
12209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12211 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12214 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12215 wxPyEndAllowThreads(__tstate
);
12216 if (PyErr_Occurred()) SWIG_fail
;
12220 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12222 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12231 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12232 PyObject
*resultobj
= 0;
12233 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12236 PyObject
*swig_obj
[1] ;
12238 if (!args
) SWIG_fail
;
12239 swig_obj
[0] = args
;
12240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12241 if (!SWIG_IsOK(res1
)) {
12242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12244 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12248 wxPyEndAllowThreads(__tstate
);
12249 if (PyErr_Occurred()) SWIG_fail
;
12251 resultobj
= SWIG_Py_Void();
12258 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12259 PyObject
*resultobj
= 0;
12260 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12263 wxString
*arg4
= 0 ;
12270 bool temp4
= false ;
12271 PyObject
* obj0
= 0 ;
12272 PyObject
* obj1
= 0 ;
12273 PyObject
* obj2
= 0 ;
12274 PyObject
* obj3
= 0 ;
12275 char * kwnames
[] = {
12276 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12281 if (!SWIG_IsOK(res1
)) {
12282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12284 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12285 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12286 if (!SWIG_IsOK(ecode2
)) {
12287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12289 arg2
= static_cast< long >(val2
);
12290 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12291 if (!SWIG_IsOK(ecode3
)) {
12292 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12294 arg3
= static_cast< long >(val3
);
12296 arg4
= wxString_in_helper(obj3
);
12297 if (arg4
== NULL
) SWIG_fail
;
12301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12302 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12303 wxPyEndAllowThreads(__tstate
);
12304 if (PyErr_Occurred()) SWIG_fail
;
12306 resultobj
= SWIG_Py_Void();
12321 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12322 PyObject
*resultobj
= 0;
12323 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12332 PyObject
* obj0
= 0 ;
12333 PyObject
* obj1
= 0 ;
12334 PyObject
* obj2
= 0 ;
12335 char * kwnames
[] = {
12336 (char *) "self",(char *) "from",(char *) "to", NULL
12339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12341 if (!SWIG_IsOK(res1
)) {
12342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12344 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12345 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12346 if (!SWIG_IsOK(ecode2
)) {
12347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12349 arg2
= static_cast< long >(val2
);
12350 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12351 if (!SWIG_IsOK(ecode3
)) {
12352 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12354 arg3
= static_cast< long >(val3
);
12356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12357 (arg1
)->Remove(arg2
,arg3
);
12358 wxPyEndAllowThreads(__tstate
);
12359 if (PyErr_Occurred()) SWIG_fail
;
12361 resultobj
= SWIG_Py_Void();
12368 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12369 PyObject
*resultobj
= 0;
12370 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12371 wxString
*arg2
= 0 ;
12375 bool temp2
= false ;
12376 PyObject
* obj0
= 0 ;
12377 PyObject
* obj1
= 0 ;
12378 char * kwnames
[] = {
12379 (char *) "self",(char *) "file", NULL
12382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12384 if (!SWIG_IsOK(res1
)) {
12385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12387 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12389 arg2
= wxString_in_helper(obj1
);
12390 if (arg2
== NULL
) SWIG_fail
;
12394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12395 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
12396 wxPyEndAllowThreads(__tstate
);
12397 if (PyErr_Occurred()) SWIG_fail
;
12400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12416 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12417 PyObject
*resultobj
= 0;
12418 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12419 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12420 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12424 bool temp2
= false ;
12425 PyObject
* obj0
= 0 ;
12426 PyObject
* obj1
= 0 ;
12427 char * kwnames
[] = {
12428 (char *) "self",(char *) "file", NULL
12431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12433 if (!SWIG_IsOK(res1
)) {
12434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12436 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12439 arg2
= wxString_in_helper(obj1
);
12440 if (arg2
== NULL
) SWIG_fail
;
12445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12446 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
12447 wxPyEndAllowThreads(__tstate
);
12448 if (PyErr_Occurred()) SWIG_fail
;
12451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12467 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12468 PyObject
*resultobj
= 0;
12469 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12472 PyObject
*swig_obj
[1] ;
12474 if (!args
) SWIG_fail
;
12475 swig_obj
[0] = args
;
12476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12477 if (!SWIG_IsOK(res1
)) {
12478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12480 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12483 (arg1
)->MarkDirty();
12484 wxPyEndAllowThreads(__tstate
);
12485 if (PyErr_Occurred()) SWIG_fail
;
12487 resultobj
= SWIG_Py_Void();
12494 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12495 PyObject
*resultobj
= 0;
12496 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12499 PyObject
*swig_obj
[1] ;
12501 if (!args
) SWIG_fail
;
12502 swig_obj
[0] = args
;
12503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12504 if (!SWIG_IsOK(res1
)) {
12505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12507 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12510 (arg1
)->DiscardEdits();
12511 wxPyEndAllowThreads(__tstate
);
12512 if (PyErr_Occurred()) SWIG_fail
;
12514 resultobj
= SWIG_Py_Void();
12521 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12522 PyObject
*resultobj
= 0;
12523 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12524 unsigned long arg2
;
12527 unsigned long val2
;
12529 PyObject
* obj0
= 0 ;
12530 PyObject
* obj1
= 0 ;
12531 char * kwnames
[] = {
12532 (char *) "self",(char *) "len", NULL
12535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12537 if (!SWIG_IsOK(res1
)) {
12538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12540 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12541 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12542 if (!SWIG_IsOK(ecode2
)) {
12543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12545 arg2
= static_cast< unsigned long >(val2
);
12547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12548 (arg1
)->SetMaxLength(arg2
);
12549 wxPyEndAllowThreads(__tstate
);
12550 if (PyErr_Occurred()) SWIG_fail
;
12552 resultobj
= SWIG_Py_Void();
12559 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12560 PyObject
*resultobj
= 0;
12561 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12562 wxString
*arg2
= 0 ;
12565 bool temp2
= false ;
12566 PyObject
* obj0
= 0 ;
12567 PyObject
* obj1
= 0 ;
12568 char * kwnames
[] = {
12569 (char *) "self",(char *) "text", NULL
12572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12574 if (!SWIG_IsOK(res1
)) {
12575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12577 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12579 arg2
= wxString_in_helper(obj1
);
12580 if (arg2
== NULL
) SWIG_fail
;
12584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12585 (arg1
)->WriteText((wxString
const &)*arg2
);
12586 wxPyEndAllowThreads(__tstate
);
12587 if (PyErr_Occurred()) SWIG_fail
;
12589 resultobj
= SWIG_Py_Void();
12604 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12605 PyObject
*resultobj
= 0;
12606 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12607 wxString
*arg2
= 0 ;
12610 bool temp2
= false ;
12611 PyObject
* obj0
= 0 ;
12612 PyObject
* obj1
= 0 ;
12613 char * kwnames
[] = {
12614 (char *) "self",(char *) "text", NULL
12617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12619 if (!SWIG_IsOK(res1
)) {
12620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12622 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12624 arg2
= wxString_in_helper(obj1
);
12625 if (arg2
== NULL
) SWIG_fail
;
12629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12630 (arg1
)->AppendText((wxString
const &)*arg2
);
12631 wxPyEndAllowThreads(__tstate
);
12632 if (PyErr_Occurred()) SWIG_fail
;
12634 resultobj
= SWIG_Py_Void();
12649 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12650 PyObject
*resultobj
= 0;
12651 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12652 wxKeyEvent
*arg2
= 0 ;
12658 PyObject
* obj0
= 0 ;
12659 PyObject
* obj1
= 0 ;
12660 char * kwnames
[] = {
12661 (char *) "self",(char *) "event", NULL
12664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12666 if (!SWIG_IsOK(res1
)) {
12667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12669 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12670 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12671 if (!SWIG_IsOK(res2
)) {
12672 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12675 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12677 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12680 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12681 wxPyEndAllowThreads(__tstate
);
12682 if (PyErr_Occurred()) SWIG_fail
;
12685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12693 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12694 PyObject
*resultobj
= 0;
12695 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12698 wxTextAttr
*arg4
= 0 ;
12708 PyObject
* obj0
= 0 ;
12709 PyObject
* obj1
= 0 ;
12710 PyObject
* obj2
= 0 ;
12711 PyObject
* obj3
= 0 ;
12712 char * kwnames
[] = {
12713 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12718 if (!SWIG_IsOK(res1
)) {
12719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12721 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12722 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12723 if (!SWIG_IsOK(ecode2
)) {
12724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12726 arg2
= static_cast< long >(val2
);
12727 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12728 if (!SWIG_IsOK(ecode3
)) {
12729 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12731 arg3
= static_cast< long >(val3
);
12732 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12733 if (!SWIG_IsOK(res4
)) {
12734 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12737 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12739 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12742 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12743 wxPyEndAllowThreads(__tstate
);
12744 if (PyErr_Occurred()) SWIG_fail
;
12747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12755 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12756 PyObject
*resultobj
= 0;
12757 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12759 wxTextAttr
*arg3
= 0 ;
12767 PyObject
* obj0
= 0 ;
12768 PyObject
* obj1
= 0 ;
12769 PyObject
* obj2
= 0 ;
12770 char * kwnames
[] = {
12771 (char *) "self",(char *) "position",(char *) "style", NULL
12774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12776 if (!SWIG_IsOK(res1
)) {
12777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12779 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12780 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12781 if (!SWIG_IsOK(ecode2
)) {
12782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12784 arg2
= static_cast< long >(val2
);
12785 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12786 if (!SWIG_IsOK(res3
)) {
12787 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12790 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12792 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12795 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12796 wxPyEndAllowThreads(__tstate
);
12797 if (PyErr_Occurred()) SWIG_fail
;
12800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12808 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12809 PyObject
*resultobj
= 0;
12810 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12811 wxTextAttr
*arg2
= 0 ;
12817 PyObject
* obj0
= 0 ;
12818 PyObject
* obj1
= 0 ;
12819 char * kwnames
[] = {
12820 (char *) "self",(char *) "style", NULL
12823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12825 if (!SWIG_IsOK(res1
)) {
12826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12828 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12829 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12830 if (!SWIG_IsOK(res2
)) {
12831 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12834 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12836 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12839 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
12840 wxPyEndAllowThreads(__tstate
);
12841 if (PyErr_Occurred()) SWIG_fail
;
12844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12852 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12853 PyObject
*resultobj
= 0;
12854 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12855 wxTextAttr
*result
= 0 ;
12858 PyObject
*swig_obj
[1] ;
12860 if (!args
) SWIG_fail
;
12861 swig_obj
[0] = args
;
12862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12863 if (!SWIG_IsOK(res1
)) {
12864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12866 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12870 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
12871 result
= (wxTextAttr
*) &_result_ref
;
12873 wxPyEndAllowThreads(__tstate
);
12874 if (PyErr_Occurred()) SWIG_fail
;
12876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
12883 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12884 PyObject
*resultobj
= 0;
12885 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12895 PyObject
* obj0
= 0 ;
12896 PyObject
* obj1
= 0 ;
12897 PyObject
* obj2
= 0 ;
12898 char * kwnames
[] = {
12899 (char *) "self",(char *) "x",(char *) "y", NULL
12902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12904 if (!SWIG_IsOK(res1
)) {
12905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12907 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12908 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12909 if (!SWIG_IsOK(ecode2
)) {
12910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
12912 arg2
= static_cast< long >(val2
);
12913 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12914 if (!SWIG_IsOK(ecode3
)) {
12915 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
12917 arg3
= static_cast< long >(val3
);
12919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12920 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
12921 wxPyEndAllowThreads(__tstate
);
12922 if (PyErr_Occurred()) SWIG_fail
;
12924 resultobj
= SWIG_From_long(static_cast< long >(result
));
12931 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12932 PyObject
*resultobj
= 0;
12933 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12935 long *arg3
= (long *) 0 ;
12936 long *arg4
= (long *) 0 ;
12942 int res3
= SWIG_TMPOBJ
;
12944 int res4
= SWIG_TMPOBJ
;
12945 PyObject
* obj0
= 0 ;
12946 PyObject
* obj1
= 0 ;
12947 char * kwnames
[] = {
12948 (char *) "self",(char *) "pos", NULL
12953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12955 if (!SWIG_IsOK(res1
)) {
12956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12958 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12959 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12960 if (!SWIG_IsOK(ecode2
)) {
12961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
12963 arg2
= static_cast< long >(val2
);
12965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12966 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
12967 wxPyEndAllowThreads(__tstate
);
12968 if (PyErr_Occurred()) SWIG_fail
;
12970 resultobj
= SWIG_Py_Void();
12971 if (SWIG_IsTmpObj(res3
)) {
12972 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12974 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12975 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12977 if (SWIG_IsTmpObj(res4
)) {
12978 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
12980 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12981 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
12989 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12990 PyObject
*resultobj
= 0;
12991 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12997 PyObject
* obj0
= 0 ;
12998 PyObject
* obj1
= 0 ;
12999 char * kwnames
[] = {
13000 (char *) "self",(char *) "pos", NULL
13003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13005 if (!SWIG_IsOK(res1
)) {
13006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13008 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13009 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13010 if (!SWIG_IsOK(ecode2
)) {
13011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13013 arg2
= static_cast< long >(val2
);
13015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13016 (arg1
)->ShowPosition(arg2
);
13017 wxPyEndAllowThreads(__tstate
);
13018 if (PyErr_Occurred()) SWIG_fail
;
13020 resultobj
= SWIG_Py_Void();
13027 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13028 PyObject
*resultobj
= 0;
13029 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13030 wxPoint
*arg2
= 0 ;
13031 long *arg3
= (long *) 0 ;
13032 long *arg4
= (long *) 0 ;
13033 wxTextCtrlHitTestResult result
;
13038 int res3
= SWIG_TMPOBJ
;
13040 int res4
= SWIG_TMPOBJ
;
13041 PyObject
* obj0
= 0 ;
13042 PyObject
* obj1
= 0 ;
13043 char * kwnames
[] = {
13044 (char *) "self",(char *) "pt", NULL
13049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13051 if (!SWIG_IsOK(res1
)) {
13052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13054 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13057 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13061 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13062 wxPyEndAllowThreads(__tstate
);
13063 if (PyErr_Occurred()) SWIG_fail
;
13065 resultobj
= SWIG_From_int(static_cast< int >(result
));
13066 if (SWIG_IsTmpObj(res3
)) {
13067 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13069 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13070 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13072 if (SWIG_IsTmpObj(res4
)) {
13073 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13075 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13076 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13084 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13085 PyObject
*resultobj
= 0;
13086 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13087 wxPoint
*arg2
= 0 ;
13088 long *arg3
= (long *) 0 ;
13089 wxTextCtrlHitTestResult result
;
13094 int res3
= SWIG_TMPOBJ
;
13095 PyObject
* obj0
= 0 ;
13096 PyObject
* obj1
= 0 ;
13097 char * kwnames
[] = {
13098 (char *) "self",(char *) "pt", NULL
13102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13104 if (!SWIG_IsOK(res1
)) {
13105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13107 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13110 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13114 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13115 wxPyEndAllowThreads(__tstate
);
13116 if (PyErr_Occurred()) SWIG_fail
;
13118 resultobj
= SWIG_From_int(static_cast< int >(result
));
13119 if (SWIG_IsTmpObj(res3
)) {
13120 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13122 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13123 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13131 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13132 PyObject
*resultobj
= 0;
13133 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13136 PyObject
*swig_obj
[1] ;
13138 if (!args
) SWIG_fail
;
13139 swig_obj
[0] = args
;
13140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13141 if (!SWIG_IsOK(res1
)) {
13142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13144 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13148 wxPyEndAllowThreads(__tstate
);
13149 if (PyErr_Occurred()) SWIG_fail
;
13151 resultobj
= SWIG_Py_Void();
13158 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13159 PyObject
*resultobj
= 0;
13160 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13163 PyObject
*swig_obj
[1] ;
13165 if (!args
) SWIG_fail
;
13166 swig_obj
[0] = args
;
13167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13168 if (!SWIG_IsOK(res1
)) {
13169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13171 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13175 wxPyEndAllowThreads(__tstate
);
13176 if (PyErr_Occurred()) SWIG_fail
;
13178 resultobj
= SWIG_Py_Void();
13185 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13186 PyObject
*resultobj
= 0;
13187 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13190 PyObject
*swig_obj
[1] ;
13192 if (!args
) SWIG_fail
;
13193 swig_obj
[0] = args
;
13194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13195 if (!SWIG_IsOK(res1
)) {
13196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13198 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13202 wxPyEndAllowThreads(__tstate
);
13203 if (PyErr_Occurred()) SWIG_fail
;
13205 resultobj
= SWIG_Py_Void();
13212 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13213 PyObject
*resultobj
= 0;
13214 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13218 PyObject
*swig_obj
[1] ;
13220 if (!args
) SWIG_fail
;
13221 swig_obj
[0] = args
;
13222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13223 if (!SWIG_IsOK(res1
)) {
13224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13226 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13229 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13230 wxPyEndAllowThreads(__tstate
);
13231 if (PyErr_Occurred()) SWIG_fail
;
13234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13242 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13243 PyObject
*resultobj
= 0;
13244 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13248 PyObject
*swig_obj
[1] ;
13250 if (!args
) SWIG_fail
;
13251 swig_obj
[0] = args
;
13252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13253 if (!SWIG_IsOK(res1
)) {
13254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13256 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13259 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13260 wxPyEndAllowThreads(__tstate
);
13261 if (PyErr_Occurred()) SWIG_fail
;
13264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13272 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13273 PyObject
*resultobj
= 0;
13274 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13278 PyObject
*swig_obj
[1] ;
13280 if (!args
) SWIG_fail
;
13281 swig_obj
[0] = args
;
13282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13283 if (!SWIG_IsOK(res1
)) {
13284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13286 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13289 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13290 wxPyEndAllowThreads(__tstate
);
13291 if (PyErr_Occurred()) SWIG_fail
;
13294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13302 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13303 PyObject
*resultobj
= 0;
13304 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13307 PyObject
*swig_obj
[1] ;
13309 if (!args
) SWIG_fail
;
13310 swig_obj
[0] = args
;
13311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13312 if (!SWIG_IsOK(res1
)) {
13313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13315 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13319 wxPyEndAllowThreads(__tstate
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13322 resultobj
= SWIG_Py_Void();
13329 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13330 PyObject
*resultobj
= 0;
13331 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13334 PyObject
*swig_obj
[1] ;
13336 if (!args
) SWIG_fail
;
13337 swig_obj
[0] = args
;
13338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13339 if (!SWIG_IsOK(res1
)) {
13340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13342 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13346 wxPyEndAllowThreads(__tstate
);
13347 if (PyErr_Occurred()) SWIG_fail
;
13349 resultobj
= SWIG_Py_Void();
13356 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13357 PyObject
*resultobj
= 0;
13358 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13362 PyObject
*swig_obj
[1] ;
13364 if (!args
) SWIG_fail
;
13365 swig_obj
[0] = args
;
13366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13367 if (!SWIG_IsOK(res1
)) {
13368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13370 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13373 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13374 wxPyEndAllowThreads(__tstate
);
13375 if (PyErr_Occurred()) SWIG_fail
;
13378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13386 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13387 PyObject
*resultobj
= 0;
13388 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13392 PyObject
*swig_obj
[1] ;
13394 if (!args
) SWIG_fail
;
13395 swig_obj
[0] = args
;
13396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13397 if (!SWIG_IsOK(res1
)) {
13398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13400 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13403 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13404 wxPyEndAllowThreads(__tstate
);
13405 if (PyErr_Occurred()) SWIG_fail
;
13408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13416 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13417 PyObject
*resultobj
= 0;
13418 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13424 PyObject
* obj0
= 0 ;
13425 PyObject
* obj1
= 0 ;
13426 char * kwnames
[] = {
13427 (char *) "self",(char *) "pos", NULL
13430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13432 if (!SWIG_IsOK(res1
)) {
13433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13435 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13436 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13437 if (!SWIG_IsOK(ecode2
)) {
13438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13440 arg2
= static_cast< long >(val2
);
13442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13443 (arg1
)->SetInsertionPoint(arg2
);
13444 wxPyEndAllowThreads(__tstate
);
13445 if (PyErr_Occurred()) SWIG_fail
;
13447 resultobj
= SWIG_Py_Void();
13454 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13455 PyObject
*resultobj
= 0;
13456 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13459 PyObject
*swig_obj
[1] ;
13461 if (!args
) SWIG_fail
;
13462 swig_obj
[0] = args
;
13463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13464 if (!SWIG_IsOK(res1
)) {
13465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13467 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13470 (arg1
)->SetInsertionPointEnd();
13471 wxPyEndAllowThreads(__tstate
);
13472 if (PyErr_Occurred()) SWIG_fail
;
13474 resultobj
= SWIG_Py_Void();
13481 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13482 PyObject
*resultobj
= 0;
13483 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13487 PyObject
*swig_obj
[1] ;
13489 if (!args
) SWIG_fail
;
13490 swig_obj
[0] = args
;
13491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13492 if (!SWIG_IsOK(res1
)) {
13493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13495 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13498 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13499 wxPyEndAllowThreads(__tstate
);
13500 if (PyErr_Occurred()) SWIG_fail
;
13502 resultobj
= SWIG_From_long(static_cast< long >(result
));
13509 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13510 PyObject
*resultobj
= 0;
13511 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13515 PyObject
*swig_obj
[1] ;
13517 if (!args
) SWIG_fail
;
13518 swig_obj
[0] = args
;
13519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13520 if (!SWIG_IsOK(res1
)) {
13521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13523 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13526 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13527 wxPyEndAllowThreads(__tstate
);
13528 if (PyErr_Occurred()) SWIG_fail
;
13530 resultobj
= SWIG_From_long(static_cast< long >(result
));
13537 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13538 PyObject
*resultobj
= 0;
13539 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13548 PyObject
* obj0
= 0 ;
13549 PyObject
* obj1
= 0 ;
13550 PyObject
* obj2
= 0 ;
13551 char * kwnames
[] = {
13552 (char *) "self",(char *) "from",(char *) "to", NULL
13555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13557 if (!SWIG_IsOK(res1
)) {
13558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13560 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13561 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13562 if (!SWIG_IsOK(ecode2
)) {
13563 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13565 arg2
= static_cast< long >(val2
);
13566 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13567 if (!SWIG_IsOK(ecode3
)) {
13568 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13570 arg3
= static_cast< long >(val3
);
13572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13573 (arg1
)->SetSelection(arg2
,arg3
);
13574 wxPyEndAllowThreads(__tstate
);
13575 if (PyErr_Occurred()) SWIG_fail
;
13577 resultobj
= SWIG_Py_Void();
13584 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13585 PyObject
*resultobj
= 0;
13586 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13589 PyObject
*swig_obj
[1] ;
13591 if (!args
) SWIG_fail
;
13592 swig_obj
[0] = args
;
13593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13594 if (!SWIG_IsOK(res1
)) {
13595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13597 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13600 (arg1
)->SelectAll();
13601 wxPyEndAllowThreads(__tstate
);
13602 if (PyErr_Occurred()) SWIG_fail
;
13604 resultobj
= SWIG_Py_Void();
13611 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13612 PyObject
*resultobj
= 0;
13613 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13619 PyObject
* obj0
= 0 ;
13620 PyObject
* obj1
= 0 ;
13621 char * kwnames
[] = {
13622 (char *) "self",(char *) "editable", NULL
13625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13627 if (!SWIG_IsOK(res1
)) {
13628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13630 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13631 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13632 if (!SWIG_IsOK(ecode2
)) {
13633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13635 arg2
= static_cast< bool >(val2
);
13637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13638 (arg1
)->SetEditable(arg2
);
13639 wxPyEndAllowThreads(__tstate
);
13640 if (PyErr_Occurred()) SWIG_fail
;
13642 resultobj
= SWIG_Py_Void();
13649 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13650 PyObject
*resultobj
= 0;
13651 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13652 wxString
*arg2
= 0 ;
13655 bool temp2
= false ;
13656 PyObject
* obj0
= 0 ;
13657 PyObject
* obj1
= 0 ;
13658 char * kwnames
[] = {
13659 (char *) "self",(char *) "text", NULL
13662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13664 if (!SWIG_IsOK(res1
)) {
13665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13667 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13669 arg2
= wxString_in_helper(obj1
);
13670 if (arg2
== NULL
) SWIG_fail
;
13674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13675 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13676 wxPyEndAllowThreads(__tstate
);
13677 if (PyErr_Occurred()) SWIG_fail
;
13679 resultobj
= SWIG_Py_Void();
13694 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13695 PyObject
*resultobj
= 0;
13696 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13706 PyObject
* obj0
= 0 ;
13707 PyObject
* obj1
= 0 ;
13708 PyObject
* obj2
= 0 ;
13709 char * kwnames
[] = {
13710 (char *) "self",(char *) "from",(char *) "to", NULL
13713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13715 if (!SWIG_IsOK(res1
)) {
13716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13718 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13719 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13720 if (!SWIG_IsOK(ecode2
)) {
13721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13723 arg2
= static_cast< long >(val2
);
13724 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13725 if (!SWIG_IsOK(ecode3
)) {
13726 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13728 arg3
= static_cast< long >(val3
);
13730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13731 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13732 wxPyEndAllowThreads(__tstate
);
13733 if (PyErr_Occurred()) SWIG_fail
;
13737 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13739 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13748 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13749 PyObject
*resultobj
= 0;
13750 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13751 SwigValueWrapper
<wxVisualAttributes
> result
;
13754 PyObject
* obj0
= 0 ;
13755 char * kwnames
[] = {
13756 (char *) "variant", NULL
13759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13761 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13762 if (!SWIG_IsOK(ecode1
)) {
13763 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13765 arg1
= static_cast< wxWindowVariant
>(val1
);
13768 if (!wxPyCheckForApp()) SWIG_fail
;
13769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13770 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13771 wxPyEndAllowThreads(__tstate
);
13772 if (PyErr_Occurred()) SWIG_fail
;
13774 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13781 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13783 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13784 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13785 return SWIG_Py_Void();
13788 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13789 return SWIG_Python_InitShadowInstance(args
);
13792 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13793 PyObject
*resultobj
= 0;
13795 wxMouseEvent
*arg2
= 0 ;
13798 wxTextUrlEvent
*result
= 0 ;
13807 PyObject
* obj0
= 0 ;
13808 PyObject
* obj1
= 0 ;
13809 PyObject
* obj2
= 0 ;
13810 PyObject
* obj3
= 0 ;
13811 char * kwnames
[] = {
13812 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
13815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13816 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13817 if (!SWIG_IsOK(ecode1
)) {
13818 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
13820 arg1
= static_cast< int >(val1
);
13821 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
13822 if (!SWIG_IsOK(res2
)) {
13823 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13828 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
13829 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13830 if (!SWIG_IsOK(ecode3
)) {
13831 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
13833 arg3
= static_cast< long >(val3
);
13834 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
13835 if (!SWIG_IsOK(ecode4
)) {
13836 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
13838 arg4
= static_cast< long >(val4
);
13840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13841 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
13842 wxPyEndAllowThreads(__tstate
);
13843 if (PyErr_Occurred()) SWIG_fail
;
13845 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
13852 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13853 PyObject
*resultobj
= 0;
13854 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13855 wxMouseEvent
*result
= 0 ;
13858 PyObject
*swig_obj
[1] ;
13860 if (!args
) SWIG_fail
;
13861 swig_obj
[0] = args
;
13862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13863 if (!SWIG_IsOK(res1
)) {
13864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
13866 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13870 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
13871 result
= (wxMouseEvent
*) &_result_ref
;
13873 wxPyEndAllowThreads(__tstate
);
13874 if (PyErr_Occurred()) SWIG_fail
;
13876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
13883 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13884 PyObject
*resultobj
= 0;
13885 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13889 PyObject
*swig_obj
[1] ;
13891 if (!args
) SWIG_fail
;
13892 swig_obj
[0] = args
;
13893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13894 if (!SWIG_IsOK(res1
)) {
13895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13897 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13900 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
13901 wxPyEndAllowThreads(__tstate
);
13902 if (PyErr_Occurred()) SWIG_fail
;
13904 resultobj
= SWIG_From_long(static_cast< long >(result
));
13911 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13912 PyObject
*resultobj
= 0;
13913 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13917 PyObject
*swig_obj
[1] ;
13919 if (!args
) SWIG_fail
;
13920 swig_obj
[0] = args
;
13921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13922 if (!SWIG_IsOK(res1
)) {
13923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13925 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13928 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
13929 wxPyEndAllowThreads(__tstate
);
13930 if (PyErr_Occurred()) SWIG_fail
;
13932 resultobj
= SWIG_From_long(static_cast< long >(result
));
13939 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13941 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13942 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
13943 return SWIG_Py_Void();
13946 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13947 return SWIG_Python_InitShadowInstance(args
);
13950 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
13951 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
13956 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
13957 PyObject
*pyobj
= 0;
13961 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
13963 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
13970 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13971 PyObject
*resultobj
= 0;
13972 wxWindow
*arg1
= (wxWindow
*) 0 ;
13973 int arg2
= (int) -1 ;
13974 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13975 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13976 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13977 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13978 long arg5
= (long) wxSB_HORIZONTAL
;
13979 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
13980 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
13981 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
13982 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13983 wxScrollBar
*result
= 0 ;
13994 bool temp7
= false ;
13995 PyObject
* obj0
= 0 ;
13996 PyObject
* obj1
= 0 ;
13997 PyObject
* obj2
= 0 ;
13998 PyObject
* obj3
= 0 ;
13999 PyObject
* obj4
= 0 ;
14000 PyObject
* obj5
= 0 ;
14001 PyObject
* obj6
= 0 ;
14002 char * kwnames
[] = {
14003 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14008 if (!SWIG_IsOK(res1
)) {
14009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14011 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14013 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14014 if (!SWIG_IsOK(ecode2
)) {
14015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14017 arg2
= static_cast< int >(val2
);
14022 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14028 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14032 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14033 if (!SWIG_IsOK(ecode5
)) {
14034 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14036 arg5
= static_cast< long >(val5
);
14039 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14040 if (!SWIG_IsOK(res6
)) {
14041 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14044 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14046 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14050 arg7
= wxString_in_helper(obj6
);
14051 if (arg7
== NULL
) SWIG_fail
;
14056 if (!wxPyCheckForApp()) SWIG_fail
;
14057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14058 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14059 wxPyEndAllowThreads(__tstate
);
14060 if (PyErr_Occurred()) SWIG_fail
;
14062 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14077 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14078 PyObject
*resultobj
= 0;
14079 wxScrollBar
*result
= 0 ;
14081 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14083 if (!wxPyCheckForApp()) SWIG_fail
;
14084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14085 result
= (wxScrollBar
*)new wxScrollBar();
14086 wxPyEndAllowThreads(__tstate
);
14087 if (PyErr_Occurred()) SWIG_fail
;
14089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14096 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14097 PyObject
*resultobj
= 0;
14098 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14099 wxWindow
*arg2
= (wxWindow
*) 0 ;
14100 int arg3
= (int) -1 ;
14101 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14102 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14103 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14104 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14105 long arg6
= (long) wxSB_HORIZONTAL
;
14106 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14107 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14108 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14109 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14123 bool temp8
= false ;
14124 PyObject
* obj0
= 0 ;
14125 PyObject
* obj1
= 0 ;
14126 PyObject
* obj2
= 0 ;
14127 PyObject
* obj3
= 0 ;
14128 PyObject
* obj4
= 0 ;
14129 PyObject
* obj5
= 0 ;
14130 PyObject
* obj6
= 0 ;
14131 PyObject
* obj7
= 0 ;
14132 char * kwnames
[] = {
14133 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14138 if (!SWIG_IsOK(res1
)) {
14139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14141 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14142 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14143 if (!SWIG_IsOK(res2
)) {
14144 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14146 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14148 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14149 if (!SWIG_IsOK(ecode3
)) {
14150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14152 arg3
= static_cast< int >(val3
);
14157 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14163 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14167 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14168 if (!SWIG_IsOK(ecode6
)) {
14169 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14171 arg6
= static_cast< long >(val6
);
14174 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14175 if (!SWIG_IsOK(res7
)) {
14176 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14179 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14181 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14185 arg8
= wxString_in_helper(obj7
);
14186 if (arg8
== NULL
) SWIG_fail
;
14191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14192 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14193 wxPyEndAllowThreads(__tstate
);
14194 if (PyErr_Occurred()) SWIG_fail
;
14197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14213 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14214 PyObject
*resultobj
= 0;
14215 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14219 PyObject
*swig_obj
[1] ;
14221 if (!args
) SWIG_fail
;
14222 swig_obj
[0] = args
;
14223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14224 if (!SWIG_IsOK(res1
)) {
14225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14227 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14230 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14231 wxPyEndAllowThreads(__tstate
);
14232 if (PyErr_Occurred()) SWIG_fail
;
14234 resultobj
= SWIG_From_int(static_cast< int >(result
));
14241 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14242 PyObject
*resultobj
= 0;
14243 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14247 PyObject
*swig_obj
[1] ;
14249 if (!args
) SWIG_fail
;
14250 swig_obj
[0] = args
;
14251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14252 if (!SWIG_IsOK(res1
)) {
14253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14255 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14258 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14259 wxPyEndAllowThreads(__tstate
);
14260 if (PyErr_Occurred()) SWIG_fail
;
14262 resultobj
= SWIG_From_int(static_cast< int >(result
));
14269 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14270 PyObject
*resultobj
= 0;
14271 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14275 PyObject
*swig_obj
[1] ;
14277 if (!args
) SWIG_fail
;
14278 swig_obj
[0] = args
;
14279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14280 if (!SWIG_IsOK(res1
)) {
14281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14283 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14286 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14287 wxPyEndAllowThreads(__tstate
);
14288 if (PyErr_Occurred()) SWIG_fail
;
14290 resultobj
= SWIG_From_int(static_cast< int >(result
));
14297 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14298 PyObject
*resultobj
= 0;
14299 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14303 PyObject
*swig_obj
[1] ;
14305 if (!args
) SWIG_fail
;
14306 swig_obj
[0] = args
;
14307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14308 if (!SWIG_IsOK(res1
)) {
14309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14311 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14314 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14315 wxPyEndAllowThreads(__tstate
);
14316 if (PyErr_Occurred()) SWIG_fail
;
14318 resultobj
= SWIG_From_int(static_cast< int >(result
));
14325 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14326 PyObject
*resultobj
= 0;
14327 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14331 PyObject
*swig_obj
[1] ;
14333 if (!args
) SWIG_fail
;
14334 swig_obj
[0] = args
;
14335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14336 if (!SWIG_IsOK(res1
)) {
14337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14339 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14342 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14343 wxPyEndAllowThreads(__tstate
);
14344 if (PyErr_Occurred()) SWIG_fail
;
14347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14355 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14356 PyObject
*resultobj
= 0;
14357 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14363 PyObject
* obj0
= 0 ;
14364 PyObject
* obj1
= 0 ;
14365 char * kwnames
[] = {
14366 (char *) "self",(char *) "viewStart", NULL
14369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14371 if (!SWIG_IsOK(res1
)) {
14372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14374 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14375 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14376 if (!SWIG_IsOK(ecode2
)) {
14377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14379 arg2
= static_cast< int >(val2
);
14381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14382 (arg1
)->SetThumbPosition(arg2
);
14383 wxPyEndAllowThreads(__tstate
);
14384 if (PyErr_Occurred()) SWIG_fail
;
14386 resultobj
= SWIG_Py_Void();
14393 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14394 PyObject
*resultobj
= 0;
14395 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14396 SwigValueWrapper
<wxVisualAttributes
> result
;
14399 PyObject
* obj0
= 0 ;
14400 char * kwnames
[] = {
14401 (char *) "variant", NULL
14404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14406 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14407 if (!SWIG_IsOK(ecode1
)) {
14408 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14410 arg1
= static_cast< wxWindowVariant
>(val1
);
14413 if (!wxPyCheckForApp()) SWIG_fail
;
14414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14415 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14416 wxPyEndAllowThreads(__tstate
);
14417 if (PyErr_Occurred()) SWIG_fail
;
14419 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14426 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14428 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14429 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14430 return SWIG_Py_Void();
14433 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14434 return SWIG_Python_InitShadowInstance(args
);
14437 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14438 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14443 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14444 PyObject
*pyobj
= 0;
14448 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14450 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14457 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14458 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14463 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14464 PyObject
*pyobj
= 0;
14468 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14470 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14477 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14478 PyObject
*resultobj
= 0;
14479 wxWindow
*arg1
= (wxWindow
*) 0 ;
14480 int arg2
= (int) -1 ;
14481 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14482 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14483 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14484 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14485 long arg5
= (long) wxSP_HORIZONTAL
;
14486 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14487 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14488 wxSpinButton
*result
= 0 ;
14497 bool temp6
= false ;
14498 PyObject
* obj0
= 0 ;
14499 PyObject
* obj1
= 0 ;
14500 PyObject
* obj2
= 0 ;
14501 PyObject
* obj3
= 0 ;
14502 PyObject
* obj4
= 0 ;
14503 PyObject
* obj5
= 0 ;
14504 char * kwnames
[] = {
14505 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14510 if (!SWIG_IsOK(res1
)) {
14511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14513 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14515 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14516 if (!SWIG_IsOK(ecode2
)) {
14517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14519 arg2
= static_cast< int >(val2
);
14524 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14530 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14534 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14535 if (!SWIG_IsOK(ecode5
)) {
14536 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14538 arg5
= static_cast< long >(val5
);
14542 arg6
= wxString_in_helper(obj5
);
14543 if (arg6
== NULL
) SWIG_fail
;
14548 if (!wxPyCheckForApp()) SWIG_fail
;
14549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14550 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14551 wxPyEndAllowThreads(__tstate
);
14552 if (PyErr_Occurred()) SWIG_fail
;
14554 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14569 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14570 PyObject
*resultobj
= 0;
14571 wxSpinButton
*result
= 0 ;
14573 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14575 if (!wxPyCheckForApp()) SWIG_fail
;
14576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14577 result
= (wxSpinButton
*)new wxSpinButton();
14578 wxPyEndAllowThreads(__tstate
);
14579 if (PyErr_Occurred()) SWIG_fail
;
14581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14588 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14589 PyObject
*resultobj
= 0;
14590 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14591 wxWindow
*arg2
= (wxWindow
*) 0 ;
14592 int arg3
= (int) -1 ;
14593 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14594 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14595 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14596 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14597 long arg6
= (long) wxSP_HORIZONTAL
;
14598 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14599 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14611 bool temp7
= false ;
14612 PyObject
* obj0
= 0 ;
14613 PyObject
* obj1
= 0 ;
14614 PyObject
* obj2
= 0 ;
14615 PyObject
* obj3
= 0 ;
14616 PyObject
* obj4
= 0 ;
14617 PyObject
* obj5
= 0 ;
14618 PyObject
* obj6
= 0 ;
14619 char * kwnames
[] = {
14620 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14625 if (!SWIG_IsOK(res1
)) {
14626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14628 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14629 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14630 if (!SWIG_IsOK(res2
)) {
14631 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14633 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14635 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14636 if (!SWIG_IsOK(ecode3
)) {
14637 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14639 arg3
= static_cast< int >(val3
);
14644 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14650 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14654 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14655 if (!SWIG_IsOK(ecode6
)) {
14656 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14658 arg6
= static_cast< long >(val6
);
14662 arg7
= wxString_in_helper(obj6
);
14663 if (arg7
== NULL
) SWIG_fail
;
14668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14669 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14670 wxPyEndAllowThreads(__tstate
);
14671 if (PyErr_Occurred()) SWIG_fail
;
14674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14690 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14691 PyObject
*resultobj
= 0;
14692 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14696 PyObject
*swig_obj
[1] ;
14698 if (!args
) SWIG_fail
;
14699 swig_obj
[0] = args
;
14700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14701 if (!SWIG_IsOK(res1
)) {
14702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14704 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14707 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14708 wxPyEndAllowThreads(__tstate
);
14709 if (PyErr_Occurred()) SWIG_fail
;
14711 resultobj
= SWIG_From_int(static_cast< int >(result
));
14718 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14719 PyObject
*resultobj
= 0;
14720 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14724 PyObject
*swig_obj
[1] ;
14726 if (!args
) SWIG_fail
;
14727 swig_obj
[0] = args
;
14728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14729 if (!SWIG_IsOK(res1
)) {
14730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14732 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14735 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14736 wxPyEndAllowThreads(__tstate
);
14737 if (PyErr_Occurred()) SWIG_fail
;
14739 resultobj
= SWIG_From_int(static_cast< int >(result
));
14746 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14747 PyObject
*resultobj
= 0;
14748 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14752 PyObject
*swig_obj
[1] ;
14754 if (!args
) SWIG_fail
;
14755 swig_obj
[0] = args
;
14756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14757 if (!SWIG_IsOK(res1
)) {
14758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14760 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14763 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14764 wxPyEndAllowThreads(__tstate
);
14765 if (PyErr_Occurred()) SWIG_fail
;
14767 resultobj
= SWIG_From_int(static_cast< int >(result
));
14774 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14775 PyObject
*resultobj
= 0;
14776 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14782 PyObject
* obj0
= 0 ;
14783 PyObject
* obj1
= 0 ;
14784 char * kwnames
[] = {
14785 (char *) "self",(char *) "val", NULL
14788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14790 if (!SWIG_IsOK(res1
)) {
14791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14793 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14794 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14795 if (!SWIG_IsOK(ecode2
)) {
14796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14798 arg2
= static_cast< int >(val2
);
14800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14801 (arg1
)->SetValue(arg2
);
14802 wxPyEndAllowThreads(__tstate
);
14803 if (PyErr_Occurred()) SWIG_fail
;
14805 resultobj
= SWIG_Py_Void();
14812 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14813 PyObject
*resultobj
= 0;
14814 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14820 PyObject
* obj0
= 0 ;
14821 PyObject
* obj1
= 0 ;
14822 char * kwnames
[] = {
14823 (char *) "self",(char *) "minVal", NULL
14826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14828 if (!SWIG_IsOK(res1
)) {
14829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14831 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14833 if (!SWIG_IsOK(ecode2
)) {
14834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
14836 arg2
= static_cast< int >(val2
);
14838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14839 (arg1
)->SetMin(arg2
);
14840 wxPyEndAllowThreads(__tstate
);
14841 if (PyErr_Occurred()) SWIG_fail
;
14843 resultobj
= SWIG_Py_Void();
14850 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14851 PyObject
*resultobj
= 0;
14852 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14858 PyObject
* obj0
= 0 ;
14859 PyObject
* obj1
= 0 ;
14860 char * kwnames
[] = {
14861 (char *) "self",(char *) "maxVal", NULL
14864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14866 if (!SWIG_IsOK(res1
)) {
14867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14869 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14871 if (!SWIG_IsOK(ecode2
)) {
14872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
14874 arg2
= static_cast< int >(val2
);
14876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14877 (arg1
)->SetMax(arg2
);
14878 wxPyEndAllowThreads(__tstate
);
14879 if (PyErr_Occurred()) SWIG_fail
;
14881 resultobj
= SWIG_Py_Void();
14888 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14889 PyObject
*resultobj
= 0;
14890 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14899 PyObject
* obj0
= 0 ;
14900 PyObject
* obj1
= 0 ;
14901 PyObject
* obj2
= 0 ;
14902 char * kwnames
[] = {
14903 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
14906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14908 if (!SWIG_IsOK(res1
)) {
14909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14911 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14912 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14913 if (!SWIG_IsOK(ecode2
)) {
14914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
14916 arg2
= static_cast< int >(val2
);
14917 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14918 if (!SWIG_IsOK(ecode3
)) {
14919 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
14921 arg3
= static_cast< int >(val3
);
14923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14924 (arg1
)->SetRange(arg2
,arg3
);
14925 wxPyEndAllowThreads(__tstate
);
14926 if (PyErr_Occurred()) SWIG_fail
;
14928 resultobj
= SWIG_Py_Void();
14935 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14936 PyObject
*resultobj
= 0;
14937 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14941 PyObject
*swig_obj
[1] ;
14943 if (!args
) SWIG_fail
;
14944 swig_obj
[0] = args
;
14945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14946 if (!SWIG_IsOK(res1
)) {
14947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14949 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14952 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
14953 wxPyEndAllowThreads(__tstate
);
14954 if (PyErr_Occurred()) SWIG_fail
;
14957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14965 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14966 PyObject
*resultobj
= 0;
14967 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14968 SwigValueWrapper
<wxVisualAttributes
> result
;
14971 PyObject
* obj0
= 0 ;
14972 char * kwnames
[] = {
14973 (char *) "variant", NULL
14976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14978 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14979 if (!SWIG_IsOK(ecode1
)) {
14980 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14982 arg1
= static_cast< wxWindowVariant
>(val1
);
14985 if (!wxPyCheckForApp()) SWIG_fail
;
14986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14987 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
14988 wxPyEndAllowThreads(__tstate
);
14989 if (PyErr_Occurred()) SWIG_fail
;
14991 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14998 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15000 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15001 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15002 return SWIG_Py_Void();
15005 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15006 return SWIG_Python_InitShadowInstance(args
);
15009 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15010 PyObject
*resultobj
= 0;
15011 wxWindow
*arg1
= (wxWindow
*) 0 ;
15012 int arg2
= (int) -1 ;
15013 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15014 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15015 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15016 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15017 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15018 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15019 long arg6
= (long) wxSP_ARROW_KEYS
;
15020 int arg7
= (int) 0 ;
15021 int arg8
= (int) 100 ;
15022 int arg9
= (int) 0 ;
15023 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15024 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15025 wxSpinCtrl
*result
= 0 ;
15030 bool temp3
= false ;
15041 bool temp10
= false ;
15042 PyObject
* obj0
= 0 ;
15043 PyObject
* obj1
= 0 ;
15044 PyObject
* obj2
= 0 ;
15045 PyObject
* obj3
= 0 ;
15046 PyObject
* obj4
= 0 ;
15047 PyObject
* obj5
= 0 ;
15048 PyObject
* obj6
= 0 ;
15049 PyObject
* obj7
= 0 ;
15050 PyObject
* obj8
= 0 ;
15051 PyObject
* obj9
= 0 ;
15052 char * kwnames
[] = {
15053 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15058 if (!SWIG_IsOK(res1
)) {
15059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15061 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15064 if (!SWIG_IsOK(ecode2
)) {
15065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15067 arg2
= static_cast< int >(val2
);
15071 arg3
= wxString_in_helper(obj2
);
15072 if (arg3
== NULL
) SWIG_fail
;
15079 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15085 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15089 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15090 if (!SWIG_IsOK(ecode6
)) {
15091 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15093 arg6
= static_cast< long >(val6
);
15096 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15097 if (!SWIG_IsOK(ecode7
)) {
15098 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15100 arg7
= static_cast< int >(val7
);
15103 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15104 if (!SWIG_IsOK(ecode8
)) {
15105 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15107 arg8
= static_cast< int >(val8
);
15110 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15111 if (!SWIG_IsOK(ecode9
)) {
15112 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15114 arg9
= static_cast< int >(val9
);
15118 arg10
= wxString_in_helper(obj9
);
15119 if (arg10
== NULL
) SWIG_fail
;
15124 if (!wxPyCheckForApp()) SWIG_fail
;
15125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15126 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15127 wxPyEndAllowThreads(__tstate
);
15128 if (PyErr_Occurred()) SWIG_fail
;
15130 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15153 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15154 PyObject
*resultobj
= 0;
15155 wxSpinCtrl
*result
= 0 ;
15157 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15159 if (!wxPyCheckForApp()) SWIG_fail
;
15160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15161 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15162 wxPyEndAllowThreads(__tstate
);
15163 if (PyErr_Occurred()) SWIG_fail
;
15165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15172 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15173 PyObject
*resultobj
= 0;
15174 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15175 wxWindow
*arg2
= (wxWindow
*) 0 ;
15176 int arg3
= (int) -1 ;
15177 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15178 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15179 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15180 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15181 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15182 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15183 long arg7
= (long) wxSP_ARROW_KEYS
;
15184 int arg8
= (int) 0 ;
15185 int arg9
= (int) 100 ;
15186 int arg10
= (int) 0 ;
15187 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15188 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15196 bool temp4
= false ;
15207 bool temp11
= false ;
15208 PyObject
* obj0
= 0 ;
15209 PyObject
* obj1
= 0 ;
15210 PyObject
* obj2
= 0 ;
15211 PyObject
* obj3
= 0 ;
15212 PyObject
* obj4
= 0 ;
15213 PyObject
* obj5
= 0 ;
15214 PyObject
* obj6
= 0 ;
15215 PyObject
* obj7
= 0 ;
15216 PyObject
* obj8
= 0 ;
15217 PyObject
* obj9
= 0 ;
15218 PyObject
* obj10
= 0 ;
15219 char * kwnames
[] = {
15220 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15225 if (!SWIG_IsOK(res1
)) {
15226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15228 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15229 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15230 if (!SWIG_IsOK(res2
)) {
15231 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15233 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15235 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15236 if (!SWIG_IsOK(ecode3
)) {
15237 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15239 arg3
= static_cast< int >(val3
);
15243 arg4
= wxString_in_helper(obj3
);
15244 if (arg4
== NULL
) SWIG_fail
;
15251 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15257 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15261 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15262 if (!SWIG_IsOK(ecode7
)) {
15263 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15265 arg7
= static_cast< long >(val7
);
15268 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15269 if (!SWIG_IsOK(ecode8
)) {
15270 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15272 arg8
= static_cast< int >(val8
);
15275 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15276 if (!SWIG_IsOK(ecode9
)) {
15277 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15279 arg9
= static_cast< int >(val9
);
15282 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15283 if (!SWIG_IsOK(ecode10
)) {
15284 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15286 arg10
= static_cast< int >(val10
);
15290 arg11
= wxString_in_helper(obj10
);
15291 if (arg11
== NULL
) SWIG_fail
;
15296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15297 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15298 wxPyEndAllowThreads(__tstate
);
15299 if (PyErr_Occurred()) SWIG_fail
;
15302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15326 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15327 PyObject
*resultobj
= 0;
15328 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15332 PyObject
*swig_obj
[1] ;
15334 if (!args
) SWIG_fail
;
15335 swig_obj
[0] = args
;
15336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15337 if (!SWIG_IsOK(res1
)) {
15338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15340 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15343 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15344 wxPyEndAllowThreads(__tstate
);
15345 if (PyErr_Occurred()) SWIG_fail
;
15347 resultobj
= SWIG_From_int(static_cast< int >(result
));
15354 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15355 PyObject
*resultobj
= 0;
15356 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15362 PyObject
* obj0
= 0 ;
15363 PyObject
* obj1
= 0 ;
15364 char * kwnames
[] = {
15365 (char *) "self",(char *) "value", NULL
15368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15370 if (!SWIG_IsOK(res1
)) {
15371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15373 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15374 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15375 if (!SWIG_IsOK(ecode2
)) {
15376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15378 arg2
= static_cast< int >(val2
);
15380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15381 (arg1
)->SetValue(arg2
);
15382 wxPyEndAllowThreads(__tstate
);
15383 if (PyErr_Occurred()) SWIG_fail
;
15385 resultobj
= SWIG_Py_Void();
15392 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15393 PyObject
*resultobj
= 0;
15394 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15395 wxString
*arg2
= 0 ;
15398 bool temp2
= false ;
15399 PyObject
* obj0
= 0 ;
15400 PyObject
* obj1
= 0 ;
15401 char * kwnames
[] = {
15402 (char *) "self",(char *) "text", NULL
15405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15407 if (!SWIG_IsOK(res1
)) {
15408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15410 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15412 arg2
= wxString_in_helper(obj1
);
15413 if (arg2
== NULL
) SWIG_fail
;
15417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15418 (arg1
)->SetValue((wxString
const &)*arg2
);
15419 wxPyEndAllowThreads(__tstate
);
15420 if (PyErr_Occurred()) SWIG_fail
;
15422 resultobj
= SWIG_Py_Void();
15437 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15438 PyObject
*resultobj
= 0;
15439 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15448 PyObject
* obj0
= 0 ;
15449 PyObject
* obj1
= 0 ;
15450 PyObject
* obj2
= 0 ;
15451 char * kwnames
[] = {
15452 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15457 if (!SWIG_IsOK(res1
)) {
15458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15460 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15461 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15462 if (!SWIG_IsOK(ecode2
)) {
15463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15465 arg2
= static_cast< int >(val2
);
15466 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15467 if (!SWIG_IsOK(ecode3
)) {
15468 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15470 arg3
= static_cast< int >(val3
);
15472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15473 (arg1
)->SetRange(arg2
,arg3
);
15474 wxPyEndAllowThreads(__tstate
);
15475 if (PyErr_Occurred()) SWIG_fail
;
15477 resultobj
= SWIG_Py_Void();
15484 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15485 PyObject
*resultobj
= 0;
15486 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15490 PyObject
*swig_obj
[1] ;
15492 if (!args
) SWIG_fail
;
15493 swig_obj
[0] = args
;
15494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15495 if (!SWIG_IsOK(res1
)) {
15496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15498 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15501 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15502 wxPyEndAllowThreads(__tstate
);
15503 if (PyErr_Occurred()) SWIG_fail
;
15505 resultobj
= SWIG_From_int(static_cast< int >(result
));
15512 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15513 PyObject
*resultobj
= 0;
15514 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15518 PyObject
*swig_obj
[1] ;
15520 if (!args
) SWIG_fail
;
15521 swig_obj
[0] = args
;
15522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15523 if (!SWIG_IsOK(res1
)) {
15524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15526 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15529 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15530 wxPyEndAllowThreads(__tstate
);
15531 if (PyErr_Occurred()) SWIG_fail
;
15533 resultobj
= SWIG_From_int(static_cast< int >(result
));
15540 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15541 PyObject
*resultobj
= 0;
15542 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15551 PyObject
* obj0
= 0 ;
15552 PyObject
* obj1
= 0 ;
15553 PyObject
* obj2
= 0 ;
15554 char * kwnames
[] = {
15555 (char *) "self",(char *) "from",(char *) "to", NULL
15558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15560 if (!SWIG_IsOK(res1
)) {
15561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15563 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15564 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15565 if (!SWIG_IsOK(ecode2
)) {
15566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15568 arg2
= static_cast< long >(val2
);
15569 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15570 if (!SWIG_IsOK(ecode3
)) {
15571 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15573 arg3
= static_cast< long >(val3
);
15575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15576 (arg1
)->SetSelection(arg2
,arg3
);
15577 wxPyEndAllowThreads(__tstate
);
15578 if (PyErr_Occurred()) SWIG_fail
;
15580 resultobj
= SWIG_Py_Void();
15587 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15588 PyObject
*resultobj
= 0;
15589 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15590 SwigValueWrapper
<wxVisualAttributes
> result
;
15593 PyObject
* obj0
= 0 ;
15594 char * kwnames
[] = {
15595 (char *) "variant", NULL
15598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15600 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15601 if (!SWIG_IsOK(ecode1
)) {
15602 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15604 arg1
= static_cast< wxWindowVariant
>(val1
);
15607 if (!wxPyCheckForApp()) SWIG_fail
;
15608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15609 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15610 wxPyEndAllowThreads(__tstate
);
15611 if (PyErr_Occurred()) SWIG_fail
;
15613 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15620 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15622 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15623 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15624 return SWIG_Py_Void();
15627 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15628 return SWIG_Python_InitShadowInstance(args
);
15631 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15632 PyObject
*resultobj
= 0;
15633 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15634 int arg2
= (int) 0 ;
15635 wxSpinEvent
*result
= 0 ;
15640 PyObject
* obj0
= 0 ;
15641 PyObject
* obj1
= 0 ;
15642 char * kwnames
[] = {
15643 (char *) "commandType",(char *) "winid", NULL
15646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15648 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15649 if (!SWIG_IsOK(ecode1
)) {
15650 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15652 arg1
= static_cast< wxEventType
>(val1
);
15655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15656 if (!SWIG_IsOK(ecode2
)) {
15657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15659 arg2
= static_cast< int >(val2
);
15662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15663 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15664 wxPyEndAllowThreads(__tstate
);
15665 if (PyErr_Occurred()) SWIG_fail
;
15667 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15674 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15675 PyObject
*resultobj
= 0;
15676 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15680 PyObject
*swig_obj
[1] ;
15682 if (!args
) SWIG_fail
;
15683 swig_obj
[0] = args
;
15684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15685 if (!SWIG_IsOK(res1
)) {
15686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15688 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15691 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15692 wxPyEndAllowThreads(__tstate
);
15693 if (PyErr_Occurred()) SWIG_fail
;
15695 resultobj
= SWIG_From_int(static_cast< int >(result
));
15702 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15703 PyObject
*resultobj
= 0;
15704 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15710 PyObject
* obj0
= 0 ;
15711 PyObject
* obj1
= 0 ;
15712 char * kwnames
[] = {
15713 (char *) "self",(char *) "pos", NULL
15716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15718 if (!SWIG_IsOK(res1
)) {
15719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15721 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15722 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15723 if (!SWIG_IsOK(ecode2
)) {
15724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15726 arg2
= static_cast< int >(val2
);
15728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15729 (arg1
)->SetPosition(arg2
);
15730 wxPyEndAllowThreads(__tstate
);
15731 if (PyErr_Occurred()) SWIG_fail
;
15733 resultobj
= SWIG_Py_Void();
15740 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15742 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15743 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15744 return SWIG_Py_Void();
15747 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15748 return SWIG_Python_InitShadowInstance(args
);
15751 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15752 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15757 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15758 PyObject
*pyobj
= 0;
15762 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15764 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15771 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15772 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15777 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15778 PyObject
*pyobj
= 0;
15782 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15784 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15791 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15792 PyObject
*resultobj
= 0;
15793 wxWindow
*arg1
= (wxWindow
*) 0 ;
15794 int arg2
= (int) -1 ;
15795 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15796 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15797 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15798 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15799 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15800 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15801 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15802 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15803 int arg7
= (int) 0 ;
15804 long arg8
= (long) wxRA_HORIZONTAL
;
15805 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15806 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15807 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
15808 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15809 wxRadioBox
*result
= 0 ;
15814 bool temp3
= false ;
15817 bool temp6
= false ;
15824 bool temp10
= false ;
15825 PyObject
* obj0
= 0 ;
15826 PyObject
* obj1
= 0 ;
15827 PyObject
* obj2
= 0 ;
15828 PyObject
* obj3
= 0 ;
15829 PyObject
* obj4
= 0 ;
15830 PyObject
* obj5
= 0 ;
15831 PyObject
* obj6
= 0 ;
15832 PyObject
* obj7
= 0 ;
15833 PyObject
* obj8
= 0 ;
15834 PyObject
* obj9
= 0 ;
15835 char * kwnames
[] = {
15836 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
15839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15841 if (!SWIG_IsOK(res1
)) {
15842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15844 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15847 if (!SWIG_IsOK(ecode2
)) {
15848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
15850 arg2
= static_cast< int >(val2
);
15854 arg3
= wxString_in_helper(obj2
);
15855 if (arg3
== NULL
) SWIG_fail
;
15862 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15868 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15873 if (! PySequence_Check(obj5
)) {
15874 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
15877 arg6
= new wxArrayString
;
15879 int i
, len
=PySequence_Length(obj5
);
15880 for (i
=0; i
<len
; i
++) {
15881 PyObject
* item
= PySequence_GetItem(obj5
, i
);
15882 wxString
* s
= wxString_in_helper(item
);
15883 if (PyErr_Occurred()) SWIG_fail
;
15891 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15892 if (!SWIG_IsOK(ecode7
)) {
15893 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
15895 arg7
= static_cast< int >(val7
);
15898 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
15899 if (!SWIG_IsOK(ecode8
)) {
15900 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
15902 arg8
= static_cast< long >(val8
);
15905 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
15906 if (!SWIG_IsOK(res9
)) {
15907 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15910 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15912 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
15916 arg10
= wxString_in_helper(obj9
);
15917 if (arg10
== NULL
) SWIG_fail
;
15922 if (!wxPyCheckForApp()) SWIG_fail
;
15923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15924 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
);
15925 wxPyEndAllowThreads(__tstate
);
15926 if (PyErr_Occurred()) SWIG_fail
;
15928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
15934 if (temp6
) delete arg6
;
15947 if (temp6
) delete arg6
;
15957 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15958 PyObject
*resultobj
= 0;
15959 wxRadioBox
*result
= 0 ;
15961 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
15963 if (!wxPyCheckForApp()) SWIG_fail
;
15964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15965 result
= (wxRadioBox
*)new wxRadioBox();
15966 wxPyEndAllowThreads(__tstate
);
15967 if (PyErr_Occurred()) SWIG_fail
;
15969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
15976 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15977 PyObject
*resultobj
= 0;
15978 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
15979 wxWindow
*arg2
= (wxWindow
*) 0 ;
15980 int arg3
= (int) -1 ;
15981 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15982 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15983 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15984 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15985 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15986 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15987 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
15988 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
15989 int arg8
= (int) 0 ;
15990 long arg9
= (long) wxRA_HORIZONTAL
;
15991 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
15992 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
15993 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
15994 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16002 bool temp4
= false ;
16005 bool temp7
= false ;
16012 bool temp11
= false ;
16013 PyObject
* obj0
= 0 ;
16014 PyObject
* obj1
= 0 ;
16015 PyObject
* obj2
= 0 ;
16016 PyObject
* obj3
= 0 ;
16017 PyObject
* obj4
= 0 ;
16018 PyObject
* obj5
= 0 ;
16019 PyObject
* obj6
= 0 ;
16020 PyObject
* obj7
= 0 ;
16021 PyObject
* obj8
= 0 ;
16022 PyObject
* obj9
= 0 ;
16023 PyObject
* obj10
= 0 ;
16024 char * kwnames
[] = {
16025 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16030 if (!SWIG_IsOK(res1
)) {
16031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16033 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16034 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16035 if (!SWIG_IsOK(res2
)) {
16036 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16038 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16040 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16041 if (!SWIG_IsOK(ecode3
)) {
16042 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16044 arg3
= static_cast< int >(val3
);
16048 arg4
= wxString_in_helper(obj3
);
16049 if (arg4
== NULL
) SWIG_fail
;
16056 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16062 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16067 if (! PySequence_Check(obj6
)) {
16068 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16071 arg7
= new wxArrayString
;
16073 int i
, len
=PySequence_Length(obj6
);
16074 for (i
=0; i
<len
; i
++) {
16075 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16076 wxString
* s
= wxString_in_helper(item
);
16077 if (PyErr_Occurred()) SWIG_fail
;
16085 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16086 if (!SWIG_IsOK(ecode8
)) {
16087 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16089 arg8
= static_cast< int >(val8
);
16092 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16093 if (!SWIG_IsOK(ecode9
)) {
16094 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16096 arg9
= static_cast< long >(val9
);
16099 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16100 if (!SWIG_IsOK(res10
)) {
16101 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16104 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16106 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16110 arg11
= wxString_in_helper(obj10
);
16111 if (arg11
== NULL
) SWIG_fail
;
16116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16117 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
);
16118 wxPyEndAllowThreads(__tstate
);
16119 if (PyErr_Occurred()) SWIG_fail
;
16122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16129 if (temp7
) delete arg7
;
16142 if (temp7
) delete arg7
;
16152 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16153 PyObject
*resultobj
= 0;
16154 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16160 PyObject
* obj0
= 0 ;
16161 PyObject
* obj1
= 0 ;
16162 char * kwnames
[] = {
16163 (char *) "self",(char *) "n", NULL
16166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16168 if (!SWIG_IsOK(res1
)) {
16169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16171 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16172 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16173 if (!SWIG_IsOK(ecode2
)) {
16174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16176 arg2
= static_cast< int >(val2
);
16178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16179 (arg1
)->SetSelection(arg2
);
16180 wxPyEndAllowThreads(__tstate
);
16181 if (PyErr_Occurred()) SWIG_fail
;
16183 resultobj
= SWIG_Py_Void();
16190 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16191 PyObject
*resultobj
= 0;
16192 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16196 PyObject
*swig_obj
[1] ;
16198 if (!args
) SWIG_fail
;
16199 swig_obj
[0] = args
;
16200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16201 if (!SWIG_IsOK(res1
)) {
16202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16204 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16207 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16208 wxPyEndAllowThreads(__tstate
);
16209 if (PyErr_Occurred()) SWIG_fail
;
16211 resultobj
= SWIG_From_int(static_cast< int >(result
));
16218 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16219 PyObject
*resultobj
= 0;
16220 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16224 PyObject
*swig_obj
[1] ;
16226 if (!args
) SWIG_fail
;
16227 swig_obj
[0] = args
;
16228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16229 if (!SWIG_IsOK(res1
)) {
16230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16232 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16235 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16236 wxPyEndAllowThreads(__tstate
);
16237 if (PyErr_Occurred()) SWIG_fail
;
16241 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16243 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16252 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16253 PyObject
*resultobj
= 0;
16254 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16255 wxString
*arg2
= 0 ;
16259 bool temp2
= false ;
16260 PyObject
* obj0
= 0 ;
16261 PyObject
* obj1
= 0 ;
16262 char * kwnames
[] = {
16263 (char *) "self",(char *) "s", NULL
16266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16268 if (!SWIG_IsOK(res1
)) {
16269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16271 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16273 arg2
= wxString_in_helper(obj1
);
16274 if (arg2
== NULL
) SWIG_fail
;
16278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16279 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16280 wxPyEndAllowThreads(__tstate
);
16281 if (PyErr_Occurred()) SWIG_fail
;
16284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16300 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16301 PyObject
*resultobj
= 0;
16302 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16306 PyObject
*swig_obj
[1] ;
16308 if (!args
) SWIG_fail
;
16309 swig_obj
[0] = args
;
16310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16311 if (!SWIG_IsOK(res1
)) {
16312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16314 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16317 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16318 wxPyEndAllowThreads(__tstate
);
16319 if (PyErr_Occurred()) SWIG_fail
;
16321 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16328 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16329 PyObject
*resultobj
= 0;
16330 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16331 wxString
*arg2
= 0 ;
16335 bool temp2
= false ;
16336 PyObject
* obj0
= 0 ;
16337 PyObject
* obj1
= 0 ;
16338 char * kwnames
[] = {
16339 (char *) "self",(char *) "s", NULL
16342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16344 if (!SWIG_IsOK(res1
)) {
16345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16347 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16349 arg2
= wxString_in_helper(obj1
);
16350 if (arg2
== NULL
) SWIG_fail
;
16354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16355 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16356 wxPyEndAllowThreads(__tstate
);
16357 if (PyErr_Occurred()) SWIG_fail
;
16359 resultobj
= SWIG_From_int(static_cast< int >(result
));
16374 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16375 PyObject
*resultobj
= 0;
16376 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16383 PyObject
* obj0
= 0 ;
16384 PyObject
* obj1
= 0 ;
16385 char * kwnames
[] = {
16386 (char *) "self",(char *) "n", NULL
16389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16391 if (!SWIG_IsOK(res1
)) {
16392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16394 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16396 if (!SWIG_IsOK(ecode2
)) {
16397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16399 arg2
= static_cast< int >(val2
);
16401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16402 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16403 wxPyEndAllowThreads(__tstate
);
16404 if (PyErr_Occurred()) SWIG_fail
;
16408 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16410 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16419 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16420 PyObject
*resultobj
= 0;
16421 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16423 wxString
*arg3
= 0 ;
16428 bool temp3
= false ;
16429 PyObject
* obj0
= 0 ;
16430 PyObject
* obj1
= 0 ;
16431 PyObject
* obj2
= 0 ;
16432 char * kwnames
[] = {
16433 (char *) "self",(char *) "n",(char *) "label", NULL
16436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16438 if (!SWIG_IsOK(res1
)) {
16439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16441 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16443 if (!SWIG_IsOK(ecode2
)) {
16444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16446 arg2
= static_cast< int >(val2
);
16448 arg3
= wxString_in_helper(obj2
);
16449 if (arg3
== NULL
) SWIG_fail
;
16453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16454 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16455 wxPyEndAllowThreads(__tstate
);
16456 if (PyErr_Occurred()) SWIG_fail
;
16458 resultobj
= SWIG_Py_Void();
16473 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16474 PyObject
*resultobj
= 0;
16475 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16476 unsigned int arg2
;
16477 bool arg3
= (bool) true ;
16480 unsigned int val2
;
16484 PyObject
* obj0
= 0 ;
16485 PyObject
* obj1
= 0 ;
16486 PyObject
* obj2
= 0 ;
16487 char * kwnames
[] = {
16488 (char *) "self",(char *) "n",(char *) "enable", NULL
16491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16493 if (!SWIG_IsOK(res1
)) {
16494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16496 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16497 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16498 if (!SWIG_IsOK(ecode2
)) {
16499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16501 arg2
= static_cast< unsigned int >(val2
);
16503 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16504 if (!SWIG_IsOK(ecode3
)) {
16505 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16507 arg3
= static_cast< bool >(val3
);
16510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16511 (arg1
)->Enable(arg2
,arg3
);
16512 wxPyEndAllowThreads(__tstate
);
16513 if (PyErr_Occurred()) SWIG_fail
;
16515 resultobj
= SWIG_Py_Void();
16522 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16523 PyObject
*resultobj
= 0;
16524 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16525 unsigned int arg2
;
16526 bool arg3
= (bool) true ;
16529 unsigned int val2
;
16533 PyObject
* obj0
= 0 ;
16534 PyObject
* obj1
= 0 ;
16535 PyObject
* obj2
= 0 ;
16536 char * kwnames
[] = {
16537 (char *) "self",(char *) "n",(char *) "show", NULL
16540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16542 if (!SWIG_IsOK(res1
)) {
16543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16545 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16546 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16547 if (!SWIG_IsOK(ecode2
)) {
16548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16550 arg2
= static_cast< unsigned int >(val2
);
16552 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16553 if (!SWIG_IsOK(ecode3
)) {
16554 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16556 arg3
= static_cast< bool >(val3
);
16559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16560 (arg1
)->Show(arg2
,arg3
);
16561 wxPyEndAllowThreads(__tstate
);
16562 if (PyErr_Occurred()) SWIG_fail
;
16564 resultobj
= SWIG_Py_Void();
16571 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16572 PyObject
*resultobj
= 0;
16573 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16574 unsigned int arg2
;
16578 unsigned int val2
;
16580 PyObject
* obj0
= 0 ;
16581 PyObject
* obj1
= 0 ;
16582 char * kwnames
[] = {
16583 (char *) "self",(char *) "n", NULL
16586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16588 if (!SWIG_IsOK(res1
)) {
16589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16591 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16592 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16593 if (!SWIG_IsOK(ecode2
)) {
16594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16596 arg2
= static_cast< unsigned int >(val2
);
16598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16599 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16600 wxPyEndAllowThreads(__tstate
);
16601 if (PyErr_Occurred()) SWIG_fail
;
16604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16612 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16613 PyObject
*resultobj
= 0;
16614 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16615 unsigned int arg2
;
16619 unsigned int val2
;
16621 PyObject
* obj0
= 0 ;
16622 PyObject
* obj1
= 0 ;
16623 char * kwnames
[] = {
16624 (char *) "self",(char *) "n", NULL
16627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16629 if (!SWIG_IsOK(res1
)) {
16630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16632 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16633 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16634 if (!SWIG_IsOK(ecode2
)) {
16635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16637 arg2
= static_cast< unsigned int >(val2
);
16639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16640 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16641 wxPyEndAllowThreads(__tstate
);
16642 if (PyErr_Occurred()) SWIG_fail
;
16645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16653 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16654 PyObject
*resultobj
= 0;
16655 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16656 unsigned int result
;
16659 PyObject
*swig_obj
[1] ;
16661 if (!args
) SWIG_fail
;
16662 swig_obj
[0] = args
;
16663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16664 if (!SWIG_IsOK(res1
)) {
16665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16667 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16670 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16671 wxPyEndAllowThreads(__tstate
);
16672 if (PyErr_Occurred()) SWIG_fail
;
16674 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16681 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16682 PyObject
*resultobj
= 0;
16683 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16684 unsigned int result
;
16687 PyObject
*swig_obj
[1] ;
16689 if (!args
) SWIG_fail
;
16690 swig_obj
[0] = args
;
16691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16692 if (!SWIG_IsOK(res1
)) {
16693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16695 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16698 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16699 wxPyEndAllowThreads(__tstate
);
16700 if (PyErr_Occurred()) SWIG_fail
;
16702 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16709 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16710 PyObject
*resultobj
= 0;
16711 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16724 PyObject
* obj0
= 0 ;
16725 PyObject
* obj1
= 0 ;
16726 PyObject
* obj2
= 0 ;
16727 PyObject
* obj3
= 0 ;
16728 char * kwnames
[] = {
16729 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16734 if (!SWIG_IsOK(res1
)) {
16735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16737 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16739 if (!SWIG_IsOK(ecode2
)) {
16740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16742 arg2
= static_cast< int >(val2
);
16743 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16744 if (!SWIG_IsOK(ecode3
)) {
16745 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16747 arg3
= static_cast< wxDirection
>(val3
);
16748 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16749 if (!SWIG_IsOK(ecode4
)) {
16750 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16752 arg4
= static_cast< long >(val4
);
16754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16755 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16756 wxPyEndAllowThreads(__tstate
);
16757 if (PyErr_Occurred()) SWIG_fail
;
16759 resultobj
= SWIG_From_int(static_cast< int >(result
));
16766 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16767 PyObject
*resultobj
= 0;
16768 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16769 unsigned int arg2
;
16770 wxString
*arg3
= 0 ;
16773 unsigned int val2
;
16775 bool temp3
= false ;
16776 PyObject
* obj0
= 0 ;
16777 PyObject
* obj1
= 0 ;
16778 PyObject
* obj2
= 0 ;
16779 char * kwnames
[] = {
16780 (char *) "self",(char *) "item",(char *) "text", NULL
16783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16785 if (!SWIG_IsOK(res1
)) {
16786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16788 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16789 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16790 if (!SWIG_IsOK(ecode2
)) {
16791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16793 arg2
= static_cast< unsigned int >(val2
);
16795 arg3
= wxString_in_helper(obj2
);
16796 if (arg3
== NULL
) SWIG_fail
;
16800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16801 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
16802 wxPyEndAllowThreads(__tstate
);
16803 if (PyErr_Occurred()) SWIG_fail
;
16805 resultobj
= SWIG_Py_Void();
16820 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16821 PyObject
*resultobj
= 0;
16822 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16823 unsigned int arg2
;
16824 wxToolTip
*result
= 0 ;
16827 unsigned int val2
;
16829 PyObject
* obj0
= 0 ;
16830 PyObject
* obj1
= 0 ;
16831 char * kwnames
[] = {
16832 (char *) "self",(char *) "item", NULL
16835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16837 if (!SWIG_IsOK(res1
)) {
16838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16840 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16841 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16842 if (!SWIG_IsOK(ecode2
)) {
16843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16845 arg2
= static_cast< unsigned int >(val2
);
16847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16848 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
16849 wxPyEndAllowThreads(__tstate
);
16850 if (PyErr_Occurred()) SWIG_fail
;
16853 resultobj
= wxPyMake_wxObject(result
, (bool)0);
16861 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16862 PyObject
*resultobj
= 0;
16863 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16864 unsigned int arg2
;
16865 wxString
*arg3
= 0 ;
16868 unsigned int val2
;
16870 bool temp3
= false ;
16871 PyObject
* obj0
= 0 ;
16872 PyObject
* obj1
= 0 ;
16873 PyObject
* obj2
= 0 ;
16874 char * kwnames
[] = {
16875 (char *) "self",(char *) "n",(char *) "helpText", NULL
16878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16880 if (!SWIG_IsOK(res1
)) {
16881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16883 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16884 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16885 if (!SWIG_IsOK(ecode2
)) {
16886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
16888 arg2
= static_cast< unsigned int >(val2
);
16890 arg3
= wxString_in_helper(obj2
);
16891 if (arg3
== NULL
) SWIG_fail
;
16895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16896 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
16897 wxPyEndAllowThreads(__tstate
);
16898 if (PyErr_Occurred()) SWIG_fail
;
16900 resultobj
= SWIG_Py_Void();
16915 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16916 PyObject
*resultobj
= 0;
16917 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16918 unsigned int arg2
;
16922 unsigned int val2
;
16924 PyObject
* obj0
= 0 ;
16925 PyObject
* obj1
= 0 ;
16926 char * kwnames
[] = {
16927 (char *) "self",(char *) "n", NULL
16930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16932 if (!SWIG_IsOK(res1
)) {
16933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16935 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16936 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16937 if (!SWIG_IsOK(ecode2
)) {
16938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
16940 arg2
= static_cast< unsigned int >(val2
);
16942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16943 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
16944 wxPyEndAllowThreads(__tstate
);
16945 if (PyErr_Occurred()) SWIG_fail
;
16949 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16951 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16960 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16961 PyObject
*resultobj
= 0;
16962 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16963 SwigValueWrapper
<wxVisualAttributes
> result
;
16966 PyObject
* obj0
= 0 ;
16967 char * kwnames
[] = {
16968 (char *) "variant", NULL
16971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
16973 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16974 if (!SWIG_IsOK(ecode1
)) {
16975 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
16977 arg1
= static_cast< wxWindowVariant
>(val1
);
16980 if (!wxPyCheckForApp()) SWIG_fail
;
16981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16982 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
16983 wxPyEndAllowThreads(__tstate
);
16984 if (PyErr_Occurred()) SWIG_fail
;
16986 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
16993 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16995 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16996 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
16997 return SWIG_Py_Void();
17000 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17001 return SWIG_Python_InitShadowInstance(args
);
17004 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17005 PyObject
*resultobj
= 0;
17006 wxWindow
*arg1
= (wxWindow
*) 0 ;
17007 int arg2
= (int) -1 ;
17008 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17009 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17010 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17011 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17012 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17013 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17014 long arg6
= (long) 0 ;
17015 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17016 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17017 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17018 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17019 wxRadioButton
*result
= 0 ;
17024 bool temp3
= false ;
17031 bool temp8
= false ;
17032 PyObject
* obj0
= 0 ;
17033 PyObject
* obj1
= 0 ;
17034 PyObject
* obj2
= 0 ;
17035 PyObject
* obj3
= 0 ;
17036 PyObject
* obj4
= 0 ;
17037 PyObject
* obj5
= 0 ;
17038 PyObject
* obj6
= 0 ;
17039 PyObject
* obj7
= 0 ;
17040 char * kwnames
[] = {
17041 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17046 if (!SWIG_IsOK(res1
)) {
17047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17049 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17051 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17052 if (!SWIG_IsOK(ecode2
)) {
17053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17055 arg2
= static_cast< int >(val2
);
17059 arg3
= wxString_in_helper(obj2
);
17060 if (arg3
== NULL
) SWIG_fail
;
17067 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17073 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17077 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17078 if (!SWIG_IsOK(ecode6
)) {
17079 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17081 arg6
= static_cast< long >(val6
);
17084 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17085 if (!SWIG_IsOK(res7
)) {
17086 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17089 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17091 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17095 arg8
= wxString_in_helper(obj7
);
17096 if (arg8
== NULL
) SWIG_fail
;
17101 if (!wxPyCheckForApp()) SWIG_fail
;
17102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17103 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17104 wxPyEndAllowThreads(__tstate
);
17105 if (PyErr_Occurred()) SWIG_fail
;
17107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17130 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17131 PyObject
*resultobj
= 0;
17132 wxRadioButton
*result
= 0 ;
17134 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17136 if (!wxPyCheckForApp()) SWIG_fail
;
17137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17138 result
= (wxRadioButton
*)new wxRadioButton();
17139 wxPyEndAllowThreads(__tstate
);
17140 if (PyErr_Occurred()) SWIG_fail
;
17142 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17149 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17150 PyObject
*resultobj
= 0;
17151 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17152 wxWindow
*arg2
= (wxWindow
*) 0 ;
17153 int arg3
= (int) -1 ;
17154 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17155 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17156 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17157 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17158 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17159 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17160 long arg7
= (long) 0 ;
17161 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17162 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17163 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17164 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17172 bool temp4
= false ;
17179 bool temp9
= false ;
17180 PyObject
* obj0
= 0 ;
17181 PyObject
* obj1
= 0 ;
17182 PyObject
* obj2
= 0 ;
17183 PyObject
* obj3
= 0 ;
17184 PyObject
* obj4
= 0 ;
17185 PyObject
* obj5
= 0 ;
17186 PyObject
* obj6
= 0 ;
17187 PyObject
* obj7
= 0 ;
17188 PyObject
* obj8
= 0 ;
17189 char * kwnames
[] = {
17190 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17195 if (!SWIG_IsOK(res1
)) {
17196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17198 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17199 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17200 if (!SWIG_IsOK(res2
)) {
17201 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17203 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17205 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17206 if (!SWIG_IsOK(ecode3
)) {
17207 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17209 arg3
= static_cast< int >(val3
);
17213 arg4
= wxString_in_helper(obj3
);
17214 if (arg4
== NULL
) SWIG_fail
;
17221 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17227 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17231 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17232 if (!SWIG_IsOK(ecode7
)) {
17233 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17235 arg7
= static_cast< long >(val7
);
17238 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17239 if (!SWIG_IsOK(res8
)) {
17240 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17243 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17245 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17249 arg9
= wxString_in_helper(obj8
);
17250 if (arg9
== NULL
) SWIG_fail
;
17255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17256 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17257 wxPyEndAllowThreads(__tstate
);
17258 if (PyErr_Occurred()) SWIG_fail
;
17261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17285 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17286 PyObject
*resultobj
= 0;
17287 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17291 PyObject
*swig_obj
[1] ;
17293 if (!args
) SWIG_fail
;
17294 swig_obj
[0] = args
;
17295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17296 if (!SWIG_IsOK(res1
)) {
17297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17299 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17302 result
= (bool)(arg1
)->GetValue();
17303 wxPyEndAllowThreads(__tstate
);
17304 if (PyErr_Occurred()) SWIG_fail
;
17307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17315 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17316 PyObject
*resultobj
= 0;
17317 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17323 PyObject
* obj0
= 0 ;
17324 PyObject
* obj1
= 0 ;
17325 char * kwnames
[] = {
17326 (char *) "self",(char *) "value", NULL
17329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17331 if (!SWIG_IsOK(res1
)) {
17332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17334 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17335 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17336 if (!SWIG_IsOK(ecode2
)) {
17337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17339 arg2
= static_cast< bool >(val2
);
17341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17342 (arg1
)->SetValue(arg2
);
17343 wxPyEndAllowThreads(__tstate
);
17344 if (PyErr_Occurred()) SWIG_fail
;
17346 resultobj
= SWIG_Py_Void();
17353 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17354 PyObject
*resultobj
= 0;
17355 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17356 SwigValueWrapper
<wxVisualAttributes
> result
;
17359 PyObject
* obj0
= 0 ;
17360 char * kwnames
[] = {
17361 (char *) "variant", NULL
17364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17366 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17367 if (!SWIG_IsOK(ecode1
)) {
17368 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17370 arg1
= static_cast< wxWindowVariant
>(val1
);
17373 if (!wxPyCheckForApp()) SWIG_fail
;
17374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17375 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17376 wxPyEndAllowThreads(__tstate
);
17377 if (PyErr_Occurred()) SWIG_fail
;
17379 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17386 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17388 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17389 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17390 return SWIG_Py_Void();
17393 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17394 return SWIG_Python_InitShadowInstance(args
);
17397 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17398 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17403 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17404 PyObject
*pyobj
= 0;
17408 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17410 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17417 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17418 PyObject
*resultobj
= 0;
17419 wxWindow
*arg1
= (wxWindow
*) 0 ;
17420 int arg2
= (int) -1 ;
17421 int arg3
= (int) 0 ;
17422 int arg4
= (int) 0 ;
17423 int arg5
= (int) 100 ;
17424 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17425 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17426 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17427 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17428 long arg8
= (long) wxSL_HORIZONTAL
;
17429 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17430 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17431 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17432 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17433 wxSlider
*result
= 0 ;
17450 bool temp10
= false ;
17451 PyObject
* obj0
= 0 ;
17452 PyObject
* obj1
= 0 ;
17453 PyObject
* obj2
= 0 ;
17454 PyObject
* obj3
= 0 ;
17455 PyObject
* obj4
= 0 ;
17456 PyObject
* obj5
= 0 ;
17457 PyObject
* obj6
= 0 ;
17458 PyObject
* obj7
= 0 ;
17459 PyObject
* obj8
= 0 ;
17460 PyObject
* obj9
= 0 ;
17461 char * kwnames
[] = {
17462 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17467 if (!SWIG_IsOK(res1
)) {
17468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17470 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17473 if (!SWIG_IsOK(ecode2
)) {
17474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17476 arg2
= static_cast< int >(val2
);
17479 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17480 if (!SWIG_IsOK(ecode3
)) {
17481 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17483 arg3
= static_cast< int >(val3
);
17486 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17487 if (!SWIG_IsOK(ecode4
)) {
17488 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17490 arg4
= static_cast< int >(val4
);
17493 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17494 if (!SWIG_IsOK(ecode5
)) {
17495 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17497 arg5
= static_cast< int >(val5
);
17502 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17508 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17512 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17513 if (!SWIG_IsOK(ecode8
)) {
17514 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17516 arg8
= static_cast< long >(val8
);
17519 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17520 if (!SWIG_IsOK(res9
)) {
17521 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17524 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17526 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17530 arg10
= wxString_in_helper(obj9
);
17531 if (arg10
== NULL
) SWIG_fail
;
17536 if (!wxPyCheckForApp()) SWIG_fail
;
17537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17538 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17539 wxPyEndAllowThreads(__tstate
);
17540 if (PyErr_Occurred()) SWIG_fail
;
17542 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17557 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17558 PyObject
*resultobj
= 0;
17559 wxSlider
*result
= 0 ;
17561 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17563 if (!wxPyCheckForApp()) SWIG_fail
;
17564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17565 result
= (wxSlider
*)new wxSlider();
17566 wxPyEndAllowThreads(__tstate
);
17567 if (PyErr_Occurred()) SWIG_fail
;
17569 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17576 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17577 PyObject
*resultobj
= 0;
17578 wxSlider
*arg1
= (wxSlider
*) 0 ;
17579 wxWindow
*arg2
= (wxWindow
*) 0 ;
17580 int arg3
= (int) -1 ;
17581 int arg4
= (int) 0 ;
17582 int arg5
= (int) 0 ;
17583 int arg6
= (int) 100 ;
17584 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17585 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17586 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17587 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17588 long arg9
= (long) wxSL_HORIZONTAL
;
17589 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17590 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17591 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17592 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17612 bool temp11
= false ;
17613 PyObject
* obj0
= 0 ;
17614 PyObject
* obj1
= 0 ;
17615 PyObject
* obj2
= 0 ;
17616 PyObject
* obj3
= 0 ;
17617 PyObject
* obj4
= 0 ;
17618 PyObject
* obj5
= 0 ;
17619 PyObject
* obj6
= 0 ;
17620 PyObject
* obj7
= 0 ;
17621 PyObject
* obj8
= 0 ;
17622 PyObject
* obj9
= 0 ;
17623 PyObject
* obj10
= 0 ;
17624 char * kwnames
[] = {
17625 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17630 if (!SWIG_IsOK(res1
)) {
17631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17633 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17634 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17635 if (!SWIG_IsOK(res2
)) {
17636 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17638 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17640 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17641 if (!SWIG_IsOK(ecode3
)) {
17642 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17644 arg3
= static_cast< int >(val3
);
17647 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17648 if (!SWIG_IsOK(ecode4
)) {
17649 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17651 arg4
= static_cast< int >(val4
);
17654 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17655 if (!SWIG_IsOK(ecode5
)) {
17656 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17658 arg5
= static_cast< int >(val5
);
17661 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17662 if (!SWIG_IsOK(ecode6
)) {
17663 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17665 arg6
= static_cast< int >(val6
);
17670 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17676 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17680 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17681 if (!SWIG_IsOK(ecode9
)) {
17682 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17684 arg9
= static_cast< long >(val9
);
17687 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17688 if (!SWIG_IsOK(res10
)) {
17689 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17692 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17694 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17698 arg11
= wxString_in_helper(obj10
);
17699 if (arg11
== NULL
) SWIG_fail
;
17704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17705 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17706 wxPyEndAllowThreads(__tstate
);
17707 if (PyErr_Occurred()) SWIG_fail
;
17710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17726 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17727 PyObject
*resultobj
= 0;
17728 wxSlider
*arg1
= (wxSlider
*) 0 ;
17732 PyObject
*swig_obj
[1] ;
17734 if (!args
) SWIG_fail
;
17735 swig_obj
[0] = args
;
17736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17737 if (!SWIG_IsOK(res1
)) {
17738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17740 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17743 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17744 wxPyEndAllowThreads(__tstate
);
17745 if (PyErr_Occurred()) SWIG_fail
;
17747 resultobj
= SWIG_From_int(static_cast< int >(result
));
17754 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17755 PyObject
*resultobj
= 0;
17756 wxSlider
*arg1
= (wxSlider
*) 0 ;
17762 PyObject
* obj0
= 0 ;
17763 PyObject
* obj1
= 0 ;
17764 char * kwnames
[] = {
17765 (char *) "self",(char *) "value", NULL
17768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17770 if (!SWIG_IsOK(res1
)) {
17771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17773 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17774 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17775 if (!SWIG_IsOK(ecode2
)) {
17776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17778 arg2
= static_cast< int >(val2
);
17780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17781 (arg1
)->SetValue(arg2
);
17782 wxPyEndAllowThreads(__tstate
);
17783 if (PyErr_Occurred()) SWIG_fail
;
17785 resultobj
= SWIG_Py_Void();
17792 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17793 PyObject
*resultobj
= 0;
17794 wxSlider
*arg1
= (wxSlider
*) 0 ;
17803 PyObject
* obj0
= 0 ;
17804 PyObject
* obj1
= 0 ;
17805 PyObject
* obj2
= 0 ;
17806 char * kwnames
[] = {
17807 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17812 if (!SWIG_IsOK(res1
)) {
17813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
17815 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17817 if (!SWIG_IsOK(ecode2
)) {
17818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
17820 arg2
= static_cast< int >(val2
);
17821 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17822 if (!SWIG_IsOK(ecode3
)) {
17823 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
17825 arg3
= static_cast< int >(val3
);
17827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17828 (arg1
)->SetRange(arg2
,arg3
);
17829 wxPyEndAllowThreads(__tstate
);
17830 if (PyErr_Occurred()) SWIG_fail
;
17832 resultobj
= SWIG_Py_Void();
17839 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17840 PyObject
*resultobj
= 0;
17841 wxSlider
*arg1
= (wxSlider
*) 0 ;
17845 PyObject
*swig_obj
[1] ;
17847 if (!args
) SWIG_fail
;
17848 swig_obj
[0] = args
;
17849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17850 if (!SWIG_IsOK(res1
)) {
17851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
17853 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17856 result
= (int)((wxSlider
const *)arg1
)->GetMin();
17857 wxPyEndAllowThreads(__tstate
);
17858 if (PyErr_Occurred()) SWIG_fail
;
17860 resultobj
= SWIG_From_int(static_cast< int >(result
));
17867 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17868 PyObject
*resultobj
= 0;
17869 wxSlider
*arg1
= (wxSlider
*) 0 ;
17873 PyObject
*swig_obj
[1] ;
17875 if (!args
) SWIG_fail
;
17876 swig_obj
[0] = args
;
17877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17878 if (!SWIG_IsOK(res1
)) {
17879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
17881 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17884 result
= (int)((wxSlider
const *)arg1
)->GetMax();
17885 wxPyEndAllowThreads(__tstate
);
17886 if (PyErr_Occurred()) SWIG_fail
;
17888 resultobj
= SWIG_From_int(static_cast< int >(result
));
17895 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17896 PyObject
*resultobj
= 0;
17897 wxSlider
*arg1
= (wxSlider
*) 0 ;
17903 PyObject
* obj0
= 0 ;
17904 PyObject
* obj1
= 0 ;
17905 char * kwnames
[] = {
17906 (char *) "self",(char *) "minValue", NULL
17909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17911 if (!SWIG_IsOK(res1
)) {
17912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
17914 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17915 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17916 if (!SWIG_IsOK(ecode2
)) {
17917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
17919 arg2
= static_cast< int >(val2
);
17921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17922 (arg1
)->SetMin(arg2
);
17923 wxPyEndAllowThreads(__tstate
);
17924 if (PyErr_Occurred()) SWIG_fail
;
17926 resultobj
= SWIG_Py_Void();
17933 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17934 PyObject
*resultobj
= 0;
17935 wxSlider
*arg1
= (wxSlider
*) 0 ;
17941 PyObject
* obj0
= 0 ;
17942 PyObject
* obj1
= 0 ;
17943 char * kwnames
[] = {
17944 (char *) "self",(char *) "maxValue", NULL
17947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17949 if (!SWIG_IsOK(res1
)) {
17950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
17952 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17953 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17954 if (!SWIG_IsOK(ecode2
)) {
17955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
17957 arg2
= static_cast< int >(val2
);
17959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17960 (arg1
)->SetMax(arg2
);
17961 wxPyEndAllowThreads(__tstate
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17964 resultobj
= SWIG_Py_Void();
17971 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17972 PyObject
*resultobj
= 0;
17973 wxSlider
*arg1
= (wxSlider
*) 0 ;
17979 PyObject
* obj0
= 0 ;
17980 PyObject
* obj1
= 0 ;
17981 char * kwnames
[] = {
17982 (char *) "self",(char *) "lineSize", NULL
17985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17987 if (!SWIG_IsOK(res1
)) {
17988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
17990 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17991 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17992 if (!SWIG_IsOK(ecode2
)) {
17993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
17995 arg2
= static_cast< int >(val2
);
17997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17998 (arg1
)->SetLineSize(arg2
);
17999 wxPyEndAllowThreads(__tstate
);
18000 if (PyErr_Occurred()) SWIG_fail
;
18002 resultobj
= SWIG_Py_Void();
18009 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18010 PyObject
*resultobj
= 0;
18011 wxSlider
*arg1
= (wxSlider
*) 0 ;
18017 PyObject
* obj0
= 0 ;
18018 PyObject
* obj1
= 0 ;
18019 char * kwnames
[] = {
18020 (char *) "self",(char *) "pageSize", NULL
18023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18025 if (!SWIG_IsOK(res1
)) {
18026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18028 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18030 if (!SWIG_IsOK(ecode2
)) {
18031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18033 arg2
= static_cast< int >(val2
);
18035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18036 (arg1
)->SetPageSize(arg2
);
18037 wxPyEndAllowThreads(__tstate
);
18038 if (PyErr_Occurred()) SWIG_fail
;
18040 resultobj
= SWIG_Py_Void();
18047 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18048 PyObject
*resultobj
= 0;
18049 wxSlider
*arg1
= (wxSlider
*) 0 ;
18053 PyObject
*swig_obj
[1] ;
18055 if (!args
) SWIG_fail
;
18056 swig_obj
[0] = args
;
18057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18058 if (!SWIG_IsOK(res1
)) {
18059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18061 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18064 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18065 wxPyEndAllowThreads(__tstate
);
18066 if (PyErr_Occurred()) SWIG_fail
;
18068 resultobj
= SWIG_From_int(static_cast< int >(result
));
18075 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18076 PyObject
*resultobj
= 0;
18077 wxSlider
*arg1
= (wxSlider
*) 0 ;
18081 PyObject
*swig_obj
[1] ;
18083 if (!args
) SWIG_fail
;
18084 swig_obj
[0] = args
;
18085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18086 if (!SWIG_IsOK(res1
)) {
18087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18089 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18092 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18093 wxPyEndAllowThreads(__tstate
);
18094 if (PyErr_Occurred()) SWIG_fail
;
18096 resultobj
= SWIG_From_int(static_cast< int >(result
));
18103 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18104 PyObject
*resultobj
= 0;
18105 wxSlider
*arg1
= (wxSlider
*) 0 ;
18111 PyObject
* obj0
= 0 ;
18112 PyObject
* obj1
= 0 ;
18113 char * kwnames
[] = {
18114 (char *) "self",(char *) "lenPixels", NULL
18117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18119 if (!SWIG_IsOK(res1
)) {
18120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18122 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18124 if (!SWIG_IsOK(ecode2
)) {
18125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18127 arg2
= static_cast< int >(val2
);
18129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18130 (arg1
)->SetThumbLength(arg2
);
18131 wxPyEndAllowThreads(__tstate
);
18132 if (PyErr_Occurred()) SWIG_fail
;
18134 resultobj
= SWIG_Py_Void();
18141 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18142 PyObject
*resultobj
= 0;
18143 wxSlider
*arg1
= (wxSlider
*) 0 ;
18147 PyObject
*swig_obj
[1] ;
18149 if (!args
) SWIG_fail
;
18150 swig_obj
[0] = args
;
18151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18152 if (!SWIG_IsOK(res1
)) {
18153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18155 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18158 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18159 wxPyEndAllowThreads(__tstate
);
18160 if (PyErr_Occurred()) SWIG_fail
;
18162 resultobj
= SWIG_From_int(static_cast< int >(result
));
18169 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18170 PyObject
*resultobj
= 0;
18171 wxSlider
*arg1
= (wxSlider
*) 0 ;
18173 int arg3
= (int) 1 ;
18180 PyObject
* obj0
= 0 ;
18181 PyObject
* obj1
= 0 ;
18182 PyObject
* obj2
= 0 ;
18183 char * kwnames
[] = {
18184 (char *) "self",(char *) "n",(char *) "pos", NULL
18187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18189 if (!SWIG_IsOK(res1
)) {
18190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18192 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18194 if (!SWIG_IsOK(ecode2
)) {
18195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18197 arg2
= static_cast< int >(val2
);
18199 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18200 if (!SWIG_IsOK(ecode3
)) {
18201 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18203 arg3
= static_cast< int >(val3
);
18206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18207 (arg1
)->SetTickFreq(arg2
,arg3
);
18208 wxPyEndAllowThreads(__tstate
);
18209 if (PyErr_Occurred()) SWIG_fail
;
18211 resultobj
= SWIG_Py_Void();
18218 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18219 PyObject
*resultobj
= 0;
18220 wxSlider
*arg1
= (wxSlider
*) 0 ;
18224 PyObject
*swig_obj
[1] ;
18226 if (!args
) SWIG_fail
;
18227 swig_obj
[0] = args
;
18228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18229 if (!SWIG_IsOK(res1
)) {
18230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18232 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18235 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18236 wxPyEndAllowThreads(__tstate
);
18237 if (PyErr_Occurred()) SWIG_fail
;
18239 resultobj
= SWIG_From_int(static_cast< int >(result
));
18246 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18247 PyObject
*resultobj
= 0;
18248 wxSlider
*arg1
= (wxSlider
*) 0 ;
18251 PyObject
*swig_obj
[1] ;
18253 if (!args
) SWIG_fail
;
18254 swig_obj
[0] = args
;
18255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18256 if (!SWIG_IsOK(res1
)) {
18257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18259 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18262 (arg1
)->ClearTicks();
18263 wxPyEndAllowThreads(__tstate
);
18264 if (PyErr_Occurred()) SWIG_fail
;
18266 resultobj
= SWIG_Py_Void();
18273 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18274 PyObject
*resultobj
= 0;
18275 wxSlider
*arg1
= (wxSlider
*) 0 ;
18281 PyObject
* obj0
= 0 ;
18282 PyObject
* obj1
= 0 ;
18283 char * kwnames
[] = {
18284 (char *) "self",(char *) "tickPos", NULL
18287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18289 if (!SWIG_IsOK(res1
)) {
18290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18292 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18293 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18294 if (!SWIG_IsOK(ecode2
)) {
18295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18297 arg2
= static_cast< int >(val2
);
18299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18300 (arg1
)->SetTick(arg2
);
18301 wxPyEndAllowThreads(__tstate
);
18302 if (PyErr_Occurred()) SWIG_fail
;
18304 resultobj
= SWIG_Py_Void();
18311 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18312 PyObject
*resultobj
= 0;
18313 wxSlider
*arg1
= (wxSlider
*) 0 ;
18316 PyObject
*swig_obj
[1] ;
18318 if (!args
) SWIG_fail
;
18319 swig_obj
[0] = args
;
18320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18321 if (!SWIG_IsOK(res1
)) {
18322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18324 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18327 (arg1
)->ClearSel();
18328 wxPyEndAllowThreads(__tstate
);
18329 if (PyErr_Occurred()) SWIG_fail
;
18331 resultobj
= SWIG_Py_Void();
18338 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18339 PyObject
*resultobj
= 0;
18340 wxSlider
*arg1
= (wxSlider
*) 0 ;
18344 PyObject
*swig_obj
[1] ;
18346 if (!args
) SWIG_fail
;
18347 swig_obj
[0] = args
;
18348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18349 if (!SWIG_IsOK(res1
)) {
18350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18352 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18355 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18356 wxPyEndAllowThreads(__tstate
);
18357 if (PyErr_Occurred()) SWIG_fail
;
18359 resultobj
= SWIG_From_int(static_cast< int >(result
));
18366 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18367 PyObject
*resultobj
= 0;
18368 wxSlider
*arg1
= (wxSlider
*) 0 ;
18372 PyObject
*swig_obj
[1] ;
18374 if (!args
) SWIG_fail
;
18375 swig_obj
[0] = args
;
18376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18377 if (!SWIG_IsOK(res1
)) {
18378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18380 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18383 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18384 wxPyEndAllowThreads(__tstate
);
18385 if (PyErr_Occurred()) SWIG_fail
;
18387 resultobj
= SWIG_From_int(static_cast< int >(result
));
18394 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18395 PyObject
*resultobj
= 0;
18396 wxSlider
*arg1
= (wxSlider
*) 0 ;
18405 PyObject
* obj0
= 0 ;
18406 PyObject
* obj1
= 0 ;
18407 PyObject
* obj2
= 0 ;
18408 char * kwnames
[] = {
18409 (char *) "self",(char *) "min",(char *) "max", NULL
18412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18414 if (!SWIG_IsOK(res1
)) {
18415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18417 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18419 if (!SWIG_IsOK(ecode2
)) {
18420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18422 arg2
= static_cast< int >(val2
);
18423 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18424 if (!SWIG_IsOK(ecode3
)) {
18425 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18427 arg3
= static_cast< int >(val3
);
18429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18430 (arg1
)->SetSelection(arg2
,arg3
);
18431 wxPyEndAllowThreads(__tstate
);
18432 if (PyErr_Occurred()) SWIG_fail
;
18434 resultobj
= SWIG_Py_Void();
18441 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18442 PyObject
*resultobj
= 0;
18443 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18444 SwigValueWrapper
<wxVisualAttributes
> result
;
18447 PyObject
* obj0
= 0 ;
18448 char * kwnames
[] = {
18449 (char *) "variant", NULL
18452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18454 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18455 if (!SWIG_IsOK(ecode1
)) {
18456 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18458 arg1
= static_cast< wxWindowVariant
>(val1
);
18461 if (!wxPyCheckForApp()) SWIG_fail
;
18462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18463 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18464 wxPyEndAllowThreads(__tstate
);
18465 if (PyErr_Occurred()) SWIG_fail
;
18467 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18474 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18476 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18477 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18478 return SWIG_Py_Void();
18481 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18482 return SWIG_Python_InitShadowInstance(args
);
18485 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18486 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18491 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18492 PyObject
*pyobj
= 0;
18496 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18498 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18505 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18506 PyObject
*resultobj
= 0;
18507 wxWindow
*arg1
= (wxWindow
*) 0 ;
18508 int arg2
= (int) -1 ;
18509 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18510 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18511 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18512 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18513 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18514 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18515 long arg6
= (long) 0 ;
18516 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18517 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18518 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18519 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18520 wxToggleButton
*result
= 0 ;
18525 bool temp3
= false ;
18532 bool temp8
= false ;
18533 PyObject
* obj0
= 0 ;
18534 PyObject
* obj1
= 0 ;
18535 PyObject
* obj2
= 0 ;
18536 PyObject
* obj3
= 0 ;
18537 PyObject
* obj4
= 0 ;
18538 PyObject
* obj5
= 0 ;
18539 PyObject
* obj6
= 0 ;
18540 PyObject
* obj7
= 0 ;
18541 char * kwnames
[] = {
18542 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18547 if (!SWIG_IsOK(res1
)) {
18548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18550 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18552 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18553 if (!SWIG_IsOK(ecode2
)) {
18554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18556 arg2
= static_cast< int >(val2
);
18560 arg3
= wxString_in_helper(obj2
);
18561 if (arg3
== NULL
) SWIG_fail
;
18568 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18574 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18578 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18579 if (!SWIG_IsOK(ecode6
)) {
18580 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18582 arg6
= static_cast< long >(val6
);
18585 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18586 if (!SWIG_IsOK(res7
)) {
18587 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18592 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18596 arg8
= wxString_in_helper(obj7
);
18597 if (arg8
== NULL
) SWIG_fail
;
18602 if (!wxPyCheckForApp()) SWIG_fail
;
18603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18604 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18605 wxPyEndAllowThreads(__tstate
);
18606 if (PyErr_Occurred()) SWIG_fail
;
18608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18631 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18632 PyObject
*resultobj
= 0;
18633 wxToggleButton
*result
= 0 ;
18635 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18637 if (!wxPyCheckForApp()) SWIG_fail
;
18638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18639 result
= (wxToggleButton
*)new wxToggleButton();
18640 wxPyEndAllowThreads(__tstate
);
18641 if (PyErr_Occurred()) SWIG_fail
;
18643 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18650 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18651 PyObject
*resultobj
= 0;
18652 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18653 wxWindow
*arg2
= (wxWindow
*) 0 ;
18654 int arg3
= (int) -1 ;
18655 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18656 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18657 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18658 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18659 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18660 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18661 long arg7
= (long) 0 ;
18662 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18663 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18664 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18665 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18673 bool temp4
= false ;
18680 bool temp9
= false ;
18681 PyObject
* obj0
= 0 ;
18682 PyObject
* obj1
= 0 ;
18683 PyObject
* obj2
= 0 ;
18684 PyObject
* obj3
= 0 ;
18685 PyObject
* obj4
= 0 ;
18686 PyObject
* obj5
= 0 ;
18687 PyObject
* obj6
= 0 ;
18688 PyObject
* obj7
= 0 ;
18689 PyObject
* obj8
= 0 ;
18690 char * kwnames
[] = {
18691 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18696 if (!SWIG_IsOK(res1
)) {
18697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18699 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18700 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18701 if (!SWIG_IsOK(res2
)) {
18702 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18704 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18706 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18707 if (!SWIG_IsOK(ecode3
)) {
18708 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18710 arg3
= static_cast< int >(val3
);
18714 arg4
= wxString_in_helper(obj3
);
18715 if (arg4
== NULL
) SWIG_fail
;
18722 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18728 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18732 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18733 if (!SWIG_IsOK(ecode7
)) {
18734 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18736 arg7
= static_cast< long >(val7
);
18739 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18740 if (!SWIG_IsOK(res8
)) {
18741 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18744 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18746 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18750 arg9
= wxString_in_helper(obj8
);
18751 if (arg9
== NULL
) SWIG_fail
;
18756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18757 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18758 wxPyEndAllowThreads(__tstate
);
18759 if (PyErr_Occurred()) SWIG_fail
;
18762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18786 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18787 PyObject
*resultobj
= 0;
18788 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18794 PyObject
* obj0
= 0 ;
18795 PyObject
* obj1
= 0 ;
18796 char * kwnames
[] = {
18797 (char *) "self",(char *) "value", NULL
18800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18802 if (!SWIG_IsOK(res1
)) {
18803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18805 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18806 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18807 if (!SWIG_IsOK(ecode2
)) {
18808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18810 arg2
= static_cast< bool >(val2
);
18812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18813 (arg1
)->SetValue(arg2
);
18814 wxPyEndAllowThreads(__tstate
);
18815 if (PyErr_Occurred()) SWIG_fail
;
18817 resultobj
= SWIG_Py_Void();
18824 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18825 PyObject
*resultobj
= 0;
18826 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18830 PyObject
*swig_obj
[1] ;
18832 if (!args
) SWIG_fail
;
18833 swig_obj
[0] = args
;
18834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18835 if (!SWIG_IsOK(res1
)) {
18836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
18838 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18841 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
18842 wxPyEndAllowThreads(__tstate
);
18843 if (PyErr_Occurred()) SWIG_fail
;
18846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18854 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18855 PyObject
*resultobj
= 0;
18856 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18857 SwigValueWrapper
<wxVisualAttributes
> result
;
18860 PyObject
* obj0
= 0 ;
18861 char * kwnames
[] = {
18862 (char *) "variant", NULL
18865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18867 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18868 if (!SWIG_IsOK(ecode1
)) {
18869 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18871 arg1
= static_cast< wxWindowVariant
>(val1
);
18874 if (!wxPyCheckForApp()) SWIG_fail
;
18875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18876 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
18877 wxPyEndAllowThreads(__tstate
);
18878 if (PyErr_Occurred()) SWIG_fail
;
18880 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18887 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18889 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18890 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
18891 return SWIG_Py_Void();
18894 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18895 return SWIG_Python_InitShadowInstance(args
);
18898 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
18899 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
18904 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
18905 PyObject
*pyobj
= 0;
18909 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18911 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18918 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18919 PyObject
*resultobj
= 0;
18920 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18924 PyObject
*swig_obj
[1] ;
18926 if (!args
) SWIG_fail
;
18927 swig_obj
[0] = args
;
18928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18929 if (!SWIG_IsOK(res1
)) {
18930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18932 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18935 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
18936 wxPyEndAllowThreads(__tstate
);
18937 if (PyErr_Occurred()) SWIG_fail
;
18939 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
18946 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18947 PyObject
*resultobj
= 0;
18948 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18950 wxWindow
*result
= 0 ;
18955 PyObject
* obj0
= 0 ;
18956 PyObject
* obj1
= 0 ;
18957 char * kwnames
[] = {
18958 (char *) "self",(char *) "n", NULL
18961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18963 if (!SWIG_IsOK(res1
)) {
18964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18966 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18967 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18968 if (!SWIG_IsOK(ecode2
)) {
18969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
18971 arg2
= static_cast< size_t >(val2
);
18973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18974 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
18975 wxPyEndAllowThreads(__tstate
);
18976 if (PyErr_Occurred()) SWIG_fail
;
18979 resultobj
= wxPyMake_wxObject(result
, 0);
18987 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18988 PyObject
*resultobj
= 0;
18989 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18990 wxWindow
*result
= 0 ;
18993 PyObject
*swig_obj
[1] ;
18995 if (!args
) SWIG_fail
;
18996 swig_obj
[0] = args
;
18997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18998 if (!SWIG_IsOK(res1
)) {
18999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19001 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19004 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19005 wxPyEndAllowThreads(__tstate
);
19006 if (PyErr_Occurred()) SWIG_fail
;
19009 resultobj
= wxPyMake_wxObject(result
, 0);
19017 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19018 PyObject
*resultobj
= 0;
19019 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19023 PyObject
*swig_obj
[1] ;
19025 if (!args
) SWIG_fail
;
19026 swig_obj
[0] = args
;
19027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19028 if (!SWIG_IsOK(res1
)) {
19029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19031 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19034 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19035 wxPyEndAllowThreads(__tstate
);
19036 if (PyErr_Occurred()) SWIG_fail
;
19038 resultobj
= SWIG_From_int(static_cast< int >(result
));
19045 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19046 PyObject
*resultobj
= 0;
19047 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19049 wxString
*arg3
= 0 ;
19055 bool temp3
= false ;
19056 PyObject
* obj0
= 0 ;
19057 PyObject
* obj1
= 0 ;
19058 PyObject
* obj2
= 0 ;
19059 char * kwnames
[] = {
19060 (char *) "self",(char *) "n",(char *) "strText", NULL
19063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19065 if (!SWIG_IsOK(res1
)) {
19066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19068 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19069 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19070 if (!SWIG_IsOK(ecode2
)) {
19071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19073 arg2
= static_cast< size_t >(val2
);
19075 arg3
= wxString_in_helper(obj2
);
19076 if (arg3
== NULL
) SWIG_fail
;
19080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19081 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19082 wxPyEndAllowThreads(__tstate
);
19083 if (PyErr_Occurred()) SWIG_fail
;
19086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19102 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19103 PyObject
*resultobj
= 0;
19104 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19111 PyObject
* obj0
= 0 ;
19112 PyObject
* obj1
= 0 ;
19113 char * kwnames
[] = {
19114 (char *) "self",(char *) "n", NULL
19117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19119 if (!SWIG_IsOK(res1
)) {
19120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19122 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19123 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19124 if (!SWIG_IsOK(ecode2
)) {
19125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19127 arg2
= static_cast< size_t >(val2
);
19129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19130 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19131 wxPyEndAllowThreads(__tstate
);
19132 if (PyErr_Occurred()) SWIG_fail
;
19136 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19138 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19147 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19148 PyObject
*resultobj
= 0;
19149 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19150 wxImageList
*arg2
= (wxImageList
*) 0 ;
19155 PyObject
* obj0
= 0 ;
19156 PyObject
* obj1
= 0 ;
19157 char * kwnames
[] = {
19158 (char *) "self",(char *) "imageList", NULL
19161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19163 if (!SWIG_IsOK(res1
)) {
19164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19166 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19167 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19168 if (!SWIG_IsOK(res2
)) {
19169 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19171 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19174 (arg1
)->SetImageList(arg2
);
19175 wxPyEndAllowThreads(__tstate
);
19176 if (PyErr_Occurred()) SWIG_fail
;
19178 resultobj
= SWIG_Py_Void();
19185 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19186 PyObject
*resultobj
= 0;
19187 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19188 wxImageList
*arg2
= (wxImageList
*) 0 ;
19192 PyObject
* obj0
= 0 ;
19193 PyObject
* obj1
= 0 ;
19194 char * kwnames
[] = {
19195 (char *) "self",(char *) "imageList", NULL
19198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19200 if (!SWIG_IsOK(res1
)) {
19201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19203 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19204 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19205 if (!SWIG_IsOK(res2
)) {
19206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19210 (arg1
)->AssignImageList(arg2
);
19211 wxPyEndAllowThreads(__tstate
);
19212 if (PyErr_Occurred()) SWIG_fail
;
19214 resultobj
= SWIG_Py_Void();
19221 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19222 PyObject
*resultobj
= 0;
19223 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19224 wxImageList
*result
= 0 ;
19227 PyObject
*swig_obj
[1] ;
19229 if (!args
) SWIG_fail
;
19230 swig_obj
[0] = args
;
19231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19232 if (!SWIG_IsOK(res1
)) {
19233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19235 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19238 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19239 wxPyEndAllowThreads(__tstate
);
19240 if (PyErr_Occurred()) SWIG_fail
;
19243 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19251 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19252 PyObject
*resultobj
= 0;
19253 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19260 PyObject
* obj0
= 0 ;
19261 PyObject
* obj1
= 0 ;
19262 char * kwnames
[] = {
19263 (char *) "self",(char *) "n", NULL
19266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19268 if (!SWIG_IsOK(res1
)) {
19269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19271 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19272 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19273 if (!SWIG_IsOK(ecode2
)) {
19274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19276 arg2
= static_cast< size_t >(val2
);
19278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19279 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19280 wxPyEndAllowThreads(__tstate
);
19281 if (PyErr_Occurred()) SWIG_fail
;
19283 resultobj
= SWIG_From_int(static_cast< int >(result
));
19290 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19291 PyObject
*resultobj
= 0;
19292 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19302 PyObject
* obj0
= 0 ;
19303 PyObject
* obj1
= 0 ;
19304 PyObject
* obj2
= 0 ;
19305 char * kwnames
[] = {
19306 (char *) "self",(char *) "n",(char *) "imageId", NULL
19309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19311 if (!SWIG_IsOK(res1
)) {
19312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19314 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19315 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19316 if (!SWIG_IsOK(ecode2
)) {
19317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19319 arg2
= static_cast< size_t >(val2
);
19320 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19321 if (!SWIG_IsOK(ecode3
)) {
19322 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19324 arg3
= static_cast< int >(val3
);
19326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19327 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19328 wxPyEndAllowThreads(__tstate
);
19329 if (PyErr_Occurred()) SWIG_fail
;
19332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19340 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19341 PyObject
*resultobj
= 0;
19342 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19347 PyObject
* obj0
= 0 ;
19348 PyObject
* obj1
= 0 ;
19349 char * kwnames
[] = {
19350 (char *) "self",(char *) "size", NULL
19353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19355 if (!SWIG_IsOK(res1
)) {
19356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19358 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19361 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19365 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19366 wxPyEndAllowThreads(__tstate
);
19367 if (PyErr_Occurred()) SWIG_fail
;
19369 resultobj
= SWIG_Py_Void();
19376 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19377 PyObject
*resultobj
= 0;
19378 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19384 PyObject
* obj0
= 0 ;
19385 PyObject
* obj1
= 0 ;
19386 char * kwnames
[] = {
19387 (char *) "self",(char *) "sizePage", NULL
19390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19392 if (!SWIG_IsOK(res1
)) {
19393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19395 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19398 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19402 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19403 wxPyEndAllowThreads(__tstate
);
19404 if (PyErr_Occurred()) SWIG_fail
;
19406 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19413 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19414 PyObject
*resultobj
= 0;
19415 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19416 unsigned int result
;
19419 PyObject
*swig_obj
[1] ;
19421 if (!args
) SWIG_fail
;
19422 swig_obj
[0] = args
;
19423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19424 if (!SWIG_IsOK(res1
)) {
19425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19427 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19430 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19431 wxPyEndAllowThreads(__tstate
);
19432 if (PyErr_Occurred()) SWIG_fail
;
19434 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19441 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19442 PyObject
*resultobj
= 0;
19443 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19444 unsigned int arg2
;
19447 unsigned int val2
;
19449 PyObject
* obj0
= 0 ;
19450 PyObject
* obj1
= 0 ;
19451 char * kwnames
[] = {
19452 (char *) "self",(char *) "internalBorder", NULL
19455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19457 if (!SWIG_IsOK(res1
)) {
19458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19460 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19461 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19462 if (!SWIG_IsOK(ecode2
)) {
19463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19465 arg2
= static_cast< unsigned int >(val2
);
19467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19468 (arg1
)->SetInternalBorder(arg2
);
19469 wxPyEndAllowThreads(__tstate
);
19470 if (PyErr_Occurred()) SWIG_fail
;
19472 resultobj
= SWIG_Py_Void();
19479 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19480 PyObject
*resultobj
= 0;
19481 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19485 PyObject
*swig_obj
[1] ;
19487 if (!args
) SWIG_fail
;
19488 swig_obj
[0] = args
;
19489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19490 if (!SWIG_IsOK(res1
)) {
19491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19493 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19496 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19497 wxPyEndAllowThreads(__tstate
);
19498 if (PyErr_Occurred()) SWIG_fail
;
19501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19509 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19510 PyObject
*resultobj
= 0;
19511 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19517 PyObject
* obj0
= 0 ;
19518 PyObject
* obj1
= 0 ;
19519 char * kwnames
[] = {
19520 (char *) "self",(char *) "margin", NULL
19523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19525 if (!SWIG_IsOK(res1
)) {
19526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19528 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19529 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19530 if (!SWIG_IsOK(ecode2
)) {
19531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19533 arg2
= static_cast< int >(val2
);
19535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19536 (arg1
)->SetControlMargin(arg2
);
19537 wxPyEndAllowThreads(__tstate
);
19538 if (PyErr_Occurred()) SWIG_fail
;
19540 resultobj
= SWIG_Py_Void();
19547 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19548 PyObject
*resultobj
= 0;
19549 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19553 PyObject
*swig_obj
[1] ;
19555 if (!args
) SWIG_fail
;
19556 swig_obj
[0] = args
;
19557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19558 if (!SWIG_IsOK(res1
)) {
19559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19561 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19564 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19565 wxPyEndAllowThreads(__tstate
);
19566 if (PyErr_Occurred()) SWIG_fail
;
19568 resultobj
= SWIG_From_int(static_cast< int >(result
));
19575 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19576 PyObject
*resultobj
= 0;
19577 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19583 PyObject
* obj0
= 0 ;
19584 PyObject
* obj1
= 0 ;
19585 char * kwnames
[] = {
19586 (char *) "self",(char *) "fit", NULL
19589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19591 if (!SWIG_IsOK(res1
)) {
19592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19594 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19595 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19596 if (!SWIG_IsOK(ecode2
)) {
19597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19599 arg2
= static_cast< bool >(val2
);
19601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19602 (arg1
)->SetFitToCurrentPage(arg2
);
19603 wxPyEndAllowThreads(__tstate
);
19604 if (PyErr_Occurred()) SWIG_fail
;
19606 resultobj
= SWIG_Py_Void();
19613 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19614 PyObject
*resultobj
= 0;
19615 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19619 PyObject
*swig_obj
[1] ;
19621 if (!args
) SWIG_fail
;
19622 swig_obj
[0] = args
;
19623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19624 if (!SWIG_IsOK(res1
)) {
19625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19627 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19630 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19631 wxPyEndAllowThreads(__tstate
);
19632 if (PyErr_Occurred()) SWIG_fail
;
19635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19643 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19644 PyObject
*resultobj
= 0;
19645 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19646 wxSizer
*result
= 0 ;
19649 PyObject
*swig_obj
[1] ;
19651 if (!args
) SWIG_fail
;
19652 swig_obj
[0] = args
;
19653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19654 if (!SWIG_IsOK(res1
)) {
19655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19657 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19660 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19661 wxPyEndAllowThreads(__tstate
);
19662 if (PyErr_Occurred()) SWIG_fail
;
19665 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19673 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19674 PyObject
*resultobj
= 0;
19675 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19682 PyObject
* obj0
= 0 ;
19683 PyObject
* obj1
= 0 ;
19684 char * kwnames
[] = {
19685 (char *) "self",(char *) "n", NULL
19688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19690 if (!SWIG_IsOK(res1
)) {
19691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19693 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19694 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19695 if (!SWIG_IsOK(ecode2
)) {
19696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19698 arg2
= static_cast< size_t >(val2
);
19700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19701 result
= (bool)(arg1
)->DeletePage(arg2
);
19702 wxPyEndAllowThreads(__tstate
);
19703 if (PyErr_Occurred()) SWIG_fail
;
19706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19714 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19715 PyObject
*resultobj
= 0;
19716 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19723 PyObject
* obj0
= 0 ;
19724 PyObject
* obj1
= 0 ;
19725 char * kwnames
[] = {
19726 (char *) "self",(char *) "n", NULL
19729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19731 if (!SWIG_IsOK(res1
)) {
19732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19734 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19735 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19736 if (!SWIG_IsOK(ecode2
)) {
19737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19739 arg2
= static_cast< size_t >(val2
);
19741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19742 result
= (bool)(arg1
)->RemovePage(arg2
);
19743 wxPyEndAllowThreads(__tstate
);
19744 if (PyErr_Occurred()) SWIG_fail
;
19747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19755 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19756 PyObject
*resultobj
= 0;
19757 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19761 PyObject
*swig_obj
[1] ;
19763 if (!args
) SWIG_fail
;
19764 swig_obj
[0] = args
;
19765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19766 if (!SWIG_IsOK(res1
)) {
19767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19769 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19772 result
= (bool)(arg1
)->DeleteAllPages();
19773 wxPyEndAllowThreads(__tstate
);
19774 if (PyErr_Occurred()) SWIG_fail
;
19777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19785 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19786 PyObject
*resultobj
= 0;
19787 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19788 wxWindow
*arg2
= (wxWindow
*) 0 ;
19789 wxString
*arg3
= 0 ;
19790 bool arg4
= (bool) false ;
19791 int arg5
= (int) -1 ;
19797 bool temp3
= false ;
19802 PyObject
* obj0
= 0 ;
19803 PyObject
* obj1
= 0 ;
19804 PyObject
* obj2
= 0 ;
19805 PyObject
* obj3
= 0 ;
19806 PyObject
* obj4
= 0 ;
19807 char * kwnames
[] = {
19808 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19813 if (!SWIG_IsOK(res1
)) {
19814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19816 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19817 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19818 if (!SWIG_IsOK(res2
)) {
19819 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
19821 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19823 arg3
= wxString_in_helper(obj2
);
19824 if (arg3
== NULL
) SWIG_fail
;
19828 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19829 if (!SWIG_IsOK(ecode4
)) {
19830 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
19832 arg4
= static_cast< bool >(val4
);
19835 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19836 if (!SWIG_IsOK(ecode5
)) {
19837 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
19839 arg5
= static_cast< int >(val5
);
19842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19843 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19844 wxPyEndAllowThreads(__tstate
);
19845 if (PyErr_Occurred()) SWIG_fail
;
19848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19864 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19865 PyObject
*resultobj
= 0;
19866 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19868 wxWindow
*arg3
= (wxWindow
*) 0 ;
19869 wxString
*arg4
= 0 ;
19870 bool arg5
= (bool) false ;
19871 int arg6
= (int) -1 ;
19879 bool temp4
= false ;
19884 PyObject
* obj0
= 0 ;
19885 PyObject
* obj1
= 0 ;
19886 PyObject
* obj2
= 0 ;
19887 PyObject
* obj3
= 0 ;
19888 PyObject
* obj4
= 0 ;
19889 PyObject
* obj5
= 0 ;
19890 char * kwnames
[] = {
19891 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19896 if (!SWIG_IsOK(res1
)) {
19897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19899 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19900 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19901 if (!SWIG_IsOK(ecode2
)) {
19902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
19904 arg2
= static_cast< size_t >(val2
);
19905 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19906 if (!SWIG_IsOK(res3
)) {
19907 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
19909 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
19911 arg4
= wxString_in_helper(obj3
);
19912 if (arg4
== NULL
) SWIG_fail
;
19916 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19917 if (!SWIG_IsOK(ecode5
)) {
19918 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
19920 arg5
= static_cast< bool >(val5
);
19923 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19924 if (!SWIG_IsOK(ecode6
)) {
19925 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
19927 arg6
= static_cast< int >(val6
);
19930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19931 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
19932 wxPyEndAllowThreads(__tstate
);
19933 if (PyErr_Occurred()) SWIG_fail
;
19936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19952 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19953 PyObject
*resultobj
= 0;
19954 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19961 PyObject
* obj0
= 0 ;
19962 PyObject
* obj1
= 0 ;
19963 char * kwnames
[] = {
19964 (char *) "self",(char *) "n", NULL
19967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19969 if (!SWIG_IsOK(res1
)) {
19970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19972 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19973 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19974 if (!SWIG_IsOK(ecode2
)) {
19975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
19977 arg2
= static_cast< size_t >(val2
);
19979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19980 result
= (int)(arg1
)->SetSelection(arg2
);
19981 wxPyEndAllowThreads(__tstate
);
19982 if (PyErr_Occurred()) SWIG_fail
;
19984 resultobj
= SWIG_From_int(static_cast< int >(result
));
19991 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19992 PyObject
*resultobj
= 0;
19993 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19994 bool arg2
= (bool) true ;
19999 PyObject
* obj0
= 0 ;
20000 PyObject
* obj1
= 0 ;
20001 char * kwnames
[] = {
20002 (char *) "self",(char *) "forward", NULL
20005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20007 if (!SWIG_IsOK(res1
)) {
20008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20010 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20012 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20013 if (!SWIG_IsOK(ecode2
)) {
20014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20016 arg2
= static_cast< bool >(val2
);
20019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20020 (arg1
)->AdvanceSelection(arg2
);
20021 wxPyEndAllowThreads(__tstate
);
20022 if (PyErr_Occurred()) SWIG_fail
;
20024 resultobj
= SWIG_Py_Void();
20031 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20032 PyObject
*resultobj
= 0;
20033 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20034 wxPoint
*arg2
= 0 ;
20035 long *arg3
= (long *) 0 ;
20041 int res3
= SWIG_TMPOBJ
;
20042 PyObject
* obj0
= 0 ;
20043 PyObject
* obj1
= 0 ;
20044 char * kwnames
[] = {
20045 (char *) "self",(char *) "pt", NULL
20049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20051 if (!SWIG_IsOK(res1
)) {
20052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20054 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20057 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20061 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20062 wxPyEndAllowThreads(__tstate
);
20063 if (PyErr_Occurred()) SWIG_fail
;
20065 resultobj
= SWIG_From_int(static_cast< int >(result
));
20066 if (SWIG_IsTmpObj(res3
)) {
20067 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20069 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20070 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20078 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20079 PyObject
*resultobj
= 0;
20080 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20081 SwigValueWrapper
<wxVisualAttributes
> result
;
20084 PyObject
* obj0
= 0 ;
20085 char * kwnames
[] = {
20086 (char *) "variant", NULL
20089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20091 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20092 if (!SWIG_IsOK(ecode1
)) {
20093 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20095 arg1
= static_cast< wxWindowVariant
>(val1
);
20098 if (!wxPyCheckForApp()) SWIG_fail
;
20099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20100 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20101 wxPyEndAllowThreads(__tstate
);
20102 if (PyErr_Occurred()) SWIG_fail
;
20104 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20111 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20113 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20114 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20115 return SWIG_Py_Void();
20118 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20119 PyObject
*resultobj
= 0;
20120 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20121 int arg2
= (int) 0 ;
20122 int arg3
= (int) -1 ;
20123 int arg4
= (int) -1 ;
20124 wxBookCtrlBaseEvent
*result
= 0 ;
20133 PyObject
* obj0
= 0 ;
20134 PyObject
* obj1
= 0 ;
20135 PyObject
* obj2
= 0 ;
20136 PyObject
* obj3
= 0 ;
20137 char * kwnames
[] = {
20138 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20143 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20144 if (!SWIG_IsOK(ecode1
)) {
20145 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20147 arg1
= static_cast< wxEventType
>(val1
);
20150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20151 if (!SWIG_IsOK(ecode2
)) {
20152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20154 arg2
= static_cast< int >(val2
);
20157 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20158 if (!SWIG_IsOK(ecode3
)) {
20159 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20161 arg3
= static_cast< int >(val3
);
20164 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20165 if (!SWIG_IsOK(ecode4
)) {
20166 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20168 arg4
= static_cast< int >(val4
);
20171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20172 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20173 wxPyEndAllowThreads(__tstate
);
20174 if (PyErr_Occurred()) SWIG_fail
;
20176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20183 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20184 PyObject
*resultobj
= 0;
20185 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20189 PyObject
*swig_obj
[1] ;
20191 if (!args
) SWIG_fail
;
20192 swig_obj
[0] = args
;
20193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20194 if (!SWIG_IsOK(res1
)) {
20195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20197 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20200 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20201 wxPyEndAllowThreads(__tstate
);
20202 if (PyErr_Occurred()) SWIG_fail
;
20204 resultobj
= SWIG_From_int(static_cast< int >(result
));
20211 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20212 PyObject
*resultobj
= 0;
20213 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20219 PyObject
* obj0
= 0 ;
20220 PyObject
* obj1
= 0 ;
20221 char * kwnames
[] = {
20222 (char *) "self",(char *) "nSel", NULL
20225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20227 if (!SWIG_IsOK(res1
)) {
20228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20230 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20232 if (!SWIG_IsOK(ecode2
)) {
20233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20235 arg2
= static_cast< int >(val2
);
20237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20238 (arg1
)->SetSelection(arg2
);
20239 wxPyEndAllowThreads(__tstate
);
20240 if (PyErr_Occurred()) SWIG_fail
;
20242 resultobj
= SWIG_Py_Void();
20249 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20250 PyObject
*resultobj
= 0;
20251 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20255 PyObject
*swig_obj
[1] ;
20257 if (!args
) SWIG_fail
;
20258 swig_obj
[0] = args
;
20259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20260 if (!SWIG_IsOK(res1
)) {
20261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20263 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20266 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20267 wxPyEndAllowThreads(__tstate
);
20268 if (PyErr_Occurred()) SWIG_fail
;
20270 resultobj
= SWIG_From_int(static_cast< int >(result
));
20277 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20278 PyObject
*resultobj
= 0;
20279 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20285 PyObject
* obj0
= 0 ;
20286 PyObject
* obj1
= 0 ;
20287 char * kwnames
[] = {
20288 (char *) "self",(char *) "nOldSel", NULL
20291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20293 if (!SWIG_IsOK(res1
)) {
20294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20296 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20298 if (!SWIG_IsOK(ecode2
)) {
20299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20301 arg2
= static_cast< int >(val2
);
20303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20304 (arg1
)->SetOldSelection(arg2
);
20305 wxPyEndAllowThreads(__tstate
);
20306 if (PyErr_Occurred()) SWIG_fail
;
20308 resultobj
= SWIG_Py_Void();
20315 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20317 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20318 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20319 return SWIG_Py_Void();
20322 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20323 return SWIG_Python_InitShadowInstance(args
);
20326 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20327 PyObject
*resultobj
= 0;
20328 wxWindow
*arg1
= (wxWindow
*) 0 ;
20329 int arg2
= (int) -1 ;
20330 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20331 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20332 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20333 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20334 long arg5
= (long) 0 ;
20335 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20336 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20337 wxNotebook
*result
= 0 ;
20346 bool temp6
= false ;
20347 PyObject
* obj0
= 0 ;
20348 PyObject
* obj1
= 0 ;
20349 PyObject
* obj2
= 0 ;
20350 PyObject
* obj3
= 0 ;
20351 PyObject
* obj4
= 0 ;
20352 PyObject
* obj5
= 0 ;
20353 char * kwnames
[] = {
20354 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20359 if (!SWIG_IsOK(res1
)) {
20360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20362 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20365 if (!SWIG_IsOK(ecode2
)) {
20366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20368 arg2
= static_cast< int >(val2
);
20373 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20379 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20383 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20384 if (!SWIG_IsOK(ecode5
)) {
20385 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20387 arg5
= static_cast< long >(val5
);
20391 arg6
= wxString_in_helper(obj5
);
20392 if (arg6
== NULL
) SWIG_fail
;
20397 if (!wxPyCheckForApp()) SWIG_fail
;
20398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20399 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20400 wxPyEndAllowThreads(__tstate
);
20401 if (PyErr_Occurred()) SWIG_fail
;
20403 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20418 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20419 PyObject
*resultobj
= 0;
20420 wxNotebook
*result
= 0 ;
20422 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20424 if (!wxPyCheckForApp()) SWIG_fail
;
20425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20426 result
= (wxNotebook
*)new wxNotebook();
20427 wxPyEndAllowThreads(__tstate
);
20428 if (PyErr_Occurred()) SWIG_fail
;
20430 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20437 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20438 PyObject
*resultobj
= 0;
20439 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20440 wxWindow
*arg2
= (wxWindow
*) 0 ;
20441 int arg3
= (int) -1 ;
20442 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20443 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20444 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20445 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20446 long arg6
= (long) 0 ;
20447 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20448 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20460 bool temp7
= false ;
20461 PyObject
* obj0
= 0 ;
20462 PyObject
* obj1
= 0 ;
20463 PyObject
* obj2
= 0 ;
20464 PyObject
* obj3
= 0 ;
20465 PyObject
* obj4
= 0 ;
20466 PyObject
* obj5
= 0 ;
20467 PyObject
* obj6
= 0 ;
20468 char * kwnames
[] = {
20469 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20474 if (!SWIG_IsOK(res1
)) {
20475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20477 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20478 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20479 if (!SWIG_IsOK(res2
)) {
20480 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20482 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20484 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20485 if (!SWIG_IsOK(ecode3
)) {
20486 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20488 arg3
= static_cast< int >(val3
);
20493 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20499 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20503 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20504 if (!SWIG_IsOK(ecode6
)) {
20505 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20507 arg6
= static_cast< long >(val6
);
20511 arg7
= wxString_in_helper(obj6
);
20512 if (arg7
== NULL
) SWIG_fail
;
20517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20518 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20519 wxPyEndAllowThreads(__tstate
);
20520 if (PyErr_Occurred()) SWIG_fail
;
20523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20539 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20540 PyObject
*resultobj
= 0;
20541 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20545 PyObject
*swig_obj
[1] ;
20547 if (!args
) SWIG_fail
;
20548 swig_obj
[0] = args
;
20549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20550 if (!SWIG_IsOK(res1
)) {
20551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20553 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20556 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20557 wxPyEndAllowThreads(__tstate
);
20558 if (PyErr_Occurred()) SWIG_fail
;
20560 resultobj
= SWIG_From_int(static_cast< int >(result
));
20567 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20568 PyObject
*resultobj
= 0;
20569 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20574 PyObject
* obj0
= 0 ;
20575 PyObject
* obj1
= 0 ;
20576 char * kwnames
[] = {
20577 (char *) "self",(char *) "padding", NULL
20580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20582 if (!SWIG_IsOK(res1
)) {
20583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20585 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20588 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20592 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20593 wxPyEndAllowThreads(__tstate
);
20594 if (PyErr_Occurred()) SWIG_fail
;
20596 resultobj
= SWIG_Py_Void();
20603 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20604 PyObject
*resultobj
= 0;
20605 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20610 PyObject
* obj0
= 0 ;
20611 PyObject
* obj1
= 0 ;
20612 char * kwnames
[] = {
20613 (char *) "self",(char *) "sz", NULL
20616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20618 if (!SWIG_IsOK(res1
)) {
20619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20621 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20624 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20628 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20629 wxPyEndAllowThreads(__tstate
);
20630 if (PyErr_Occurred()) SWIG_fail
;
20632 resultobj
= SWIG_Py_Void();
20639 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20640 PyObject
*resultobj
= 0;
20641 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20645 PyObject
*swig_obj
[1] ;
20647 if (!args
) SWIG_fail
;
20648 swig_obj
[0] = args
;
20649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20650 if (!SWIG_IsOK(res1
)) {
20651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20653 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20656 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20657 wxPyEndAllowThreads(__tstate
);
20658 if (PyErr_Occurred()) SWIG_fail
;
20660 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20667 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20668 PyObject
*resultobj
= 0;
20669 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20670 SwigValueWrapper
<wxVisualAttributes
> result
;
20673 PyObject
* obj0
= 0 ;
20674 char * kwnames
[] = {
20675 (char *) "variant", NULL
20678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20680 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20681 if (!SWIG_IsOK(ecode1
)) {
20682 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20684 arg1
= static_cast< wxWindowVariant
>(val1
);
20687 if (!wxPyCheckForApp()) SWIG_fail
;
20688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20689 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20690 wxPyEndAllowThreads(__tstate
);
20691 if (PyErr_Occurred()) SWIG_fail
;
20693 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20700 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20702 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20703 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
20704 return SWIG_Py_Void();
20707 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20708 return SWIG_Python_InitShadowInstance(args
);
20711 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20712 PyObject
*resultobj
= 0;
20713 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20714 int arg2
= (int) 0 ;
20715 int arg3
= (int) -1 ;
20716 int arg4
= (int) -1 ;
20717 wxNotebookEvent
*result
= 0 ;
20726 PyObject
* obj0
= 0 ;
20727 PyObject
* obj1
= 0 ;
20728 PyObject
* obj2
= 0 ;
20729 PyObject
* obj3
= 0 ;
20730 char * kwnames
[] = {
20731 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20736 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20737 if (!SWIG_IsOK(ecode1
)) {
20738 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20740 arg1
= static_cast< wxEventType
>(val1
);
20743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20744 if (!SWIG_IsOK(ecode2
)) {
20745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20747 arg2
= static_cast< int >(val2
);
20750 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20751 if (!SWIG_IsOK(ecode3
)) {
20752 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20754 arg3
= static_cast< int >(val3
);
20757 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20758 if (!SWIG_IsOK(ecode4
)) {
20759 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20761 arg4
= static_cast< int >(val4
);
20764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20765 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
20766 wxPyEndAllowThreads(__tstate
);
20767 if (PyErr_Occurred()) SWIG_fail
;
20769 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
20776 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20778 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20779 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
20780 return SWIG_Py_Void();
20783 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20784 return SWIG_Python_InitShadowInstance(args
);
20787 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20788 PyObject
*resultobj
= 0;
20789 wxWindow
*arg1
= (wxWindow
*) 0 ;
20790 int arg2
= (int) -1 ;
20791 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20792 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20793 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20794 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20795 long arg5
= (long) 0 ;
20796 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20797 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20798 wxListbook
*result
= 0 ;
20807 bool temp6
= false ;
20808 PyObject
* obj0
= 0 ;
20809 PyObject
* obj1
= 0 ;
20810 PyObject
* obj2
= 0 ;
20811 PyObject
* obj3
= 0 ;
20812 PyObject
* obj4
= 0 ;
20813 PyObject
* obj5
= 0 ;
20814 char * kwnames
[] = {
20815 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20820 if (!SWIG_IsOK(res1
)) {
20821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
20823 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20826 if (!SWIG_IsOK(ecode2
)) {
20827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
20829 arg2
= static_cast< int >(val2
);
20834 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20840 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20844 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20845 if (!SWIG_IsOK(ecode5
)) {
20846 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
20848 arg5
= static_cast< long >(val5
);
20852 arg6
= wxString_in_helper(obj5
);
20853 if (arg6
== NULL
) SWIG_fail
;
20858 if (!wxPyCheckForApp()) SWIG_fail
;
20859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20860 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20861 wxPyEndAllowThreads(__tstate
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20864 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
20879 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20880 PyObject
*resultobj
= 0;
20881 wxListbook
*result
= 0 ;
20883 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
20885 if (!wxPyCheckForApp()) SWIG_fail
;
20886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20887 result
= (wxListbook
*)new wxListbook();
20888 wxPyEndAllowThreads(__tstate
);
20889 if (PyErr_Occurred()) SWIG_fail
;
20891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
20898 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20899 PyObject
*resultobj
= 0;
20900 wxListbook
*arg1
= (wxListbook
*) 0 ;
20901 wxWindow
*arg2
= (wxWindow
*) 0 ;
20902 int arg3
= (int) -1 ;
20903 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20904 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20905 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20906 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20907 long arg6
= (long) 0 ;
20908 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20909 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20921 bool temp7
= false ;
20922 PyObject
* obj0
= 0 ;
20923 PyObject
* obj1
= 0 ;
20924 PyObject
* obj2
= 0 ;
20925 PyObject
* obj3
= 0 ;
20926 PyObject
* obj4
= 0 ;
20927 PyObject
* obj5
= 0 ;
20928 PyObject
* obj6
= 0 ;
20929 char * kwnames
[] = {
20930 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
20935 if (!SWIG_IsOK(res1
)) {
20936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
20938 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
20939 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20940 if (!SWIG_IsOK(res2
)) {
20941 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20943 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20945 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20946 if (!SWIG_IsOK(ecode3
)) {
20947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
20949 arg3
= static_cast< int >(val3
);
20954 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20960 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20964 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20965 if (!SWIG_IsOK(ecode6
)) {
20966 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
20968 arg6
= static_cast< long >(val6
);
20972 arg7
= wxString_in_helper(obj6
);
20973 if (arg7
== NULL
) SWIG_fail
;
20978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20979 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20980 wxPyEndAllowThreads(__tstate
);
20981 if (PyErr_Occurred()) SWIG_fail
;
20984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21000 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21001 PyObject
*resultobj
= 0;
21002 wxListbook
*arg1
= (wxListbook
*) 0 ;
21003 wxListView
*result
= 0 ;
21006 PyObject
*swig_obj
[1] ;
21008 if (!args
) SWIG_fail
;
21009 swig_obj
[0] = args
;
21010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21011 if (!SWIG_IsOK(res1
)) {
21012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21014 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21017 result
= (wxListView
*)(arg1
)->GetListView();
21018 wxPyEndAllowThreads(__tstate
);
21019 if (PyErr_Occurred()) SWIG_fail
;
21021 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21028 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21030 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21031 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21032 return SWIG_Py_Void();
21035 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21036 return SWIG_Python_InitShadowInstance(args
);
21039 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21040 PyObject
*resultobj
= 0;
21041 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21042 int arg2
= (int) 0 ;
21043 int arg3
= (int) -1 ;
21044 int arg4
= (int) -1 ;
21045 wxListbookEvent
*result
= 0 ;
21054 PyObject
* obj0
= 0 ;
21055 PyObject
* obj1
= 0 ;
21056 PyObject
* obj2
= 0 ;
21057 PyObject
* obj3
= 0 ;
21058 char * kwnames
[] = {
21059 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21064 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21065 if (!SWIG_IsOK(ecode1
)) {
21066 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21068 arg1
= static_cast< wxEventType
>(val1
);
21071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21072 if (!SWIG_IsOK(ecode2
)) {
21073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21075 arg2
= static_cast< int >(val2
);
21078 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21079 if (!SWIG_IsOK(ecode3
)) {
21080 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21082 arg3
= static_cast< int >(val3
);
21085 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21086 if (!SWIG_IsOK(ecode4
)) {
21087 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21089 arg4
= static_cast< int >(val4
);
21092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21093 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21094 wxPyEndAllowThreads(__tstate
);
21095 if (PyErr_Occurred()) SWIG_fail
;
21097 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21104 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21106 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21107 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21108 return SWIG_Py_Void();
21111 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21112 return SWIG_Python_InitShadowInstance(args
);
21115 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21116 PyObject
*resultobj
= 0;
21117 wxWindow
*arg1
= (wxWindow
*) 0 ;
21119 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21120 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21121 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21122 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21123 long arg5
= (long) 0 ;
21124 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21125 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21126 wxChoicebook
*result
= 0 ;
21135 bool temp6
= false ;
21136 PyObject
* obj0
= 0 ;
21137 PyObject
* obj1
= 0 ;
21138 PyObject
* obj2
= 0 ;
21139 PyObject
* obj3
= 0 ;
21140 PyObject
* obj4
= 0 ;
21141 PyObject
* obj5
= 0 ;
21142 char * kwnames
[] = {
21143 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21148 if (!SWIG_IsOK(res1
)) {
21149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21151 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21153 if (!SWIG_IsOK(ecode2
)) {
21154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21156 arg2
= static_cast< int >(val2
);
21160 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21166 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21170 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21171 if (!SWIG_IsOK(ecode5
)) {
21172 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21174 arg5
= static_cast< long >(val5
);
21178 arg6
= wxString_in_helper(obj5
);
21179 if (arg6
== NULL
) SWIG_fail
;
21184 if (!wxPyCheckForApp()) SWIG_fail
;
21185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21186 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21187 wxPyEndAllowThreads(__tstate
);
21188 if (PyErr_Occurred()) SWIG_fail
;
21190 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21205 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21206 PyObject
*resultobj
= 0;
21207 wxChoicebook
*result
= 0 ;
21209 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21211 if (!wxPyCheckForApp()) SWIG_fail
;
21212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21213 result
= (wxChoicebook
*)new wxChoicebook();
21214 wxPyEndAllowThreads(__tstate
);
21215 if (PyErr_Occurred()) SWIG_fail
;
21217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21224 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21225 PyObject
*resultobj
= 0;
21226 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21227 wxWindow
*arg2
= (wxWindow
*) 0 ;
21229 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21230 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21231 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21232 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21233 long arg6
= (long) 0 ;
21234 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21235 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21247 bool temp7
= false ;
21248 PyObject
* obj0
= 0 ;
21249 PyObject
* obj1
= 0 ;
21250 PyObject
* obj2
= 0 ;
21251 PyObject
* obj3
= 0 ;
21252 PyObject
* obj4
= 0 ;
21253 PyObject
* obj5
= 0 ;
21254 PyObject
* obj6
= 0 ;
21255 char * kwnames
[] = {
21256 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21261 if (!SWIG_IsOK(res1
)) {
21262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21264 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21265 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21266 if (!SWIG_IsOK(res2
)) {
21267 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21269 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21270 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21271 if (!SWIG_IsOK(ecode3
)) {
21272 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21274 arg3
= static_cast< int >(val3
);
21278 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21284 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21288 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21289 if (!SWIG_IsOK(ecode6
)) {
21290 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21292 arg6
= static_cast< long >(val6
);
21296 arg7
= wxString_in_helper(obj6
);
21297 if (arg7
== NULL
) SWIG_fail
;
21302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21303 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21304 wxPyEndAllowThreads(__tstate
);
21305 if (PyErr_Occurred()) SWIG_fail
;
21308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21324 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21325 PyObject
*resultobj
= 0;
21326 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21327 wxChoice
*result
= 0 ;
21330 PyObject
*swig_obj
[1] ;
21332 if (!args
) SWIG_fail
;
21333 swig_obj
[0] = args
;
21334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21335 if (!SWIG_IsOK(res1
)) {
21336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21338 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21341 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21342 wxPyEndAllowThreads(__tstate
);
21343 if (PyErr_Occurred()) SWIG_fail
;
21345 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21352 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21354 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21355 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21356 return SWIG_Py_Void();
21359 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21360 return SWIG_Python_InitShadowInstance(args
);
21363 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21364 PyObject
*resultobj
= 0;
21365 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21366 int arg2
= (int) 0 ;
21367 int arg3
= (int) -1 ;
21368 int arg4
= (int) -1 ;
21369 wxChoicebookEvent
*result
= 0 ;
21378 PyObject
* obj0
= 0 ;
21379 PyObject
* obj1
= 0 ;
21380 PyObject
* obj2
= 0 ;
21381 PyObject
* obj3
= 0 ;
21382 char * kwnames
[] = {
21383 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21388 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21389 if (!SWIG_IsOK(ecode1
)) {
21390 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21392 arg1
= static_cast< wxEventType
>(val1
);
21395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21396 if (!SWIG_IsOK(ecode2
)) {
21397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21399 arg2
= static_cast< int >(val2
);
21402 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21403 if (!SWIG_IsOK(ecode3
)) {
21404 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21406 arg3
= static_cast< int >(val3
);
21409 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21410 if (!SWIG_IsOK(ecode4
)) {
21411 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21413 arg4
= static_cast< int >(val4
);
21416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21417 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21418 wxPyEndAllowThreads(__tstate
);
21419 if (PyErr_Occurred()) SWIG_fail
;
21421 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21428 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21430 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21431 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21432 return SWIG_Py_Void();
21435 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21436 return SWIG_Python_InitShadowInstance(args
);
21439 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21440 PyObject
*resultobj
= 0;
21441 wxWindow
*arg1
= (wxWindow
*) 0 ;
21443 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21444 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21445 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21446 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21447 long arg5
= (long) wxBK_DEFAULT
;
21448 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21449 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21450 wxTreebook
*result
= 0 ;
21459 bool temp6
= false ;
21460 PyObject
* obj0
= 0 ;
21461 PyObject
* obj1
= 0 ;
21462 PyObject
* obj2
= 0 ;
21463 PyObject
* obj3
= 0 ;
21464 PyObject
* obj4
= 0 ;
21465 PyObject
* obj5
= 0 ;
21466 char * kwnames
[] = {
21467 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21472 if (!SWIG_IsOK(res1
)) {
21473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21475 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21476 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21477 if (!SWIG_IsOK(ecode2
)) {
21478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21480 arg2
= static_cast< int >(val2
);
21484 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21490 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21494 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21495 if (!SWIG_IsOK(ecode5
)) {
21496 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21498 arg5
= static_cast< long >(val5
);
21502 arg6
= wxString_in_helper(obj5
);
21503 if (arg6
== NULL
) SWIG_fail
;
21508 if (!wxPyCheckForApp()) SWIG_fail
;
21509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21510 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21511 wxPyEndAllowThreads(__tstate
);
21512 if (PyErr_Occurred()) SWIG_fail
;
21514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21529 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21530 PyObject
*resultobj
= 0;
21531 wxTreebook
*result
= 0 ;
21533 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21535 if (!wxPyCheckForApp()) SWIG_fail
;
21536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21537 result
= (wxTreebook
*)new wxTreebook();
21538 wxPyEndAllowThreads(__tstate
);
21539 if (PyErr_Occurred()) SWIG_fail
;
21541 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21548 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21549 PyObject
*resultobj
= 0;
21550 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21551 wxWindow
*arg2
= (wxWindow
*) 0 ;
21553 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21554 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21555 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21556 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21557 long arg6
= (long) wxBK_DEFAULT
;
21558 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21559 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21571 bool temp7
= false ;
21572 PyObject
* obj0
= 0 ;
21573 PyObject
* obj1
= 0 ;
21574 PyObject
* obj2
= 0 ;
21575 PyObject
* obj3
= 0 ;
21576 PyObject
* obj4
= 0 ;
21577 PyObject
* obj5
= 0 ;
21578 PyObject
* obj6
= 0 ;
21579 char * kwnames
[] = {
21580 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21585 if (!SWIG_IsOK(res1
)) {
21586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21588 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21589 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21590 if (!SWIG_IsOK(res2
)) {
21591 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21593 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21594 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21595 if (!SWIG_IsOK(ecode3
)) {
21596 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21598 arg3
= static_cast< int >(val3
);
21602 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21608 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21612 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21613 if (!SWIG_IsOK(ecode6
)) {
21614 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21616 arg6
= static_cast< long >(val6
);
21620 arg7
= wxString_in_helper(obj6
);
21621 if (arg7
== NULL
) SWIG_fail
;
21626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21627 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21628 wxPyEndAllowThreads(__tstate
);
21629 if (PyErr_Occurred()) SWIG_fail
;
21632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21648 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21649 PyObject
*resultobj
= 0;
21650 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21652 wxWindow
*arg3
= (wxWindow
*) 0 ;
21653 wxString
*arg4
= 0 ;
21654 bool arg5
= (bool) false ;
21655 int arg6
= (int) wxNOT_FOUND
;
21663 bool temp4
= false ;
21668 PyObject
* obj0
= 0 ;
21669 PyObject
* obj1
= 0 ;
21670 PyObject
* obj2
= 0 ;
21671 PyObject
* obj3
= 0 ;
21672 PyObject
* obj4
= 0 ;
21673 PyObject
* obj5
= 0 ;
21674 char * kwnames
[] = {
21675 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21680 if (!SWIG_IsOK(res1
)) {
21681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21683 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21684 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21685 if (!SWIG_IsOK(ecode2
)) {
21686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21688 arg2
= static_cast< size_t >(val2
);
21689 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21690 if (!SWIG_IsOK(res3
)) {
21691 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21693 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
21695 arg4
= wxString_in_helper(obj3
);
21696 if (arg4
== NULL
) SWIG_fail
;
21700 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
21701 if (!SWIG_IsOK(ecode5
)) {
21702 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21704 arg5
= static_cast< bool >(val5
);
21707 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21708 if (!SWIG_IsOK(ecode6
)) {
21709 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21711 arg6
= static_cast< int >(val6
);
21714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21715 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
21716 wxPyEndAllowThreads(__tstate
);
21717 if (PyErr_Occurred()) SWIG_fail
;
21720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21736 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21737 PyObject
*resultobj
= 0;
21738 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21739 wxWindow
*arg2
= (wxWindow
*) 0 ;
21740 wxString
*arg3
= 0 ;
21741 bool arg4
= (bool) false ;
21742 int arg5
= (int) wxNOT_FOUND
;
21748 bool temp3
= false ;
21753 PyObject
* obj0
= 0 ;
21754 PyObject
* obj1
= 0 ;
21755 PyObject
* obj2
= 0 ;
21756 PyObject
* obj3
= 0 ;
21757 PyObject
* obj4
= 0 ;
21758 char * kwnames
[] = {
21759 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21764 if (!SWIG_IsOK(res1
)) {
21765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21767 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21768 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21769 if (!SWIG_IsOK(res2
)) {
21770 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
21772 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21774 arg3
= wxString_in_helper(obj2
);
21775 if (arg3
== NULL
) SWIG_fail
;
21779 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
21780 if (!SWIG_IsOK(ecode4
)) {
21781 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
21783 arg4
= static_cast< bool >(val4
);
21786 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21787 if (!SWIG_IsOK(ecode5
)) {
21788 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
21790 arg5
= static_cast< int >(val5
);
21793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21794 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21795 wxPyEndAllowThreads(__tstate
);
21796 if (PyErr_Occurred()) SWIG_fail
;
21799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21815 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21816 PyObject
*resultobj
= 0;
21817 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21824 PyObject
* obj0
= 0 ;
21825 PyObject
* obj1
= 0 ;
21826 char * kwnames
[] = {
21827 (char *) "self",(char *) "pos", NULL
21830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21832 if (!SWIG_IsOK(res1
)) {
21833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21835 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21836 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21837 if (!SWIG_IsOK(ecode2
)) {
21838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
21840 arg2
= static_cast< size_t >(val2
);
21842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21843 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
21844 wxPyEndAllowThreads(__tstate
);
21845 if (PyErr_Occurred()) SWIG_fail
;
21848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21856 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21857 PyObject
*resultobj
= 0;
21858 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21860 bool arg3
= (bool) true ;
21868 PyObject
* obj0
= 0 ;
21869 PyObject
* obj1
= 0 ;
21870 PyObject
* obj2
= 0 ;
21871 char * kwnames
[] = {
21872 (char *) "self",(char *) "pos",(char *) "expand", NULL
21875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21877 if (!SWIG_IsOK(res1
)) {
21878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21880 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21881 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21882 if (!SWIG_IsOK(ecode2
)) {
21883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
21885 arg2
= static_cast< size_t >(val2
);
21887 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21888 if (!SWIG_IsOK(ecode3
)) {
21889 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
21891 arg3
= static_cast< bool >(val3
);
21894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21895 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
21896 wxPyEndAllowThreads(__tstate
);
21897 if (PyErr_Occurred()) SWIG_fail
;
21900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21908 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21909 PyObject
*resultobj
= 0;
21910 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21917 PyObject
* obj0
= 0 ;
21918 PyObject
* obj1
= 0 ;
21919 char * kwnames
[] = {
21920 (char *) "self",(char *) "pos", NULL
21923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21925 if (!SWIG_IsOK(res1
)) {
21926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21928 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21929 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21930 if (!SWIG_IsOK(ecode2
)) {
21931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
21933 arg2
= static_cast< size_t >(val2
);
21935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21936 result
= (bool)(arg1
)->CollapseNode(arg2
);
21937 wxPyEndAllowThreads(__tstate
);
21938 if (PyErr_Occurred()) SWIG_fail
;
21941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21949 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21950 PyObject
*resultobj
= 0;
21951 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21958 PyObject
* obj0
= 0 ;
21959 PyObject
* obj1
= 0 ;
21960 char * kwnames
[] = {
21961 (char *) "self",(char *) "pos", NULL
21964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21966 if (!SWIG_IsOK(res1
)) {
21967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21969 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21970 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21971 if (!SWIG_IsOK(ecode2
)) {
21972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
21974 arg2
= static_cast< size_t >(val2
);
21976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21977 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
21978 wxPyEndAllowThreads(__tstate
);
21979 if (PyErr_Occurred()) SWIG_fail
;
21981 resultobj
= SWIG_From_int(static_cast< int >(result
));
21988 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21989 PyObject
*resultobj
= 0;
21990 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21991 wxTreeCtrl
*result
= 0 ;
21994 PyObject
*swig_obj
[1] ;
21996 if (!args
) SWIG_fail
;
21997 swig_obj
[0] = args
;
21998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21999 if (!SWIG_IsOK(res1
)) {
22000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22002 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22005 result
= (wxTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22006 wxPyEndAllowThreads(__tstate
);
22007 if (PyErr_Occurred()) SWIG_fail
;
22009 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeCtrl
, 0 | 0 );
22016 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22018 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22019 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22020 return SWIG_Py_Void();
22023 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22024 return SWIG_Python_InitShadowInstance(args
);
22027 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22028 PyObject
*resultobj
= 0;
22029 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22030 int arg2
= (int) 0 ;
22031 int arg3
= (int) wxNOT_FOUND
;
22032 int arg4
= (int) wxNOT_FOUND
;
22033 wxTreebookEvent
*result
= 0 ;
22042 PyObject
* obj0
= 0 ;
22043 PyObject
* obj1
= 0 ;
22044 PyObject
* obj2
= 0 ;
22045 PyObject
* obj3
= 0 ;
22046 char * kwnames
[] = {
22047 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22052 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22053 if (!SWIG_IsOK(ecode1
)) {
22054 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22056 arg1
= static_cast< wxEventType
>(val1
);
22059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22060 if (!SWIG_IsOK(ecode2
)) {
22061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22063 arg2
= static_cast< int >(val2
);
22066 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22067 if (!SWIG_IsOK(ecode3
)) {
22068 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22070 arg3
= static_cast< int >(val3
);
22073 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22074 if (!SWIG_IsOK(ecode4
)) {
22075 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22077 arg4
= static_cast< int >(val4
);
22080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22081 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22082 wxPyEndAllowThreads(__tstate
);
22083 if (PyErr_Occurred()) SWIG_fail
;
22085 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22092 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22094 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22095 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22096 return SWIG_Py_Void();
22099 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22100 return SWIG_Python_InitShadowInstance(args
);
22103 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22104 PyObject
*resultobj
= 0;
22105 wxWindow
*arg1
= (wxWindow
*) 0 ;
22107 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22108 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22109 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22110 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22111 long arg5
= (long) wxBK_DEFAULT
;
22112 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22113 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22114 wxToolbook
*result
= 0 ;
22123 bool temp6
= false ;
22124 PyObject
* obj0
= 0 ;
22125 PyObject
* obj1
= 0 ;
22126 PyObject
* obj2
= 0 ;
22127 PyObject
* obj3
= 0 ;
22128 PyObject
* obj4
= 0 ;
22129 PyObject
* obj5
= 0 ;
22130 char * kwnames
[] = {
22131 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22136 if (!SWIG_IsOK(res1
)) {
22137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22139 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22140 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22141 if (!SWIG_IsOK(ecode2
)) {
22142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22144 arg2
= static_cast< int >(val2
);
22148 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22154 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22158 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22159 if (!SWIG_IsOK(ecode5
)) {
22160 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22162 arg5
= static_cast< long >(val5
);
22166 arg6
= wxString_in_helper(obj5
);
22167 if (arg6
== NULL
) SWIG_fail
;
22172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22173 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22174 wxPyEndAllowThreads(__tstate
);
22175 if (PyErr_Occurred()) SWIG_fail
;
22177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22192 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22193 PyObject
*resultobj
= 0;
22194 wxToolbook
*result
= 0 ;
22196 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22199 result
= (wxToolbook
*)new wxToolbook();
22200 wxPyEndAllowThreads(__tstate
);
22201 if (PyErr_Occurred()) SWIG_fail
;
22203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22210 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22211 PyObject
*resultobj
= 0;
22212 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22213 wxWindow
*arg2
= (wxWindow
*) 0 ;
22215 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22216 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22217 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22218 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22219 long arg6
= (long) 0 ;
22220 wxString
const &arg7_defvalue
= wxEmptyString
;
22221 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22233 bool temp7
= false ;
22234 PyObject
* obj0
= 0 ;
22235 PyObject
* obj1
= 0 ;
22236 PyObject
* obj2
= 0 ;
22237 PyObject
* obj3
= 0 ;
22238 PyObject
* obj4
= 0 ;
22239 PyObject
* obj5
= 0 ;
22240 PyObject
* obj6
= 0 ;
22241 char * kwnames
[] = {
22242 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22247 if (!SWIG_IsOK(res1
)) {
22248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22250 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22251 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22252 if (!SWIG_IsOK(res2
)) {
22253 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22255 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22256 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22257 if (!SWIG_IsOK(ecode3
)) {
22258 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22260 arg3
= static_cast< int >(val3
);
22264 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22270 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22274 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22275 if (!SWIG_IsOK(ecode6
)) {
22276 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22278 arg6
= static_cast< long >(val6
);
22282 arg7
= wxString_in_helper(obj6
);
22283 if (arg7
== NULL
) SWIG_fail
;
22288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22289 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22290 wxPyEndAllowThreads(__tstate
);
22291 if (PyErr_Occurred()) SWIG_fail
;
22294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22310 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22311 PyObject
*resultobj
= 0;
22312 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22313 wxToolBarBase
*result
= 0 ;
22316 PyObject
*swig_obj
[1] ;
22318 if (!args
) SWIG_fail
;
22319 swig_obj
[0] = args
;
22320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22321 if (!SWIG_IsOK(res1
)) {
22322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22324 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22327 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22328 wxPyEndAllowThreads(__tstate
);
22329 if (PyErr_Occurred()) SWIG_fail
;
22332 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22340 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22341 PyObject
*resultobj
= 0;
22342 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22345 PyObject
*swig_obj
[1] ;
22347 if (!args
) SWIG_fail
;
22348 swig_obj
[0] = args
;
22349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22350 if (!SWIG_IsOK(res1
)) {
22351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22353 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22357 wxPyEndAllowThreads(__tstate
);
22358 if (PyErr_Occurred()) SWIG_fail
;
22360 resultobj
= SWIG_Py_Void();
22367 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22369 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22370 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22371 return SWIG_Py_Void();
22374 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22375 return SWIG_Python_InitShadowInstance(args
);
22378 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22379 PyObject
*resultobj
= 0;
22380 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22381 int arg2
= (int) 0 ;
22382 int arg3
= (int) wxNOT_FOUND
;
22383 int arg4
= (int) wxNOT_FOUND
;
22384 wxToolbookEvent
*result
= 0 ;
22393 PyObject
* obj0
= 0 ;
22394 PyObject
* obj1
= 0 ;
22395 PyObject
* obj2
= 0 ;
22396 PyObject
* obj3
= 0 ;
22397 char * kwnames
[] = {
22398 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22403 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22404 if (!SWIG_IsOK(ecode1
)) {
22405 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22407 arg1
= static_cast< wxEventType
>(val1
);
22410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22411 if (!SWIG_IsOK(ecode2
)) {
22412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22414 arg2
= static_cast< int >(val2
);
22417 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22418 if (!SWIG_IsOK(ecode3
)) {
22419 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22421 arg3
= static_cast< int >(val3
);
22424 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22425 if (!SWIG_IsOK(ecode4
)) {
22426 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22428 arg4
= static_cast< int >(val4
);
22431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22432 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22433 wxPyEndAllowThreads(__tstate
);
22434 if (PyErr_Occurred()) SWIG_fail
;
22436 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22443 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22445 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22446 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22447 return SWIG_Py_Void();
22450 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22451 return SWIG_Python_InitShadowInstance(args
);
22454 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22455 PyObject
*resultobj
= 0;
22456 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22460 PyObject
*swig_obj
[1] ;
22462 if (!args
) SWIG_fail
;
22463 swig_obj
[0] = args
;
22464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22465 if (!SWIG_IsOK(res1
)) {
22466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22468 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22471 result
= (int)(arg1
)->GetId();
22472 wxPyEndAllowThreads(__tstate
);
22473 if (PyErr_Occurred()) SWIG_fail
;
22475 resultobj
= SWIG_From_int(static_cast< int >(result
));
22482 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22483 PyObject
*resultobj
= 0;
22484 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22485 wxControl
*result
= 0 ;
22488 PyObject
*swig_obj
[1] ;
22490 if (!args
) SWIG_fail
;
22491 swig_obj
[0] = args
;
22492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22493 if (!SWIG_IsOK(res1
)) {
22494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22496 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22499 result
= (wxControl
*)(arg1
)->GetControl();
22500 wxPyEndAllowThreads(__tstate
);
22501 if (PyErr_Occurred()) SWIG_fail
;
22504 resultobj
= wxPyMake_wxObject(result
, 0);
22512 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22513 PyObject
*resultobj
= 0;
22514 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22515 wxToolBarBase
*result
= 0 ;
22518 PyObject
*swig_obj
[1] ;
22520 if (!args
) SWIG_fail
;
22521 swig_obj
[0] = args
;
22522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22523 if (!SWIG_IsOK(res1
)) {
22524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22526 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22529 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22530 wxPyEndAllowThreads(__tstate
);
22531 if (PyErr_Occurred()) SWIG_fail
;
22534 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22542 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22543 PyObject
*resultobj
= 0;
22544 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22548 PyObject
*swig_obj
[1] ;
22550 if (!args
) SWIG_fail
;
22551 swig_obj
[0] = args
;
22552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22553 if (!SWIG_IsOK(res1
)) {
22554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22556 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22559 result
= (int)(arg1
)->IsButton();
22560 wxPyEndAllowThreads(__tstate
);
22561 if (PyErr_Occurred()) SWIG_fail
;
22563 resultobj
= SWIG_From_int(static_cast< int >(result
));
22570 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22571 PyObject
*resultobj
= 0;
22572 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22576 PyObject
*swig_obj
[1] ;
22578 if (!args
) SWIG_fail
;
22579 swig_obj
[0] = args
;
22580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22581 if (!SWIG_IsOK(res1
)) {
22582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22584 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22587 result
= (int)(arg1
)->IsControl();
22588 wxPyEndAllowThreads(__tstate
);
22589 if (PyErr_Occurred()) SWIG_fail
;
22591 resultobj
= SWIG_From_int(static_cast< int >(result
));
22598 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22599 PyObject
*resultobj
= 0;
22600 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22604 PyObject
*swig_obj
[1] ;
22606 if (!args
) SWIG_fail
;
22607 swig_obj
[0] = args
;
22608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22609 if (!SWIG_IsOK(res1
)) {
22610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22612 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22615 result
= (int)(arg1
)->IsSeparator();
22616 wxPyEndAllowThreads(__tstate
);
22617 if (PyErr_Occurred()) SWIG_fail
;
22619 resultobj
= SWIG_From_int(static_cast< int >(result
));
22626 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22627 PyObject
*resultobj
= 0;
22628 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22632 PyObject
*swig_obj
[1] ;
22634 if (!args
) SWIG_fail
;
22635 swig_obj
[0] = args
;
22636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22637 if (!SWIG_IsOK(res1
)) {
22638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22640 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22643 result
= (int)(arg1
)->GetStyle();
22644 wxPyEndAllowThreads(__tstate
);
22645 if (PyErr_Occurred()) SWIG_fail
;
22647 resultobj
= SWIG_From_int(static_cast< int >(result
));
22654 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22655 PyObject
*resultobj
= 0;
22656 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22660 PyObject
*swig_obj
[1] ;
22662 if (!args
) SWIG_fail
;
22663 swig_obj
[0] = args
;
22664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22665 if (!SWIG_IsOK(res1
)) {
22666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22668 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22671 result
= (wxItemKind
)(arg1
)->GetKind();
22672 wxPyEndAllowThreads(__tstate
);
22673 if (PyErr_Occurred()) SWIG_fail
;
22675 resultobj
= SWIG_From_int(static_cast< int >(result
));
22682 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22683 PyObject
*resultobj
= 0;
22684 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22688 PyObject
*swig_obj
[1] ;
22690 if (!args
) SWIG_fail
;
22691 swig_obj
[0] = args
;
22692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22693 if (!SWIG_IsOK(res1
)) {
22694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22696 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22699 result
= (bool)(arg1
)->IsEnabled();
22700 wxPyEndAllowThreads(__tstate
);
22701 if (PyErr_Occurred()) SWIG_fail
;
22704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22712 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22713 PyObject
*resultobj
= 0;
22714 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22718 PyObject
*swig_obj
[1] ;
22720 if (!args
) SWIG_fail
;
22721 swig_obj
[0] = args
;
22722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22723 if (!SWIG_IsOK(res1
)) {
22724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22726 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22729 result
= (bool)(arg1
)->IsToggled();
22730 wxPyEndAllowThreads(__tstate
);
22731 if (PyErr_Occurred()) SWIG_fail
;
22734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22742 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22743 PyObject
*resultobj
= 0;
22744 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22748 PyObject
*swig_obj
[1] ;
22750 if (!args
) SWIG_fail
;
22751 swig_obj
[0] = args
;
22752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22753 if (!SWIG_IsOK(res1
)) {
22754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22756 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22759 result
= (bool)(arg1
)->CanBeToggled();
22760 wxPyEndAllowThreads(__tstate
);
22761 if (PyErr_Occurred()) SWIG_fail
;
22764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22772 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22773 PyObject
*resultobj
= 0;
22774 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22775 wxBitmap
*result
= 0 ;
22778 PyObject
*swig_obj
[1] ;
22780 if (!args
) SWIG_fail
;
22781 swig_obj
[0] = args
;
22782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22783 if (!SWIG_IsOK(res1
)) {
22784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22786 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22790 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
22791 result
= (wxBitmap
*) &_result_ref
;
22793 wxPyEndAllowThreads(__tstate
);
22794 if (PyErr_Occurred()) SWIG_fail
;
22797 wxBitmap
* resultptr
= new wxBitmap(*result
);
22798 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22806 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22807 PyObject
*resultobj
= 0;
22808 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22809 wxBitmap
*result
= 0 ;
22812 PyObject
*swig_obj
[1] ;
22814 if (!args
) SWIG_fail
;
22815 swig_obj
[0] = args
;
22816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22817 if (!SWIG_IsOK(res1
)) {
22818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22820 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22824 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
22825 result
= (wxBitmap
*) &_result_ref
;
22827 wxPyEndAllowThreads(__tstate
);
22828 if (PyErr_Occurred()) SWIG_fail
;
22831 wxBitmap
* resultptr
= new wxBitmap(*result
);
22832 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22840 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22841 PyObject
*resultobj
= 0;
22842 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22846 PyObject
*swig_obj
[1] ;
22848 if (!args
) SWIG_fail
;
22849 swig_obj
[0] = args
;
22850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22851 if (!SWIG_IsOK(res1
)) {
22852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22854 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22857 result
= (arg1
)->GetBitmap();
22858 wxPyEndAllowThreads(__tstate
);
22859 if (PyErr_Occurred()) SWIG_fail
;
22861 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
22868 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22869 PyObject
*resultobj
= 0;
22870 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22874 PyObject
*swig_obj
[1] ;
22876 if (!args
) SWIG_fail
;
22877 swig_obj
[0] = args
;
22878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22879 if (!SWIG_IsOK(res1
)) {
22880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22882 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22885 result
= (arg1
)->GetLabel();
22886 wxPyEndAllowThreads(__tstate
);
22887 if (PyErr_Occurred()) SWIG_fail
;
22891 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22893 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22902 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22903 PyObject
*resultobj
= 0;
22904 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22908 PyObject
*swig_obj
[1] ;
22910 if (!args
) SWIG_fail
;
22911 swig_obj
[0] = args
;
22912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22913 if (!SWIG_IsOK(res1
)) {
22914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22916 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22919 result
= (arg1
)->GetShortHelp();
22920 wxPyEndAllowThreads(__tstate
);
22921 if (PyErr_Occurred()) SWIG_fail
;
22925 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22927 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22936 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22937 PyObject
*resultobj
= 0;
22938 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22942 PyObject
*swig_obj
[1] ;
22944 if (!args
) SWIG_fail
;
22945 swig_obj
[0] = args
;
22946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22947 if (!SWIG_IsOK(res1
)) {
22948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22950 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22953 result
= (arg1
)->GetLongHelp();
22954 wxPyEndAllowThreads(__tstate
);
22955 if (PyErr_Occurred()) SWIG_fail
;
22959 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22961 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22970 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22971 PyObject
*resultobj
= 0;
22972 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22979 PyObject
* obj0
= 0 ;
22980 PyObject
* obj1
= 0 ;
22981 char * kwnames
[] = {
22982 (char *) "self",(char *) "enable", NULL
22985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22987 if (!SWIG_IsOK(res1
)) {
22988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22990 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22991 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22992 if (!SWIG_IsOK(ecode2
)) {
22993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
22995 arg2
= static_cast< bool >(val2
);
22997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22998 result
= (bool)(arg1
)->Enable(arg2
);
22999 wxPyEndAllowThreads(__tstate
);
23000 if (PyErr_Occurred()) SWIG_fail
;
23003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23011 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23012 PyObject
*resultobj
= 0;
23013 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23016 PyObject
*swig_obj
[1] ;
23018 if (!args
) SWIG_fail
;
23019 swig_obj
[0] = args
;
23020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23021 if (!SWIG_IsOK(res1
)) {
23022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23024 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23028 wxPyEndAllowThreads(__tstate
);
23029 if (PyErr_Occurred()) SWIG_fail
;
23031 resultobj
= SWIG_Py_Void();
23038 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23039 PyObject
*resultobj
= 0;
23040 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23047 PyObject
* obj0
= 0 ;
23048 PyObject
* obj1
= 0 ;
23049 char * kwnames
[] = {
23050 (char *) "self",(char *) "toggle", NULL
23053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23055 if (!SWIG_IsOK(res1
)) {
23056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23058 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23059 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23060 if (!SWIG_IsOK(ecode2
)) {
23061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23063 arg2
= static_cast< bool >(val2
);
23065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23066 result
= (bool)(arg1
)->SetToggle(arg2
);
23067 wxPyEndAllowThreads(__tstate
);
23068 if (PyErr_Occurred()) SWIG_fail
;
23071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23079 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23080 PyObject
*resultobj
= 0;
23081 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23082 wxString
*arg2
= 0 ;
23086 bool temp2
= false ;
23087 PyObject
* obj0
= 0 ;
23088 PyObject
* obj1
= 0 ;
23089 char * kwnames
[] = {
23090 (char *) "self",(char *) "help", NULL
23093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23095 if (!SWIG_IsOK(res1
)) {
23096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23098 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23100 arg2
= wxString_in_helper(obj1
);
23101 if (arg2
== NULL
) SWIG_fail
;
23105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23106 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23107 wxPyEndAllowThreads(__tstate
);
23108 if (PyErr_Occurred()) SWIG_fail
;
23111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23127 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23128 PyObject
*resultobj
= 0;
23129 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23130 wxString
*arg2
= 0 ;
23134 bool temp2
= false ;
23135 PyObject
* obj0
= 0 ;
23136 PyObject
* obj1
= 0 ;
23137 char * kwnames
[] = {
23138 (char *) "self",(char *) "help", NULL
23141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23143 if (!SWIG_IsOK(res1
)) {
23144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23146 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23148 arg2
= wxString_in_helper(obj1
);
23149 if (arg2
== NULL
) SWIG_fail
;
23153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23154 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23155 wxPyEndAllowThreads(__tstate
);
23156 if (PyErr_Occurred()) SWIG_fail
;
23159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23175 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23176 PyObject
*resultobj
= 0;
23177 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23178 wxBitmap
*arg2
= 0 ;
23183 PyObject
* obj0
= 0 ;
23184 PyObject
* obj1
= 0 ;
23185 char * kwnames
[] = {
23186 (char *) "self",(char *) "bmp", NULL
23189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23191 if (!SWIG_IsOK(res1
)) {
23192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23194 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23195 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23196 if (!SWIG_IsOK(res2
)) {
23197 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23200 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23202 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23205 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23206 wxPyEndAllowThreads(__tstate
);
23207 if (PyErr_Occurred()) SWIG_fail
;
23209 resultobj
= SWIG_Py_Void();
23216 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23217 PyObject
*resultobj
= 0;
23218 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23219 wxBitmap
*arg2
= 0 ;
23224 PyObject
* obj0
= 0 ;
23225 PyObject
* obj1
= 0 ;
23226 char * kwnames
[] = {
23227 (char *) "self",(char *) "bmp", NULL
23230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23232 if (!SWIG_IsOK(res1
)) {
23233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23235 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23236 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23237 if (!SWIG_IsOK(res2
)) {
23238 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23241 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23243 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23246 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23247 wxPyEndAllowThreads(__tstate
);
23248 if (PyErr_Occurred()) SWIG_fail
;
23250 resultobj
= SWIG_Py_Void();
23257 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23258 PyObject
*resultobj
= 0;
23259 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23260 wxString
*arg2
= 0 ;
23263 bool temp2
= false ;
23264 PyObject
* obj0
= 0 ;
23265 PyObject
* obj1
= 0 ;
23266 char * kwnames
[] = {
23267 (char *) "self",(char *) "label", NULL
23270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23272 if (!SWIG_IsOK(res1
)) {
23273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23275 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23277 arg2
= wxString_in_helper(obj1
);
23278 if (arg2
== NULL
) SWIG_fail
;
23282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23283 (arg1
)->SetLabel((wxString
const &)*arg2
);
23284 wxPyEndAllowThreads(__tstate
);
23285 if (PyErr_Occurred()) SWIG_fail
;
23287 resultobj
= SWIG_Py_Void();
23302 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23303 PyObject
*resultobj
= 0;
23304 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23307 PyObject
*swig_obj
[1] ;
23309 if (!args
) SWIG_fail
;
23310 swig_obj
[0] = args
;
23311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23312 if (!SWIG_IsOK(res1
)) {
23313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23315 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23319 wxPyEndAllowThreads(__tstate
);
23320 if (PyErr_Occurred()) SWIG_fail
;
23322 resultobj
= SWIG_Py_Void();
23329 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23330 PyObject
*resultobj
= 0;
23331 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23332 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23337 PyObject
* obj0
= 0 ;
23338 PyObject
* obj1
= 0 ;
23339 char * kwnames
[] = {
23340 (char *) "self",(char *) "tbar", NULL
23343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23345 if (!SWIG_IsOK(res1
)) {
23346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23348 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23349 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23350 if (!SWIG_IsOK(res2
)) {
23351 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23353 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23356 (arg1
)->Attach(arg2
);
23357 wxPyEndAllowThreads(__tstate
);
23358 if (PyErr_Occurred()) SWIG_fail
;
23360 resultobj
= SWIG_Py_Void();
23367 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23368 PyObject
*resultobj
= 0;
23369 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23370 PyObject
*result
= 0 ;
23373 PyObject
*swig_obj
[1] ;
23375 if (!args
) SWIG_fail
;
23376 swig_obj
[0] = args
;
23377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23378 if (!SWIG_IsOK(res1
)) {
23379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23381 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23384 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23385 wxPyEndAllowThreads(__tstate
);
23386 if (PyErr_Occurred()) SWIG_fail
;
23388 resultobj
= result
;
23395 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23396 PyObject
*resultobj
= 0;
23397 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23398 PyObject
*arg2
= (PyObject
*) 0 ;
23401 PyObject
* obj0
= 0 ;
23402 PyObject
* obj1
= 0 ;
23403 char * kwnames
[] = {
23404 (char *) "self",(char *) "clientData", NULL
23407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23409 if (!SWIG_IsOK(res1
)) {
23410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23412 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23416 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23417 wxPyEndAllowThreads(__tstate
);
23418 if (PyErr_Occurred()) SWIG_fail
;
23420 resultobj
= SWIG_Py_Void();
23427 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23429 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23430 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23431 return SWIG_Py_Void();
23434 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23435 PyObject
*resultobj
= 0;
23436 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23438 wxString
*arg3
= 0 ;
23439 wxBitmap
*arg4
= 0 ;
23440 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23441 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23442 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23443 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23444 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23445 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23446 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23447 PyObject
*arg9
= (PyObject
*) NULL
;
23448 wxToolBarToolBase
*result
= 0 ;
23453 bool temp3
= false ;
23460 bool temp7
= false ;
23461 bool temp8
= false ;
23462 PyObject
* obj0
= 0 ;
23463 PyObject
* obj1
= 0 ;
23464 PyObject
* obj2
= 0 ;
23465 PyObject
* obj3
= 0 ;
23466 PyObject
* obj4
= 0 ;
23467 PyObject
* obj5
= 0 ;
23468 PyObject
* obj6
= 0 ;
23469 PyObject
* obj7
= 0 ;
23470 PyObject
* obj8
= 0 ;
23471 char * kwnames
[] = {
23472 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23477 if (!SWIG_IsOK(res1
)) {
23478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23480 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23482 if (!SWIG_IsOK(ecode2
)) {
23483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23485 arg2
= static_cast< int >(val2
);
23487 arg3
= wxString_in_helper(obj2
);
23488 if (arg3
== NULL
) SWIG_fail
;
23491 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23492 if (!SWIG_IsOK(res4
)) {
23493 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23496 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23498 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23500 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23501 if (!SWIG_IsOK(res5
)) {
23502 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23505 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23507 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23510 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23511 if (!SWIG_IsOK(ecode6
)) {
23512 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23514 arg6
= static_cast< wxItemKind
>(val6
);
23518 arg7
= wxString_in_helper(obj6
);
23519 if (arg7
== NULL
) SWIG_fail
;
23525 arg8
= wxString_in_helper(obj7
);
23526 if (arg8
== NULL
) SWIG_fail
;
23534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23535 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23536 wxPyEndAllowThreads(__tstate
);
23537 if (PyErr_Occurred()) SWIG_fail
;
23540 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23572 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23573 PyObject
*resultobj
= 0;
23574 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23577 wxString
*arg4
= 0 ;
23578 wxBitmap
*arg5
= 0 ;
23579 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23580 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23581 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23582 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23583 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23584 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23585 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23586 PyObject
*arg10
= (PyObject
*) NULL
;
23587 wxToolBarToolBase
*result
= 0 ;
23594 bool temp4
= false ;
23601 bool temp8
= false ;
23602 bool temp9
= false ;
23603 PyObject
* obj0
= 0 ;
23604 PyObject
* obj1
= 0 ;
23605 PyObject
* obj2
= 0 ;
23606 PyObject
* obj3
= 0 ;
23607 PyObject
* obj4
= 0 ;
23608 PyObject
* obj5
= 0 ;
23609 PyObject
* obj6
= 0 ;
23610 PyObject
* obj7
= 0 ;
23611 PyObject
* obj8
= 0 ;
23612 PyObject
* obj9
= 0 ;
23613 char * kwnames
[] = {
23614 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23619 if (!SWIG_IsOK(res1
)) {
23620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23622 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23623 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23624 if (!SWIG_IsOK(ecode2
)) {
23625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23627 arg2
= static_cast< size_t >(val2
);
23628 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23629 if (!SWIG_IsOK(ecode3
)) {
23630 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23632 arg3
= static_cast< int >(val3
);
23634 arg4
= wxString_in_helper(obj3
);
23635 if (arg4
== NULL
) SWIG_fail
;
23638 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23639 if (!SWIG_IsOK(res5
)) {
23640 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23643 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23645 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23647 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23648 if (!SWIG_IsOK(res6
)) {
23649 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23652 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23654 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23657 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23658 if (!SWIG_IsOK(ecode7
)) {
23659 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23661 arg7
= static_cast< wxItemKind
>(val7
);
23665 arg8
= wxString_in_helper(obj7
);
23666 if (arg8
== NULL
) SWIG_fail
;
23672 arg9
= wxString_in_helper(obj8
);
23673 if (arg9
== NULL
) SWIG_fail
;
23681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23682 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
23683 wxPyEndAllowThreads(__tstate
);
23684 if (PyErr_Occurred()) SWIG_fail
;
23687 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23719 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23720 PyObject
*resultobj
= 0;
23721 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23722 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
23723 wxToolBarToolBase
*result
= 0 ;
23728 PyObject
* obj0
= 0 ;
23729 PyObject
* obj1
= 0 ;
23730 char * kwnames
[] = {
23731 (char *) "self",(char *) "tool", NULL
23734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23736 if (!SWIG_IsOK(res1
)) {
23737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23739 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23740 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23741 if (!SWIG_IsOK(res2
)) {
23742 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23744 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
23746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23747 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
23748 wxPyEndAllowThreads(__tstate
);
23749 if (PyErr_Occurred()) SWIG_fail
;
23752 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23760 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23761 PyObject
*resultobj
= 0;
23762 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23764 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
23765 wxToolBarToolBase
*result
= 0 ;
23772 PyObject
* obj0
= 0 ;
23773 PyObject
* obj1
= 0 ;
23774 PyObject
* obj2
= 0 ;
23775 char * kwnames
[] = {
23776 (char *) "self",(char *) "pos",(char *) "tool", NULL
23779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23781 if (!SWIG_IsOK(res1
)) {
23782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23784 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23785 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23786 if (!SWIG_IsOK(ecode2
)) {
23787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
23789 arg2
= static_cast< size_t >(val2
);
23790 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23791 if (!SWIG_IsOK(res3
)) {
23792 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
23794 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
23796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23797 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
23798 wxPyEndAllowThreads(__tstate
);
23799 if (PyErr_Occurred()) SWIG_fail
;
23802 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23810 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23811 PyObject
*resultobj
= 0;
23812 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23813 wxControl
*arg2
= (wxControl
*) 0 ;
23814 wxToolBarToolBase
*result
= 0 ;
23819 PyObject
* obj0
= 0 ;
23820 PyObject
* obj1
= 0 ;
23821 char * kwnames
[] = {
23822 (char *) "self",(char *) "control", NULL
23825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23827 if (!SWIG_IsOK(res1
)) {
23828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23830 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23831 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
23832 if (!SWIG_IsOK(res2
)) {
23833 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
23835 arg2
= reinterpret_cast< wxControl
* >(argp2
);
23837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23838 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
23839 wxPyEndAllowThreads(__tstate
);
23840 if (PyErr_Occurred()) SWIG_fail
;
23843 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23851 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23852 PyObject
*resultobj
= 0;
23853 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23855 wxControl
*arg3
= (wxControl
*) 0 ;
23856 wxToolBarToolBase
*result
= 0 ;
23863 PyObject
* obj0
= 0 ;
23864 PyObject
* obj1
= 0 ;
23865 PyObject
* obj2
= 0 ;
23866 char * kwnames
[] = {
23867 (char *) "self",(char *) "pos",(char *) "control", NULL
23870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23872 if (!SWIG_IsOK(res1
)) {
23873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23875 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23876 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23877 if (!SWIG_IsOK(ecode2
)) {
23878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
23880 arg2
= static_cast< size_t >(val2
);
23881 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
23882 if (!SWIG_IsOK(res3
)) {
23883 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
23885 arg3
= reinterpret_cast< wxControl
* >(argp3
);
23887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23888 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
23889 wxPyEndAllowThreads(__tstate
);
23890 if (PyErr_Occurred()) SWIG_fail
;
23893 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23901 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23902 PyObject
*resultobj
= 0;
23903 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23905 wxControl
*result
= 0 ;
23910 PyObject
* obj0
= 0 ;
23911 PyObject
* obj1
= 0 ;
23912 char * kwnames
[] = {
23913 (char *) "self",(char *) "id", NULL
23916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23918 if (!SWIG_IsOK(res1
)) {
23919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23921 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23922 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23923 if (!SWIG_IsOK(ecode2
)) {
23924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
23926 arg2
= static_cast< int >(val2
);
23928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23929 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
23930 wxPyEndAllowThreads(__tstate
);
23931 if (PyErr_Occurred()) SWIG_fail
;
23934 resultobj
= wxPyMake_wxObject(result
, 0);
23942 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23943 PyObject
*resultobj
= 0;
23944 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23945 wxToolBarToolBase
*result
= 0 ;
23948 PyObject
*swig_obj
[1] ;
23950 if (!args
) SWIG_fail
;
23951 swig_obj
[0] = args
;
23952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23953 if (!SWIG_IsOK(res1
)) {
23954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23956 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23959 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
23960 wxPyEndAllowThreads(__tstate
);
23961 if (PyErr_Occurred()) SWIG_fail
;
23964 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23972 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23973 PyObject
*resultobj
= 0;
23974 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23976 wxToolBarToolBase
*result
= 0 ;
23981 PyObject
* obj0
= 0 ;
23982 PyObject
* obj1
= 0 ;
23983 char * kwnames
[] = {
23984 (char *) "self",(char *) "pos", NULL
23987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23989 if (!SWIG_IsOK(res1
)) {
23990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23992 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23993 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23994 if (!SWIG_IsOK(ecode2
)) {
23995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
23997 arg2
= static_cast< size_t >(val2
);
23999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24000 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24001 wxPyEndAllowThreads(__tstate
);
24002 if (PyErr_Occurred()) SWIG_fail
;
24005 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24013 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24014 PyObject
*resultobj
= 0;
24015 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24017 wxToolBarToolBase
*result
= 0 ;
24022 PyObject
* obj0
= 0 ;
24023 PyObject
* obj1
= 0 ;
24024 char * kwnames
[] = {
24025 (char *) "self",(char *) "id", NULL
24028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24030 if (!SWIG_IsOK(res1
)) {
24031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24033 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24034 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24035 if (!SWIG_IsOK(ecode2
)) {
24036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24038 arg2
= static_cast< int >(val2
);
24040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24041 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24042 wxPyEndAllowThreads(__tstate
);
24043 if (PyErr_Occurred()) SWIG_fail
;
24046 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24054 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24055 PyObject
*resultobj
= 0;
24056 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24063 PyObject
* obj0
= 0 ;
24064 PyObject
* obj1
= 0 ;
24065 char * kwnames
[] = {
24066 (char *) "self",(char *) "pos", NULL
24069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24071 if (!SWIG_IsOK(res1
)) {
24072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24074 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24075 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24076 if (!SWIG_IsOK(ecode2
)) {
24077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24079 arg2
= static_cast< size_t >(val2
);
24081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24082 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24083 wxPyEndAllowThreads(__tstate
);
24084 if (PyErr_Occurred()) SWIG_fail
;
24087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24095 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24096 PyObject
*resultobj
= 0;
24097 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24104 PyObject
* obj0
= 0 ;
24105 PyObject
* obj1
= 0 ;
24106 char * kwnames
[] = {
24107 (char *) "self",(char *) "id", NULL
24110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24112 if (!SWIG_IsOK(res1
)) {
24113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24115 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24116 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24117 if (!SWIG_IsOK(ecode2
)) {
24118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24120 arg2
= static_cast< int >(val2
);
24122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24123 result
= (bool)(arg1
)->DeleteTool(arg2
);
24124 wxPyEndAllowThreads(__tstate
);
24125 if (PyErr_Occurred()) SWIG_fail
;
24128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24136 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24137 PyObject
*resultobj
= 0;
24138 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24141 PyObject
*swig_obj
[1] ;
24143 if (!args
) SWIG_fail
;
24144 swig_obj
[0] = args
;
24145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24146 if (!SWIG_IsOK(res1
)) {
24147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24149 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24152 (arg1
)->ClearTools();
24153 wxPyEndAllowThreads(__tstate
);
24154 if (PyErr_Occurred()) SWIG_fail
;
24156 resultobj
= SWIG_Py_Void();
24163 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24164 PyObject
*resultobj
= 0;
24165 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24169 PyObject
*swig_obj
[1] ;
24171 if (!args
) SWIG_fail
;
24172 swig_obj
[0] = args
;
24173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24174 if (!SWIG_IsOK(res1
)) {
24175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24177 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24180 result
= (bool)(arg1
)->Realize();
24181 wxPyEndAllowThreads(__tstate
);
24182 if (PyErr_Occurred()) SWIG_fail
;
24185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24193 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24194 PyObject
*resultobj
= 0;
24195 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24204 PyObject
* obj0
= 0 ;
24205 PyObject
* obj1
= 0 ;
24206 PyObject
* obj2
= 0 ;
24207 char * kwnames
[] = {
24208 (char *) "self",(char *) "id",(char *) "enable", NULL
24211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24213 if (!SWIG_IsOK(res1
)) {
24214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24216 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24217 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24218 if (!SWIG_IsOK(ecode2
)) {
24219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24221 arg2
= static_cast< int >(val2
);
24222 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24223 if (!SWIG_IsOK(ecode3
)) {
24224 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24226 arg3
= static_cast< bool >(val3
);
24228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24229 (arg1
)->EnableTool(arg2
,arg3
);
24230 wxPyEndAllowThreads(__tstate
);
24231 if (PyErr_Occurred()) SWIG_fail
;
24233 resultobj
= SWIG_Py_Void();
24240 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24241 PyObject
*resultobj
= 0;
24242 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24251 PyObject
* obj0
= 0 ;
24252 PyObject
* obj1
= 0 ;
24253 PyObject
* obj2
= 0 ;
24254 char * kwnames
[] = {
24255 (char *) "self",(char *) "id",(char *) "toggle", NULL
24258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24260 if (!SWIG_IsOK(res1
)) {
24261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24263 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24265 if (!SWIG_IsOK(ecode2
)) {
24266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24268 arg2
= static_cast< int >(val2
);
24269 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24270 if (!SWIG_IsOK(ecode3
)) {
24271 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24273 arg3
= static_cast< bool >(val3
);
24275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24276 (arg1
)->ToggleTool(arg2
,arg3
);
24277 wxPyEndAllowThreads(__tstate
);
24278 if (PyErr_Occurred()) SWIG_fail
;
24280 resultobj
= SWIG_Py_Void();
24287 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24288 PyObject
*resultobj
= 0;
24289 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24298 PyObject
* obj0
= 0 ;
24299 PyObject
* obj1
= 0 ;
24300 PyObject
* obj2
= 0 ;
24301 char * kwnames
[] = {
24302 (char *) "self",(char *) "id",(char *) "toggle", NULL
24305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24307 if (!SWIG_IsOK(res1
)) {
24308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24310 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24312 if (!SWIG_IsOK(ecode2
)) {
24313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24315 arg2
= static_cast< int >(val2
);
24316 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24317 if (!SWIG_IsOK(ecode3
)) {
24318 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24320 arg3
= static_cast< bool >(val3
);
24322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24323 (arg1
)->SetToggle(arg2
,arg3
);
24324 wxPyEndAllowThreads(__tstate
);
24325 if (PyErr_Occurred()) SWIG_fail
;
24327 resultobj
= SWIG_Py_Void();
24334 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24335 PyObject
*resultobj
= 0;
24336 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24338 PyObject
*result
= 0 ;
24343 PyObject
* obj0
= 0 ;
24344 PyObject
* obj1
= 0 ;
24345 char * kwnames
[] = {
24346 (char *) "self",(char *) "id", NULL
24349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24351 if (!SWIG_IsOK(res1
)) {
24352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24354 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24355 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24356 if (!SWIG_IsOK(ecode2
)) {
24357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24359 arg2
= static_cast< int >(val2
);
24361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24362 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24363 wxPyEndAllowThreads(__tstate
);
24364 if (PyErr_Occurred()) SWIG_fail
;
24366 resultobj
= result
;
24373 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24374 PyObject
*resultobj
= 0;
24375 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24377 PyObject
*arg3
= (PyObject
*) 0 ;
24382 PyObject
* obj0
= 0 ;
24383 PyObject
* obj1
= 0 ;
24384 PyObject
* obj2
= 0 ;
24385 char * kwnames
[] = {
24386 (char *) "self",(char *) "id",(char *) "clientData", NULL
24389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24391 if (!SWIG_IsOK(res1
)) {
24392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24394 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24396 if (!SWIG_IsOK(ecode2
)) {
24397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24399 arg2
= static_cast< int >(val2
);
24402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24403 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24404 wxPyEndAllowThreads(__tstate
);
24405 if (PyErr_Occurred()) SWIG_fail
;
24407 resultobj
= SWIG_Py_Void();
24414 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24415 PyObject
*resultobj
= 0;
24416 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24423 PyObject
* obj0
= 0 ;
24424 PyObject
* obj1
= 0 ;
24425 char * kwnames
[] = {
24426 (char *) "self",(char *) "id", NULL
24429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24431 if (!SWIG_IsOK(res1
)) {
24432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24434 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24435 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24436 if (!SWIG_IsOK(ecode2
)) {
24437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24439 arg2
= static_cast< int >(val2
);
24441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24442 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24443 wxPyEndAllowThreads(__tstate
);
24444 if (PyErr_Occurred()) SWIG_fail
;
24446 resultobj
= SWIG_From_int(static_cast< int >(result
));
24453 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24454 PyObject
*resultobj
= 0;
24455 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24462 PyObject
* obj0
= 0 ;
24463 PyObject
* obj1
= 0 ;
24464 char * kwnames
[] = {
24465 (char *) "self",(char *) "id", NULL
24468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24470 if (!SWIG_IsOK(res1
)) {
24471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24473 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24475 if (!SWIG_IsOK(ecode2
)) {
24476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24478 arg2
= static_cast< int >(val2
);
24480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24481 result
= (bool)(arg1
)->GetToolState(arg2
);
24482 wxPyEndAllowThreads(__tstate
);
24483 if (PyErr_Occurred()) SWIG_fail
;
24486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24494 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24495 PyObject
*resultobj
= 0;
24496 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24503 PyObject
* obj0
= 0 ;
24504 PyObject
* obj1
= 0 ;
24505 char * kwnames
[] = {
24506 (char *) "self",(char *) "id", NULL
24509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24511 if (!SWIG_IsOK(res1
)) {
24512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24514 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24515 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24516 if (!SWIG_IsOK(ecode2
)) {
24517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24519 arg2
= static_cast< int >(val2
);
24521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24522 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24523 wxPyEndAllowThreads(__tstate
);
24524 if (PyErr_Occurred()) SWIG_fail
;
24527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24535 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24536 PyObject
*resultobj
= 0;
24537 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24539 wxString
*arg3
= 0 ;
24544 bool temp3
= false ;
24545 PyObject
* obj0
= 0 ;
24546 PyObject
* obj1
= 0 ;
24547 PyObject
* obj2
= 0 ;
24548 char * kwnames
[] = {
24549 (char *) "self",(char *) "id",(char *) "helpString", NULL
24552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24554 if (!SWIG_IsOK(res1
)) {
24555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24557 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24558 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24559 if (!SWIG_IsOK(ecode2
)) {
24560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24562 arg2
= static_cast< int >(val2
);
24564 arg3
= wxString_in_helper(obj2
);
24565 if (arg3
== NULL
) SWIG_fail
;
24569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24570 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24571 wxPyEndAllowThreads(__tstate
);
24572 if (PyErr_Occurred()) SWIG_fail
;
24574 resultobj
= SWIG_Py_Void();
24589 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24590 PyObject
*resultobj
= 0;
24591 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24598 PyObject
* obj0
= 0 ;
24599 PyObject
* obj1
= 0 ;
24600 char * kwnames
[] = {
24601 (char *) "self",(char *) "id", NULL
24604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24606 if (!SWIG_IsOK(res1
)) {
24607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24609 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24610 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24611 if (!SWIG_IsOK(ecode2
)) {
24612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24614 arg2
= static_cast< int >(val2
);
24616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24617 result
= (arg1
)->GetToolShortHelp(arg2
);
24618 wxPyEndAllowThreads(__tstate
);
24619 if (PyErr_Occurred()) SWIG_fail
;
24623 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24625 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24634 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24635 PyObject
*resultobj
= 0;
24636 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24638 wxString
*arg3
= 0 ;
24643 bool temp3
= false ;
24644 PyObject
* obj0
= 0 ;
24645 PyObject
* obj1
= 0 ;
24646 PyObject
* obj2
= 0 ;
24647 char * kwnames
[] = {
24648 (char *) "self",(char *) "id",(char *) "helpString", NULL
24651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24653 if (!SWIG_IsOK(res1
)) {
24654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24656 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24657 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24658 if (!SWIG_IsOK(ecode2
)) {
24659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24661 arg2
= static_cast< int >(val2
);
24663 arg3
= wxString_in_helper(obj2
);
24664 if (arg3
== NULL
) SWIG_fail
;
24668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24669 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
24670 wxPyEndAllowThreads(__tstate
);
24671 if (PyErr_Occurred()) SWIG_fail
;
24673 resultobj
= SWIG_Py_Void();
24688 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24689 PyObject
*resultobj
= 0;
24690 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24697 PyObject
* obj0
= 0 ;
24698 PyObject
* obj1
= 0 ;
24699 char * kwnames
[] = {
24700 (char *) "self",(char *) "id", NULL
24703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24705 if (!SWIG_IsOK(res1
)) {
24706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24708 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24709 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24710 if (!SWIG_IsOK(ecode2
)) {
24711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24713 arg2
= static_cast< int >(val2
);
24715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24716 result
= (arg1
)->GetToolLongHelp(arg2
);
24717 wxPyEndAllowThreads(__tstate
);
24718 if (PyErr_Occurred()) SWIG_fail
;
24722 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24724 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24733 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24734 PyObject
*resultobj
= 0;
24735 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24744 PyObject
* obj0
= 0 ;
24745 PyObject
* obj1
= 0 ;
24746 PyObject
* obj2
= 0 ;
24747 char * kwnames
[] = {
24748 (char *) "self",(char *) "x",(char *) "y", NULL
24751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24753 if (!SWIG_IsOK(res1
)) {
24754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24756 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24757 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24758 if (!SWIG_IsOK(ecode2
)) {
24759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24761 arg2
= static_cast< int >(val2
);
24762 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24763 if (!SWIG_IsOK(ecode3
)) {
24764 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
24766 arg3
= static_cast< int >(val3
);
24768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24769 (arg1
)->SetMargins(arg2
,arg3
);
24770 wxPyEndAllowThreads(__tstate
);
24771 if (PyErr_Occurred()) SWIG_fail
;
24773 resultobj
= SWIG_Py_Void();
24780 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24781 PyObject
*resultobj
= 0;
24782 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24787 PyObject
* obj0
= 0 ;
24788 PyObject
* obj1
= 0 ;
24789 char * kwnames
[] = {
24790 (char *) "self",(char *) "size", NULL
24793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24795 if (!SWIG_IsOK(res1
)) {
24796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24798 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24801 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24805 (arg1
)->SetMargins((wxSize
const &)*arg2
);
24806 wxPyEndAllowThreads(__tstate
);
24807 if (PyErr_Occurred()) SWIG_fail
;
24809 resultobj
= SWIG_Py_Void();
24816 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24817 PyObject
*resultobj
= 0;
24818 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24824 PyObject
* obj0
= 0 ;
24825 PyObject
* obj1
= 0 ;
24826 char * kwnames
[] = {
24827 (char *) "self",(char *) "packing", NULL
24830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24832 if (!SWIG_IsOK(res1
)) {
24833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24835 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24836 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24837 if (!SWIG_IsOK(ecode2
)) {
24838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
24840 arg2
= static_cast< int >(val2
);
24842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24843 (arg1
)->SetToolPacking(arg2
);
24844 wxPyEndAllowThreads(__tstate
);
24845 if (PyErr_Occurred()) SWIG_fail
;
24847 resultobj
= SWIG_Py_Void();
24854 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24855 PyObject
*resultobj
= 0;
24856 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24862 PyObject
* obj0
= 0 ;
24863 PyObject
* obj1
= 0 ;
24864 char * kwnames
[] = {
24865 (char *) "self",(char *) "separation", NULL
24868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",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_SetToolSeparation" "', 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_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
24878 arg2
= static_cast< int >(val2
);
24880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24881 (arg1
)->SetToolSeparation(arg2
);
24882 wxPyEndAllowThreads(__tstate
);
24883 if (PyErr_Occurred()) SWIG_fail
;
24885 resultobj
= SWIG_Py_Void();
24892 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24893 PyObject
*resultobj
= 0;
24894 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24898 PyObject
*swig_obj
[1] ;
24900 if (!args
) SWIG_fail
;
24901 swig_obj
[0] = args
;
24902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24903 if (!SWIG_IsOK(res1
)) {
24904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24906 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24909 result
= (arg1
)->GetToolMargins();
24910 wxPyEndAllowThreads(__tstate
);
24911 if (PyErr_Occurred()) SWIG_fail
;
24913 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24920 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24921 PyObject
*resultobj
= 0;
24922 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24926 PyObject
*swig_obj
[1] ;
24928 if (!args
) SWIG_fail
;
24929 swig_obj
[0] = args
;
24930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24931 if (!SWIG_IsOK(res1
)) {
24932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24934 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24937 result
= (arg1
)->GetMargins();
24938 wxPyEndAllowThreads(__tstate
);
24939 if (PyErr_Occurred()) SWIG_fail
;
24941 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24948 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24949 PyObject
*resultobj
= 0;
24950 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24954 PyObject
*swig_obj
[1] ;
24956 if (!args
) SWIG_fail
;
24957 swig_obj
[0] = args
;
24958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24959 if (!SWIG_IsOK(res1
)) {
24960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24962 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24965 result
= (int)(arg1
)->GetToolPacking();
24966 wxPyEndAllowThreads(__tstate
);
24967 if (PyErr_Occurred()) SWIG_fail
;
24969 resultobj
= SWIG_From_int(static_cast< int >(result
));
24976 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24977 PyObject
*resultobj
= 0;
24978 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24982 PyObject
*swig_obj
[1] ;
24984 if (!args
) SWIG_fail
;
24985 swig_obj
[0] = args
;
24986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24987 if (!SWIG_IsOK(res1
)) {
24988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24990 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24993 result
= (int)(arg1
)->GetToolSeparation();
24994 wxPyEndAllowThreads(__tstate
);
24995 if (PyErr_Occurred()) SWIG_fail
;
24997 resultobj
= SWIG_From_int(static_cast< int >(result
));
25004 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25005 PyObject
*resultobj
= 0;
25006 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25012 PyObject
* obj0
= 0 ;
25013 PyObject
* obj1
= 0 ;
25014 char * kwnames
[] = {
25015 (char *) "self",(char *) "nRows", NULL
25018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25020 if (!SWIG_IsOK(res1
)) {
25021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25023 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25024 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25025 if (!SWIG_IsOK(ecode2
)) {
25026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25028 arg2
= static_cast< int >(val2
);
25030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25031 (arg1
)->SetRows(arg2
);
25032 wxPyEndAllowThreads(__tstate
);
25033 if (PyErr_Occurred()) SWIG_fail
;
25035 resultobj
= SWIG_Py_Void();
25042 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25043 PyObject
*resultobj
= 0;
25044 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25053 PyObject
* obj0
= 0 ;
25054 PyObject
* obj1
= 0 ;
25055 PyObject
* obj2
= 0 ;
25056 char * kwnames
[] = {
25057 (char *) "self",(char *) "rows",(char *) "cols", NULL
25060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25062 if (!SWIG_IsOK(res1
)) {
25063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25065 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25066 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25067 if (!SWIG_IsOK(ecode2
)) {
25068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25070 arg2
= static_cast< int >(val2
);
25071 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25072 if (!SWIG_IsOK(ecode3
)) {
25073 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25075 arg3
= static_cast< int >(val3
);
25077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25078 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25079 wxPyEndAllowThreads(__tstate
);
25080 if (PyErr_Occurred()) SWIG_fail
;
25082 resultobj
= SWIG_Py_Void();
25089 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25090 PyObject
*resultobj
= 0;
25091 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25095 PyObject
*swig_obj
[1] ;
25097 if (!args
) SWIG_fail
;
25098 swig_obj
[0] = args
;
25099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25100 if (!SWIG_IsOK(res1
)) {
25101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25103 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25106 result
= (int)(arg1
)->GetMaxRows();
25107 wxPyEndAllowThreads(__tstate
);
25108 if (PyErr_Occurred()) SWIG_fail
;
25110 resultobj
= SWIG_From_int(static_cast< int >(result
));
25117 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25118 PyObject
*resultobj
= 0;
25119 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25123 PyObject
*swig_obj
[1] ;
25125 if (!args
) SWIG_fail
;
25126 swig_obj
[0] = args
;
25127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25128 if (!SWIG_IsOK(res1
)) {
25129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25131 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25134 result
= (int)(arg1
)->GetMaxCols();
25135 wxPyEndAllowThreads(__tstate
);
25136 if (PyErr_Occurred()) SWIG_fail
;
25138 resultobj
= SWIG_From_int(static_cast< int >(result
));
25145 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25146 PyObject
*resultobj
= 0;
25147 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25152 PyObject
* obj0
= 0 ;
25153 PyObject
* obj1
= 0 ;
25154 char * kwnames
[] = {
25155 (char *) "self",(char *) "size", NULL
25158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25160 if (!SWIG_IsOK(res1
)) {
25161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25163 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25166 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25170 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25171 wxPyEndAllowThreads(__tstate
);
25172 if (PyErr_Occurred()) SWIG_fail
;
25174 resultobj
= SWIG_Py_Void();
25181 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25182 PyObject
*resultobj
= 0;
25183 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25187 PyObject
*swig_obj
[1] ;
25189 if (!args
) SWIG_fail
;
25190 swig_obj
[0] = args
;
25191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25192 if (!SWIG_IsOK(res1
)) {
25193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25195 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25198 result
= (arg1
)->GetToolBitmapSize();
25199 wxPyEndAllowThreads(__tstate
);
25200 if (PyErr_Occurred()) SWIG_fail
;
25202 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25209 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25210 PyObject
*resultobj
= 0;
25211 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25215 PyObject
*swig_obj
[1] ;
25217 if (!args
) SWIG_fail
;
25218 swig_obj
[0] = args
;
25219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25220 if (!SWIG_IsOK(res1
)) {
25221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25223 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25226 result
= (arg1
)->GetToolSize();
25227 wxPyEndAllowThreads(__tstate
);
25228 if (PyErr_Occurred()) SWIG_fail
;
25230 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25237 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25238 PyObject
*resultobj
= 0;
25239 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25242 wxToolBarToolBase
*result
= 0 ;
25249 PyObject
* obj0
= 0 ;
25250 PyObject
* obj1
= 0 ;
25251 PyObject
* obj2
= 0 ;
25252 char * kwnames
[] = {
25253 (char *) "self",(char *) "x",(char *) "y", NULL
25256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25258 if (!SWIG_IsOK(res1
)) {
25259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25261 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25262 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25263 if (!SWIG_IsOK(ecode2
)) {
25264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25266 arg2
= static_cast< int >(val2
);
25267 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25268 if (!SWIG_IsOK(ecode3
)) {
25269 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25271 arg3
= static_cast< int >(val3
);
25273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25274 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25275 wxPyEndAllowThreads(__tstate
);
25276 if (PyErr_Occurred()) SWIG_fail
;
25279 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25287 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25288 PyObject
*resultobj
= 0;
25289 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25291 wxToolBarToolBase
*result
= 0 ;
25296 PyObject
* obj0
= 0 ;
25297 PyObject
* obj1
= 0 ;
25298 char * kwnames
[] = {
25299 (char *) "self",(char *) "toolid", NULL
25302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25304 if (!SWIG_IsOK(res1
)) {
25305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25307 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25309 if (!SWIG_IsOK(ecode2
)) {
25310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25312 arg2
= static_cast< int >(val2
);
25314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25315 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25316 wxPyEndAllowThreads(__tstate
);
25317 if (PyErr_Occurred()) SWIG_fail
;
25320 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25328 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25329 PyObject
*resultobj
= 0;
25330 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25334 PyObject
*swig_obj
[1] ;
25336 if (!args
) SWIG_fail
;
25337 swig_obj
[0] = args
;
25338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25339 if (!SWIG_IsOK(res1
)) {
25340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25342 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25345 result
= (bool)(arg1
)->IsVertical();
25346 wxPyEndAllowThreads(__tstate
);
25347 if (PyErr_Occurred()) SWIG_fail
;
25350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25358 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25359 PyObject
*resultobj
= 0;
25360 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25364 PyObject
*swig_obj
[1] ;
25366 if (!args
) SWIG_fail
;
25367 swig_obj
[0] = args
;
25368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25369 if (!SWIG_IsOK(res1
)) {
25370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25372 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25375 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25376 wxPyEndAllowThreads(__tstate
);
25377 if (PyErr_Occurred()) SWIG_fail
;
25379 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25386 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25388 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25389 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25390 return SWIG_Py_Void();
25393 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25394 PyObject
*resultobj
= 0;
25395 wxWindow
*arg1
= (wxWindow
*) 0 ;
25396 int arg2
= (int) -1 ;
25397 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25398 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25399 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25400 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25401 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25402 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25403 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25404 wxToolBar
*result
= 0 ;
25413 bool temp6
= false ;
25414 PyObject
* obj0
= 0 ;
25415 PyObject
* obj1
= 0 ;
25416 PyObject
* obj2
= 0 ;
25417 PyObject
* obj3
= 0 ;
25418 PyObject
* obj4
= 0 ;
25419 PyObject
* obj5
= 0 ;
25420 char * kwnames
[] = {
25421 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25426 if (!SWIG_IsOK(res1
)) {
25427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25429 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25431 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25432 if (!SWIG_IsOK(ecode2
)) {
25433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25435 arg2
= static_cast< int >(val2
);
25440 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25446 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25450 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25451 if (!SWIG_IsOK(ecode5
)) {
25452 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25454 arg5
= static_cast< long >(val5
);
25458 arg6
= wxString_in_helper(obj5
);
25459 if (arg6
== NULL
) SWIG_fail
;
25464 if (!wxPyCheckForApp()) SWIG_fail
;
25465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25466 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25467 wxPyEndAllowThreads(__tstate
);
25468 if (PyErr_Occurred()) SWIG_fail
;
25470 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25485 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25486 PyObject
*resultobj
= 0;
25487 wxToolBar
*result
= 0 ;
25489 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25491 if (!wxPyCheckForApp()) SWIG_fail
;
25492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25493 result
= (wxToolBar
*)new wxToolBar();
25494 wxPyEndAllowThreads(__tstate
);
25495 if (PyErr_Occurred()) SWIG_fail
;
25497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25504 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25505 PyObject
*resultobj
= 0;
25506 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25507 wxWindow
*arg2
= (wxWindow
*) 0 ;
25508 int arg3
= (int) -1 ;
25509 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25510 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25511 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25512 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25513 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25514 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25515 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25527 bool temp7
= false ;
25528 PyObject
* obj0
= 0 ;
25529 PyObject
* obj1
= 0 ;
25530 PyObject
* obj2
= 0 ;
25531 PyObject
* obj3
= 0 ;
25532 PyObject
* obj4
= 0 ;
25533 PyObject
* obj5
= 0 ;
25534 PyObject
* obj6
= 0 ;
25535 char * kwnames
[] = {
25536 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25541 if (!SWIG_IsOK(res1
)) {
25542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25544 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25545 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25546 if (!SWIG_IsOK(res2
)) {
25547 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25549 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25551 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25552 if (!SWIG_IsOK(ecode3
)) {
25553 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25555 arg3
= static_cast< int >(val3
);
25560 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25566 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25570 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25571 if (!SWIG_IsOK(ecode6
)) {
25572 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25574 arg6
= static_cast< long >(val6
);
25578 arg7
= wxString_in_helper(obj6
);
25579 if (arg7
== NULL
) SWIG_fail
;
25584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25585 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25586 wxPyEndAllowThreads(__tstate
);
25587 if (PyErr_Occurred()) SWIG_fail
;
25590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25606 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25607 PyObject
*resultobj
= 0;
25608 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25609 SwigValueWrapper
<wxVisualAttributes
> result
;
25612 PyObject
* obj0
= 0 ;
25613 char * kwnames
[] = {
25614 (char *) "variant", NULL
25617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25619 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25620 if (!SWIG_IsOK(ecode1
)) {
25621 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25623 arg1
= static_cast< wxWindowVariant
>(val1
);
25626 if (!wxPyCheckForApp()) SWIG_fail
;
25627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25628 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25629 wxPyEndAllowThreads(__tstate
);
25630 if (PyErr_Occurred()) SWIG_fail
;
25632 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25639 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25641 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25642 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25643 return SWIG_Py_Void();
25646 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25647 return SWIG_Python_InitShadowInstance(args
);
25650 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25651 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25656 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25657 PyObject
*pyobj
= 0;
25661 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25663 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25670 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25671 PyObject
*resultobj
= 0;
25672 wxColour
const &arg1_defvalue
= wxNullColour
;
25673 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
25674 wxColour
const &arg2_defvalue
= wxNullColour
;
25675 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
25676 wxFont
const &arg3_defvalue
= wxNullFont
;
25677 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
25678 wxListItemAttr
*result
= 0 ;
25683 PyObject
* obj0
= 0 ;
25684 PyObject
* obj1
= 0 ;
25685 PyObject
* obj2
= 0 ;
25686 char * kwnames
[] = {
25687 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25694 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
25700 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25704 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
25705 if (!SWIG_IsOK(res3
)) {
25706 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25709 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25711 arg3
= reinterpret_cast< wxFont
* >(argp3
);
25714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25715 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
25716 wxPyEndAllowThreads(__tstate
);
25717 if (PyErr_Occurred()) SWIG_fail
;
25719 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
25726 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25727 PyObject
*resultobj
= 0;
25728 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25731 PyObject
*swig_obj
[1] ;
25733 if (!args
) SWIG_fail
;
25734 swig_obj
[0] = args
;
25735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
25736 if (!SWIG_IsOK(res1
)) {
25737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25739 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25744 wxPyEndAllowThreads(__tstate
);
25745 if (PyErr_Occurred()) SWIG_fail
;
25747 resultobj
= SWIG_Py_Void();
25754 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25755 PyObject
*resultobj
= 0;
25756 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25757 wxColour
*arg2
= 0 ;
25761 PyObject
* obj0
= 0 ;
25762 PyObject
* obj1
= 0 ;
25763 char * kwnames
[] = {
25764 (char *) "self",(char *) "colText", NULL
25767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25769 if (!SWIG_IsOK(res1
)) {
25770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25772 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25775 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25779 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25780 wxPyEndAllowThreads(__tstate
);
25781 if (PyErr_Occurred()) SWIG_fail
;
25783 resultobj
= SWIG_Py_Void();
25790 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25791 PyObject
*resultobj
= 0;
25792 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25793 wxColour
*arg2
= 0 ;
25797 PyObject
* obj0
= 0 ;
25798 PyObject
* obj1
= 0 ;
25799 char * kwnames
[] = {
25800 (char *) "self",(char *) "colBack", NULL
25803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25805 if (!SWIG_IsOK(res1
)) {
25806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25808 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25811 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25815 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25816 wxPyEndAllowThreads(__tstate
);
25817 if (PyErr_Occurred()) SWIG_fail
;
25819 resultobj
= SWIG_Py_Void();
25826 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25827 PyObject
*resultobj
= 0;
25828 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25834 PyObject
* obj0
= 0 ;
25835 PyObject
* obj1
= 0 ;
25836 char * kwnames
[] = {
25837 (char *) "self",(char *) "font", NULL
25840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25842 if (!SWIG_IsOK(res1
)) {
25843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25845 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25846 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25847 if (!SWIG_IsOK(res2
)) {
25848 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25851 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25853 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25856 (arg1
)->SetFont((wxFont
const &)*arg2
);
25857 wxPyEndAllowThreads(__tstate
);
25858 if (PyErr_Occurred()) SWIG_fail
;
25860 resultobj
= SWIG_Py_Void();
25867 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25868 PyObject
*resultobj
= 0;
25869 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25873 PyObject
*swig_obj
[1] ;
25875 if (!args
) SWIG_fail
;
25876 swig_obj
[0] = args
;
25877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25878 if (!SWIG_IsOK(res1
)) {
25879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25881 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25884 result
= (bool)(arg1
)->HasTextColour();
25885 wxPyEndAllowThreads(__tstate
);
25886 if (PyErr_Occurred()) SWIG_fail
;
25889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25897 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25898 PyObject
*resultobj
= 0;
25899 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25903 PyObject
*swig_obj
[1] ;
25905 if (!args
) SWIG_fail
;
25906 swig_obj
[0] = args
;
25907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25908 if (!SWIG_IsOK(res1
)) {
25909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25911 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25914 result
= (bool)(arg1
)->HasBackgroundColour();
25915 wxPyEndAllowThreads(__tstate
);
25916 if (PyErr_Occurred()) SWIG_fail
;
25919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25927 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25928 PyObject
*resultobj
= 0;
25929 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25933 PyObject
*swig_obj
[1] ;
25935 if (!args
) SWIG_fail
;
25936 swig_obj
[0] = args
;
25937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25938 if (!SWIG_IsOK(res1
)) {
25939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25941 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25944 result
= (bool)(arg1
)->HasFont();
25945 wxPyEndAllowThreads(__tstate
);
25946 if (PyErr_Occurred()) SWIG_fail
;
25949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25957 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25958 PyObject
*resultobj
= 0;
25959 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25963 PyObject
*swig_obj
[1] ;
25965 if (!args
) SWIG_fail
;
25966 swig_obj
[0] = args
;
25967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25968 if (!SWIG_IsOK(res1
)) {
25969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25971 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25974 result
= (arg1
)->GetTextColour();
25975 wxPyEndAllowThreads(__tstate
);
25976 if (PyErr_Occurred()) SWIG_fail
;
25978 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25985 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25986 PyObject
*resultobj
= 0;
25987 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25991 PyObject
*swig_obj
[1] ;
25993 if (!args
) SWIG_fail
;
25994 swig_obj
[0] = args
;
25995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25996 if (!SWIG_IsOK(res1
)) {
25997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25999 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26002 result
= (arg1
)->GetBackgroundColour();
26003 wxPyEndAllowThreads(__tstate
);
26004 if (PyErr_Occurred()) SWIG_fail
;
26006 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26013 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26014 PyObject
*resultobj
= 0;
26015 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26019 PyObject
*swig_obj
[1] ;
26021 if (!args
) SWIG_fail
;
26022 swig_obj
[0] = args
;
26023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26024 if (!SWIG_IsOK(res1
)) {
26025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26027 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26030 result
= (arg1
)->GetFont();
26031 wxPyEndAllowThreads(__tstate
);
26032 if (PyErr_Occurred()) SWIG_fail
;
26034 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26041 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26042 PyObject
*resultobj
= 0;
26043 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26044 wxListItemAttr
*arg2
= 0 ;
26049 PyObject
* obj0
= 0 ;
26050 PyObject
* obj1
= 0 ;
26051 char * kwnames
[] = {
26052 (char *) "self",(char *) "source", NULL
26055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26057 if (!SWIG_IsOK(res1
)) {
26058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26060 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26061 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26062 if (!SWIG_IsOK(res2
)) {
26063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26066 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26068 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26071 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26072 wxPyEndAllowThreads(__tstate
);
26073 if (PyErr_Occurred()) SWIG_fail
;
26075 resultobj
= SWIG_Py_Void();
26082 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26083 PyObject
*resultobj
= 0;
26084 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26087 PyObject
*swig_obj
[1] ;
26089 if (!args
) SWIG_fail
;
26090 swig_obj
[0] = args
;
26091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26092 if (!SWIG_IsOK(res1
)) {
26093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26095 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26098 wxListItemAttr_Destroy(arg1
);
26099 wxPyEndAllowThreads(__tstate
);
26100 if (PyErr_Occurred()) SWIG_fail
;
26102 resultobj
= SWIG_Py_Void();
26109 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26111 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26112 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26113 return SWIG_Py_Void();
26116 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26117 return SWIG_Python_InitShadowInstance(args
);
26120 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26121 PyObject
*resultobj
= 0;
26122 wxListItem
*result
= 0 ;
26124 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26127 result
= (wxListItem
*)new wxListItem();
26128 wxPyEndAllowThreads(__tstate
);
26129 if (PyErr_Occurred()) SWIG_fail
;
26132 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
26140 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26141 PyObject
*resultobj
= 0;
26142 wxListItem
*arg1
= (wxListItem
*) 0 ;
26145 PyObject
*swig_obj
[1] ;
26147 if (!args
) SWIG_fail
;
26148 swig_obj
[0] = args
;
26149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26150 if (!SWIG_IsOK(res1
)) {
26151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26153 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26158 wxPyEndAllowThreads(__tstate
);
26159 if (PyErr_Occurred()) SWIG_fail
;
26161 resultobj
= SWIG_Py_Void();
26168 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26169 PyObject
*resultobj
= 0;
26170 wxListItem
*arg1
= (wxListItem
*) 0 ;
26173 PyObject
*swig_obj
[1] ;
26175 if (!args
) SWIG_fail
;
26176 swig_obj
[0] = args
;
26177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26178 if (!SWIG_IsOK(res1
)) {
26179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26181 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26185 wxPyEndAllowThreads(__tstate
);
26186 if (PyErr_Occurred()) SWIG_fail
;
26188 resultobj
= SWIG_Py_Void();
26195 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26196 PyObject
*resultobj
= 0;
26197 wxListItem
*arg1
= (wxListItem
*) 0 ;
26200 PyObject
*swig_obj
[1] ;
26202 if (!args
) SWIG_fail
;
26203 swig_obj
[0] = args
;
26204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26205 if (!SWIG_IsOK(res1
)) {
26206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26208 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26211 (arg1
)->ClearAttributes();
26212 wxPyEndAllowThreads(__tstate
);
26213 if (PyErr_Occurred()) SWIG_fail
;
26215 resultobj
= SWIG_Py_Void();
26222 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26223 PyObject
*resultobj
= 0;
26224 wxListItem
*arg1
= (wxListItem
*) 0 ;
26230 PyObject
* obj0
= 0 ;
26231 PyObject
* obj1
= 0 ;
26232 char * kwnames
[] = {
26233 (char *) "self",(char *) "mask", NULL
26236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26238 if (!SWIG_IsOK(res1
)) {
26239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26241 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26242 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26243 if (!SWIG_IsOK(ecode2
)) {
26244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26246 arg2
= static_cast< long >(val2
);
26248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26249 (arg1
)->SetMask(arg2
);
26250 wxPyEndAllowThreads(__tstate
);
26251 if (PyErr_Occurred()) SWIG_fail
;
26253 resultobj
= SWIG_Py_Void();
26260 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26261 PyObject
*resultobj
= 0;
26262 wxListItem
*arg1
= (wxListItem
*) 0 ;
26268 PyObject
* obj0
= 0 ;
26269 PyObject
* obj1
= 0 ;
26270 char * kwnames
[] = {
26271 (char *) "self",(char *) "id", NULL
26274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26276 if (!SWIG_IsOK(res1
)) {
26277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26279 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26280 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26281 if (!SWIG_IsOK(ecode2
)) {
26282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26284 arg2
= static_cast< long >(val2
);
26286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26287 (arg1
)->SetId(arg2
);
26288 wxPyEndAllowThreads(__tstate
);
26289 if (PyErr_Occurred()) SWIG_fail
;
26291 resultobj
= SWIG_Py_Void();
26298 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26299 PyObject
*resultobj
= 0;
26300 wxListItem
*arg1
= (wxListItem
*) 0 ;
26306 PyObject
* obj0
= 0 ;
26307 PyObject
* obj1
= 0 ;
26308 char * kwnames
[] = {
26309 (char *) "self",(char *) "col", NULL
26312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26314 if (!SWIG_IsOK(res1
)) {
26315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26317 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26318 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26319 if (!SWIG_IsOK(ecode2
)) {
26320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26322 arg2
= static_cast< int >(val2
);
26324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26325 (arg1
)->SetColumn(arg2
);
26326 wxPyEndAllowThreads(__tstate
);
26327 if (PyErr_Occurred()) SWIG_fail
;
26329 resultobj
= SWIG_Py_Void();
26336 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26337 PyObject
*resultobj
= 0;
26338 wxListItem
*arg1
= (wxListItem
*) 0 ;
26344 PyObject
* obj0
= 0 ;
26345 PyObject
* obj1
= 0 ;
26346 char * kwnames
[] = {
26347 (char *) "self",(char *) "state", NULL
26350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26352 if (!SWIG_IsOK(res1
)) {
26353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26355 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26356 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26357 if (!SWIG_IsOK(ecode2
)) {
26358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26360 arg2
= static_cast< long >(val2
);
26362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26363 (arg1
)->SetState(arg2
);
26364 wxPyEndAllowThreads(__tstate
);
26365 if (PyErr_Occurred()) SWIG_fail
;
26367 resultobj
= SWIG_Py_Void();
26374 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26375 PyObject
*resultobj
= 0;
26376 wxListItem
*arg1
= (wxListItem
*) 0 ;
26382 PyObject
* obj0
= 0 ;
26383 PyObject
* obj1
= 0 ;
26384 char * kwnames
[] = {
26385 (char *) "self",(char *) "stateMask", NULL
26388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26390 if (!SWIG_IsOK(res1
)) {
26391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26393 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26394 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26395 if (!SWIG_IsOK(ecode2
)) {
26396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26398 arg2
= static_cast< long >(val2
);
26400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26401 (arg1
)->SetStateMask(arg2
);
26402 wxPyEndAllowThreads(__tstate
);
26403 if (PyErr_Occurred()) SWIG_fail
;
26405 resultobj
= SWIG_Py_Void();
26412 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26413 PyObject
*resultobj
= 0;
26414 wxListItem
*arg1
= (wxListItem
*) 0 ;
26415 wxString
*arg2
= 0 ;
26418 bool temp2
= false ;
26419 PyObject
* obj0
= 0 ;
26420 PyObject
* obj1
= 0 ;
26421 char * kwnames
[] = {
26422 (char *) "self",(char *) "text", NULL
26425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26427 if (!SWIG_IsOK(res1
)) {
26428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26430 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26432 arg2
= wxString_in_helper(obj1
);
26433 if (arg2
== NULL
) SWIG_fail
;
26437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26438 (arg1
)->SetText((wxString
const &)*arg2
);
26439 wxPyEndAllowThreads(__tstate
);
26440 if (PyErr_Occurred()) SWIG_fail
;
26442 resultobj
= SWIG_Py_Void();
26457 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26458 PyObject
*resultobj
= 0;
26459 wxListItem
*arg1
= (wxListItem
*) 0 ;
26465 PyObject
* obj0
= 0 ;
26466 PyObject
* obj1
= 0 ;
26467 char * kwnames
[] = {
26468 (char *) "self",(char *) "image", NULL
26471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26473 if (!SWIG_IsOK(res1
)) {
26474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26476 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26477 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26478 if (!SWIG_IsOK(ecode2
)) {
26479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26481 arg2
= static_cast< int >(val2
);
26483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26484 (arg1
)->SetImage(arg2
);
26485 wxPyEndAllowThreads(__tstate
);
26486 if (PyErr_Occurred()) SWIG_fail
;
26488 resultobj
= SWIG_Py_Void();
26495 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26496 PyObject
*resultobj
= 0;
26497 wxListItem
*arg1
= (wxListItem
*) 0 ;
26503 PyObject
* obj0
= 0 ;
26504 PyObject
* obj1
= 0 ;
26505 char * kwnames
[] = {
26506 (char *) "self",(char *) "data", NULL
26509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26511 if (!SWIG_IsOK(res1
)) {
26512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26514 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26515 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26516 if (!SWIG_IsOK(ecode2
)) {
26517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26519 arg2
= static_cast< long >(val2
);
26521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26522 (arg1
)->SetData(arg2
);
26523 wxPyEndAllowThreads(__tstate
);
26524 if (PyErr_Occurred()) SWIG_fail
;
26526 resultobj
= SWIG_Py_Void();
26533 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26534 PyObject
*resultobj
= 0;
26535 wxListItem
*arg1
= (wxListItem
*) 0 ;
26541 PyObject
* obj0
= 0 ;
26542 PyObject
* obj1
= 0 ;
26543 char * kwnames
[] = {
26544 (char *) "self",(char *) "width", NULL
26547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26549 if (!SWIG_IsOK(res1
)) {
26550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26552 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26553 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26554 if (!SWIG_IsOK(ecode2
)) {
26555 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26557 arg2
= static_cast< int >(val2
);
26559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26560 (arg1
)->SetWidth(arg2
);
26561 wxPyEndAllowThreads(__tstate
);
26562 if (PyErr_Occurred()) SWIG_fail
;
26564 resultobj
= SWIG_Py_Void();
26571 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26572 PyObject
*resultobj
= 0;
26573 wxListItem
*arg1
= (wxListItem
*) 0 ;
26574 wxListColumnFormat arg2
;
26579 PyObject
* obj0
= 0 ;
26580 PyObject
* obj1
= 0 ;
26581 char * kwnames
[] = {
26582 (char *) "self",(char *) "align", NULL
26585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26587 if (!SWIG_IsOK(res1
)) {
26588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26590 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26592 if (!SWIG_IsOK(ecode2
)) {
26593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26595 arg2
= static_cast< wxListColumnFormat
>(val2
);
26597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26598 (arg1
)->SetAlign(arg2
);
26599 wxPyEndAllowThreads(__tstate
);
26600 if (PyErr_Occurred()) SWIG_fail
;
26602 resultobj
= SWIG_Py_Void();
26609 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26610 PyObject
*resultobj
= 0;
26611 wxListItem
*arg1
= (wxListItem
*) 0 ;
26612 wxColour
*arg2
= 0 ;
26616 PyObject
* obj0
= 0 ;
26617 PyObject
* obj1
= 0 ;
26618 char * kwnames
[] = {
26619 (char *) "self",(char *) "colText", NULL
26622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26624 if (!SWIG_IsOK(res1
)) {
26625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26627 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26630 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26634 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26635 wxPyEndAllowThreads(__tstate
);
26636 if (PyErr_Occurred()) SWIG_fail
;
26638 resultobj
= SWIG_Py_Void();
26645 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26646 PyObject
*resultobj
= 0;
26647 wxListItem
*arg1
= (wxListItem
*) 0 ;
26648 wxColour
*arg2
= 0 ;
26652 PyObject
* obj0
= 0 ;
26653 PyObject
* obj1
= 0 ;
26654 char * kwnames
[] = {
26655 (char *) "self",(char *) "colBack", NULL
26658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26660 if (!SWIG_IsOK(res1
)) {
26661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26663 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26666 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26670 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26671 wxPyEndAllowThreads(__tstate
);
26672 if (PyErr_Occurred()) SWIG_fail
;
26674 resultobj
= SWIG_Py_Void();
26681 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26682 PyObject
*resultobj
= 0;
26683 wxListItem
*arg1
= (wxListItem
*) 0 ;
26689 PyObject
* obj0
= 0 ;
26690 PyObject
* obj1
= 0 ;
26691 char * kwnames
[] = {
26692 (char *) "self",(char *) "font", NULL
26695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26697 if (!SWIG_IsOK(res1
)) {
26698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26700 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26701 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26702 if (!SWIG_IsOK(res2
)) {
26703 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26706 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26708 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26711 (arg1
)->SetFont((wxFont
const &)*arg2
);
26712 wxPyEndAllowThreads(__tstate
);
26713 if (PyErr_Occurred()) SWIG_fail
;
26715 resultobj
= SWIG_Py_Void();
26722 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26723 PyObject
*resultobj
= 0;
26724 wxListItem
*arg1
= (wxListItem
*) 0 ;
26728 PyObject
*swig_obj
[1] ;
26730 if (!args
) SWIG_fail
;
26731 swig_obj
[0] = args
;
26732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26733 if (!SWIG_IsOK(res1
)) {
26734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26736 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26739 result
= (long)(arg1
)->GetMask();
26740 wxPyEndAllowThreads(__tstate
);
26741 if (PyErr_Occurred()) SWIG_fail
;
26743 resultobj
= SWIG_From_long(static_cast< long >(result
));
26750 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26751 PyObject
*resultobj
= 0;
26752 wxListItem
*arg1
= (wxListItem
*) 0 ;
26756 PyObject
*swig_obj
[1] ;
26758 if (!args
) SWIG_fail
;
26759 swig_obj
[0] = args
;
26760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26761 if (!SWIG_IsOK(res1
)) {
26762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26764 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26767 result
= (long)(arg1
)->GetId();
26768 wxPyEndAllowThreads(__tstate
);
26769 if (PyErr_Occurred()) SWIG_fail
;
26771 resultobj
= SWIG_From_long(static_cast< long >(result
));
26778 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26779 PyObject
*resultobj
= 0;
26780 wxListItem
*arg1
= (wxListItem
*) 0 ;
26784 PyObject
*swig_obj
[1] ;
26786 if (!args
) SWIG_fail
;
26787 swig_obj
[0] = args
;
26788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26789 if (!SWIG_IsOK(res1
)) {
26790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26792 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26795 result
= (int)(arg1
)->GetColumn();
26796 wxPyEndAllowThreads(__tstate
);
26797 if (PyErr_Occurred()) SWIG_fail
;
26799 resultobj
= SWIG_From_int(static_cast< int >(result
));
26806 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26807 PyObject
*resultobj
= 0;
26808 wxListItem
*arg1
= (wxListItem
*) 0 ;
26812 PyObject
*swig_obj
[1] ;
26814 if (!args
) SWIG_fail
;
26815 swig_obj
[0] = args
;
26816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26817 if (!SWIG_IsOK(res1
)) {
26818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26820 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26823 result
= (long)(arg1
)->GetState();
26824 wxPyEndAllowThreads(__tstate
);
26825 if (PyErr_Occurred()) SWIG_fail
;
26827 resultobj
= SWIG_From_long(static_cast< long >(result
));
26834 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26835 PyObject
*resultobj
= 0;
26836 wxListItem
*arg1
= (wxListItem
*) 0 ;
26837 wxString
*result
= 0 ;
26840 PyObject
*swig_obj
[1] ;
26842 if (!args
) SWIG_fail
;
26843 swig_obj
[0] = args
;
26844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26845 if (!SWIG_IsOK(res1
)) {
26846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26848 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26852 wxString
const &_result_ref
= (arg1
)->GetText();
26853 result
= (wxString
*) &_result_ref
;
26855 wxPyEndAllowThreads(__tstate
);
26856 if (PyErr_Occurred()) SWIG_fail
;
26860 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26862 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26871 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26872 PyObject
*resultobj
= 0;
26873 wxListItem
*arg1
= (wxListItem
*) 0 ;
26877 PyObject
*swig_obj
[1] ;
26879 if (!args
) SWIG_fail
;
26880 swig_obj
[0] = args
;
26881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26882 if (!SWIG_IsOK(res1
)) {
26883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26885 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26888 result
= (int)(arg1
)->GetImage();
26889 wxPyEndAllowThreads(__tstate
);
26890 if (PyErr_Occurred()) SWIG_fail
;
26892 resultobj
= SWIG_From_int(static_cast< int >(result
));
26899 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26900 PyObject
*resultobj
= 0;
26901 wxListItem
*arg1
= (wxListItem
*) 0 ;
26905 PyObject
*swig_obj
[1] ;
26907 if (!args
) SWIG_fail
;
26908 swig_obj
[0] = args
;
26909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26910 if (!SWIG_IsOK(res1
)) {
26911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26913 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26916 result
= (long)(arg1
)->GetData();
26917 wxPyEndAllowThreads(__tstate
);
26918 if (PyErr_Occurred()) SWIG_fail
;
26920 resultobj
= SWIG_From_long(static_cast< long >(result
));
26927 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26928 PyObject
*resultobj
= 0;
26929 wxListItem
*arg1
= (wxListItem
*) 0 ;
26933 PyObject
*swig_obj
[1] ;
26935 if (!args
) SWIG_fail
;
26936 swig_obj
[0] = args
;
26937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26938 if (!SWIG_IsOK(res1
)) {
26939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26941 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26944 result
= (int)(arg1
)->GetWidth();
26945 wxPyEndAllowThreads(__tstate
);
26946 if (PyErr_Occurred()) SWIG_fail
;
26948 resultobj
= SWIG_From_int(static_cast< int >(result
));
26955 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26956 PyObject
*resultobj
= 0;
26957 wxListItem
*arg1
= (wxListItem
*) 0 ;
26958 wxListColumnFormat result
;
26961 PyObject
*swig_obj
[1] ;
26963 if (!args
) SWIG_fail
;
26964 swig_obj
[0] = args
;
26965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26966 if (!SWIG_IsOK(res1
)) {
26967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26969 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26972 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
26973 wxPyEndAllowThreads(__tstate
);
26974 if (PyErr_Occurred()) SWIG_fail
;
26976 resultobj
= SWIG_From_int(static_cast< int >(result
));
26983 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26984 PyObject
*resultobj
= 0;
26985 wxListItem
*arg1
= (wxListItem
*) 0 ;
26986 wxListItemAttr
*result
= 0 ;
26989 PyObject
*swig_obj
[1] ;
26991 if (!args
) SWIG_fail
;
26992 swig_obj
[0] = args
;
26993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26994 if (!SWIG_IsOK(res1
)) {
26995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26997 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27000 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27001 wxPyEndAllowThreads(__tstate
);
27002 if (PyErr_Occurred()) SWIG_fail
;
27004 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27011 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27012 PyObject
*resultobj
= 0;
27013 wxListItem
*arg1
= (wxListItem
*) 0 ;
27017 PyObject
*swig_obj
[1] ;
27019 if (!args
) SWIG_fail
;
27020 swig_obj
[0] = args
;
27021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27022 if (!SWIG_IsOK(res1
)) {
27023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27025 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27028 result
= (bool)(arg1
)->HasAttributes();
27029 wxPyEndAllowThreads(__tstate
);
27030 if (PyErr_Occurred()) SWIG_fail
;
27033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27041 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27042 PyObject
*resultobj
= 0;
27043 wxListItem
*arg1
= (wxListItem
*) 0 ;
27047 PyObject
*swig_obj
[1] ;
27049 if (!args
) SWIG_fail
;
27050 swig_obj
[0] = args
;
27051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27052 if (!SWIG_IsOK(res1
)) {
27053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27055 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27058 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27059 wxPyEndAllowThreads(__tstate
);
27060 if (PyErr_Occurred()) SWIG_fail
;
27062 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27069 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27070 PyObject
*resultobj
= 0;
27071 wxListItem
*arg1
= (wxListItem
*) 0 ;
27075 PyObject
*swig_obj
[1] ;
27077 if (!args
) SWIG_fail
;
27078 swig_obj
[0] = args
;
27079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27080 if (!SWIG_IsOK(res1
)) {
27081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27083 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27086 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27087 wxPyEndAllowThreads(__tstate
);
27088 if (PyErr_Occurred()) SWIG_fail
;
27090 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27097 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27098 PyObject
*resultobj
= 0;
27099 wxListItem
*arg1
= (wxListItem
*) 0 ;
27103 PyObject
*swig_obj
[1] ;
27105 if (!args
) SWIG_fail
;
27106 swig_obj
[0] = args
;
27107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27108 if (!SWIG_IsOK(res1
)) {
27109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27111 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27114 result
= ((wxListItem
const *)arg1
)->GetFont();
27115 wxPyEndAllowThreads(__tstate
);
27116 if (PyErr_Occurred()) SWIG_fail
;
27118 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27125 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27126 PyObject
*resultobj
= 0;
27127 wxListItem
*arg1
= (wxListItem
*) 0 ;
27133 PyObject
*swig_obj
[2] ;
27135 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27137 if (!SWIG_IsOK(res1
)) {
27138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27140 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27141 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27142 if (!SWIG_IsOK(ecode2
)) {
27143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27145 arg2
= static_cast< long >(val2
);
27146 if (arg1
) (arg1
)->m_mask
= arg2
;
27148 resultobj
= SWIG_Py_Void();
27155 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27156 PyObject
*resultobj
= 0;
27157 wxListItem
*arg1
= (wxListItem
*) 0 ;
27161 PyObject
*swig_obj
[1] ;
27163 if (!args
) SWIG_fail
;
27164 swig_obj
[0] = args
;
27165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27166 if (!SWIG_IsOK(res1
)) {
27167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27169 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27170 result
= (long) ((arg1
)->m_mask
);
27171 resultobj
= SWIG_From_long(static_cast< long >(result
));
27178 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27179 PyObject
*resultobj
= 0;
27180 wxListItem
*arg1
= (wxListItem
*) 0 ;
27186 PyObject
*swig_obj
[2] ;
27188 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27190 if (!SWIG_IsOK(res1
)) {
27191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27193 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27194 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27195 if (!SWIG_IsOK(ecode2
)) {
27196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27198 arg2
= static_cast< long >(val2
);
27199 if (arg1
) (arg1
)->m_itemId
= arg2
;
27201 resultobj
= SWIG_Py_Void();
27208 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27209 PyObject
*resultobj
= 0;
27210 wxListItem
*arg1
= (wxListItem
*) 0 ;
27214 PyObject
*swig_obj
[1] ;
27216 if (!args
) SWIG_fail
;
27217 swig_obj
[0] = args
;
27218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27219 if (!SWIG_IsOK(res1
)) {
27220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27222 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27223 result
= (long) ((arg1
)->m_itemId
);
27224 resultobj
= SWIG_From_long(static_cast< long >(result
));
27231 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27232 PyObject
*resultobj
= 0;
27233 wxListItem
*arg1
= (wxListItem
*) 0 ;
27239 PyObject
*swig_obj
[2] ;
27241 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
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_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27246 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27247 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27248 if (!SWIG_IsOK(ecode2
)) {
27249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27251 arg2
= static_cast< int >(val2
);
27252 if (arg1
) (arg1
)->m_col
= arg2
;
27254 resultobj
= SWIG_Py_Void();
27261 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27262 PyObject
*resultobj
= 0;
27263 wxListItem
*arg1
= (wxListItem
*) 0 ;
27267 PyObject
*swig_obj
[1] ;
27269 if (!args
) SWIG_fail
;
27270 swig_obj
[0] = args
;
27271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27272 if (!SWIG_IsOK(res1
)) {
27273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27275 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27276 result
= (int) ((arg1
)->m_col
);
27277 resultobj
= SWIG_From_int(static_cast< int >(result
));
27284 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27285 PyObject
*resultobj
= 0;
27286 wxListItem
*arg1
= (wxListItem
*) 0 ;
27292 PyObject
*swig_obj
[2] ;
27294 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27296 if (!SWIG_IsOK(res1
)) {
27297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27299 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27300 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27301 if (!SWIG_IsOK(ecode2
)) {
27302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27304 arg2
= static_cast< long >(val2
);
27305 if (arg1
) (arg1
)->m_state
= arg2
;
27307 resultobj
= SWIG_Py_Void();
27314 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27315 PyObject
*resultobj
= 0;
27316 wxListItem
*arg1
= (wxListItem
*) 0 ;
27320 PyObject
*swig_obj
[1] ;
27322 if (!args
) SWIG_fail
;
27323 swig_obj
[0] = args
;
27324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27325 if (!SWIG_IsOK(res1
)) {
27326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27328 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27329 result
= (long) ((arg1
)->m_state
);
27330 resultobj
= SWIG_From_long(static_cast< long >(result
));
27337 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27338 PyObject
*resultobj
= 0;
27339 wxListItem
*arg1
= (wxListItem
*) 0 ;
27345 PyObject
*swig_obj
[2] ;
27347 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27349 if (!SWIG_IsOK(res1
)) {
27350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27352 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27353 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27354 if (!SWIG_IsOK(ecode2
)) {
27355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27357 arg2
= static_cast< long >(val2
);
27358 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27360 resultobj
= SWIG_Py_Void();
27367 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27368 PyObject
*resultobj
= 0;
27369 wxListItem
*arg1
= (wxListItem
*) 0 ;
27373 PyObject
*swig_obj
[1] ;
27375 if (!args
) SWIG_fail
;
27376 swig_obj
[0] = args
;
27377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27378 if (!SWIG_IsOK(res1
)) {
27379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27381 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27382 result
= (long) ((arg1
)->m_stateMask
);
27383 resultobj
= SWIG_From_long(static_cast< long >(result
));
27390 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27391 PyObject
*resultobj
= 0;
27392 wxListItem
*arg1
= (wxListItem
*) 0 ;
27393 wxString
*arg2
= (wxString
*) 0 ;
27396 bool temp2
= false ;
27397 PyObject
*swig_obj
[2] ;
27399 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27401 if (!SWIG_IsOK(res1
)) {
27402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27404 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27406 arg2
= wxString_in_helper(swig_obj
[1]);
27407 if (arg2
== NULL
) SWIG_fail
;
27410 if (arg1
) (arg1
)->m_text
= *arg2
;
27412 resultobj
= SWIG_Py_Void();
27427 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27428 PyObject
*resultobj
= 0;
27429 wxListItem
*arg1
= (wxListItem
*) 0 ;
27430 wxString
*result
= 0 ;
27433 PyObject
*swig_obj
[1] ;
27435 if (!args
) SWIG_fail
;
27436 swig_obj
[0] = args
;
27437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27438 if (!SWIG_IsOK(res1
)) {
27439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27441 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27442 result
= (wxString
*)& ((arg1
)->m_text
);
27445 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27447 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27456 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27457 PyObject
*resultobj
= 0;
27458 wxListItem
*arg1
= (wxListItem
*) 0 ;
27464 PyObject
*swig_obj
[2] ;
27466 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27468 if (!SWIG_IsOK(res1
)) {
27469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27471 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27472 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27473 if (!SWIG_IsOK(ecode2
)) {
27474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27476 arg2
= static_cast< int >(val2
);
27477 if (arg1
) (arg1
)->m_image
= arg2
;
27479 resultobj
= SWIG_Py_Void();
27486 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27487 PyObject
*resultobj
= 0;
27488 wxListItem
*arg1
= (wxListItem
*) 0 ;
27492 PyObject
*swig_obj
[1] ;
27494 if (!args
) SWIG_fail
;
27495 swig_obj
[0] = args
;
27496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27497 if (!SWIG_IsOK(res1
)) {
27498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27500 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27501 result
= (int) ((arg1
)->m_image
);
27502 resultobj
= SWIG_From_int(static_cast< int >(result
));
27509 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27510 PyObject
*resultobj
= 0;
27511 wxListItem
*arg1
= (wxListItem
*) 0 ;
27517 PyObject
*swig_obj
[2] ;
27519 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27521 if (!SWIG_IsOK(res1
)) {
27522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27524 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27525 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27526 if (!SWIG_IsOK(ecode2
)) {
27527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27529 arg2
= static_cast< long >(val2
);
27530 if (arg1
) (arg1
)->m_data
= arg2
;
27532 resultobj
= SWIG_Py_Void();
27539 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27540 PyObject
*resultobj
= 0;
27541 wxListItem
*arg1
= (wxListItem
*) 0 ;
27545 PyObject
*swig_obj
[1] ;
27547 if (!args
) SWIG_fail
;
27548 swig_obj
[0] = args
;
27549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27550 if (!SWIG_IsOK(res1
)) {
27551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27553 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27554 result
= (long) ((arg1
)->m_data
);
27555 resultobj
= SWIG_From_long(static_cast< long >(result
));
27562 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27563 PyObject
*resultobj
= 0;
27564 wxListItem
*arg1
= (wxListItem
*) 0 ;
27570 PyObject
*swig_obj
[2] ;
27572 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27574 if (!SWIG_IsOK(res1
)) {
27575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27577 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27578 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27579 if (!SWIG_IsOK(ecode2
)) {
27580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27582 arg2
= static_cast< int >(val2
);
27583 if (arg1
) (arg1
)->m_format
= arg2
;
27585 resultobj
= SWIG_Py_Void();
27592 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27593 PyObject
*resultobj
= 0;
27594 wxListItem
*arg1
= (wxListItem
*) 0 ;
27598 PyObject
*swig_obj
[1] ;
27600 if (!args
) SWIG_fail
;
27601 swig_obj
[0] = args
;
27602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27603 if (!SWIG_IsOK(res1
)) {
27604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27606 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27607 result
= (int) ((arg1
)->m_format
);
27608 resultobj
= SWIG_From_int(static_cast< int >(result
));
27615 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27616 PyObject
*resultobj
= 0;
27617 wxListItem
*arg1
= (wxListItem
*) 0 ;
27623 PyObject
*swig_obj
[2] ;
27625 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27627 if (!SWIG_IsOK(res1
)) {
27628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27630 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27631 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27632 if (!SWIG_IsOK(ecode2
)) {
27633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27635 arg2
= static_cast< int >(val2
);
27636 if (arg1
) (arg1
)->m_width
= arg2
;
27638 resultobj
= SWIG_Py_Void();
27645 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27646 PyObject
*resultobj
= 0;
27647 wxListItem
*arg1
= (wxListItem
*) 0 ;
27651 PyObject
*swig_obj
[1] ;
27653 if (!args
) SWIG_fail
;
27654 swig_obj
[0] = args
;
27655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27656 if (!SWIG_IsOK(res1
)) {
27657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27659 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27660 result
= (int) ((arg1
)->m_width
);
27661 resultobj
= SWIG_From_int(static_cast< int >(result
));
27668 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27670 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27671 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
27672 return SWIG_Py_Void();
27675 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27676 return SWIG_Python_InitShadowInstance(args
);
27679 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27680 PyObject
*resultobj
= 0;
27681 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27682 int arg2
= (int) 0 ;
27683 wxListEvent
*result
= 0 ;
27688 PyObject
* obj0
= 0 ;
27689 PyObject
* obj1
= 0 ;
27690 char * kwnames
[] = {
27691 (char *) "commandType",(char *) "id", NULL
27694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27696 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27697 if (!SWIG_IsOK(ecode1
)) {
27698 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27700 arg1
= static_cast< wxEventType
>(val1
);
27703 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27704 if (!SWIG_IsOK(ecode2
)) {
27705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27707 arg2
= static_cast< int >(val2
);
27710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27711 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
27712 wxPyEndAllowThreads(__tstate
);
27713 if (PyErr_Occurred()) SWIG_fail
;
27715 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
27722 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27723 PyObject
*resultobj
= 0;
27724 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27730 PyObject
*swig_obj
[2] ;
27732 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
27733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27734 if (!SWIG_IsOK(res1
)) {
27735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27737 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27738 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27739 if (!SWIG_IsOK(ecode2
)) {
27740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27742 arg2
= static_cast< int >(val2
);
27743 if (arg1
) (arg1
)->m_code
= arg2
;
27745 resultobj
= SWIG_Py_Void();
27752 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27753 PyObject
*resultobj
= 0;
27754 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27758 PyObject
*swig_obj
[1] ;
27760 if (!args
) SWIG_fail
;
27761 swig_obj
[0] = args
;
27762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27763 if (!SWIG_IsOK(res1
)) {
27764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27766 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27767 result
= (int) ((arg1
)->m_code
);
27768 resultobj
= SWIG_From_int(static_cast< int >(result
));
27775 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27776 PyObject
*resultobj
= 0;
27777 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27783 PyObject
*swig_obj
[2] ;
27785 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27787 if (!SWIG_IsOK(res1
)) {
27788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27790 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27791 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27792 if (!SWIG_IsOK(ecode2
)) {
27793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
27795 arg2
= static_cast< long >(val2
);
27796 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
27798 resultobj
= SWIG_Py_Void();
27805 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27806 PyObject
*resultobj
= 0;
27807 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27811 PyObject
*swig_obj
[1] ;
27813 if (!args
) SWIG_fail
;
27814 swig_obj
[0] = args
;
27815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27816 if (!SWIG_IsOK(res1
)) {
27817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27819 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27820 result
= (long) ((arg1
)->m_oldItemIndex
);
27821 resultobj
= SWIG_From_long(static_cast< long >(result
));
27828 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27829 PyObject
*resultobj
= 0;
27830 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27836 PyObject
*swig_obj
[2] ;
27838 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27840 if (!SWIG_IsOK(res1
)) {
27841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27843 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27844 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27845 if (!SWIG_IsOK(ecode2
)) {
27846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
27848 arg2
= static_cast< long >(val2
);
27849 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
27851 resultobj
= SWIG_Py_Void();
27858 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27859 PyObject
*resultobj
= 0;
27860 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27864 PyObject
*swig_obj
[1] ;
27866 if (!args
) SWIG_fail
;
27867 swig_obj
[0] = args
;
27868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27869 if (!SWIG_IsOK(res1
)) {
27870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27872 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27873 result
= (long) ((arg1
)->m_itemIndex
);
27874 resultobj
= SWIG_From_long(static_cast< long >(result
));
27881 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27882 PyObject
*resultobj
= 0;
27883 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27889 PyObject
*swig_obj
[2] ;
27891 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27893 if (!SWIG_IsOK(res1
)) {
27894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27896 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27897 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27898 if (!SWIG_IsOK(ecode2
)) {
27899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
27901 arg2
= static_cast< int >(val2
);
27902 if (arg1
) (arg1
)->m_col
= arg2
;
27904 resultobj
= SWIG_Py_Void();
27911 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27912 PyObject
*resultobj
= 0;
27913 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27917 PyObject
*swig_obj
[1] ;
27919 if (!args
) SWIG_fail
;
27920 swig_obj
[0] = args
;
27921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27922 if (!SWIG_IsOK(res1
)) {
27923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27925 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27926 result
= (int) ((arg1
)->m_col
);
27927 resultobj
= SWIG_From_int(static_cast< int >(result
));
27934 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27935 PyObject
*resultobj
= 0;
27936 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27937 wxPoint
*arg2
= (wxPoint
*) 0 ;
27942 PyObject
*swig_obj
[2] ;
27944 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
27945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27946 if (!SWIG_IsOK(res1
)) {
27947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27949 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27950 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
27951 if (!SWIG_IsOK(res2
)) {
27952 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
27954 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
27955 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
27957 resultobj
= SWIG_Py_Void();
27964 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27965 PyObject
*resultobj
= 0;
27966 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27967 wxPoint
*result
= 0 ;
27970 PyObject
*swig_obj
[1] ;
27972 if (!args
) SWIG_fail
;
27973 swig_obj
[0] = args
;
27974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27975 if (!SWIG_IsOK(res1
)) {
27976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27978 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27979 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
27980 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
27987 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27988 PyObject
*resultobj
= 0;
27989 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27990 wxListItem
*result
= 0 ;
27993 PyObject
*swig_obj
[1] ;
27995 if (!args
) SWIG_fail
;
27996 swig_obj
[0] = args
;
27997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27998 if (!SWIG_IsOK(res1
)) {
27999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28001 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28002 result
= (wxListItem
*)& ((arg1
)->m_item
);
28004 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28012 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28013 PyObject
*resultobj
= 0;
28014 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28018 PyObject
*swig_obj
[1] ;
28020 if (!args
) SWIG_fail
;
28021 swig_obj
[0] = args
;
28022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28023 if (!SWIG_IsOK(res1
)) {
28024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28026 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28029 result
= (int)(arg1
)->GetKeyCode();
28030 wxPyEndAllowThreads(__tstate
);
28031 if (PyErr_Occurred()) SWIG_fail
;
28033 resultobj
= SWIG_From_int(static_cast< int >(result
));
28040 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28041 PyObject
*resultobj
= 0;
28042 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28046 PyObject
*swig_obj
[1] ;
28048 if (!args
) SWIG_fail
;
28049 swig_obj
[0] = args
;
28050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28051 if (!SWIG_IsOK(res1
)) {
28052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28054 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28057 result
= (long)(arg1
)->GetIndex();
28058 wxPyEndAllowThreads(__tstate
);
28059 if (PyErr_Occurred()) SWIG_fail
;
28061 resultobj
= SWIG_From_long(static_cast< long >(result
));
28068 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28069 PyObject
*resultobj
= 0;
28070 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28074 PyObject
*swig_obj
[1] ;
28076 if (!args
) SWIG_fail
;
28077 swig_obj
[0] = args
;
28078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28079 if (!SWIG_IsOK(res1
)) {
28080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28082 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28085 result
= (int)(arg1
)->GetColumn();
28086 wxPyEndAllowThreads(__tstate
);
28087 if (PyErr_Occurred()) SWIG_fail
;
28089 resultobj
= SWIG_From_int(static_cast< int >(result
));
28096 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28097 PyObject
*resultobj
= 0;
28098 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28102 PyObject
*swig_obj
[1] ;
28104 if (!args
) SWIG_fail
;
28105 swig_obj
[0] = args
;
28106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28107 if (!SWIG_IsOK(res1
)) {
28108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28110 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28113 result
= (arg1
)->GetPoint();
28114 wxPyEndAllowThreads(__tstate
);
28115 if (PyErr_Occurred()) SWIG_fail
;
28117 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28124 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28125 PyObject
*resultobj
= 0;
28126 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28127 wxString
*result
= 0 ;
28130 PyObject
*swig_obj
[1] ;
28132 if (!args
) SWIG_fail
;
28133 swig_obj
[0] = args
;
28134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28135 if (!SWIG_IsOK(res1
)) {
28136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28138 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28142 wxString
const &_result_ref
= (arg1
)->GetLabel();
28143 result
= (wxString
*) &_result_ref
;
28145 wxPyEndAllowThreads(__tstate
);
28146 if (PyErr_Occurred()) SWIG_fail
;
28150 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28152 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28161 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28162 PyObject
*resultobj
= 0;
28163 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28164 wxString
*result
= 0 ;
28167 PyObject
*swig_obj
[1] ;
28169 if (!args
) SWIG_fail
;
28170 swig_obj
[0] = args
;
28171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28172 if (!SWIG_IsOK(res1
)) {
28173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28175 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28179 wxString
const &_result_ref
= (arg1
)->GetText();
28180 result
= (wxString
*) &_result_ref
;
28182 wxPyEndAllowThreads(__tstate
);
28183 if (PyErr_Occurred()) SWIG_fail
;
28187 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28189 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28198 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28199 PyObject
*resultobj
= 0;
28200 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28204 PyObject
*swig_obj
[1] ;
28206 if (!args
) SWIG_fail
;
28207 swig_obj
[0] = args
;
28208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28209 if (!SWIG_IsOK(res1
)) {
28210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28212 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28215 result
= (int)(arg1
)->GetImage();
28216 wxPyEndAllowThreads(__tstate
);
28217 if (PyErr_Occurred()) SWIG_fail
;
28219 resultobj
= SWIG_From_int(static_cast< int >(result
));
28226 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28227 PyObject
*resultobj
= 0;
28228 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28232 PyObject
*swig_obj
[1] ;
28234 if (!args
) SWIG_fail
;
28235 swig_obj
[0] = args
;
28236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28237 if (!SWIG_IsOK(res1
)) {
28238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28240 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28243 result
= (long)(arg1
)->GetData();
28244 wxPyEndAllowThreads(__tstate
);
28245 if (PyErr_Occurred()) SWIG_fail
;
28247 resultobj
= SWIG_From_long(static_cast< long >(result
));
28254 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28255 PyObject
*resultobj
= 0;
28256 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28260 PyObject
*swig_obj
[1] ;
28262 if (!args
) SWIG_fail
;
28263 swig_obj
[0] = args
;
28264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28265 if (!SWIG_IsOK(res1
)) {
28266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28268 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28271 result
= (long)(arg1
)->GetMask();
28272 wxPyEndAllowThreads(__tstate
);
28273 if (PyErr_Occurred()) SWIG_fail
;
28275 resultobj
= SWIG_From_long(static_cast< long >(result
));
28282 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28283 PyObject
*resultobj
= 0;
28284 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28285 wxListItem
*result
= 0 ;
28288 PyObject
*swig_obj
[1] ;
28290 if (!args
) SWIG_fail
;
28291 swig_obj
[0] = args
;
28292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28293 if (!SWIG_IsOK(res1
)) {
28294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28296 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28300 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28301 result
= (wxListItem
*) &_result_ref
;
28303 wxPyEndAllowThreads(__tstate
);
28304 if (PyErr_Occurred()) SWIG_fail
;
28306 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28313 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28314 PyObject
*resultobj
= 0;
28315 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28319 PyObject
*swig_obj
[1] ;
28321 if (!args
) SWIG_fail
;
28322 swig_obj
[0] = args
;
28323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28324 if (!SWIG_IsOK(res1
)) {
28325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28327 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28330 result
= (long)(arg1
)->GetCacheFrom();
28331 wxPyEndAllowThreads(__tstate
);
28332 if (PyErr_Occurred()) SWIG_fail
;
28334 resultobj
= SWIG_From_long(static_cast< long >(result
));
28341 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28342 PyObject
*resultobj
= 0;
28343 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28347 PyObject
*swig_obj
[1] ;
28349 if (!args
) SWIG_fail
;
28350 swig_obj
[0] = args
;
28351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28352 if (!SWIG_IsOK(res1
)) {
28353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28355 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28358 result
= (long)(arg1
)->GetCacheTo();
28359 wxPyEndAllowThreads(__tstate
);
28360 if (PyErr_Occurred()) SWIG_fail
;
28362 resultobj
= SWIG_From_long(static_cast< long >(result
));
28369 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28370 PyObject
*resultobj
= 0;
28371 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28375 PyObject
*swig_obj
[1] ;
28377 if (!args
) SWIG_fail
;
28378 swig_obj
[0] = args
;
28379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28380 if (!SWIG_IsOK(res1
)) {
28381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28383 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28386 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28387 wxPyEndAllowThreads(__tstate
);
28388 if (PyErr_Occurred()) SWIG_fail
;
28391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28399 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28400 PyObject
*resultobj
= 0;
28401 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28407 PyObject
* obj0
= 0 ;
28408 PyObject
* obj1
= 0 ;
28409 char * kwnames
[] = {
28410 (char *) "self",(char *) "editCancelled", NULL
28413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28415 if (!SWIG_IsOK(res1
)) {
28416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28418 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28419 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28420 if (!SWIG_IsOK(ecode2
)) {
28421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28423 arg2
= static_cast< bool >(val2
);
28425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28426 (arg1
)->SetEditCanceled(arg2
);
28427 wxPyEndAllowThreads(__tstate
);
28428 if (PyErr_Occurred()) SWIG_fail
;
28430 resultobj
= SWIG_Py_Void();
28437 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28439 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28440 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28441 return SWIG_Py_Void();
28444 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28445 return SWIG_Python_InitShadowInstance(args
);
28448 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28449 PyObject
*resultobj
= 0;
28450 wxWindow
*arg1
= (wxWindow
*) 0 ;
28451 int arg2
= (int) -1 ;
28452 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28453 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28454 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28455 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28456 long arg5
= (long) wxLC_ICON
;
28457 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28458 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28459 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28460 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28461 wxPyListCtrl
*result
= 0 ;
28472 bool temp7
= false ;
28473 PyObject
* obj0
= 0 ;
28474 PyObject
* obj1
= 0 ;
28475 PyObject
* obj2
= 0 ;
28476 PyObject
* obj3
= 0 ;
28477 PyObject
* obj4
= 0 ;
28478 PyObject
* obj5
= 0 ;
28479 PyObject
* obj6
= 0 ;
28480 char * kwnames
[] = {
28481 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28486 if (!SWIG_IsOK(res1
)) {
28487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28489 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28491 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28492 if (!SWIG_IsOK(ecode2
)) {
28493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28495 arg2
= static_cast< int >(val2
);
28500 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28506 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28510 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28511 if (!SWIG_IsOK(ecode5
)) {
28512 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28514 arg5
= static_cast< long >(val5
);
28517 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28518 if (!SWIG_IsOK(res6
)) {
28519 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28524 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28528 arg7
= wxString_in_helper(obj6
);
28529 if (arg7
== NULL
) SWIG_fail
;
28534 if (!wxPyCheckForApp()) SWIG_fail
;
28535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28536 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28537 wxPyEndAllowThreads(__tstate
);
28538 if (PyErr_Occurred()) SWIG_fail
;
28540 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28555 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28556 PyObject
*resultobj
= 0;
28557 wxPyListCtrl
*result
= 0 ;
28559 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28561 if (!wxPyCheckForApp()) SWIG_fail
;
28562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28563 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28564 wxPyEndAllowThreads(__tstate
);
28565 if (PyErr_Occurred()) SWIG_fail
;
28567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28574 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28575 PyObject
*resultobj
= 0;
28576 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28577 wxWindow
*arg2
= (wxWindow
*) 0 ;
28578 int arg3
= (int) -1 ;
28579 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28580 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28581 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28582 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28583 long arg6
= (long) wxLC_ICON
;
28584 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28585 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28586 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28587 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28601 bool temp8
= false ;
28602 PyObject
* obj0
= 0 ;
28603 PyObject
* obj1
= 0 ;
28604 PyObject
* obj2
= 0 ;
28605 PyObject
* obj3
= 0 ;
28606 PyObject
* obj4
= 0 ;
28607 PyObject
* obj5
= 0 ;
28608 PyObject
* obj6
= 0 ;
28609 PyObject
* obj7
= 0 ;
28610 char * kwnames
[] = {
28611 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28616 if (!SWIG_IsOK(res1
)) {
28617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28619 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28620 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28621 if (!SWIG_IsOK(res2
)) {
28622 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28624 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28626 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28627 if (!SWIG_IsOK(ecode3
)) {
28628 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28630 arg3
= static_cast< int >(val3
);
28635 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28641 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28645 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28646 if (!SWIG_IsOK(ecode6
)) {
28647 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28649 arg6
= static_cast< long >(val6
);
28652 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28653 if (!SWIG_IsOK(res7
)) {
28654 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28657 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28659 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28663 arg8
= wxString_in_helper(obj7
);
28664 if (arg8
== NULL
) SWIG_fail
;
28669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28670 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28671 wxPyEndAllowThreads(__tstate
);
28672 if (PyErr_Occurred()) SWIG_fail
;
28675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28691 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28692 PyObject
*resultobj
= 0;
28693 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28694 PyObject
*arg2
= (PyObject
*) 0 ;
28695 PyObject
*arg3
= (PyObject
*) 0 ;
28698 PyObject
* obj0
= 0 ;
28699 PyObject
* obj1
= 0 ;
28700 PyObject
* obj2
= 0 ;
28701 char * kwnames
[] = {
28702 (char *) "self",(char *) "self",(char *) "_class", NULL
28705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28707 if (!SWIG_IsOK(res1
)) {
28708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28710 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28715 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28716 wxPyEndAllowThreads(__tstate
);
28717 if (PyErr_Occurred()) SWIG_fail
;
28719 resultobj
= SWIG_Py_Void();
28726 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28727 PyObject
*resultobj
= 0;
28728 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28730 wxListItem
*result
= 0 ;
28735 PyObject
* obj0
= 0 ;
28736 PyObject
* obj1
= 0 ;
28737 char * kwnames
[] = {
28738 (char *) "self",(char *) "col", NULL
28741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28743 if (!SWIG_IsOK(res1
)) {
28744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28746 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28747 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28748 if (!SWIG_IsOK(ecode2
)) {
28749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28751 arg2
= static_cast< int >(val2
);
28753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28754 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
28755 wxPyEndAllowThreads(__tstate
);
28756 if (PyErr_Occurred()) SWIG_fail
;
28759 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28767 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28768 PyObject
*resultobj
= 0;
28769 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28771 wxListItem
*arg3
= 0 ;
28779 PyObject
* obj0
= 0 ;
28780 PyObject
* obj1
= 0 ;
28781 PyObject
* obj2
= 0 ;
28782 char * kwnames
[] = {
28783 (char *) "self",(char *) "col",(char *) "item", NULL
28786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28788 if (!SWIG_IsOK(res1
)) {
28789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28791 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28792 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28793 if (!SWIG_IsOK(ecode2
)) {
28794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
28796 arg2
= static_cast< int >(val2
);
28797 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
28798 if (!SWIG_IsOK(res3
)) {
28799 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28802 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28804 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
28806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28807 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
28808 wxPyEndAllowThreads(__tstate
);
28809 if (PyErr_Occurred()) SWIG_fail
;
28812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28820 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28821 PyObject
*resultobj
= 0;
28822 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28829 PyObject
* obj0
= 0 ;
28830 PyObject
* obj1
= 0 ;
28831 char * kwnames
[] = {
28832 (char *) "self",(char *) "col", NULL
28835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28837 if (!SWIG_IsOK(res1
)) {
28838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28840 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28841 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28842 if (!SWIG_IsOK(ecode2
)) {
28843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28845 arg2
= static_cast< int >(val2
);
28847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28848 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
28849 wxPyEndAllowThreads(__tstate
);
28850 if (PyErr_Occurred()) SWIG_fail
;
28852 resultobj
= SWIG_From_int(static_cast< int >(result
));
28859 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28860 PyObject
*resultobj
= 0;
28861 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28871 PyObject
* obj0
= 0 ;
28872 PyObject
* obj1
= 0 ;
28873 PyObject
* obj2
= 0 ;
28874 char * kwnames
[] = {
28875 (char *) "self",(char *) "col",(char *) "width", NULL
28878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28880 if (!SWIG_IsOK(res1
)) {
28881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28883 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28885 if (!SWIG_IsOK(ecode2
)) {
28886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28888 arg2
= static_cast< int >(val2
);
28889 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28890 if (!SWIG_IsOK(ecode3
)) {
28891 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
28893 arg3
= static_cast< int >(val3
);
28895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28896 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
28897 wxPyEndAllowThreads(__tstate
);
28898 if (PyErr_Occurred()) SWIG_fail
;
28901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28909 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28910 PyObject
*resultobj
= 0;
28911 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28915 PyObject
*swig_obj
[1] ;
28917 if (!args
) SWIG_fail
;
28918 swig_obj
[0] = args
;
28919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28920 if (!SWIG_IsOK(res1
)) {
28921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28923 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28926 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
28927 wxPyEndAllowThreads(__tstate
);
28928 if (PyErr_Occurred()) SWIG_fail
;
28930 resultobj
= SWIG_From_int(static_cast< int >(result
));
28937 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28938 PyObject
*resultobj
= 0;
28939 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28943 PyObject
*swig_obj
[1] ;
28945 if (!args
) SWIG_fail
;
28946 swig_obj
[0] = args
;
28947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28948 if (!SWIG_IsOK(res1
)) {
28949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28951 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28954 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
28955 wxPyEndAllowThreads(__tstate
);
28956 if (PyErr_Occurred()) SWIG_fail
;
28958 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28965 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28966 PyObject
*resultobj
= 0;
28967 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28968 wxTextCtrl
*result
= 0 ;
28971 PyObject
*swig_obj
[1] ;
28973 if (!args
) SWIG_fail
;
28974 swig_obj
[0] = args
;
28975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28976 if (!SWIG_IsOK(res1
)) {
28977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28979 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28982 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
28983 wxPyEndAllowThreads(__tstate
);
28984 if (PyErr_Occurred()) SWIG_fail
;
28987 resultobj
= wxPyMake_wxObject(result
, 0);
28995 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28996 PyObject
*resultobj
= 0;
28997 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28999 int arg3
= (int) 0 ;
29000 wxListItem
*result
= 0 ;
29007 PyObject
* obj0
= 0 ;
29008 PyObject
* obj1
= 0 ;
29009 PyObject
* obj2
= 0 ;
29010 char * kwnames
[] = {
29011 (char *) "self",(char *) "itemId",(char *) "col", NULL
29014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29016 if (!SWIG_IsOK(res1
)) {
29017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29019 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29020 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29021 if (!SWIG_IsOK(ecode2
)) {
29022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29024 arg2
= static_cast< long >(val2
);
29026 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29027 if (!SWIG_IsOK(ecode3
)) {
29028 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29030 arg3
= static_cast< int >(val3
);
29033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29034 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29035 wxPyEndAllowThreads(__tstate
);
29036 if (PyErr_Occurred()) SWIG_fail
;
29039 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29047 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29048 PyObject
*resultobj
= 0;
29049 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29050 wxListItem
*arg2
= 0 ;
29056 PyObject
* obj0
= 0 ;
29057 PyObject
* obj1
= 0 ;
29058 char * kwnames
[] = {
29059 (char *) "self",(char *) "info", NULL
29062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29064 if (!SWIG_IsOK(res1
)) {
29065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29067 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29068 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29069 if (!SWIG_IsOK(res2
)) {
29070 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29073 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29075 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29078 result
= (bool)(arg1
)->SetItem(*arg2
);
29079 wxPyEndAllowThreads(__tstate
);
29080 if (PyErr_Occurred()) SWIG_fail
;
29083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29091 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29092 PyObject
*resultobj
= 0;
29093 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29096 wxString
*arg4
= 0 ;
29097 int arg5
= (int) -1 ;
29105 bool temp4
= false ;
29108 PyObject
* obj0
= 0 ;
29109 PyObject
* obj1
= 0 ;
29110 PyObject
* obj2
= 0 ;
29111 PyObject
* obj3
= 0 ;
29112 PyObject
* obj4
= 0 ;
29113 char * kwnames
[] = {
29114 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29119 if (!SWIG_IsOK(res1
)) {
29120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29122 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29123 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29124 if (!SWIG_IsOK(ecode2
)) {
29125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29127 arg2
= static_cast< long >(val2
);
29128 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29129 if (!SWIG_IsOK(ecode3
)) {
29130 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29132 arg3
= static_cast< int >(val3
);
29134 arg4
= wxString_in_helper(obj3
);
29135 if (arg4
== NULL
) SWIG_fail
;
29139 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29140 if (!SWIG_IsOK(ecode5
)) {
29141 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29143 arg5
= static_cast< int >(val5
);
29146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29147 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29148 wxPyEndAllowThreads(__tstate
);
29149 if (PyErr_Occurred()) SWIG_fail
;
29151 resultobj
= SWIG_From_long(static_cast< long >(result
));
29166 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29167 PyObject
*resultobj
= 0;
29168 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29178 PyObject
* obj0
= 0 ;
29179 PyObject
* obj1
= 0 ;
29180 PyObject
* obj2
= 0 ;
29181 char * kwnames
[] = {
29182 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29187 if (!SWIG_IsOK(res1
)) {
29188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29190 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29191 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29192 if (!SWIG_IsOK(ecode2
)) {
29193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29195 arg2
= static_cast< long >(val2
);
29196 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29197 if (!SWIG_IsOK(ecode3
)) {
29198 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29200 arg3
= static_cast< long >(val3
);
29202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29203 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29204 wxPyEndAllowThreads(__tstate
);
29205 if (PyErr_Occurred()) SWIG_fail
;
29207 resultobj
= SWIG_From_int(static_cast< int >(result
));
29214 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29215 PyObject
*resultobj
= 0;
29216 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29229 PyObject
* obj0
= 0 ;
29230 PyObject
* obj1
= 0 ;
29231 PyObject
* obj2
= 0 ;
29232 PyObject
* obj3
= 0 ;
29233 char * kwnames
[] = {
29234 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29239 if (!SWIG_IsOK(res1
)) {
29240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29242 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29243 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29244 if (!SWIG_IsOK(ecode2
)) {
29245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29247 arg2
= static_cast< long >(val2
);
29248 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29249 if (!SWIG_IsOK(ecode3
)) {
29250 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29252 arg3
= static_cast< long >(val3
);
29253 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29254 if (!SWIG_IsOK(ecode4
)) {
29255 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29257 arg4
= static_cast< long >(val4
);
29259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29260 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29261 wxPyEndAllowThreads(__tstate
);
29262 if (PyErr_Occurred()) SWIG_fail
;
29265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29273 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29274 PyObject
*resultobj
= 0;
29275 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29278 int arg4
= (int) -1 ;
29288 PyObject
* obj0
= 0 ;
29289 PyObject
* obj1
= 0 ;
29290 PyObject
* obj2
= 0 ;
29291 PyObject
* obj3
= 0 ;
29292 char * kwnames
[] = {
29293 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29298 if (!SWIG_IsOK(res1
)) {
29299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29301 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29302 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29303 if (!SWIG_IsOK(ecode2
)) {
29304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29306 arg2
= static_cast< long >(val2
);
29307 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29308 if (!SWIG_IsOK(ecode3
)) {
29309 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29311 arg3
= static_cast< int >(val3
);
29313 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29314 if (!SWIG_IsOK(ecode4
)) {
29315 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29317 arg4
= static_cast< int >(val4
);
29320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29321 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29322 wxPyEndAllowThreads(__tstate
);
29323 if (PyErr_Occurred()) SWIG_fail
;
29326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29334 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29335 PyObject
*resultobj
= 0;
29336 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29349 PyObject
* obj0
= 0 ;
29350 PyObject
* obj1
= 0 ;
29351 PyObject
* obj2
= 0 ;
29352 PyObject
* obj3
= 0 ;
29353 char * kwnames
[] = {
29354 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29359 if (!SWIG_IsOK(res1
)) {
29360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29362 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29363 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29364 if (!SWIG_IsOK(ecode2
)) {
29365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29367 arg2
= static_cast< long >(val2
);
29368 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29369 if (!SWIG_IsOK(ecode3
)) {
29370 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29372 arg3
= static_cast< long >(val3
);
29373 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29374 if (!SWIG_IsOK(ecode4
)) {
29375 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29377 arg4
= static_cast< int >(val4
);
29379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29380 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29381 wxPyEndAllowThreads(__tstate
);
29382 if (PyErr_Occurred()) SWIG_fail
;
29385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29393 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29394 PyObject
*resultobj
= 0;
29395 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29402 PyObject
* obj0
= 0 ;
29403 PyObject
* obj1
= 0 ;
29404 char * kwnames
[] = {
29405 (char *) "self",(char *) "item", NULL
29408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29410 if (!SWIG_IsOK(res1
)) {
29411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29413 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29414 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29415 if (!SWIG_IsOK(ecode2
)) {
29416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29418 arg2
= static_cast< long >(val2
);
29420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29421 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29422 wxPyEndAllowThreads(__tstate
);
29423 if (PyErr_Occurred()) SWIG_fail
;
29427 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29429 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29438 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29439 PyObject
*resultobj
= 0;
29440 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29442 wxString
*arg3
= 0 ;
29447 bool temp3
= false ;
29448 PyObject
* obj0
= 0 ;
29449 PyObject
* obj1
= 0 ;
29450 PyObject
* obj2
= 0 ;
29451 char * kwnames
[] = {
29452 (char *) "self",(char *) "item",(char *) "str", NULL
29455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29457 if (!SWIG_IsOK(res1
)) {
29458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29460 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29461 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29462 if (!SWIG_IsOK(ecode2
)) {
29463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29465 arg2
= static_cast< long >(val2
);
29467 arg3
= wxString_in_helper(obj2
);
29468 if (arg3
== NULL
) SWIG_fail
;
29472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29473 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29474 wxPyEndAllowThreads(__tstate
);
29475 if (PyErr_Occurred()) SWIG_fail
;
29477 resultobj
= SWIG_Py_Void();
29492 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29493 PyObject
*resultobj
= 0;
29494 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29501 PyObject
* obj0
= 0 ;
29502 PyObject
* obj1
= 0 ;
29503 char * kwnames
[] = {
29504 (char *) "self",(char *) "item", NULL
29507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29509 if (!SWIG_IsOK(res1
)) {
29510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29512 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29513 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29514 if (!SWIG_IsOK(ecode2
)) {
29515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29517 arg2
= static_cast< long >(val2
);
29519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29520 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29521 wxPyEndAllowThreads(__tstate
);
29522 if (PyErr_Occurred()) SWIG_fail
;
29524 resultobj
= SWIG_From_long(static_cast< long >(result
));
29531 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29532 PyObject
*resultobj
= 0;
29533 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29543 PyObject
* obj0
= 0 ;
29544 PyObject
* obj1
= 0 ;
29545 PyObject
* obj2
= 0 ;
29546 char * kwnames
[] = {
29547 (char *) "self",(char *) "item",(char *) "data", NULL
29550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29552 if (!SWIG_IsOK(res1
)) {
29553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29555 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29556 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29557 if (!SWIG_IsOK(ecode2
)) {
29558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29560 arg2
= static_cast< long >(val2
);
29561 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29562 if (!SWIG_IsOK(ecode3
)) {
29563 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29565 arg3
= static_cast< long >(val3
);
29567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29568 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29569 wxPyEndAllowThreads(__tstate
);
29570 if (PyErr_Occurred()) SWIG_fail
;
29573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29581 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29582 PyObject
*resultobj
= 0;
29583 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29590 PyObject
* obj0
= 0 ;
29591 PyObject
* obj1
= 0 ;
29592 char * kwnames
[] = {
29593 (char *) "self",(char *) "item", NULL
29596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29598 if (!SWIG_IsOK(res1
)) {
29599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29601 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29602 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29603 if (!SWIG_IsOK(ecode2
)) {
29604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29606 arg2
= static_cast< long >(val2
);
29608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29609 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29610 wxPyEndAllowThreads(__tstate
);
29611 if (PyErr_Occurred()) SWIG_fail
;
29613 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29620 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29621 PyObject
*resultobj
= 0;
29622 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29624 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29632 PyObject
* obj0
= 0 ;
29633 PyObject
* obj1
= 0 ;
29634 PyObject
* obj2
= 0 ;
29635 char * kwnames
[] = {
29636 (char *) "self",(char *) "item",(char *) "code", NULL
29639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29641 if (!SWIG_IsOK(res1
)) {
29642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29644 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29645 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29646 if (!SWIG_IsOK(ecode2
)) {
29647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29649 arg2
= static_cast< long >(val2
);
29651 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29652 if (!SWIG_IsOK(ecode3
)) {
29653 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29655 arg3
= static_cast< int >(val3
);
29658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29659 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29660 wxPyEndAllowThreads(__tstate
);
29661 if (PyErr_Occurred()) SWIG_fail
;
29663 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29670 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29671 PyObject
*resultobj
= 0;
29672 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29674 wxPoint
*arg3
= 0 ;
29681 PyObject
* obj0
= 0 ;
29682 PyObject
* obj1
= 0 ;
29683 PyObject
* obj2
= 0 ;
29684 char * kwnames
[] = {
29685 (char *) "self",(char *) "item",(char *) "pos", NULL
29688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29690 if (!SWIG_IsOK(res1
)) {
29691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29693 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29694 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29695 if (!SWIG_IsOK(ecode2
)) {
29696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29698 arg2
= static_cast< long >(val2
);
29701 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29705 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
29706 wxPyEndAllowThreads(__tstate
);
29707 if (PyErr_Occurred()) SWIG_fail
;
29710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29718 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29719 PyObject
*resultobj
= 0;
29720 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29724 PyObject
*swig_obj
[1] ;
29726 if (!args
) SWIG_fail
;
29727 swig_obj
[0] = args
;
29728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29729 if (!SWIG_IsOK(res1
)) {
29730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29732 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29735 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
29736 wxPyEndAllowThreads(__tstate
);
29737 if (PyErr_Occurred()) SWIG_fail
;
29739 resultobj
= SWIG_From_int(static_cast< int >(result
));
29746 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29747 PyObject
*resultobj
= 0;
29748 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29752 PyObject
*swig_obj
[1] ;
29754 if (!args
) SWIG_fail
;
29755 swig_obj
[0] = args
;
29756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29757 if (!SWIG_IsOK(res1
)) {
29758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29760 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29763 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
29764 wxPyEndAllowThreads(__tstate
);
29765 if (PyErr_Occurred()) SWIG_fail
;
29767 resultobj
= SWIG_From_int(static_cast< int >(result
));
29774 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29775 PyObject
*resultobj
= 0;
29776 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29780 PyObject
*swig_obj
[1] ;
29782 if (!args
) SWIG_fail
;
29783 swig_obj
[0] = args
;
29784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29785 if (!SWIG_IsOK(res1
)) {
29786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29788 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29791 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
29792 wxPyEndAllowThreads(__tstate
);
29793 if (PyErr_Occurred()) SWIG_fail
;
29795 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
29802 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29803 PyObject
*resultobj
= 0;
29804 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29806 bool arg3
= (bool) false ;
29813 PyObject
* obj0
= 0 ;
29814 PyObject
* obj1
= 0 ;
29815 PyObject
* obj2
= 0 ;
29816 char * kwnames
[] = {
29817 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
29820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29822 if (!SWIG_IsOK(res1
)) {
29823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29825 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29826 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29827 if (!SWIG_IsOK(ecode2
)) {
29828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
29830 arg2
= static_cast< int >(val2
);
29832 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29833 if (!SWIG_IsOK(ecode3
)) {
29834 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
29836 arg3
= static_cast< bool >(val3
);
29839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29840 (arg1
)->SetItemSpacing(arg2
,arg3
);
29841 wxPyEndAllowThreads(__tstate
);
29842 if (PyErr_Occurred()) SWIG_fail
;
29844 resultobj
= SWIG_Py_Void();
29851 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29852 PyObject
*resultobj
= 0;
29853 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29857 PyObject
*swig_obj
[1] ;
29859 if (!args
) SWIG_fail
;
29860 swig_obj
[0] = args
;
29861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29862 if (!SWIG_IsOK(res1
)) {
29863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29865 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29868 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
29869 wxPyEndAllowThreads(__tstate
);
29870 if (PyErr_Occurred()) SWIG_fail
;
29872 resultobj
= SWIG_From_int(static_cast< int >(result
));
29879 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29880 PyObject
*resultobj
= 0;
29881 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29885 PyObject
*swig_obj
[1] ;
29887 if (!args
) SWIG_fail
;
29888 swig_obj
[0] = args
;
29889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29890 if (!SWIG_IsOK(res1
)) {
29891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29893 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29896 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
29897 wxPyEndAllowThreads(__tstate
);
29898 if (PyErr_Occurred()) SWIG_fail
;
29900 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29907 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29908 PyObject
*resultobj
= 0;
29909 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29910 wxColour
*arg2
= 0 ;
29914 PyObject
* obj0
= 0 ;
29915 PyObject
* obj1
= 0 ;
29916 char * kwnames
[] = {
29917 (char *) "self",(char *) "col", NULL
29920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29922 if (!SWIG_IsOK(res1
)) {
29923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29925 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29928 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29932 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
29933 wxPyEndAllowThreads(__tstate
);
29934 if (PyErr_Occurred()) SWIG_fail
;
29936 resultobj
= SWIG_Py_Void();
29943 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29944 PyObject
*resultobj
= 0;
29945 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29949 PyObject
*swig_obj
[1] ;
29951 if (!args
) SWIG_fail
;
29952 swig_obj
[0] = args
;
29953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29954 if (!SWIG_IsOK(res1
)) {
29955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29957 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29960 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
29961 wxPyEndAllowThreads(__tstate
);
29962 if (PyErr_Occurred()) SWIG_fail
;
29964 resultobj
= SWIG_From_long(static_cast< long >(result
));
29971 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29972 PyObject
*resultobj
= 0;
29973 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29975 bool arg3
= (bool) true ;
29982 PyObject
* obj0
= 0 ;
29983 PyObject
* obj1
= 0 ;
29984 PyObject
* obj2
= 0 ;
29985 char * kwnames
[] = {
29986 (char *) "self",(char *) "style",(char *) "add", NULL
29989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29991 if (!SWIG_IsOK(res1
)) {
29992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29994 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29995 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29996 if (!SWIG_IsOK(ecode2
)) {
29997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
29999 arg2
= static_cast< long >(val2
);
30001 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30002 if (!SWIG_IsOK(ecode3
)) {
30003 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30005 arg3
= static_cast< bool >(val3
);
30008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30009 (arg1
)->SetSingleStyle(arg2
,arg3
);
30010 wxPyEndAllowThreads(__tstate
);
30011 if (PyErr_Occurred()) SWIG_fail
;
30013 resultobj
= SWIG_Py_Void();
30020 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30021 PyObject
*resultobj
= 0;
30022 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30024 int arg3
= (int) wxLIST_NEXT_ALL
;
30025 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30035 PyObject
* obj0
= 0 ;
30036 PyObject
* obj1
= 0 ;
30037 PyObject
* obj2
= 0 ;
30038 PyObject
* obj3
= 0 ;
30039 char * kwnames
[] = {
30040 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30045 if (!SWIG_IsOK(res1
)) {
30046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30048 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30049 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30050 if (!SWIG_IsOK(ecode2
)) {
30051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30053 arg2
= static_cast< long >(val2
);
30055 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30056 if (!SWIG_IsOK(ecode3
)) {
30057 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30059 arg3
= static_cast< int >(val3
);
30062 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30063 if (!SWIG_IsOK(ecode4
)) {
30064 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30066 arg4
= static_cast< int >(val4
);
30069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30070 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30071 wxPyEndAllowThreads(__tstate
);
30072 if (PyErr_Occurred()) SWIG_fail
;
30074 resultobj
= SWIG_From_long(static_cast< long >(result
));
30081 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30082 PyObject
*resultobj
= 0;
30083 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30085 wxImageList
*result
= 0 ;
30090 PyObject
* obj0
= 0 ;
30091 PyObject
* obj1
= 0 ;
30092 char * kwnames
[] = {
30093 (char *) "self",(char *) "which", NULL
30096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30098 if (!SWIG_IsOK(res1
)) {
30099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30101 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30103 if (!SWIG_IsOK(ecode2
)) {
30104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30106 arg2
= static_cast< int >(val2
);
30108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30109 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30110 wxPyEndAllowThreads(__tstate
);
30111 if (PyErr_Occurred()) SWIG_fail
;
30114 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30122 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30123 PyObject
*resultobj
= 0;
30124 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30125 wxImageList
*arg2
= (wxImageList
*) 0 ;
30133 PyObject
* obj0
= 0 ;
30134 PyObject
* obj1
= 0 ;
30135 PyObject
* obj2
= 0 ;
30136 char * kwnames
[] = {
30137 (char *) "self",(char *) "imageList",(char *) "which", NULL
30140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30142 if (!SWIG_IsOK(res1
)) {
30143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30145 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30146 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30147 if (!SWIG_IsOK(res2
)) {
30148 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30150 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30151 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30152 if (!SWIG_IsOK(ecode3
)) {
30153 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30155 arg3
= static_cast< int >(val3
);
30157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30158 (arg1
)->SetImageList(arg2
,arg3
);
30159 wxPyEndAllowThreads(__tstate
);
30160 if (PyErr_Occurred()) SWIG_fail
;
30162 resultobj
= SWIG_Py_Void();
30169 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30170 PyObject
*resultobj
= 0;
30171 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30172 wxImageList
*arg2
= (wxImageList
*) 0 ;
30179 PyObject
* obj0
= 0 ;
30180 PyObject
* obj1
= 0 ;
30181 PyObject
* obj2
= 0 ;
30182 char * kwnames
[] = {
30183 (char *) "self",(char *) "imageList",(char *) "which", NULL
30186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30188 if (!SWIG_IsOK(res1
)) {
30189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30191 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30192 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30193 if (!SWIG_IsOK(res2
)) {
30194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30196 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30197 if (!SWIG_IsOK(ecode3
)) {
30198 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30200 arg3
= static_cast< int >(val3
);
30202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30203 (arg1
)->AssignImageList(arg2
,arg3
);
30204 wxPyEndAllowThreads(__tstate
);
30205 if (PyErr_Occurred()) SWIG_fail
;
30207 resultobj
= SWIG_Py_Void();
30214 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30215 PyObject
*resultobj
= 0;
30216 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30220 PyObject
*swig_obj
[1] ;
30222 if (!args
) SWIG_fail
;
30223 swig_obj
[0] = args
;
30224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30225 if (!SWIG_IsOK(res1
)) {
30226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30228 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30231 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30232 wxPyEndAllowThreads(__tstate
);
30233 if (PyErr_Occurred()) SWIG_fail
;
30236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30244 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30245 PyObject
*resultobj
= 0;
30246 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30250 PyObject
*swig_obj
[1] ;
30252 if (!args
) SWIG_fail
;
30253 swig_obj
[0] = args
;
30254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30255 if (!SWIG_IsOK(res1
)) {
30256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30258 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30261 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30262 wxPyEndAllowThreads(__tstate
);
30263 if (PyErr_Occurred()) SWIG_fail
;
30266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30274 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30275 PyObject
*resultobj
= 0;
30276 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30282 PyObject
* obj0
= 0 ;
30283 PyObject
* obj1
= 0 ;
30284 char * kwnames
[] = {
30285 (char *) "self",(char *) "item", NULL
30288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30290 if (!SWIG_IsOK(res1
)) {
30291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30293 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30294 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30295 if (!SWIG_IsOK(ecode2
)) {
30296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30298 arg2
= static_cast< long >(val2
);
30300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30301 (arg1
)->RefreshItem(arg2
);
30302 wxPyEndAllowThreads(__tstate
);
30303 if (PyErr_Occurred()) SWIG_fail
;
30305 resultobj
= SWIG_Py_Void();
30312 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30313 PyObject
*resultobj
= 0;
30314 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30323 PyObject
* obj0
= 0 ;
30324 PyObject
* obj1
= 0 ;
30325 PyObject
* obj2
= 0 ;
30326 char * kwnames
[] = {
30327 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30332 if (!SWIG_IsOK(res1
)) {
30333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30335 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30336 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30337 if (!SWIG_IsOK(ecode2
)) {
30338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30340 arg2
= static_cast< long >(val2
);
30341 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30342 if (!SWIG_IsOK(ecode3
)) {
30343 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30345 arg3
= static_cast< long >(val3
);
30347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30348 (arg1
)->RefreshItems(arg2
,arg3
);
30349 wxPyEndAllowThreads(__tstate
);
30350 if (PyErr_Occurred()) SWIG_fail
;
30352 resultobj
= SWIG_Py_Void();
30359 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30360 PyObject
*resultobj
= 0;
30361 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30362 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30368 PyObject
* obj0
= 0 ;
30369 PyObject
* obj1
= 0 ;
30370 char * kwnames
[] = {
30371 (char *) "self",(char *) "flag", NULL
30374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30376 if (!SWIG_IsOK(res1
)) {
30377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30379 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30382 if (!SWIG_IsOK(ecode2
)) {
30383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30385 arg2
= static_cast< int >(val2
);
30388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30389 result
= (bool)(arg1
)->Arrange(arg2
);
30390 wxPyEndAllowThreads(__tstate
);
30391 if (PyErr_Occurred()) SWIG_fail
;
30394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30402 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30403 PyObject
*resultobj
= 0;
30404 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30411 PyObject
* obj0
= 0 ;
30412 PyObject
* obj1
= 0 ;
30413 char * kwnames
[] = {
30414 (char *) "self",(char *) "item", NULL
30417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30419 if (!SWIG_IsOK(res1
)) {
30420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30422 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30423 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30424 if (!SWIG_IsOK(ecode2
)) {
30425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30427 arg2
= static_cast< long >(val2
);
30429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30430 result
= (bool)(arg1
)->DeleteItem(arg2
);
30431 wxPyEndAllowThreads(__tstate
);
30432 if (PyErr_Occurred()) SWIG_fail
;
30435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30443 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30444 PyObject
*resultobj
= 0;
30445 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30449 PyObject
*swig_obj
[1] ;
30451 if (!args
) SWIG_fail
;
30452 swig_obj
[0] = args
;
30453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30454 if (!SWIG_IsOK(res1
)) {
30455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30457 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30460 result
= (bool)(arg1
)->DeleteAllItems();
30461 wxPyEndAllowThreads(__tstate
);
30462 if (PyErr_Occurred()) SWIG_fail
;
30465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30473 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30474 PyObject
*resultobj
= 0;
30475 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30482 PyObject
* obj0
= 0 ;
30483 PyObject
* obj1
= 0 ;
30484 char * kwnames
[] = {
30485 (char *) "self",(char *) "col", NULL
30488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30490 if (!SWIG_IsOK(res1
)) {
30491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30493 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30494 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30495 if (!SWIG_IsOK(ecode2
)) {
30496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30498 arg2
= static_cast< int >(val2
);
30500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30501 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30502 wxPyEndAllowThreads(__tstate
);
30503 if (PyErr_Occurred()) SWIG_fail
;
30506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30514 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30515 PyObject
*resultobj
= 0;
30516 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30520 PyObject
*swig_obj
[1] ;
30522 if (!args
) SWIG_fail
;
30523 swig_obj
[0] = args
;
30524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30525 if (!SWIG_IsOK(res1
)) {
30526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30528 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30531 result
= (bool)(arg1
)->DeleteAllColumns();
30532 wxPyEndAllowThreads(__tstate
);
30533 if (PyErr_Occurred()) SWIG_fail
;
30536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30544 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30545 PyObject
*resultobj
= 0;
30546 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30549 PyObject
*swig_obj
[1] ;
30551 if (!args
) SWIG_fail
;
30552 swig_obj
[0] = args
;
30553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30554 if (!SWIG_IsOK(res1
)) {
30555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30557 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30560 (arg1
)->ClearAll();
30561 wxPyEndAllowThreads(__tstate
);
30562 if (PyErr_Occurred()) SWIG_fail
;
30564 resultobj
= SWIG_Py_Void();
30571 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30572 PyObject
*resultobj
= 0;
30573 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30579 PyObject
* obj0
= 0 ;
30580 PyObject
* obj1
= 0 ;
30581 char * kwnames
[] = {
30582 (char *) "self",(char *) "item", NULL
30585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30587 if (!SWIG_IsOK(res1
)) {
30588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30590 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30591 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30592 if (!SWIG_IsOK(ecode2
)) {
30593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30595 arg2
= static_cast< long >(val2
);
30597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30598 (arg1
)->EditLabel(arg2
);
30599 wxPyEndAllowThreads(__tstate
);
30600 if (PyErr_Occurred()) SWIG_fail
;
30602 resultobj
= SWIG_Py_Void();
30609 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30610 PyObject
*resultobj
= 0;
30611 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30618 PyObject
* obj0
= 0 ;
30619 PyObject
* obj1
= 0 ;
30620 char * kwnames
[] = {
30621 (char *) "self",(char *) "item", NULL
30624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30626 if (!SWIG_IsOK(res1
)) {
30627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30629 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30630 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30631 if (!SWIG_IsOK(ecode2
)) {
30632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30634 arg2
= static_cast< long >(val2
);
30636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30637 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30638 wxPyEndAllowThreads(__tstate
);
30639 if (PyErr_Occurred()) SWIG_fail
;
30642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30650 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30651 PyObject
*resultobj
= 0;
30652 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30654 wxString
*arg3
= 0 ;
30655 bool arg4
= (bool) false ;
30661 bool temp3
= false ;
30664 PyObject
* obj0
= 0 ;
30665 PyObject
* obj1
= 0 ;
30666 PyObject
* obj2
= 0 ;
30667 PyObject
* obj3
= 0 ;
30668 char * kwnames
[] = {
30669 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30674 if (!SWIG_IsOK(res1
)) {
30675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30677 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30678 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30679 if (!SWIG_IsOK(ecode2
)) {
30680 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30682 arg2
= static_cast< long >(val2
);
30684 arg3
= wxString_in_helper(obj2
);
30685 if (arg3
== NULL
) SWIG_fail
;
30689 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30690 if (!SWIG_IsOK(ecode4
)) {
30691 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30693 arg4
= static_cast< bool >(val4
);
30696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30697 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
30698 wxPyEndAllowThreads(__tstate
);
30699 if (PyErr_Occurred()) SWIG_fail
;
30701 resultobj
= SWIG_From_long(static_cast< long >(result
));
30716 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30717 PyObject
*resultobj
= 0;
30718 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30728 PyObject
* obj0
= 0 ;
30729 PyObject
* obj1
= 0 ;
30730 PyObject
* obj2
= 0 ;
30731 char * kwnames
[] = {
30732 (char *) "self",(char *) "start",(char *) "data", NULL
30735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30737 if (!SWIG_IsOK(res1
)) {
30738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30740 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30741 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30742 if (!SWIG_IsOK(ecode2
)) {
30743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
30745 arg2
= static_cast< long >(val2
);
30746 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30747 if (!SWIG_IsOK(ecode3
)) {
30748 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
30750 arg3
= static_cast< long >(val3
);
30752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30753 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
30754 wxPyEndAllowThreads(__tstate
);
30755 if (PyErr_Occurred()) SWIG_fail
;
30757 resultobj
= SWIG_From_long(static_cast< long >(result
));
30764 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30765 PyObject
*resultobj
= 0;
30766 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30768 wxPoint
*arg3
= 0 ;
30778 PyObject
* obj0
= 0 ;
30779 PyObject
* obj1
= 0 ;
30780 PyObject
* obj2
= 0 ;
30781 PyObject
* obj3
= 0 ;
30782 char * kwnames
[] = {
30783 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
30786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30788 if (!SWIG_IsOK(res1
)) {
30789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30791 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30792 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30793 if (!SWIG_IsOK(ecode2
)) {
30794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
30796 arg2
= static_cast< long >(val2
);
30799 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30801 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30802 if (!SWIG_IsOK(ecode4
)) {
30803 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
30805 arg4
= static_cast< int >(val4
);
30807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30808 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
30809 wxPyEndAllowThreads(__tstate
);
30810 if (PyErr_Occurred()) SWIG_fail
;
30812 resultobj
= SWIG_From_long(static_cast< long >(result
));
30819 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30820 PyObject
*resultobj
= 0;
30821 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30822 wxPoint
*arg2
= 0 ;
30829 int res3
= SWIG_TMPOBJ
;
30830 PyObject
* obj0
= 0 ;
30831 PyObject
* obj1
= 0 ;
30832 char * kwnames
[] = {
30833 (char *) "self",(char *) "point", NULL
30837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30839 if (!SWIG_IsOK(res1
)) {
30840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30842 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30845 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30849 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30850 wxPyEndAllowThreads(__tstate
);
30851 if (PyErr_Occurred()) SWIG_fail
;
30853 resultobj
= SWIG_From_long(static_cast< long >(result
));
30854 if (SWIG_IsTmpObj(res3
)) {
30855 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30857 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30858 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30866 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30867 PyObject
*resultobj
= 0;
30868 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30869 wxPoint
*arg2
= 0 ;
30871 long *arg4
= (long *) 0 ;
30877 int res3
= SWIG_TMPOBJ
;
30879 int res4
= SWIG_TMPOBJ
;
30880 PyObject
* obj0
= 0 ;
30881 PyObject
* obj1
= 0 ;
30882 char * kwnames
[] = {
30883 (char *) "self",(char *) "point", NULL
30888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30890 if (!SWIG_IsOK(res1
)) {
30891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30893 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30896 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30900 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
30901 wxPyEndAllowThreads(__tstate
);
30902 if (PyErr_Occurred()) SWIG_fail
;
30904 resultobj
= SWIG_From_long(static_cast< long >(result
));
30905 if (SWIG_IsTmpObj(res3
)) {
30906 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30908 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30909 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30911 if (SWIG_IsTmpObj(res4
)) {
30912 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
30914 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30915 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
30923 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30924 PyObject
*resultobj
= 0;
30925 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30926 wxListItem
*arg2
= 0 ;
30932 PyObject
* obj0
= 0 ;
30933 PyObject
* obj1
= 0 ;
30934 char * kwnames
[] = {
30935 (char *) "self",(char *) "info", NULL
30938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30940 if (!SWIG_IsOK(res1
)) {
30941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30943 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30944 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
30945 if (!SWIG_IsOK(res2
)) {
30946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30949 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30951 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
30953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30954 result
= (long)(arg1
)->InsertItem(*arg2
);
30955 wxPyEndAllowThreads(__tstate
);
30956 if (PyErr_Occurred()) SWIG_fail
;
30958 resultobj
= SWIG_From_long(static_cast< long >(result
));
30965 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30966 PyObject
*resultobj
= 0;
30967 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30969 wxString
*arg3
= 0 ;
30970 int arg4
= (int) -1 ;
30976 bool temp3
= false ;
30979 PyObject
* obj0
= 0 ;
30980 PyObject
* obj1
= 0 ;
30981 PyObject
* obj2
= 0 ;
30982 PyObject
* obj3
= 0 ;
30983 char * kwnames
[] = {
30984 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
30987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30989 if (!SWIG_IsOK(res1
)) {
30990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30992 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30993 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30994 if (!SWIG_IsOK(ecode2
)) {
30995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
30997 arg2
= static_cast< long >(val2
);
30999 arg3
= wxString_in_helper(obj2
);
31000 if (arg3
== NULL
) SWIG_fail
;
31004 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31005 if (!SWIG_IsOK(ecode4
)) {
31006 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31008 arg4
= static_cast< int >(val4
);
31011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31012 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31013 wxPyEndAllowThreads(__tstate
);
31014 if (PyErr_Occurred()) SWIG_fail
;
31016 resultobj
= SWIG_From_long(static_cast< long >(result
));
31031 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31032 PyObject
*resultobj
= 0;
31033 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31043 PyObject
* obj0
= 0 ;
31044 PyObject
* obj1
= 0 ;
31045 PyObject
* obj2
= 0 ;
31046 char * kwnames
[] = {
31047 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31052 if (!SWIG_IsOK(res1
)) {
31053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31055 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31056 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31057 if (!SWIG_IsOK(ecode2
)) {
31058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31060 arg2
= static_cast< long >(val2
);
31061 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31062 if (!SWIG_IsOK(ecode3
)) {
31063 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31065 arg3
= static_cast< int >(val3
);
31067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31068 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31069 wxPyEndAllowThreads(__tstate
);
31070 if (PyErr_Occurred()) SWIG_fail
;
31072 resultobj
= SWIG_From_long(static_cast< long >(result
));
31079 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31080 PyObject
*resultobj
= 0;
31081 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31083 wxString
*arg3
= 0 ;
31090 bool temp3
= false ;
31093 PyObject
* obj0
= 0 ;
31094 PyObject
* obj1
= 0 ;
31095 PyObject
* obj2
= 0 ;
31096 PyObject
* obj3
= 0 ;
31097 char * kwnames
[] = {
31098 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31103 if (!SWIG_IsOK(res1
)) {
31104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31106 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31107 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31108 if (!SWIG_IsOK(ecode2
)) {
31109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31111 arg2
= static_cast< long >(val2
);
31113 arg3
= wxString_in_helper(obj2
);
31114 if (arg3
== NULL
) SWIG_fail
;
31117 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31118 if (!SWIG_IsOK(ecode4
)) {
31119 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31121 arg4
= static_cast< int >(val4
);
31123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31124 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31125 wxPyEndAllowThreads(__tstate
);
31126 if (PyErr_Occurred()) SWIG_fail
;
31128 resultobj
= SWIG_From_long(static_cast< long >(result
));
31143 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31144 PyObject
*resultobj
= 0;
31145 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31147 wxListItem
*arg3
= 0 ;
31155 PyObject
* obj0
= 0 ;
31156 PyObject
* obj1
= 0 ;
31157 PyObject
* obj2
= 0 ;
31158 char * kwnames
[] = {
31159 (char *) "self",(char *) "col",(char *) "info", NULL
31162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31164 if (!SWIG_IsOK(res1
)) {
31165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31167 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31168 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31169 if (!SWIG_IsOK(ecode2
)) {
31170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31172 arg2
= static_cast< long >(val2
);
31173 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31174 if (!SWIG_IsOK(res3
)) {
31175 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31178 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31180 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31183 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31184 wxPyEndAllowThreads(__tstate
);
31185 if (PyErr_Occurred()) SWIG_fail
;
31187 resultobj
= SWIG_From_long(static_cast< long >(result
));
31194 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31195 PyObject
*resultobj
= 0;
31196 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31198 wxString
*arg3
= 0 ;
31199 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31200 int arg5
= (int) -1 ;
31206 bool temp3
= false ;
31211 PyObject
* obj0
= 0 ;
31212 PyObject
* obj1
= 0 ;
31213 PyObject
* obj2
= 0 ;
31214 PyObject
* obj3
= 0 ;
31215 PyObject
* obj4
= 0 ;
31216 char * kwnames
[] = {
31217 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31222 if (!SWIG_IsOK(res1
)) {
31223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31225 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31226 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31227 if (!SWIG_IsOK(ecode2
)) {
31228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31230 arg2
= static_cast< long >(val2
);
31232 arg3
= wxString_in_helper(obj2
);
31233 if (arg3
== NULL
) SWIG_fail
;
31237 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31238 if (!SWIG_IsOK(ecode4
)) {
31239 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31241 arg4
= static_cast< int >(val4
);
31244 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31245 if (!SWIG_IsOK(ecode5
)) {
31246 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31248 arg5
= static_cast< int >(val5
);
31251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31252 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31253 wxPyEndAllowThreads(__tstate
);
31254 if (PyErr_Occurred()) SWIG_fail
;
31256 resultobj
= SWIG_From_long(static_cast< long >(result
));
31271 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31272 PyObject
*resultobj
= 0;
31273 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31279 PyObject
* obj0
= 0 ;
31280 PyObject
* obj1
= 0 ;
31281 char * kwnames
[] = {
31282 (char *) "self",(char *) "count", NULL
31285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31287 if (!SWIG_IsOK(res1
)) {
31288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31290 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31291 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31292 if (!SWIG_IsOK(ecode2
)) {
31293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31295 arg2
= static_cast< long >(val2
);
31297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31298 (arg1
)->SetItemCount(arg2
);
31299 wxPyEndAllowThreads(__tstate
);
31300 if (PyErr_Occurred()) SWIG_fail
;
31302 resultobj
= SWIG_Py_Void();
31309 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31310 PyObject
*resultobj
= 0;
31311 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31321 PyObject
* obj0
= 0 ;
31322 PyObject
* obj1
= 0 ;
31323 PyObject
* obj2
= 0 ;
31324 char * kwnames
[] = {
31325 (char *) "self",(char *) "dx",(char *) "dy", NULL
31328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31330 if (!SWIG_IsOK(res1
)) {
31331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31333 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31334 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31335 if (!SWIG_IsOK(ecode2
)) {
31336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31338 arg2
= static_cast< int >(val2
);
31339 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31340 if (!SWIG_IsOK(ecode3
)) {
31341 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31343 arg3
= static_cast< int >(val3
);
31345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31346 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31347 wxPyEndAllowThreads(__tstate
);
31348 if (PyErr_Occurred()) SWIG_fail
;
31351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31359 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31360 PyObject
*resultobj
= 0;
31361 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31363 wxColour
*arg3
= 0 ;
31369 PyObject
* obj0
= 0 ;
31370 PyObject
* obj1
= 0 ;
31371 PyObject
* obj2
= 0 ;
31372 char * kwnames
[] = {
31373 (char *) "self",(char *) "item",(char *) "col", NULL
31376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31378 if (!SWIG_IsOK(res1
)) {
31379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31381 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31382 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31383 if (!SWIG_IsOK(ecode2
)) {
31384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31386 arg2
= static_cast< long >(val2
);
31389 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31393 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31394 wxPyEndAllowThreads(__tstate
);
31395 if (PyErr_Occurred()) SWIG_fail
;
31397 resultobj
= SWIG_Py_Void();
31404 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31405 PyObject
*resultobj
= 0;
31406 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31413 PyObject
* obj0
= 0 ;
31414 PyObject
* obj1
= 0 ;
31415 char * kwnames
[] = {
31416 (char *) "self",(char *) "item", NULL
31419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31421 if (!SWIG_IsOK(res1
)) {
31422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31424 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31425 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31426 if (!SWIG_IsOK(ecode2
)) {
31427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31429 arg2
= static_cast< long >(val2
);
31431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31432 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31433 wxPyEndAllowThreads(__tstate
);
31434 if (PyErr_Occurred()) SWIG_fail
;
31436 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31443 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31444 PyObject
*resultobj
= 0;
31445 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31447 wxColour
*arg3
= 0 ;
31453 PyObject
* obj0
= 0 ;
31454 PyObject
* obj1
= 0 ;
31455 PyObject
* obj2
= 0 ;
31456 char * kwnames
[] = {
31457 (char *) "self",(char *) "item",(char *) "col", NULL
31460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31462 if (!SWIG_IsOK(res1
)) {
31463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31465 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31466 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31467 if (!SWIG_IsOK(ecode2
)) {
31468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31470 arg2
= static_cast< long >(val2
);
31473 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31477 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31478 wxPyEndAllowThreads(__tstate
);
31479 if (PyErr_Occurred()) SWIG_fail
;
31481 resultobj
= SWIG_Py_Void();
31488 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31489 PyObject
*resultobj
= 0;
31490 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31497 PyObject
* obj0
= 0 ;
31498 PyObject
* obj1
= 0 ;
31499 char * kwnames
[] = {
31500 (char *) "self",(char *) "item", NULL
31503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31505 if (!SWIG_IsOK(res1
)) {
31506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31508 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31509 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31510 if (!SWIG_IsOK(ecode2
)) {
31511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31513 arg2
= static_cast< long >(val2
);
31515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31516 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31517 wxPyEndAllowThreads(__tstate
);
31518 if (PyErr_Occurred()) SWIG_fail
;
31520 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31527 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31528 PyObject
*resultobj
= 0;
31529 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31538 PyObject
* obj0
= 0 ;
31539 PyObject
* obj1
= 0 ;
31540 PyObject
* obj2
= 0 ;
31541 char * kwnames
[] = {
31542 (char *) "self",(char *) "item",(char *) "f", NULL
31545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31547 if (!SWIG_IsOK(res1
)) {
31548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31550 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31551 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31552 if (!SWIG_IsOK(ecode2
)) {
31553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31555 arg2
= static_cast< long >(val2
);
31556 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31557 if (!SWIG_IsOK(res3
)) {
31558 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31561 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31563 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31566 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31567 wxPyEndAllowThreads(__tstate
);
31568 if (PyErr_Occurred()) SWIG_fail
;
31570 resultobj
= SWIG_Py_Void();
31577 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31578 PyObject
*resultobj
= 0;
31579 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31586 PyObject
* obj0
= 0 ;
31587 PyObject
* obj1
= 0 ;
31588 char * kwnames
[] = {
31589 (char *) "self",(char *) "item", NULL
31592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31594 if (!SWIG_IsOK(res1
)) {
31595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31597 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31598 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31599 if (!SWIG_IsOK(ecode2
)) {
31600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31602 arg2
= static_cast< long >(val2
);
31604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31605 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31606 wxPyEndAllowThreads(__tstate
);
31607 if (PyErr_Occurred()) SWIG_fail
;
31609 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31616 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31617 PyObject
*resultobj
= 0;
31618 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31619 PyObject
*arg2
= (PyObject
*) 0 ;
31623 PyObject
* obj0
= 0 ;
31624 PyObject
* obj1
= 0 ;
31625 char * kwnames
[] = {
31626 (char *) "self",(char *) "func", NULL
31629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31631 if (!SWIG_IsOK(res1
)) {
31632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31634 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31638 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31639 wxPyEndAllowThreads(__tstate
);
31640 if (PyErr_Occurred()) SWIG_fail
;
31643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31651 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31652 PyObject
*resultobj
= 0;
31653 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31654 wxWindow
*result
= 0 ;
31657 PyObject
*swig_obj
[1] ;
31659 if (!args
) SWIG_fail
;
31660 swig_obj
[0] = args
;
31661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31662 if (!SWIG_IsOK(res1
)) {
31663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31665 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31668 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31669 wxPyEndAllowThreads(__tstate
);
31670 if (PyErr_Occurred()) SWIG_fail
;
31673 resultobj
= wxPyMake_wxObject(result
, 0);
31681 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31682 PyObject
*resultobj
= 0;
31683 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31684 SwigValueWrapper
<wxVisualAttributes
> result
;
31687 PyObject
* obj0
= 0 ;
31688 char * kwnames
[] = {
31689 (char *) "variant", NULL
31692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
31694 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31695 if (!SWIG_IsOK(ecode1
)) {
31696 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31698 arg1
= static_cast< wxWindowVariant
>(val1
);
31701 if (!wxPyCheckForApp()) SWIG_fail
;
31702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31703 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
31704 wxPyEndAllowThreads(__tstate
);
31705 if (PyErr_Occurred()) SWIG_fail
;
31707 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
31714 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31716 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31717 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
31718 return SWIG_Py_Void();
31721 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31722 return SWIG_Python_InitShadowInstance(args
);
31725 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31726 PyObject
*resultobj
= 0;
31727 wxWindow
*arg1
= (wxWindow
*) 0 ;
31728 int arg2
= (int) -1 ;
31729 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31730 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31731 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31732 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31733 long arg5
= (long) wxLC_REPORT
;
31734 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31735 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31736 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
31737 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31738 wxListView
*result
= 0 ;
31749 bool temp7
= false ;
31750 PyObject
* obj0
= 0 ;
31751 PyObject
* obj1
= 0 ;
31752 PyObject
* obj2
= 0 ;
31753 PyObject
* obj3
= 0 ;
31754 PyObject
* obj4
= 0 ;
31755 PyObject
* obj5
= 0 ;
31756 PyObject
* obj6
= 0 ;
31757 char * kwnames
[] = {
31758 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31763 if (!SWIG_IsOK(res1
)) {
31764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31766 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31768 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31769 if (!SWIG_IsOK(ecode2
)) {
31770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
31772 arg2
= static_cast< int >(val2
);
31777 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31783 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31787 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31788 if (!SWIG_IsOK(ecode5
)) {
31789 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
31791 arg5
= static_cast< long >(val5
);
31794 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
31795 if (!SWIG_IsOK(res6
)) {
31796 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31799 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31801 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
31805 arg7
= wxString_in_helper(obj6
);
31806 if (arg7
== NULL
) SWIG_fail
;
31811 if (!wxPyCheckForApp()) SWIG_fail
;
31812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31813 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31814 wxPyEndAllowThreads(__tstate
);
31815 if (PyErr_Occurred()) SWIG_fail
;
31817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
31832 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31833 PyObject
*resultobj
= 0;
31834 wxListView
*result
= 0 ;
31836 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
31838 if (!wxPyCheckForApp()) SWIG_fail
;
31839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31840 result
= (wxListView
*)new wxListView();
31841 wxPyEndAllowThreads(__tstate
);
31842 if (PyErr_Occurred()) SWIG_fail
;
31844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
31851 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31852 PyObject
*resultobj
= 0;
31853 wxListView
*arg1
= (wxListView
*) 0 ;
31854 wxWindow
*arg2
= (wxWindow
*) 0 ;
31855 int arg3
= (int) -1 ;
31856 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31857 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31858 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31859 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31860 long arg6
= (long) wxLC_REPORT
;
31861 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31862 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31863 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
31864 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31878 bool temp8
= false ;
31879 PyObject
* obj0
= 0 ;
31880 PyObject
* obj1
= 0 ;
31881 PyObject
* obj2
= 0 ;
31882 PyObject
* obj3
= 0 ;
31883 PyObject
* obj4
= 0 ;
31884 PyObject
* obj5
= 0 ;
31885 PyObject
* obj6
= 0 ;
31886 PyObject
* obj7
= 0 ;
31887 char * kwnames
[] = {
31888 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31893 if (!SWIG_IsOK(res1
)) {
31894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
31896 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31897 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31898 if (!SWIG_IsOK(res2
)) {
31899 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
31901 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31903 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31904 if (!SWIG_IsOK(ecode3
)) {
31905 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
31907 arg3
= static_cast< int >(val3
);
31912 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31918 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31922 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31923 if (!SWIG_IsOK(ecode6
)) {
31924 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
31926 arg6
= static_cast< long >(val6
);
31929 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
31930 if (!SWIG_IsOK(res7
)) {
31931 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31934 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31936 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
31940 arg8
= wxString_in_helper(obj7
);
31941 if (arg8
== NULL
) SWIG_fail
;
31946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31947 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
31948 wxPyEndAllowThreads(__tstate
);
31949 if (PyErr_Occurred()) SWIG_fail
;
31952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31968 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31969 PyObject
*resultobj
= 0;
31970 wxListView
*arg1
= (wxListView
*) 0 ;
31972 bool arg3
= (bool) true ;
31979 PyObject
* obj0
= 0 ;
31980 PyObject
* obj1
= 0 ;
31981 PyObject
* obj2
= 0 ;
31982 char * kwnames
[] = {
31983 (char *) "self",(char *) "n",(char *) "on", NULL
31986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31988 if (!SWIG_IsOK(res1
)) {
31989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
31991 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31992 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31993 if (!SWIG_IsOK(ecode2
)) {
31994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
31996 arg2
= static_cast< long >(val2
);
31998 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31999 if (!SWIG_IsOK(ecode3
)) {
32000 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32002 arg3
= static_cast< bool >(val3
);
32005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32006 (arg1
)->Select(arg2
,arg3
);
32007 wxPyEndAllowThreads(__tstate
);
32008 if (PyErr_Occurred()) SWIG_fail
;
32010 resultobj
= SWIG_Py_Void();
32017 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32018 PyObject
*resultobj
= 0;
32019 wxListView
*arg1
= (wxListView
*) 0 ;
32025 PyObject
* obj0
= 0 ;
32026 PyObject
* obj1
= 0 ;
32027 char * kwnames
[] = {
32028 (char *) "self",(char *) "index", NULL
32031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32033 if (!SWIG_IsOK(res1
)) {
32034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32036 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32037 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32038 if (!SWIG_IsOK(ecode2
)) {
32039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32041 arg2
= static_cast< long >(val2
);
32043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32044 (arg1
)->Focus(arg2
);
32045 wxPyEndAllowThreads(__tstate
);
32046 if (PyErr_Occurred()) SWIG_fail
;
32048 resultobj
= SWIG_Py_Void();
32055 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32056 PyObject
*resultobj
= 0;
32057 wxListView
*arg1
= (wxListView
*) 0 ;
32061 PyObject
*swig_obj
[1] ;
32063 if (!args
) SWIG_fail
;
32064 swig_obj
[0] = args
;
32065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32066 if (!SWIG_IsOK(res1
)) {
32067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32069 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32072 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32073 wxPyEndAllowThreads(__tstate
);
32074 if (PyErr_Occurred()) SWIG_fail
;
32076 resultobj
= SWIG_From_long(static_cast< long >(result
));
32083 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32084 PyObject
*resultobj
= 0;
32085 wxListView
*arg1
= (wxListView
*) 0 ;
32092 PyObject
* obj0
= 0 ;
32093 PyObject
* obj1
= 0 ;
32094 char * kwnames
[] = {
32095 (char *) "self",(char *) "item", NULL
32098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32100 if (!SWIG_IsOK(res1
)) {
32101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32103 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32104 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32105 if (!SWIG_IsOK(ecode2
)) {
32106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32108 arg2
= static_cast< long >(val2
);
32110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32111 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32112 wxPyEndAllowThreads(__tstate
);
32113 if (PyErr_Occurred()) SWIG_fail
;
32115 resultobj
= SWIG_From_long(static_cast< long >(result
));
32122 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32123 PyObject
*resultobj
= 0;
32124 wxListView
*arg1
= (wxListView
*) 0 ;
32128 PyObject
*swig_obj
[1] ;
32130 if (!args
) SWIG_fail
;
32131 swig_obj
[0] = args
;
32132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32133 if (!SWIG_IsOK(res1
)) {
32134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32136 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32139 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32140 wxPyEndAllowThreads(__tstate
);
32141 if (PyErr_Occurred()) SWIG_fail
;
32143 resultobj
= SWIG_From_long(static_cast< long >(result
));
32150 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32151 PyObject
*resultobj
= 0;
32152 wxListView
*arg1
= (wxListView
*) 0 ;
32159 PyObject
* obj0
= 0 ;
32160 PyObject
* obj1
= 0 ;
32161 char * kwnames
[] = {
32162 (char *) "self",(char *) "index", NULL
32165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32167 if (!SWIG_IsOK(res1
)) {
32168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32170 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32171 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32172 if (!SWIG_IsOK(ecode2
)) {
32173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32175 arg2
= static_cast< long >(val2
);
32177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32178 result
= (bool)(arg1
)->IsSelected(arg2
);
32179 wxPyEndAllowThreads(__tstate
);
32180 if (PyErr_Occurred()) SWIG_fail
;
32183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32191 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32192 PyObject
*resultobj
= 0;
32193 wxListView
*arg1
= (wxListView
*) 0 ;
32202 PyObject
* obj0
= 0 ;
32203 PyObject
* obj1
= 0 ;
32204 PyObject
* obj2
= 0 ;
32205 char * kwnames
[] = {
32206 (char *) "self",(char *) "col",(char *) "image", NULL
32209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32211 if (!SWIG_IsOK(res1
)) {
32212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32214 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32216 if (!SWIG_IsOK(ecode2
)) {
32217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32219 arg2
= static_cast< int >(val2
);
32220 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32221 if (!SWIG_IsOK(ecode3
)) {
32222 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32224 arg3
= static_cast< int >(val3
);
32226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32227 (arg1
)->SetColumnImage(arg2
,arg3
);
32228 wxPyEndAllowThreads(__tstate
);
32229 if (PyErr_Occurred()) SWIG_fail
;
32231 resultobj
= SWIG_Py_Void();
32238 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32239 PyObject
*resultobj
= 0;
32240 wxListView
*arg1
= (wxListView
*) 0 ;
32246 PyObject
* obj0
= 0 ;
32247 PyObject
* obj1
= 0 ;
32248 char * kwnames
[] = {
32249 (char *) "self",(char *) "col", NULL
32252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32254 if (!SWIG_IsOK(res1
)) {
32255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32257 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32258 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32259 if (!SWIG_IsOK(ecode2
)) {
32260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32262 arg2
= static_cast< int >(val2
);
32264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32265 (arg1
)->ClearColumnImage(arg2
);
32266 wxPyEndAllowThreads(__tstate
);
32267 if (PyErr_Occurred()) SWIG_fail
;
32269 resultobj
= SWIG_Py_Void();
32276 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32278 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32279 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32280 return SWIG_Py_Void();
32283 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32284 return SWIG_Python_InitShadowInstance(args
);
32287 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32288 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32293 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32294 PyObject
*pyobj
= 0;
32298 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32300 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32307 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32308 PyObject
*resultobj
= 0;
32309 wxTreeItemId
*result
= 0 ;
32311 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32314 result
= (wxTreeItemId
*)new wxTreeItemId();
32315 wxPyEndAllowThreads(__tstate
);
32316 if (PyErr_Occurred()) SWIG_fail
;
32318 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32325 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32326 PyObject
*resultobj
= 0;
32327 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32330 PyObject
*swig_obj
[1] ;
32332 if (!args
) SWIG_fail
;
32333 swig_obj
[0] = args
;
32334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32335 if (!SWIG_IsOK(res1
)) {
32336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32338 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32343 wxPyEndAllowThreads(__tstate
);
32344 if (PyErr_Occurred()) SWIG_fail
;
32346 resultobj
= SWIG_Py_Void();
32353 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32354 PyObject
*resultobj
= 0;
32355 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32359 PyObject
*swig_obj
[1] ;
32361 if (!args
) SWIG_fail
;
32362 swig_obj
[0] = args
;
32363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32364 if (!SWIG_IsOK(res1
)) {
32365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32367 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32370 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32371 wxPyEndAllowThreads(__tstate
);
32372 if (PyErr_Occurred()) SWIG_fail
;
32375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32383 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32384 PyObject
*resultobj
= 0;
32385 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32386 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32392 PyObject
* obj0
= 0 ;
32393 PyObject
* obj1
= 0 ;
32394 char * kwnames
[] = {
32395 (char *) "self",(char *) "other", NULL
32398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32400 if (!SWIG_IsOK(res1
)) {
32401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32403 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32404 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32405 if (!SWIG_IsOK(res2
)) {
32406 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32408 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32411 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32412 wxPyEndAllowThreads(__tstate
);
32413 if (PyErr_Occurred()) SWIG_fail
;
32416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32424 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32425 PyObject
*resultobj
= 0;
32426 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32427 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32433 PyObject
* obj0
= 0 ;
32434 PyObject
* obj1
= 0 ;
32435 char * kwnames
[] = {
32436 (char *) "self",(char *) "other", NULL
32439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32441 if (!SWIG_IsOK(res1
)) {
32442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32444 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32445 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32446 if (!SWIG_IsOK(res2
)) {
32447 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32449 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32452 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32453 wxPyEndAllowThreads(__tstate
);
32454 if (PyErr_Occurred()) SWIG_fail
;
32457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32465 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32466 PyObject
*resultobj
= 0;
32467 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32468 void *arg2
= (void *) 0 ;
32472 PyObject
*swig_obj
[2] ;
32474 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32476 if (!SWIG_IsOK(res1
)) {
32477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32479 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32480 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32481 if (!SWIG_IsOK(res2
)) {
32482 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32484 if (arg1
) (arg1
)->m_pItem
= arg2
;
32486 resultobj
= SWIG_Py_Void();
32493 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32494 PyObject
*resultobj
= 0;
32495 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32499 PyObject
*swig_obj
[1] ;
32501 if (!args
) SWIG_fail
;
32502 swig_obj
[0] = args
;
32503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32504 if (!SWIG_IsOK(res1
)) {
32505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32507 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32508 result
= (void *) ((arg1
)->m_pItem
);
32509 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32516 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32518 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32519 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32520 return SWIG_Py_Void();
32523 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32524 return SWIG_Python_InitShadowInstance(args
);
32527 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32528 PyObject
*resultobj
= 0;
32529 PyObject
*arg1
= (PyObject
*) NULL
;
32530 wxPyTreeItemData
*result
= 0 ;
32531 PyObject
* obj0
= 0 ;
32532 char * kwnames
[] = {
32533 (char *) "obj", NULL
32536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32542 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32543 wxPyEndAllowThreads(__tstate
);
32544 if (PyErr_Occurred()) SWIG_fail
;
32546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32553 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32554 PyObject
*resultobj
= 0;
32555 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32558 PyObject
*swig_obj
[1] ;
32560 if (!args
) SWIG_fail
;
32561 swig_obj
[0] = args
;
32562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32563 if (!SWIG_IsOK(res1
)) {
32564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32566 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32571 wxPyEndAllowThreads(__tstate
);
32572 if (PyErr_Occurred()) SWIG_fail
;
32574 resultobj
= SWIG_Py_Void();
32581 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32582 PyObject
*resultobj
= 0;
32583 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32584 PyObject
*result
= 0 ;
32587 PyObject
*swig_obj
[1] ;
32589 if (!args
) SWIG_fail
;
32590 swig_obj
[0] = args
;
32591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32592 if (!SWIG_IsOK(res1
)) {
32593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32595 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32598 result
= (PyObject
*)(arg1
)->GetData();
32599 wxPyEndAllowThreads(__tstate
);
32600 if (PyErr_Occurred()) SWIG_fail
;
32602 resultobj
= result
;
32609 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32610 PyObject
*resultobj
= 0;
32611 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32612 PyObject
*arg2
= (PyObject
*) 0 ;
32615 PyObject
* obj0
= 0 ;
32616 PyObject
* obj1
= 0 ;
32617 char * kwnames
[] = {
32618 (char *) "self",(char *) "obj", NULL
32621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32623 if (!SWIG_IsOK(res1
)) {
32624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32626 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32630 (arg1
)->SetData(arg2
);
32631 wxPyEndAllowThreads(__tstate
);
32632 if (PyErr_Occurred()) SWIG_fail
;
32634 resultobj
= SWIG_Py_Void();
32641 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32642 PyObject
*resultobj
= 0;
32643 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32644 wxTreeItemId
*result
= 0 ;
32647 PyObject
*swig_obj
[1] ;
32649 if (!args
) SWIG_fail
;
32650 swig_obj
[0] = args
;
32651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32652 if (!SWIG_IsOK(res1
)) {
32653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32655 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32659 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32660 result
= (wxTreeItemId
*) &_result_ref
;
32662 wxPyEndAllowThreads(__tstate
);
32663 if (PyErr_Occurred()) SWIG_fail
;
32665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32672 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32673 PyObject
*resultobj
= 0;
32674 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32675 wxTreeItemId
*arg2
= 0 ;
32680 PyObject
* obj0
= 0 ;
32681 PyObject
* obj1
= 0 ;
32682 char * kwnames
[] = {
32683 (char *) "self",(char *) "id", NULL
32686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32688 if (!SWIG_IsOK(res1
)) {
32689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32691 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32692 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32693 if (!SWIG_IsOK(res2
)) {
32694 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32697 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32699 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32702 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
32703 wxPyEndAllowThreads(__tstate
);
32704 if (PyErr_Occurred()) SWIG_fail
;
32706 resultobj
= SWIG_Py_Void();
32713 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32714 PyObject
*resultobj
= 0;
32715 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32718 PyObject
*swig_obj
[1] ;
32720 if (!args
) SWIG_fail
;
32721 swig_obj
[0] = args
;
32722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32723 if (!SWIG_IsOK(res1
)) {
32724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32726 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32729 wxPyTreeItemData_Destroy(arg1
);
32730 wxPyEndAllowThreads(__tstate
);
32731 if (PyErr_Occurred()) SWIG_fail
;
32733 resultobj
= SWIG_Py_Void();
32740 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32742 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32743 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
32744 return SWIG_Py_Void();
32747 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32748 return SWIG_Python_InitShadowInstance(args
);
32751 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32752 PyObject
*resultobj
= 0;
32753 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32754 int arg2
= (int) 0 ;
32755 wxTreeEvent
*result
= 0 ;
32760 PyObject
* obj0
= 0 ;
32761 PyObject
* obj1
= 0 ;
32762 char * kwnames
[] = {
32763 (char *) "commandType",(char *) "id", NULL
32766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32768 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32769 if (!SWIG_IsOK(ecode1
)) {
32770 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32772 arg1
= static_cast< wxEventType
>(val1
);
32775 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32776 if (!SWIG_IsOK(ecode2
)) {
32777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
32779 arg2
= static_cast< int >(val2
);
32782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32783 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
32784 wxPyEndAllowThreads(__tstate
);
32785 if (PyErr_Occurred()) SWIG_fail
;
32787 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32794 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32795 PyObject
*resultobj
= 0;
32796 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32797 wxTreeItemId result
;
32800 PyObject
*swig_obj
[1] ;
32802 if (!args
) SWIG_fail
;
32803 swig_obj
[0] = args
;
32804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32805 if (!SWIG_IsOK(res1
)) {
32806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32808 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32811 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
32812 wxPyEndAllowThreads(__tstate
);
32813 if (PyErr_Occurred()) SWIG_fail
;
32815 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32822 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32823 PyObject
*resultobj
= 0;
32824 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32825 wxTreeItemId
*arg2
= 0 ;
32830 PyObject
* obj0
= 0 ;
32831 PyObject
* obj1
= 0 ;
32832 char * kwnames
[] = {
32833 (char *) "self",(char *) "item", NULL
32836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32838 if (!SWIG_IsOK(res1
)) {
32839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32841 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32842 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32843 if (!SWIG_IsOK(res2
)) {
32844 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32847 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32849 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32852 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
32853 wxPyEndAllowThreads(__tstate
);
32854 if (PyErr_Occurred()) SWIG_fail
;
32856 resultobj
= SWIG_Py_Void();
32863 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32864 PyObject
*resultobj
= 0;
32865 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32866 wxTreeItemId result
;
32869 PyObject
*swig_obj
[1] ;
32871 if (!args
) SWIG_fail
;
32872 swig_obj
[0] = args
;
32873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32874 if (!SWIG_IsOK(res1
)) {
32875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32877 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32880 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
32881 wxPyEndAllowThreads(__tstate
);
32882 if (PyErr_Occurred()) SWIG_fail
;
32884 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32891 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32892 PyObject
*resultobj
= 0;
32893 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32894 wxTreeItemId
*arg2
= 0 ;
32899 PyObject
* obj0
= 0 ;
32900 PyObject
* obj1
= 0 ;
32901 char * kwnames
[] = {
32902 (char *) "self",(char *) "item", NULL
32905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32907 if (!SWIG_IsOK(res1
)) {
32908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32910 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32911 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32912 if (!SWIG_IsOK(res2
)) {
32913 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32916 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32918 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32921 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
32922 wxPyEndAllowThreads(__tstate
);
32923 if (PyErr_Occurred()) SWIG_fail
;
32925 resultobj
= SWIG_Py_Void();
32932 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32933 PyObject
*resultobj
= 0;
32934 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32938 PyObject
*swig_obj
[1] ;
32940 if (!args
) SWIG_fail
;
32941 swig_obj
[0] = args
;
32942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32943 if (!SWIG_IsOK(res1
)) {
32944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32946 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32949 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
32950 wxPyEndAllowThreads(__tstate
);
32951 if (PyErr_Occurred()) SWIG_fail
;
32953 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
32960 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32961 PyObject
*resultobj
= 0;
32962 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32963 wxPoint
*arg2
= 0 ;
32967 PyObject
* obj0
= 0 ;
32968 PyObject
* obj1
= 0 ;
32969 char * kwnames
[] = {
32970 (char *) "self",(char *) "pt", NULL
32973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32975 if (!SWIG_IsOK(res1
)) {
32976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32978 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32981 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32985 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
32986 wxPyEndAllowThreads(__tstate
);
32987 if (PyErr_Occurred()) SWIG_fail
;
32989 resultobj
= SWIG_Py_Void();
32996 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32997 PyObject
*resultobj
= 0;
32998 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32999 wxKeyEvent
*result
= 0 ;
33002 PyObject
*swig_obj
[1] ;
33004 if (!args
) SWIG_fail
;
33005 swig_obj
[0] = args
;
33006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33007 if (!SWIG_IsOK(res1
)) {
33008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33010 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33014 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33015 result
= (wxKeyEvent
*) &_result_ref
;
33017 wxPyEndAllowThreads(__tstate
);
33018 if (PyErr_Occurred()) SWIG_fail
;
33020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33027 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33028 PyObject
*resultobj
= 0;
33029 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33033 PyObject
*swig_obj
[1] ;
33035 if (!args
) SWIG_fail
;
33036 swig_obj
[0] = args
;
33037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33038 if (!SWIG_IsOK(res1
)) {
33039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33041 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33044 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33045 wxPyEndAllowThreads(__tstate
);
33046 if (PyErr_Occurred()) SWIG_fail
;
33048 resultobj
= SWIG_From_int(static_cast< int >(result
));
33055 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33056 PyObject
*resultobj
= 0;
33057 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33058 wxKeyEvent
*arg2
= 0 ;
33063 PyObject
* obj0
= 0 ;
33064 PyObject
* obj1
= 0 ;
33065 char * kwnames
[] = {
33066 (char *) "self",(char *) "evt", NULL
33069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33071 if (!SWIG_IsOK(res1
)) {
33072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33074 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33075 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33076 if (!SWIG_IsOK(res2
)) {
33077 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33080 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33082 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33085 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33086 wxPyEndAllowThreads(__tstate
);
33087 if (PyErr_Occurred()) SWIG_fail
;
33089 resultobj
= SWIG_Py_Void();
33096 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33097 PyObject
*resultobj
= 0;
33098 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33099 wxString
*result
= 0 ;
33102 PyObject
*swig_obj
[1] ;
33104 if (!args
) SWIG_fail
;
33105 swig_obj
[0] = args
;
33106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33107 if (!SWIG_IsOK(res1
)) {
33108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33110 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33114 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33115 result
= (wxString
*) &_result_ref
;
33117 wxPyEndAllowThreads(__tstate
);
33118 if (PyErr_Occurred()) SWIG_fail
;
33122 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33124 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33133 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33134 PyObject
*resultobj
= 0;
33135 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33136 wxString
*arg2
= 0 ;
33139 bool temp2
= false ;
33140 PyObject
* obj0
= 0 ;
33141 PyObject
* obj1
= 0 ;
33142 char * kwnames
[] = {
33143 (char *) "self",(char *) "label", NULL
33146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33148 if (!SWIG_IsOK(res1
)) {
33149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33151 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33153 arg2
= wxString_in_helper(obj1
);
33154 if (arg2
== NULL
) SWIG_fail
;
33158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33159 (arg1
)->SetLabel((wxString
const &)*arg2
);
33160 wxPyEndAllowThreads(__tstate
);
33161 if (PyErr_Occurred()) SWIG_fail
;
33163 resultobj
= SWIG_Py_Void();
33178 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33179 PyObject
*resultobj
= 0;
33180 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33184 PyObject
*swig_obj
[1] ;
33186 if (!args
) SWIG_fail
;
33187 swig_obj
[0] = args
;
33188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33189 if (!SWIG_IsOK(res1
)) {
33190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33192 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33195 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33196 wxPyEndAllowThreads(__tstate
);
33197 if (PyErr_Occurred()) SWIG_fail
;
33200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33208 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33209 PyObject
*resultobj
= 0;
33210 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33216 PyObject
* obj0
= 0 ;
33217 PyObject
* obj1
= 0 ;
33218 char * kwnames
[] = {
33219 (char *) "self",(char *) "editCancelled", NULL
33222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33224 if (!SWIG_IsOK(res1
)) {
33225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33227 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33228 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33229 if (!SWIG_IsOK(ecode2
)) {
33230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33232 arg2
= static_cast< bool >(val2
);
33234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33235 (arg1
)->SetEditCanceled(arg2
);
33236 wxPyEndAllowThreads(__tstate
);
33237 if (PyErr_Occurred()) SWIG_fail
;
33239 resultobj
= SWIG_Py_Void();
33246 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33247 PyObject
*resultobj
= 0;
33248 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33249 wxString
*arg2
= 0 ;
33252 bool temp2
= false ;
33253 PyObject
* obj0
= 0 ;
33254 PyObject
* obj1
= 0 ;
33255 char * kwnames
[] = {
33256 (char *) "self",(char *) "toolTip", NULL
33259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33261 if (!SWIG_IsOK(res1
)) {
33262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33264 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33266 arg2
= wxString_in_helper(obj1
);
33267 if (arg2
== NULL
) SWIG_fail
;
33271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33272 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33273 wxPyEndAllowThreads(__tstate
);
33274 if (PyErr_Occurred()) SWIG_fail
;
33276 resultobj
= SWIG_Py_Void();
33291 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33292 PyObject
*resultobj
= 0;
33293 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33297 PyObject
*swig_obj
[1] ;
33299 if (!args
) SWIG_fail
;
33300 swig_obj
[0] = args
;
33301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33302 if (!SWIG_IsOK(res1
)) {
33303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33305 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33308 result
= (arg1
)->GetToolTip();
33309 wxPyEndAllowThreads(__tstate
);
33310 if (PyErr_Occurred()) SWIG_fail
;
33314 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33316 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33325 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33327 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33328 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33329 return SWIG_Py_Void();
33332 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33333 return SWIG_Python_InitShadowInstance(args
);
33336 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33337 PyObject
*resultobj
= 0;
33338 wxWindow
*arg1
= (wxWindow
*) 0 ;
33339 int arg2
= (int) -1 ;
33340 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33341 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33342 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33343 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33344 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33345 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33346 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33347 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33348 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33349 wxPyTreeCtrl
*result
= 0 ;
33360 bool temp7
= false ;
33361 PyObject
* obj0
= 0 ;
33362 PyObject
* obj1
= 0 ;
33363 PyObject
* obj2
= 0 ;
33364 PyObject
* obj3
= 0 ;
33365 PyObject
* obj4
= 0 ;
33366 PyObject
* obj5
= 0 ;
33367 PyObject
* obj6
= 0 ;
33368 char * kwnames
[] = {
33369 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33374 if (!SWIG_IsOK(res1
)) {
33375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33377 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33379 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33380 if (!SWIG_IsOK(ecode2
)) {
33381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33383 arg2
= static_cast< int >(val2
);
33388 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33394 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33398 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33399 if (!SWIG_IsOK(ecode5
)) {
33400 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33402 arg5
= static_cast< long >(val5
);
33405 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33406 if (!SWIG_IsOK(res6
)) {
33407 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33410 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33412 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33416 arg7
= wxString_in_helper(obj6
);
33417 if (arg7
== NULL
) SWIG_fail
;
33422 if (!wxPyCheckForApp()) SWIG_fail
;
33423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33424 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33425 wxPyEndAllowThreads(__tstate
);
33426 if (PyErr_Occurred()) SWIG_fail
;
33428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33443 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33444 PyObject
*resultobj
= 0;
33445 wxPyTreeCtrl
*result
= 0 ;
33447 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33449 if (!wxPyCheckForApp()) SWIG_fail
;
33450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33451 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33452 wxPyEndAllowThreads(__tstate
);
33453 if (PyErr_Occurred()) SWIG_fail
;
33455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33462 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33463 PyObject
*resultobj
= 0;
33464 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33465 wxWindow
*arg2
= (wxWindow
*) 0 ;
33466 int arg3
= (int) -1 ;
33467 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33468 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33469 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33470 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33471 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33472 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33473 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33474 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33475 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33489 bool temp8
= false ;
33490 PyObject
* obj0
= 0 ;
33491 PyObject
* obj1
= 0 ;
33492 PyObject
* obj2
= 0 ;
33493 PyObject
* obj3
= 0 ;
33494 PyObject
* obj4
= 0 ;
33495 PyObject
* obj5
= 0 ;
33496 PyObject
* obj6
= 0 ;
33497 PyObject
* obj7
= 0 ;
33498 char * kwnames
[] = {
33499 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33504 if (!SWIG_IsOK(res1
)) {
33505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33507 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33508 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33509 if (!SWIG_IsOK(res2
)) {
33510 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33512 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33514 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33515 if (!SWIG_IsOK(ecode3
)) {
33516 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33518 arg3
= static_cast< int >(val3
);
33523 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33529 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33533 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33534 if (!SWIG_IsOK(ecode6
)) {
33535 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33537 arg6
= static_cast< long >(val6
);
33540 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33541 if (!SWIG_IsOK(res7
)) {
33542 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33545 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33547 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33551 arg8
= wxString_in_helper(obj7
);
33552 if (arg8
== NULL
) SWIG_fail
;
33557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33558 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33559 wxPyEndAllowThreads(__tstate
);
33560 if (PyErr_Occurred()) SWIG_fail
;
33563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33579 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33580 PyObject
*resultobj
= 0;
33581 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33582 PyObject
*arg2
= (PyObject
*) 0 ;
33583 PyObject
*arg3
= (PyObject
*) 0 ;
33586 PyObject
* obj0
= 0 ;
33587 PyObject
* obj1
= 0 ;
33588 PyObject
* obj2
= 0 ;
33589 char * kwnames
[] = {
33590 (char *) "self",(char *) "self",(char *) "_class", NULL
33593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33595 if (!SWIG_IsOK(res1
)) {
33596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33598 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33603 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33604 wxPyEndAllowThreads(__tstate
);
33605 if (PyErr_Occurred()) SWIG_fail
;
33607 resultobj
= SWIG_Py_Void();
33614 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33615 PyObject
*resultobj
= 0;
33616 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33617 unsigned int result
;
33620 PyObject
*swig_obj
[1] ;
33622 if (!args
) SWIG_fail
;
33623 swig_obj
[0] = args
;
33624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33625 if (!SWIG_IsOK(res1
)) {
33626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33628 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33631 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
33632 wxPyEndAllowThreads(__tstate
);
33633 if (PyErr_Occurred()) SWIG_fail
;
33635 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33642 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33643 PyObject
*resultobj
= 0;
33644 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33645 unsigned int result
;
33648 PyObject
*swig_obj
[1] ;
33650 if (!args
) SWIG_fail
;
33651 swig_obj
[0] = args
;
33652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33653 if (!SWIG_IsOK(res1
)) {
33654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33656 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33659 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
33660 wxPyEndAllowThreads(__tstate
);
33661 if (PyErr_Occurred()) SWIG_fail
;
33663 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33670 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33671 PyObject
*resultobj
= 0;
33672 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33673 unsigned int arg2
;
33676 unsigned int val2
;
33678 PyObject
* obj0
= 0 ;
33679 PyObject
* obj1
= 0 ;
33680 char * kwnames
[] = {
33681 (char *) "self",(char *) "indent", NULL
33684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33686 if (!SWIG_IsOK(res1
)) {
33687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33689 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33690 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33691 if (!SWIG_IsOK(ecode2
)) {
33692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
33694 arg2
= static_cast< unsigned int >(val2
);
33696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33697 (arg1
)->SetIndent(arg2
);
33698 wxPyEndAllowThreads(__tstate
);
33699 if (PyErr_Occurred()) SWIG_fail
;
33701 resultobj
= SWIG_Py_Void();
33708 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33709 PyObject
*resultobj
= 0;
33710 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33711 unsigned int result
;
33714 PyObject
*swig_obj
[1] ;
33716 if (!args
) SWIG_fail
;
33717 swig_obj
[0] = args
;
33718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33719 if (!SWIG_IsOK(res1
)) {
33720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33722 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33725 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
33726 wxPyEndAllowThreads(__tstate
);
33727 if (PyErr_Occurred()) SWIG_fail
;
33729 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33736 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33737 PyObject
*resultobj
= 0;
33738 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33739 unsigned int arg2
;
33742 unsigned int val2
;
33744 PyObject
* obj0
= 0 ;
33745 PyObject
* obj1
= 0 ;
33746 char * kwnames
[] = {
33747 (char *) "self",(char *) "spacing", NULL
33750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33752 if (!SWIG_IsOK(res1
)) {
33753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33755 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33756 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33757 if (!SWIG_IsOK(ecode2
)) {
33758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
33760 arg2
= static_cast< unsigned int >(val2
);
33762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33763 (arg1
)->SetSpacing(arg2
);
33764 wxPyEndAllowThreads(__tstate
);
33765 if (PyErr_Occurred()) SWIG_fail
;
33767 resultobj
= SWIG_Py_Void();
33774 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33775 PyObject
*resultobj
= 0;
33776 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33777 wxImageList
*result
= 0 ;
33780 PyObject
*swig_obj
[1] ;
33782 if (!args
) SWIG_fail
;
33783 swig_obj
[0] = args
;
33784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33785 if (!SWIG_IsOK(res1
)) {
33786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33788 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33791 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
33792 wxPyEndAllowThreads(__tstate
);
33793 if (PyErr_Occurred()) SWIG_fail
;
33796 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33804 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33805 PyObject
*resultobj
= 0;
33806 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33807 wxImageList
*result
= 0 ;
33810 PyObject
*swig_obj
[1] ;
33812 if (!args
) SWIG_fail
;
33813 swig_obj
[0] = args
;
33814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33815 if (!SWIG_IsOK(res1
)) {
33816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33818 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33821 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
33822 wxPyEndAllowThreads(__tstate
);
33823 if (PyErr_Occurred()) SWIG_fail
;
33826 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33834 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33835 PyObject
*resultobj
= 0;
33836 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33837 wxImageList
*arg2
= (wxImageList
*) 0 ;
33842 PyObject
* obj0
= 0 ;
33843 PyObject
* obj1
= 0 ;
33844 char * kwnames
[] = {
33845 (char *) "self",(char *) "imageList", NULL
33848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33850 if (!SWIG_IsOK(res1
)) {
33851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33853 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33854 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33855 if (!SWIG_IsOK(res2
)) {
33856 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33858 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33861 (arg1
)->SetImageList(arg2
);
33862 wxPyEndAllowThreads(__tstate
);
33863 if (PyErr_Occurred()) SWIG_fail
;
33865 resultobj
= SWIG_Py_Void();
33872 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33873 PyObject
*resultobj
= 0;
33874 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33875 wxImageList
*arg2
= (wxImageList
*) 0 ;
33880 PyObject
* obj0
= 0 ;
33881 PyObject
* obj1
= 0 ;
33882 char * kwnames
[] = {
33883 (char *) "self",(char *) "imageList", NULL
33886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33888 if (!SWIG_IsOK(res1
)) {
33889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33891 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33892 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33893 if (!SWIG_IsOK(res2
)) {
33894 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33896 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33899 (arg1
)->SetStateImageList(arg2
);
33900 wxPyEndAllowThreads(__tstate
);
33901 if (PyErr_Occurred()) SWIG_fail
;
33903 resultobj
= SWIG_Py_Void();
33910 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33911 PyObject
*resultobj
= 0;
33912 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33913 wxImageList
*arg2
= (wxImageList
*) 0 ;
33917 PyObject
* obj0
= 0 ;
33918 PyObject
* obj1
= 0 ;
33919 char * kwnames
[] = {
33920 (char *) "self",(char *) "imageList", NULL
33923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33925 if (!SWIG_IsOK(res1
)) {
33926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33928 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33929 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
33930 if (!SWIG_IsOK(res2
)) {
33931 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33935 (arg1
)->AssignImageList(arg2
);
33936 wxPyEndAllowThreads(__tstate
);
33937 if (PyErr_Occurred()) SWIG_fail
;
33939 resultobj
= SWIG_Py_Void();
33946 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33947 PyObject
*resultobj
= 0;
33948 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33949 wxImageList
*arg2
= (wxImageList
*) 0 ;
33953 PyObject
* obj0
= 0 ;
33954 PyObject
* obj1
= 0 ;
33955 char * kwnames
[] = {
33956 (char *) "self",(char *) "imageList", NULL
33959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33961 if (!SWIG_IsOK(res1
)) {
33962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33964 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33965 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
33966 if (!SWIG_IsOK(res2
)) {
33967 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33971 (arg1
)->AssignStateImageList(arg2
);
33972 wxPyEndAllowThreads(__tstate
);
33973 if (PyErr_Occurred()) SWIG_fail
;
33975 resultobj
= SWIG_Py_Void();
33982 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33983 PyObject
*resultobj
= 0;
33984 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33985 wxTreeItemId
*arg2
= 0 ;
33991 PyObject
* obj0
= 0 ;
33992 PyObject
* obj1
= 0 ;
33993 char * kwnames
[] = {
33994 (char *) "self",(char *) "item", NULL
33997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33999 if (!SWIG_IsOK(res1
)) {
34000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34002 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34003 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34004 if (!SWIG_IsOK(res2
)) {
34005 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34008 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34010 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34013 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34014 wxPyEndAllowThreads(__tstate
);
34015 if (PyErr_Occurred()) SWIG_fail
;
34019 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34021 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34030 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34031 PyObject
*resultobj
= 0;
34032 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34033 wxTreeItemId
*arg2
= 0 ;
34034 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34042 PyObject
* obj0
= 0 ;
34043 PyObject
* obj1
= 0 ;
34044 PyObject
* obj2
= 0 ;
34045 char * kwnames
[] = {
34046 (char *) "self",(char *) "item",(char *) "which", NULL
34049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34051 if (!SWIG_IsOK(res1
)) {
34052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34054 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34055 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34056 if (!SWIG_IsOK(res2
)) {
34057 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34060 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34062 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34064 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34065 if (!SWIG_IsOK(ecode3
)) {
34066 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34068 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34072 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34073 wxPyEndAllowThreads(__tstate
);
34074 if (PyErr_Occurred()) SWIG_fail
;
34076 resultobj
= SWIG_From_int(static_cast< int >(result
));
34083 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34084 PyObject
*resultobj
= 0;
34085 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34086 wxTreeItemId
*arg2
= 0 ;
34087 wxPyTreeItemData
*result
= 0 ;
34092 PyObject
* obj0
= 0 ;
34093 PyObject
* obj1
= 0 ;
34094 char * kwnames
[] = {
34095 (char *) "self",(char *) "item", NULL
34098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34100 if (!SWIG_IsOK(res1
)) {
34101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34103 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34104 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34105 if (!SWIG_IsOK(res2
)) {
34106 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34109 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34111 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34114 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34115 wxPyEndAllowThreads(__tstate
);
34116 if (PyErr_Occurred()) SWIG_fail
;
34118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34125 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34126 PyObject
*resultobj
= 0;
34127 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34128 wxTreeItemId
*arg2
= 0 ;
34129 PyObject
*result
= 0 ;
34134 PyObject
* obj0
= 0 ;
34135 PyObject
* obj1
= 0 ;
34136 char * kwnames
[] = {
34137 (char *) "self",(char *) "item", NULL
34140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34142 if (!SWIG_IsOK(res1
)) {
34143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34145 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34146 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34147 if (!SWIG_IsOK(res2
)) {
34148 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34151 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34153 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34156 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34157 wxPyEndAllowThreads(__tstate
);
34158 if (PyErr_Occurred()) SWIG_fail
;
34160 resultobj
= result
;
34167 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34168 PyObject
*resultobj
= 0;
34169 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34170 wxTreeItemId
*arg2
= 0 ;
34176 PyObject
* obj0
= 0 ;
34177 PyObject
* obj1
= 0 ;
34178 char * kwnames
[] = {
34179 (char *) "self",(char *) "item", NULL
34182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34184 if (!SWIG_IsOK(res1
)) {
34185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34187 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34188 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34189 if (!SWIG_IsOK(res2
)) {
34190 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34193 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34195 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34198 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34199 wxPyEndAllowThreads(__tstate
);
34200 if (PyErr_Occurred()) SWIG_fail
;
34202 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34209 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34210 PyObject
*resultobj
= 0;
34211 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34212 wxTreeItemId
*arg2
= 0 ;
34218 PyObject
* obj0
= 0 ;
34219 PyObject
* obj1
= 0 ;
34220 char * kwnames
[] = {
34221 (char *) "self",(char *) "item", NULL
34224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34226 if (!SWIG_IsOK(res1
)) {
34227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34229 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34230 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34231 if (!SWIG_IsOK(res2
)) {
34232 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34235 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34237 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34240 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34241 wxPyEndAllowThreads(__tstate
);
34242 if (PyErr_Occurred()) SWIG_fail
;
34244 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34251 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34252 PyObject
*resultobj
= 0;
34253 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34254 wxTreeItemId
*arg2
= 0 ;
34260 PyObject
* obj0
= 0 ;
34261 PyObject
* obj1
= 0 ;
34262 char * kwnames
[] = {
34263 (char *) "self",(char *) "item", NULL
34266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34268 if (!SWIG_IsOK(res1
)) {
34269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34271 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34272 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34273 if (!SWIG_IsOK(res2
)) {
34274 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34277 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34279 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34282 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34283 wxPyEndAllowThreads(__tstate
);
34284 if (PyErr_Occurred()) SWIG_fail
;
34286 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34293 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34294 PyObject
*resultobj
= 0;
34295 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34296 wxTreeItemId
*arg2
= 0 ;
34297 wxString
*arg3
= 0 ;
34302 bool temp3
= false ;
34303 PyObject
* obj0
= 0 ;
34304 PyObject
* obj1
= 0 ;
34305 PyObject
* obj2
= 0 ;
34306 char * kwnames
[] = {
34307 (char *) "self",(char *) "item",(char *) "text", NULL
34310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34312 if (!SWIG_IsOK(res1
)) {
34313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34315 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34316 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34317 if (!SWIG_IsOK(res2
)) {
34318 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34321 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34323 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34325 arg3
= wxString_in_helper(obj2
);
34326 if (arg3
== NULL
) SWIG_fail
;
34330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34331 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34332 wxPyEndAllowThreads(__tstate
);
34333 if (PyErr_Occurred()) SWIG_fail
;
34335 resultobj
= SWIG_Py_Void();
34350 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34351 PyObject
*resultobj
= 0;
34352 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34353 wxTreeItemId
*arg2
= 0 ;
34355 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34364 PyObject
* obj0
= 0 ;
34365 PyObject
* obj1
= 0 ;
34366 PyObject
* obj2
= 0 ;
34367 PyObject
* obj3
= 0 ;
34368 char * kwnames
[] = {
34369 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34374 if (!SWIG_IsOK(res1
)) {
34375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34377 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34378 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34379 if (!SWIG_IsOK(res2
)) {
34380 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34383 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34385 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34386 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34387 if (!SWIG_IsOK(ecode3
)) {
34388 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34390 arg3
= static_cast< int >(val3
);
34392 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34393 if (!SWIG_IsOK(ecode4
)) {
34394 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34396 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34400 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34401 wxPyEndAllowThreads(__tstate
);
34402 if (PyErr_Occurred()) SWIG_fail
;
34404 resultobj
= SWIG_Py_Void();
34411 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34412 PyObject
*resultobj
= 0;
34413 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34414 wxTreeItemId
*arg2
= 0 ;
34415 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34421 PyObject
* obj0
= 0 ;
34422 PyObject
* obj1
= 0 ;
34423 PyObject
* obj2
= 0 ;
34424 char * kwnames
[] = {
34425 (char *) "self",(char *) "item",(char *) "data", NULL
34428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34430 if (!SWIG_IsOK(res1
)) {
34431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34433 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34434 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34435 if (!SWIG_IsOK(res2
)) {
34436 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34439 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34441 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34442 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34443 if (!SWIG_IsOK(res3
)) {
34444 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34448 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34449 wxPyEndAllowThreads(__tstate
);
34450 if (PyErr_Occurred()) SWIG_fail
;
34452 resultobj
= SWIG_Py_Void();
34459 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34460 PyObject
*resultobj
= 0;
34461 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34462 wxTreeItemId
*arg2
= 0 ;
34463 PyObject
*arg3
= (PyObject
*) 0 ;
34468 PyObject
* obj0
= 0 ;
34469 PyObject
* obj1
= 0 ;
34470 PyObject
* obj2
= 0 ;
34471 char * kwnames
[] = {
34472 (char *) "self",(char *) "item",(char *) "obj", NULL
34475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34477 if (!SWIG_IsOK(res1
)) {
34478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34480 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34481 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34482 if (!SWIG_IsOK(res2
)) {
34483 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34486 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34488 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34492 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34493 wxPyEndAllowThreads(__tstate
);
34494 if (PyErr_Occurred()) SWIG_fail
;
34496 resultobj
= SWIG_Py_Void();
34503 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34504 PyObject
*resultobj
= 0;
34505 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34506 wxTreeItemId
*arg2
= 0 ;
34507 bool arg3
= (bool) true ;
34514 PyObject
* obj0
= 0 ;
34515 PyObject
* obj1
= 0 ;
34516 PyObject
* obj2
= 0 ;
34517 char * kwnames
[] = {
34518 (char *) "self",(char *) "item",(char *) "has", NULL
34521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34523 if (!SWIG_IsOK(res1
)) {
34524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34526 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34527 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34528 if (!SWIG_IsOK(res2
)) {
34529 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34532 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34534 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34536 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34537 if (!SWIG_IsOK(ecode3
)) {
34538 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34540 arg3
= static_cast< bool >(val3
);
34543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34544 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34545 wxPyEndAllowThreads(__tstate
);
34546 if (PyErr_Occurred()) SWIG_fail
;
34548 resultobj
= SWIG_Py_Void();
34555 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34556 PyObject
*resultobj
= 0;
34557 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34558 wxTreeItemId
*arg2
= 0 ;
34559 bool arg3
= (bool) true ;
34566 PyObject
* obj0
= 0 ;
34567 PyObject
* obj1
= 0 ;
34568 PyObject
* obj2
= 0 ;
34569 char * kwnames
[] = {
34570 (char *) "self",(char *) "item",(char *) "bold", NULL
34573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34575 if (!SWIG_IsOK(res1
)) {
34576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34578 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34579 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34580 if (!SWIG_IsOK(res2
)) {
34581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34584 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34586 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34588 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34589 if (!SWIG_IsOK(ecode3
)) {
34590 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34592 arg3
= static_cast< bool >(val3
);
34595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34596 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
34597 wxPyEndAllowThreads(__tstate
);
34598 if (PyErr_Occurred()) SWIG_fail
;
34600 resultobj
= SWIG_Py_Void();
34607 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34608 PyObject
*resultobj
= 0;
34609 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34610 wxTreeItemId
*arg2
= 0 ;
34611 bool arg3
= (bool) true ;
34618 PyObject
* obj0
= 0 ;
34619 PyObject
* obj1
= 0 ;
34620 PyObject
* obj2
= 0 ;
34621 char * kwnames
[] = {
34622 (char *) "self",(char *) "item",(char *) "highlight", NULL
34625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34627 if (!SWIG_IsOK(res1
)) {
34628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34630 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34631 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34632 if (!SWIG_IsOK(res2
)) {
34633 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34636 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34638 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34640 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34641 if (!SWIG_IsOK(ecode3
)) {
34642 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34644 arg3
= static_cast< bool >(val3
);
34647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34648 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
34649 wxPyEndAllowThreads(__tstate
);
34650 if (PyErr_Occurred()) SWIG_fail
;
34652 resultobj
= SWIG_Py_Void();
34659 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34660 PyObject
*resultobj
= 0;
34661 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34662 wxTreeItemId
*arg2
= 0 ;
34663 wxColour
*arg3
= 0 ;
34669 PyObject
* obj0
= 0 ;
34670 PyObject
* obj1
= 0 ;
34671 PyObject
* obj2
= 0 ;
34672 char * kwnames
[] = {
34673 (char *) "self",(char *) "item",(char *) "col", NULL
34676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34678 if (!SWIG_IsOK(res1
)) {
34679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34681 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34682 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34683 if (!SWIG_IsOK(res2
)) {
34684 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34689 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34692 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34696 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34697 wxPyEndAllowThreads(__tstate
);
34698 if (PyErr_Occurred()) SWIG_fail
;
34700 resultobj
= SWIG_Py_Void();
34707 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34708 PyObject
*resultobj
= 0;
34709 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34710 wxTreeItemId
*arg2
= 0 ;
34711 wxColour
*arg3
= 0 ;
34717 PyObject
* obj0
= 0 ;
34718 PyObject
* obj1
= 0 ;
34719 PyObject
* obj2
= 0 ;
34720 char * kwnames
[] = {
34721 (char *) "self",(char *) "item",(char *) "col", NULL
34724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34726 if (!SWIG_IsOK(res1
)) {
34727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34729 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34730 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34731 if (!SWIG_IsOK(res2
)) {
34732 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34735 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34737 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34740 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34744 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34745 wxPyEndAllowThreads(__tstate
);
34746 if (PyErr_Occurred()) SWIG_fail
;
34748 resultobj
= SWIG_Py_Void();
34755 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34756 PyObject
*resultobj
= 0;
34757 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34758 wxTreeItemId
*arg2
= 0 ;
34766 PyObject
* obj0
= 0 ;
34767 PyObject
* obj1
= 0 ;
34768 PyObject
* obj2
= 0 ;
34769 char * kwnames
[] = {
34770 (char *) "self",(char *) "item",(char *) "font", NULL
34773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34775 if (!SWIG_IsOK(res1
)) {
34776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34778 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34779 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34780 if (!SWIG_IsOK(res2
)) {
34781 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34784 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34786 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34787 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
34788 if (!SWIG_IsOK(res3
)) {
34789 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34792 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34794 arg3
= reinterpret_cast< wxFont
* >(argp3
);
34796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34797 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
34798 wxPyEndAllowThreads(__tstate
);
34799 if (PyErr_Occurred()) SWIG_fail
;
34801 resultobj
= SWIG_Py_Void();
34808 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34809 PyObject
*resultobj
= 0;
34810 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34811 wxTreeItemId
*arg2
= 0 ;
34817 PyObject
* obj0
= 0 ;
34818 PyObject
* obj1
= 0 ;
34819 char * kwnames
[] = {
34820 (char *) "self",(char *) "item", NULL
34823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34825 if (!SWIG_IsOK(res1
)) {
34826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34828 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34829 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34830 if (!SWIG_IsOK(res2
)) {
34831 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34834 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34836 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34839 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
34840 wxPyEndAllowThreads(__tstate
);
34841 if (PyErr_Occurred()) SWIG_fail
;
34844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34852 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34853 PyObject
*resultobj
= 0;
34854 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34855 wxTreeItemId
*arg2
= 0 ;
34861 PyObject
* obj0
= 0 ;
34862 PyObject
* obj1
= 0 ;
34863 char * kwnames
[] = {
34864 (char *) "self",(char *) "item", NULL
34867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34869 if (!SWIG_IsOK(res1
)) {
34870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34872 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34873 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34874 if (!SWIG_IsOK(res2
)) {
34875 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34878 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34880 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34883 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
34884 wxPyEndAllowThreads(__tstate
);
34885 if (PyErr_Occurred()) SWIG_fail
;
34888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34896 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34897 PyObject
*resultobj
= 0;
34898 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34899 wxTreeItemId
*arg2
= 0 ;
34905 PyObject
* obj0
= 0 ;
34906 PyObject
* obj1
= 0 ;
34907 char * kwnames
[] = {
34908 (char *) "self",(char *) "item", NULL
34911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34913 if (!SWIG_IsOK(res1
)) {
34914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34916 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34917 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34918 if (!SWIG_IsOK(res2
)) {
34919 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34922 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34924 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34927 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
34928 wxPyEndAllowThreads(__tstate
);
34929 if (PyErr_Occurred()) SWIG_fail
;
34932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34940 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34941 PyObject
*resultobj
= 0;
34942 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34943 wxTreeItemId
*arg2
= 0 ;
34949 PyObject
* obj0
= 0 ;
34950 PyObject
* obj1
= 0 ;
34951 char * kwnames
[] = {
34952 (char *) "self",(char *) "item", NULL
34955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34957 if (!SWIG_IsOK(res1
)) {
34958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34960 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34961 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34962 if (!SWIG_IsOK(res2
)) {
34963 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34966 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34968 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34971 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
34972 wxPyEndAllowThreads(__tstate
);
34973 if (PyErr_Occurred()) SWIG_fail
;
34976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34984 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34985 PyObject
*resultobj
= 0;
34986 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34987 wxTreeItemId
*arg2
= 0 ;
34993 PyObject
* obj0
= 0 ;
34994 PyObject
* obj1
= 0 ;
34995 char * kwnames
[] = {
34996 (char *) "self",(char *) "item", NULL
34999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35001 if (!SWIG_IsOK(res1
)) {
35002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35004 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35005 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35006 if (!SWIG_IsOK(res2
)) {
35007 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35012 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35015 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35016 wxPyEndAllowThreads(__tstate
);
35017 if (PyErr_Occurred()) SWIG_fail
;
35020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35028 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35029 PyObject
*resultobj
= 0;
35030 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35031 wxTreeItemId
*arg2
= 0 ;
35032 bool arg3
= (bool) true ;
35040 PyObject
* obj0
= 0 ;
35041 PyObject
* obj1
= 0 ;
35042 PyObject
* obj2
= 0 ;
35043 char * kwnames
[] = {
35044 (char *) "self",(char *) "item",(char *) "recursively", NULL
35047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35049 if (!SWIG_IsOK(res1
)) {
35050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35052 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35053 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35054 if (!SWIG_IsOK(res2
)) {
35055 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35058 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35060 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35062 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35063 if (!SWIG_IsOK(ecode3
)) {
35064 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35066 arg3
= static_cast< bool >(val3
);
35069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35070 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35071 wxPyEndAllowThreads(__tstate
);
35072 if (PyErr_Occurred()) SWIG_fail
;
35074 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35081 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35082 PyObject
*resultobj
= 0;
35083 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35084 wxTreeItemId result
;
35087 PyObject
*swig_obj
[1] ;
35089 if (!args
) SWIG_fail
;
35090 swig_obj
[0] = args
;
35091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35092 if (!SWIG_IsOK(res1
)) {
35093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35095 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35098 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35099 wxPyEndAllowThreads(__tstate
);
35100 if (PyErr_Occurred()) SWIG_fail
;
35102 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35109 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35110 PyObject
*resultobj
= 0;
35111 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35112 wxTreeItemId result
;
35115 PyObject
*swig_obj
[1] ;
35117 if (!args
) SWIG_fail
;
35118 swig_obj
[0] = args
;
35119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35120 if (!SWIG_IsOK(res1
)) {
35121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35123 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35126 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35127 wxPyEndAllowThreads(__tstate
);
35128 if (PyErr_Occurred()) SWIG_fail
;
35130 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35137 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35138 PyObject
*resultobj
= 0;
35139 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35140 PyObject
*result
= 0 ;
35143 PyObject
*swig_obj
[1] ;
35145 if (!args
) SWIG_fail
;
35146 swig_obj
[0] = args
;
35147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35148 if (!SWIG_IsOK(res1
)) {
35149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35151 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35154 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35155 wxPyEndAllowThreads(__tstate
);
35156 if (PyErr_Occurred()) SWIG_fail
;
35158 resultobj
= result
;
35165 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35166 PyObject
*resultobj
= 0;
35167 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35168 wxTreeItemId
*arg2
= 0 ;
35169 wxTreeItemId result
;
35174 PyObject
* obj0
= 0 ;
35175 PyObject
* obj1
= 0 ;
35176 char * kwnames
[] = {
35177 (char *) "self",(char *) "item", NULL
35180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35182 if (!SWIG_IsOK(res1
)) {
35183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35185 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35186 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35187 if (!SWIG_IsOK(res2
)) {
35188 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35191 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35193 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35196 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35197 wxPyEndAllowThreads(__tstate
);
35198 if (PyErr_Occurred()) SWIG_fail
;
35200 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35207 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35208 PyObject
*resultobj
= 0;
35209 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35210 wxTreeItemId
*arg2
= 0 ;
35211 PyObject
*result
= 0 ;
35216 PyObject
* obj0
= 0 ;
35217 PyObject
* obj1
= 0 ;
35218 char * kwnames
[] = {
35219 (char *) "self",(char *) "item", NULL
35222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35224 if (!SWIG_IsOK(res1
)) {
35225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35227 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35228 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35229 if (!SWIG_IsOK(res2
)) {
35230 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35233 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35235 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35238 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35239 wxPyEndAllowThreads(__tstate
);
35240 if (PyErr_Occurred()) SWIG_fail
;
35242 resultobj
= result
;
35249 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35250 PyObject
*resultobj
= 0;
35251 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35252 wxTreeItemId
*arg2
= 0 ;
35253 void *arg3
= (void *) 0 ;
35254 PyObject
*result
= 0 ;
35260 PyObject
* obj0
= 0 ;
35261 PyObject
* obj1
= 0 ;
35262 PyObject
* obj2
= 0 ;
35263 char * kwnames
[] = {
35264 (char *) "self",(char *) "item",(char *) "cookie", NULL
35267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35269 if (!SWIG_IsOK(res1
)) {
35270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35272 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35273 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35274 if (!SWIG_IsOK(res2
)) {
35275 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35278 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35280 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35281 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35282 if (!SWIG_IsOK(res3
)) {
35283 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35287 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35288 wxPyEndAllowThreads(__tstate
);
35289 if (PyErr_Occurred()) SWIG_fail
;
35291 resultobj
= result
;
35298 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35299 PyObject
*resultobj
= 0;
35300 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35301 wxTreeItemId
*arg2
= 0 ;
35302 wxTreeItemId result
;
35307 PyObject
* obj0
= 0 ;
35308 PyObject
* obj1
= 0 ;
35309 char * kwnames
[] = {
35310 (char *) "self",(char *) "item", NULL
35313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35315 if (!SWIG_IsOK(res1
)) {
35316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35318 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35319 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35320 if (!SWIG_IsOK(res2
)) {
35321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35326 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35329 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35330 wxPyEndAllowThreads(__tstate
);
35331 if (PyErr_Occurred()) SWIG_fail
;
35333 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35340 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35341 PyObject
*resultobj
= 0;
35342 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35343 wxTreeItemId
*arg2
= 0 ;
35344 wxTreeItemId result
;
35349 PyObject
* obj0
= 0 ;
35350 PyObject
* obj1
= 0 ;
35351 char * kwnames
[] = {
35352 (char *) "self",(char *) "item", NULL
35355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35357 if (!SWIG_IsOK(res1
)) {
35358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35360 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35361 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35362 if (!SWIG_IsOK(res2
)) {
35363 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35366 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35368 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35371 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35372 wxPyEndAllowThreads(__tstate
);
35373 if (PyErr_Occurred()) SWIG_fail
;
35375 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35382 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35383 PyObject
*resultobj
= 0;
35384 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35385 wxTreeItemId
*arg2
= 0 ;
35386 wxTreeItemId result
;
35391 PyObject
* obj0
= 0 ;
35392 PyObject
* obj1
= 0 ;
35393 char * kwnames
[] = {
35394 (char *) "self",(char *) "item", NULL
35397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35399 if (!SWIG_IsOK(res1
)) {
35400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35402 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35403 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35404 if (!SWIG_IsOK(res2
)) {
35405 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35408 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35410 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35413 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35414 wxPyEndAllowThreads(__tstate
);
35415 if (PyErr_Occurred()) SWIG_fail
;
35417 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35424 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35425 PyObject
*resultobj
= 0;
35426 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35427 wxTreeItemId result
;
35430 PyObject
*swig_obj
[1] ;
35432 if (!args
) SWIG_fail
;
35433 swig_obj
[0] = args
;
35434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35435 if (!SWIG_IsOK(res1
)) {
35436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35438 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35441 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35442 wxPyEndAllowThreads(__tstate
);
35443 if (PyErr_Occurred()) SWIG_fail
;
35445 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35452 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35453 PyObject
*resultobj
= 0;
35454 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35455 wxTreeItemId
*arg2
= 0 ;
35456 wxTreeItemId result
;
35461 PyObject
* obj0
= 0 ;
35462 PyObject
* obj1
= 0 ;
35463 char * kwnames
[] = {
35464 (char *) "self",(char *) "item", NULL
35467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35469 if (!SWIG_IsOK(res1
)) {
35470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35472 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35473 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35474 if (!SWIG_IsOK(res2
)) {
35475 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35478 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35480 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35483 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35484 wxPyEndAllowThreads(__tstate
);
35485 if (PyErr_Occurred()) SWIG_fail
;
35487 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35494 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35495 PyObject
*resultobj
= 0;
35496 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35497 wxTreeItemId
*arg2
= 0 ;
35498 wxTreeItemId result
;
35503 PyObject
* obj0
= 0 ;
35504 PyObject
* obj1
= 0 ;
35505 char * kwnames
[] = {
35506 (char *) "self",(char *) "item", NULL
35509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35511 if (!SWIG_IsOK(res1
)) {
35512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35514 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35515 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35516 if (!SWIG_IsOK(res2
)) {
35517 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35520 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35522 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35525 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35526 wxPyEndAllowThreads(__tstate
);
35527 if (PyErr_Occurred()) SWIG_fail
;
35529 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35536 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35537 PyObject
*resultobj
= 0;
35538 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35539 wxString
*arg2
= 0 ;
35540 int arg3
= (int) -1 ;
35541 int arg4
= (int) -1 ;
35542 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35543 wxTreeItemId result
;
35546 bool temp2
= false ;
35552 PyObject
* obj0
= 0 ;
35553 PyObject
* obj1
= 0 ;
35554 PyObject
* obj2
= 0 ;
35555 PyObject
* obj3
= 0 ;
35556 PyObject
* obj4
= 0 ;
35557 char * kwnames
[] = {
35558 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35563 if (!SWIG_IsOK(res1
)) {
35564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35566 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35568 arg2
= wxString_in_helper(obj1
);
35569 if (arg2
== NULL
) SWIG_fail
;
35573 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35574 if (!SWIG_IsOK(ecode3
)) {
35575 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35577 arg3
= static_cast< int >(val3
);
35580 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35581 if (!SWIG_IsOK(ecode4
)) {
35582 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35584 arg4
= static_cast< int >(val4
);
35587 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35588 if (!SWIG_IsOK(res5
)) {
35589 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
35593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35594 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
35595 wxPyEndAllowThreads(__tstate
);
35596 if (PyErr_Occurred()) SWIG_fail
;
35598 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35613 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35614 PyObject
*resultobj
= 0;
35615 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35616 wxTreeItemId
*arg2
= 0 ;
35617 wxString
*arg3
= 0 ;
35618 int arg4
= (int) -1 ;
35619 int arg5
= (int) -1 ;
35620 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35621 wxTreeItemId result
;
35626 bool temp3
= false ;
35632 PyObject
* obj0
= 0 ;
35633 PyObject
* obj1
= 0 ;
35634 PyObject
* obj2
= 0 ;
35635 PyObject
* obj3
= 0 ;
35636 PyObject
* obj4
= 0 ;
35637 PyObject
* obj5
= 0 ;
35638 char * kwnames
[] = {
35639 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35644 if (!SWIG_IsOK(res1
)) {
35645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35647 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35648 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35649 if (!SWIG_IsOK(res2
)) {
35650 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35653 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35655 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35657 arg3
= wxString_in_helper(obj2
);
35658 if (arg3
== NULL
) SWIG_fail
;
35662 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35663 if (!SWIG_IsOK(ecode4
)) {
35664 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
35666 arg4
= static_cast< int >(val4
);
35669 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35670 if (!SWIG_IsOK(ecode5
)) {
35671 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
35673 arg5
= static_cast< int >(val5
);
35676 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35677 if (!SWIG_IsOK(res6
)) {
35678 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35683 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35684 wxPyEndAllowThreads(__tstate
);
35685 if (PyErr_Occurred()) SWIG_fail
;
35687 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35702 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35703 PyObject
*resultobj
= 0;
35704 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35705 wxTreeItemId
*arg2
= 0 ;
35706 wxTreeItemId
*arg3
= 0 ;
35707 wxString
*arg4
= 0 ;
35708 int arg5
= (int) -1 ;
35709 int arg6
= (int) -1 ;
35710 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35711 wxTreeItemId result
;
35718 bool temp4
= false ;
35724 PyObject
* obj0
= 0 ;
35725 PyObject
* obj1
= 0 ;
35726 PyObject
* obj2
= 0 ;
35727 PyObject
* obj3
= 0 ;
35728 PyObject
* obj4
= 0 ;
35729 PyObject
* obj5
= 0 ;
35730 PyObject
* obj6
= 0 ;
35731 char * kwnames
[] = {
35732 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35737 if (!SWIG_IsOK(res1
)) {
35738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35740 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35741 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35742 if (!SWIG_IsOK(res2
)) {
35743 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35746 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35748 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35749 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35750 if (!SWIG_IsOK(res3
)) {
35751 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35754 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35756 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
35758 arg4
= wxString_in_helper(obj3
);
35759 if (arg4
== NULL
) SWIG_fail
;
35763 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35764 if (!SWIG_IsOK(ecode5
)) {
35765 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
35767 arg5
= static_cast< int >(val5
);
35770 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35771 if (!SWIG_IsOK(ecode6
)) {
35772 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
35774 arg6
= static_cast< int >(val6
);
35777 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35778 if (!SWIG_IsOK(res7
)) {
35779 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35784 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35785 wxPyEndAllowThreads(__tstate
);
35786 if (PyErr_Occurred()) SWIG_fail
;
35788 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35803 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35804 PyObject
*resultobj
= 0;
35805 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35806 wxTreeItemId
*arg2
= 0 ;
35808 wxString
*arg4
= 0 ;
35809 int arg5
= (int) -1 ;
35810 int arg6
= (int) -1 ;
35811 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35812 wxTreeItemId result
;
35819 bool temp4
= false ;
35825 PyObject
* obj0
= 0 ;
35826 PyObject
* obj1
= 0 ;
35827 PyObject
* obj2
= 0 ;
35828 PyObject
* obj3
= 0 ;
35829 PyObject
* obj4
= 0 ;
35830 PyObject
* obj5
= 0 ;
35831 PyObject
* obj6
= 0 ;
35832 char * kwnames
[] = {
35833 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35838 if (!SWIG_IsOK(res1
)) {
35839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35841 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35842 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35843 if (!SWIG_IsOK(res2
)) {
35844 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35847 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35849 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35850 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
35851 if (!SWIG_IsOK(ecode3
)) {
35852 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
35854 arg3
= static_cast< size_t >(val3
);
35856 arg4
= wxString_in_helper(obj3
);
35857 if (arg4
== NULL
) SWIG_fail
;
35861 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35862 if (!SWIG_IsOK(ecode5
)) {
35863 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
35865 arg5
= static_cast< int >(val5
);
35868 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35869 if (!SWIG_IsOK(ecode6
)) {
35870 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
35872 arg6
= static_cast< int >(val6
);
35875 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35876 if (!SWIG_IsOK(res7
)) {
35877 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35882 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35883 wxPyEndAllowThreads(__tstate
);
35884 if (PyErr_Occurred()) SWIG_fail
;
35886 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35901 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35902 PyObject
*resultobj
= 0;
35903 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35904 wxTreeItemId
*arg2
= 0 ;
35905 wxString
*arg3
= 0 ;
35906 int arg4
= (int) -1 ;
35907 int arg5
= (int) -1 ;
35908 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35909 wxTreeItemId result
;
35914 bool temp3
= false ;
35920 PyObject
* obj0
= 0 ;
35921 PyObject
* obj1
= 0 ;
35922 PyObject
* obj2
= 0 ;
35923 PyObject
* obj3
= 0 ;
35924 PyObject
* obj4
= 0 ;
35925 PyObject
* obj5
= 0 ;
35926 char * kwnames
[] = {
35927 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35932 if (!SWIG_IsOK(res1
)) {
35933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35935 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35936 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35937 if (!SWIG_IsOK(res2
)) {
35938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35941 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35943 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35945 arg3
= wxString_in_helper(obj2
);
35946 if (arg3
== NULL
) SWIG_fail
;
35950 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35951 if (!SWIG_IsOK(ecode4
)) {
35952 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
35954 arg4
= static_cast< int >(val4
);
35957 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35958 if (!SWIG_IsOK(ecode5
)) {
35959 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
35961 arg5
= static_cast< int >(val5
);
35964 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35965 if (!SWIG_IsOK(res6
)) {
35966 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35971 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35972 wxPyEndAllowThreads(__tstate
);
35973 if (PyErr_Occurred()) SWIG_fail
;
35975 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35990 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35991 PyObject
*resultobj
= 0;
35992 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35993 wxTreeItemId
*arg2
= 0 ;
35998 PyObject
* obj0
= 0 ;
35999 PyObject
* obj1
= 0 ;
36000 char * kwnames
[] = {
36001 (char *) "self",(char *) "item", NULL
36004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36006 if (!SWIG_IsOK(res1
)) {
36007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36009 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36010 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36011 if (!SWIG_IsOK(res2
)) {
36012 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36015 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36017 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36020 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36021 wxPyEndAllowThreads(__tstate
);
36022 if (PyErr_Occurred()) SWIG_fail
;
36024 resultobj
= SWIG_Py_Void();
36031 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36032 PyObject
*resultobj
= 0;
36033 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36034 wxTreeItemId
*arg2
= 0 ;
36039 PyObject
* obj0
= 0 ;
36040 PyObject
* obj1
= 0 ;
36041 char * kwnames
[] = {
36042 (char *) "self",(char *) "item", NULL
36045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36047 if (!SWIG_IsOK(res1
)) {
36048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36050 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36051 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36052 if (!SWIG_IsOK(res2
)) {
36053 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36056 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36058 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36061 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36062 wxPyEndAllowThreads(__tstate
);
36063 if (PyErr_Occurred()) SWIG_fail
;
36065 resultobj
= SWIG_Py_Void();
36072 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36073 PyObject
*resultobj
= 0;
36074 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36077 PyObject
*swig_obj
[1] ;
36079 if (!args
) SWIG_fail
;
36080 swig_obj
[0] = args
;
36081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36082 if (!SWIG_IsOK(res1
)) {
36083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36085 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36088 (arg1
)->DeleteAllItems();
36089 wxPyEndAllowThreads(__tstate
);
36090 if (PyErr_Occurred()) SWIG_fail
;
36092 resultobj
= SWIG_Py_Void();
36099 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36100 PyObject
*resultobj
= 0;
36101 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36102 wxTreeItemId
*arg2
= 0 ;
36107 PyObject
* obj0
= 0 ;
36108 PyObject
* obj1
= 0 ;
36109 char * kwnames
[] = {
36110 (char *) "self",(char *) "item", NULL
36113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36115 if (!SWIG_IsOK(res1
)) {
36116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36118 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36119 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36120 if (!SWIG_IsOK(res2
)) {
36121 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36124 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36126 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36129 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36130 wxPyEndAllowThreads(__tstate
);
36131 if (PyErr_Occurred()) SWIG_fail
;
36133 resultobj
= SWIG_Py_Void();
36140 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36141 PyObject
*resultobj
= 0;
36142 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36143 wxTreeItemId
*arg2
= 0 ;
36148 PyObject
* obj0
= 0 ;
36149 PyObject
* obj1
= 0 ;
36150 char * kwnames
[] = {
36151 (char *) "self",(char *) "item", NULL
36154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36156 if (!SWIG_IsOK(res1
)) {
36157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36159 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36160 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36161 if (!SWIG_IsOK(res2
)) {
36162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36165 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36167 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36170 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36171 wxPyEndAllowThreads(__tstate
);
36172 if (PyErr_Occurred()) SWIG_fail
;
36174 resultobj
= SWIG_Py_Void();
36181 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36182 PyObject
*resultobj
= 0;
36183 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36184 wxTreeItemId
*arg2
= 0 ;
36189 PyObject
* obj0
= 0 ;
36190 PyObject
* obj1
= 0 ;
36191 char * kwnames
[] = {
36192 (char *) "self",(char *) "item", NULL
36195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36197 if (!SWIG_IsOK(res1
)) {
36198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36200 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36201 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36202 if (!SWIG_IsOK(res2
)) {
36203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36206 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36208 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36211 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36212 wxPyEndAllowThreads(__tstate
);
36213 if (PyErr_Occurred()) SWIG_fail
;
36215 resultobj
= SWIG_Py_Void();
36222 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36223 PyObject
*resultobj
= 0;
36224 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36225 wxTreeItemId
*arg2
= 0 ;
36230 PyObject
* obj0
= 0 ;
36231 PyObject
* obj1
= 0 ;
36232 char * kwnames
[] = {
36233 (char *) "self",(char *) "item", NULL
36236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36238 if (!SWIG_IsOK(res1
)) {
36239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36241 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36242 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36243 if (!SWIG_IsOK(res2
)) {
36244 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36247 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36249 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36252 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36253 wxPyEndAllowThreads(__tstate
);
36254 if (PyErr_Occurred()) SWIG_fail
;
36256 resultobj
= SWIG_Py_Void();
36263 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36264 PyObject
*resultobj
= 0;
36265 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36268 PyObject
*swig_obj
[1] ;
36270 if (!args
) SWIG_fail
;
36271 swig_obj
[0] = args
;
36272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36273 if (!SWIG_IsOK(res1
)) {
36274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36276 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36279 (arg1
)->Unselect();
36280 wxPyEndAllowThreads(__tstate
);
36281 if (PyErr_Occurred()) SWIG_fail
;
36283 resultobj
= SWIG_Py_Void();
36290 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36291 PyObject
*resultobj
= 0;
36292 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36293 wxTreeItemId
*arg2
= 0 ;
36298 PyObject
* obj0
= 0 ;
36299 PyObject
* obj1
= 0 ;
36300 char * kwnames
[] = {
36301 (char *) "self",(char *) "item", NULL
36304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36306 if (!SWIG_IsOK(res1
)) {
36307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36309 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36310 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36311 if (!SWIG_IsOK(res2
)) {
36312 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36315 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36317 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36320 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36321 wxPyEndAllowThreads(__tstate
);
36322 if (PyErr_Occurred()) SWIG_fail
;
36324 resultobj
= SWIG_Py_Void();
36331 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36332 PyObject
*resultobj
= 0;
36333 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36336 PyObject
*swig_obj
[1] ;
36338 if (!args
) SWIG_fail
;
36339 swig_obj
[0] = args
;
36340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36341 if (!SWIG_IsOK(res1
)) {
36342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36344 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36347 (arg1
)->UnselectAll();
36348 wxPyEndAllowThreads(__tstate
);
36349 if (PyErr_Occurred()) SWIG_fail
;
36351 resultobj
= SWIG_Py_Void();
36358 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36359 PyObject
*resultobj
= 0;
36360 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36361 wxTreeItemId
*arg2
= 0 ;
36362 bool arg3
= (bool) true ;
36369 PyObject
* obj0
= 0 ;
36370 PyObject
* obj1
= 0 ;
36371 PyObject
* obj2
= 0 ;
36372 char * kwnames
[] = {
36373 (char *) "self",(char *) "item",(char *) "select", NULL
36376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36378 if (!SWIG_IsOK(res1
)) {
36379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36381 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36382 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36383 if (!SWIG_IsOK(res2
)) {
36384 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36387 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36389 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36391 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36392 if (!SWIG_IsOK(ecode3
)) {
36393 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36395 arg3
= static_cast< bool >(val3
);
36398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36399 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36400 wxPyEndAllowThreads(__tstate
);
36401 if (PyErr_Occurred()) SWIG_fail
;
36403 resultobj
= SWIG_Py_Void();
36410 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36411 PyObject
*resultobj
= 0;
36412 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36413 wxTreeItemId
*arg2
= 0 ;
36418 PyObject
* obj0
= 0 ;
36419 PyObject
* obj1
= 0 ;
36420 char * kwnames
[] = {
36421 (char *) "self",(char *) "item", NULL
36424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36426 if (!SWIG_IsOK(res1
)) {
36427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36429 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36430 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36431 if (!SWIG_IsOK(res2
)) {
36432 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36435 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36437 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36440 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36441 wxPyEndAllowThreads(__tstate
);
36442 if (PyErr_Occurred()) SWIG_fail
;
36444 resultobj
= SWIG_Py_Void();
36451 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36452 PyObject
*resultobj
= 0;
36453 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36454 wxTreeItemId
*arg2
= 0 ;
36459 PyObject
* obj0
= 0 ;
36460 PyObject
* obj1
= 0 ;
36461 char * kwnames
[] = {
36462 (char *) "self",(char *) "item", NULL
36465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36467 if (!SWIG_IsOK(res1
)) {
36468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36470 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36471 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36472 if (!SWIG_IsOK(res2
)) {
36473 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36476 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36478 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36481 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36482 wxPyEndAllowThreads(__tstate
);
36483 if (PyErr_Occurred()) SWIG_fail
;
36485 resultobj
= SWIG_Py_Void();
36492 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(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_ScrollTo",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_ScrollTo" "', 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_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36517 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36519 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36522 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
36523 wxPyEndAllowThreads(__tstate
);
36524 if (PyErr_Occurred()) SWIG_fail
;
36526 resultobj
= SWIG_Py_Void();
36533 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(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_EditLabel",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_EditLabel" "', 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_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36558 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36560 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36563 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
36564 wxPyEndAllowThreads(__tstate
);
36565 if (PyErr_Occurred()) SWIG_fail
;
36567 resultobj
= SWIG_Py_Void();
36574 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36575 PyObject
*resultobj
= 0;
36576 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36577 wxTextCtrl
*result
= 0 ;
36580 PyObject
*swig_obj
[1] ;
36582 if (!args
) SWIG_fail
;
36583 swig_obj
[0] = args
;
36584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36585 if (!SWIG_IsOK(res1
)) {
36586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36588 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36591 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
36592 wxPyEndAllowThreads(__tstate
);
36593 if (PyErr_Occurred()) SWIG_fail
;
36596 resultobj
= wxPyMake_wxObject(result
, 0);
36604 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36605 PyObject
*resultobj
= 0;
36606 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36607 wxTreeItemId
*arg2
= 0 ;
36612 PyObject
* obj0
= 0 ;
36613 PyObject
* obj1
= 0 ;
36614 char * kwnames
[] = {
36615 (char *) "self",(char *) "item", NULL
36618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36620 if (!SWIG_IsOK(res1
)) {
36621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36623 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36624 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36625 if (!SWIG_IsOK(res2
)) {
36626 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36629 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36631 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36634 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
36635 wxPyEndAllowThreads(__tstate
);
36636 if (PyErr_Occurred()) SWIG_fail
;
36638 resultobj
= SWIG_Py_Void();
36645 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36646 PyObject
*resultobj
= 0;
36647 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36648 wxPoint
*arg2
= 0 ;
36650 wxTreeItemId result
;
36655 int res3
= SWIG_TMPOBJ
;
36656 PyObject
* obj0
= 0 ;
36657 PyObject
* obj1
= 0 ;
36658 char * kwnames
[] = {
36659 (char *) "self",(char *) "point", NULL
36663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36665 if (!SWIG_IsOK(res1
)) {
36666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36668 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36671 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36675 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
36676 wxPyEndAllowThreads(__tstate
);
36677 if (PyErr_Occurred()) SWIG_fail
;
36679 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36680 if (SWIG_IsTmpObj(res3
)) {
36681 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
36683 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36684 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
36692 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36693 PyObject
*resultobj
= 0;
36694 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36695 wxTreeItemId
*arg2
= 0 ;
36696 bool arg3
= (bool) false ;
36697 PyObject
*result
= 0 ;
36704 PyObject
* obj0
= 0 ;
36705 PyObject
* obj1
= 0 ;
36706 PyObject
* obj2
= 0 ;
36707 char * kwnames
[] = {
36708 (char *) "self",(char *) "item",(char *) "textOnly", NULL
36711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36713 if (!SWIG_IsOK(res1
)) {
36714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36716 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36717 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36718 if (!SWIG_IsOK(res2
)) {
36719 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36722 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36724 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36726 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36727 if (!SWIG_IsOK(ecode3
)) {
36728 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
36730 arg3
= static_cast< bool >(val3
);
36733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36734 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
36735 wxPyEndAllowThreads(__tstate
);
36736 if (PyErr_Occurred()) SWIG_fail
;
36738 resultobj
= result
;
36745 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36746 PyObject
*resultobj
= 0;
36747 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
36748 SwigValueWrapper
<wxVisualAttributes
> result
;
36751 PyObject
* obj0
= 0 ;
36752 char * kwnames
[] = {
36753 (char *) "variant", NULL
36756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
36758 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
36759 if (!SWIG_IsOK(ecode1
)) {
36760 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
36762 arg1
= static_cast< wxWindowVariant
>(val1
);
36765 if (!wxPyCheckForApp()) SWIG_fail
;
36766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36767 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
36768 wxPyEndAllowThreads(__tstate
);
36769 if (PyErr_Occurred()) SWIG_fail
;
36771 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
36778 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36779 PyObject
*resultobj
= 0;
36780 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36786 PyObject
* obj0
= 0 ;
36787 PyObject
* obj1
= 0 ;
36788 char * kwnames
[] = {
36789 (char *) "self",(char *) "q", NULL
36792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36794 if (!SWIG_IsOK(res1
)) {
36795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36797 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36798 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
36799 if (!SWIG_IsOK(ecode2
)) {
36800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
36802 arg2
= static_cast< bool >(val2
);
36804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36805 (arg1
)->SetQuickBestSize(arg2
);
36806 wxPyEndAllowThreads(__tstate
);
36807 if (PyErr_Occurred()) SWIG_fail
;
36809 resultobj
= SWIG_Py_Void();
36816 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36817 PyObject
*resultobj
= 0;
36818 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36822 PyObject
*swig_obj
[1] ;
36824 if (!args
) SWIG_fail
;
36825 swig_obj
[0] = args
;
36826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36827 if (!SWIG_IsOK(res1
)) {
36828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36830 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36833 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
36834 wxPyEndAllowThreads(__tstate
);
36835 if (PyErr_Occurred()) SWIG_fail
;
36838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36846 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36848 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36849 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
36850 return SWIG_Py_Void();
36853 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36854 return SWIG_Python_InitShadowInstance(args
);
36857 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
36858 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
36863 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
36864 PyObject
*pyobj
= 0;
36868 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
36870 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
36877 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36878 PyObject
*resultobj
= 0;
36879 wxWindow
*arg1
= (wxWindow
*) 0 ;
36880 int arg2
= (int) (int)-1 ;
36881 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
36882 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
36883 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
36884 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
36885 wxSize
const &arg5_defvalue
= wxDefaultSize
;
36886 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
36887 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
36888 wxString
const &arg7_defvalue
= wxPyEmptyString
;
36889 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
36890 int arg8
= (int) 0 ;
36891 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
36892 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
36893 wxGenericDirCtrl
*result
= 0 ;
36898 bool temp3
= false ;
36903 bool temp7
= false ;
36906 bool temp9
= false ;
36907 PyObject
* obj0
= 0 ;
36908 PyObject
* obj1
= 0 ;
36909 PyObject
* obj2
= 0 ;
36910 PyObject
* obj3
= 0 ;
36911 PyObject
* obj4
= 0 ;
36912 PyObject
* obj5
= 0 ;
36913 PyObject
* obj6
= 0 ;
36914 PyObject
* obj7
= 0 ;
36915 PyObject
* obj8
= 0 ;
36916 char * kwnames
[] = {
36917 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
36920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
36921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36922 if (!SWIG_IsOK(res1
)) {
36923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
36925 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36927 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36928 if (!SWIG_IsOK(ecode2
)) {
36929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
36931 arg2
= static_cast< int >(val2
);
36935 arg3
= wxString_in_helper(obj2
);
36936 if (arg3
== NULL
) SWIG_fail
;
36943 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36949 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
36953 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
36954 if (!SWIG_IsOK(ecode6
)) {
36955 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
36957 arg6
= static_cast< long >(val6
);
36961 arg7
= wxString_in_helper(obj6
);
36962 if (arg7
== NULL
) SWIG_fail
;
36967 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
36968 if (!SWIG_IsOK(ecode8
)) {
36969 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
36971 arg8
= static_cast< int >(val8
);
36975 arg9
= wxString_in_helper(obj8
);
36976 if (arg9
== NULL
) SWIG_fail
;
36981 if (!wxPyCheckForApp()) SWIG_fail
;
36982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36983 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
36984 wxPyEndAllowThreads(__tstate
);
36985 if (PyErr_Occurred()) SWIG_fail
;
36987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37018 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37019 PyObject
*resultobj
= 0;
37020 wxGenericDirCtrl
*result
= 0 ;
37022 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37024 if (!wxPyCheckForApp()) SWIG_fail
;
37025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37026 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37027 wxPyEndAllowThreads(__tstate
);
37028 if (PyErr_Occurred()) SWIG_fail
;
37030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37037 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37038 PyObject
*resultobj
= 0;
37039 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37040 wxWindow
*arg2
= (wxWindow
*) 0 ;
37041 int arg3
= (int) (int)-1 ;
37042 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37043 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37044 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37045 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37046 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37047 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37048 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37049 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37050 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37051 int arg9
= (int) 0 ;
37052 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37053 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37061 bool temp4
= false ;
37066 bool temp8
= false ;
37069 bool temp10
= false ;
37070 PyObject
* obj0
= 0 ;
37071 PyObject
* obj1
= 0 ;
37072 PyObject
* obj2
= 0 ;
37073 PyObject
* obj3
= 0 ;
37074 PyObject
* obj4
= 0 ;
37075 PyObject
* obj5
= 0 ;
37076 PyObject
* obj6
= 0 ;
37077 PyObject
* obj7
= 0 ;
37078 PyObject
* obj8
= 0 ;
37079 PyObject
* obj9
= 0 ;
37080 char * kwnames
[] = {
37081 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37086 if (!SWIG_IsOK(res1
)) {
37087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37089 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37090 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37091 if (!SWIG_IsOK(res2
)) {
37092 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37094 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37096 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37097 if (!SWIG_IsOK(ecode3
)) {
37098 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37100 arg3
= static_cast< int >(val3
);
37104 arg4
= wxString_in_helper(obj3
);
37105 if (arg4
== NULL
) SWIG_fail
;
37112 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37118 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37122 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37123 if (!SWIG_IsOK(ecode7
)) {
37124 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37126 arg7
= static_cast< long >(val7
);
37130 arg8
= wxString_in_helper(obj7
);
37131 if (arg8
== NULL
) SWIG_fail
;
37136 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37137 if (!SWIG_IsOK(ecode9
)) {
37138 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37140 arg9
= static_cast< int >(val9
);
37144 arg10
= wxString_in_helper(obj9
);
37145 if (arg10
== NULL
) SWIG_fail
;
37150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37151 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37152 wxPyEndAllowThreads(__tstate
);
37153 if (PyErr_Occurred()) SWIG_fail
;
37156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37188 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37189 PyObject
*resultobj
= 0;
37190 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37191 wxString
*arg2
= 0 ;
37195 bool temp2
= false ;
37196 PyObject
* obj0
= 0 ;
37197 PyObject
* obj1
= 0 ;
37198 char * kwnames
[] = {
37199 (char *) "self",(char *) "path", NULL
37202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37204 if (!SWIG_IsOK(res1
)) {
37205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37207 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37209 arg2
= wxString_in_helper(obj1
);
37210 if (arg2
== NULL
) SWIG_fail
;
37214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37215 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37216 wxPyEndAllowThreads(__tstate
);
37217 if (PyErr_Occurred()) SWIG_fail
;
37220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37236 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37237 PyObject
*resultobj
= 0;
37238 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37239 wxString
*arg2
= 0 ;
37243 bool temp2
= false ;
37244 PyObject
* obj0
= 0 ;
37245 PyObject
* obj1
= 0 ;
37246 char * kwnames
[] = {
37247 (char *) "self",(char *) "path", NULL
37250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37252 if (!SWIG_IsOK(res1
)) {
37253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37255 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37257 arg2
= wxString_in_helper(obj1
);
37258 if (arg2
== NULL
) SWIG_fail
;
37262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37263 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
37264 wxPyEndAllowThreads(__tstate
);
37265 if (PyErr_Occurred()) SWIG_fail
;
37268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37284 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37285 PyObject
*resultobj
= 0;
37286 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37290 PyObject
*swig_obj
[1] ;
37292 if (!args
) SWIG_fail
;
37293 swig_obj
[0] = args
;
37294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37295 if (!SWIG_IsOK(res1
)) {
37296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37298 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37301 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37302 wxPyEndAllowThreads(__tstate
);
37303 if (PyErr_Occurred()) SWIG_fail
;
37307 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37309 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37318 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37319 PyObject
*resultobj
= 0;
37320 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37321 wxString
*arg2
= 0 ;
37324 bool temp2
= false ;
37325 PyObject
* obj0
= 0 ;
37326 PyObject
* obj1
= 0 ;
37327 char * kwnames
[] = {
37328 (char *) "self",(char *) "path", NULL
37331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37333 if (!SWIG_IsOK(res1
)) {
37334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37336 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37338 arg2
= wxString_in_helper(obj1
);
37339 if (arg2
== NULL
) SWIG_fail
;
37343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37344 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37345 wxPyEndAllowThreads(__tstate
);
37346 if (PyErr_Occurred()) SWIG_fail
;
37348 resultobj
= SWIG_Py_Void();
37363 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37364 PyObject
*resultobj
= 0;
37365 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37369 PyObject
*swig_obj
[1] ;
37371 if (!args
) SWIG_fail
;
37372 swig_obj
[0] = args
;
37373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37374 if (!SWIG_IsOK(res1
)) {
37375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37377 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37380 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37381 wxPyEndAllowThreads(__tstate
);
37382 if (PyErr_Occurred()) SWIG_fail
;
37386 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37388 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37397 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37398 PyObject
*resultobj
= 0;
37399 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37403 PyObject
*swig_obj
[1] ;
37405 if (!args
) SWIG_fail
;
37406 swig_obj
[0] = args
;
37407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37408 if (!SWIG_IsOK(res1
)) {
37409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37411 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37414 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37415 wxPyEndAllowThreads(__tstate
);
37416 if (PyErr_Occurred()) SWIG_fail
;
37420 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37422 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37431 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37432 PyObject
*resultobj
= 0;
37433 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37434 wxString
*arg2
= 0 ;
37437 bool temp2
= false ;
37438 PyObject
* obj0
= 0 ;
37439 PyObject
* obj1
= 0 ;
37440 char * kwnames
[] = {
37441 (char *) "self",(char *) "path", NULL
37444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37446 if (!SWIG_IsOK(res1
)) {
37447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37449 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37451 arg2
= wxString_in_helper(obj1
);
37452 if (arg2
== NULL
) SWIG_fail
;
37456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37457 (arg1
)->SetPath((wxString
const &)*arg2
);
37458 wxPyEndAllowThreads(__tstate
);
37459 if (PyErr_Occurred()) SWIG_fail
;
37461 resultobj
= SWIG_Py_Void();
37476 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37477 PyObject
*resultobj
= 0;
37478 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37484 PyObject
* obj0
= 0 ;
37485 PyObject
* obj1
= 0 ;
37486 char * kwnames
[] = {
37487 (char *) "self",(char *) "show", NULL
37490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37492 if (!SWIG_IsOK(res1
)) {
37493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37495 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37496 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37497 if (!SWIG_IsOK(ecode2
)) {
37498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37500 arg2
= static_cast< bool >(val2
);
37502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37503 (arg1
)->ShowHidden(arg2
);
37504 wxPyEndAllowThreads(__tstate
);
37505 if (PyErr_Occurred()) SWIG_fail
;
37507 resultobj
= SWIG_Py_Void();
37514 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37515 PyObject
*resultobj
= 0;
37516 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37520 PyObject
*swig_obj
[1] ;
37522 if (!args
) SWIG_fail
;
37523 swig_obj
[0] = args
;
37524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37525 if (!SWIG_IsOK(res1
)) {
37526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37528 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37531 result
= (bool)(arg1
)->GetShowHidden();
37532 wxPyEndAllowThreads(__tstate
);
37533 if (PyErr_Occurred()) SWIG_fail
;
37536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37544 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37545 PyObject
*resultobj
= 0;
37546 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37550 PyObject
*swig_obj
[1] ;
37552 if (!args
) SWIG_fail
;
37553 swig_obj
[0] = args
;
37554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37555 if (!SWIG_IsOK(res1
)) {
37556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37558 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37561 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
37562 wxPyEndAllowThreads(__tstate
);
37563 if (PyErr_Occurred()) SWIG_fail
;
37567 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37569 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37578 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37579 PyObject
*resultobj
= 0;
37580 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37581 wxString
*arg2
= 0 ;
37584 bool temp2
= false ;
37585 PyObject
* obj0
= 0 ;
37586 PyObject
* obj1
= 0 ;
37587 char * kwnames
[] = {
37588 (char *) "self",(char *) "filter", NULL
37591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37593 if (!SWIG_IsOK(res1
)) {
37594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37596 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37598 arg2
= wxString_in_helper(obj1
);
37599 if (arg2
== NULL
) SWIG_fail
;
37603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37604 (arg1
)->SetFilter((wxString
const &)*arg2
);
37605 wxPyEndAllowThreads(__tstate
);
37606 if (PyErr_Occurred()) SWIG_fail
;
37608 resultobj
= SWIG_Py_Void();
37623 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37624 PyObject
*resultobj
= 0;
37625 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37629 PyObject
*swig_obj
[1] ;
37631 if (!args
) SWIG_fail
;
37632 swig_obj
[0] = args
;
37633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37634 if (!SWIG_IsOK(res1
)) {
37635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37637 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37640 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
37641 wxPyEndAllowThreads(__tstate
);
37642 if (PyErr_Occurred()) SWIG_fail
;
37644 resultobj
= SWIG_From_int(static_cast< int >(result
));
37651 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37652 PyObject
*resultobj
= 0;
37653 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37659 PyObject
* obj0
= 0 ;
37660 PyObject
* obj1
= 0 ;
37661 char * kwnames
[] = {
37662 (char *) "self",(char *) "n", NULL
37665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37667 if (!SWIG_IsOK(res1
)) {
37668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37670 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37671 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37672 if (!SWIG_IsOK(ecode2
)) {
37673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
37675 arg2
= static_cast< int >(val2
);
37677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37678 (arg1
)->SetFilterIndex(arg2
);
37679 wxPyEndAllowThreads(__tstate
);
37680 if (PyErr_Occurred()) SWIG_fail
;
37682 resultobj
= SWIG_Py_Void();
37689 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37690 PyObject
*resultobj
= 0;
37691 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37692 wxTreeItemId result
;
37695 PyObject
*swig_obj
[1] ;
37697 if (!args
) SWIG_fail
;
37698 swig_obj
[0] = args
;
37699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37700 if (!SWIG_IsOK(res1
)) {
37701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37703 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37706 result
= (arg1
)->GetRootId();
37707 wxPyEndAllowThreads(__tstate
);
37708 if (PyErr_Occurred()) SWIG_fail
;
37710 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37717 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37718 PyObject
*resultobj
= 0;
37719 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37720 wxPyTreeCtrl
*result
= 0 ;
37723 PyObject
*swig_obj
[1] ;
37725 if (!args
) SWIG_fail
;
37726 swig_obj
[0] = args
;
37727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37728 if (!SWIG_IsOK(res1
)) {
37729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37731 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37734 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
37735 wxPyEndAllowThreads(__tstate
);
37736 if (PyErr_Occurred()) SWIG_fail
;
37739 resultobj
= wxPyMake_wxObject(result
, 0);
37747 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37748 PyObject
*resultobj
= 0;
37749 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37750 wxDirFilterListCtrl
*result
= 0 ;
37753 PyObject
*swig_obj
[1] ;
37755 if (!args
) SWIG_fail
;
37756 swig_obj
[0] = args
;
37757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37758 if (!SWIG_IsOK(res1
)) {
37759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37761 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37764 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
37765 wxPyEndAllowThreads(__tstate
);
37766 if (PyErr_Occurred()) SWIG_fail
;
37768 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37775 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37776 PyObject
*resultobj
= 0;
37777 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37778 wxTreeItemId arg2
;
37779 wxString
*arg3
= 0 ;
37781 wxTreeItemId result
;
37786 bool temp3
= false ;
37788 int res4
= SWIG_TMPOBJ
;
37789 PyObject
* obj0
= 0 ;
37790 PyObject
* obj1
= 0 ;
37791 PyObject
* obj2
= 0 ;
37792 char * kwnames
[] = {
37793 (char *) "self",(char *) "parentId",(char *) "path", NULL
37797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37799 if (!SWIG_IsOK(res1
)) {
37800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37802 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37804 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37805 if (!SWIG_IsOK(res2
)) {
37806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37809 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37811 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37813 if (SWIG_IsNewObj(res2
)) delete temp
;
37817 arg3
= wxString_in_helper(obj2
);
37818 if (arg3
== NULL
) SWIG_fail
;
37822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37823 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
37824 wxPyEndAllowThreads(__tstate
);
37825 if (PyErr_Occurred()) SWIG_fail
;
37827 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37828 if (SWIG_IsTmpObj(res4
)) {
37829 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
37831 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37832 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
37848 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37849 PyObject
*resultobj
= 0;
37850 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37853 PyObject
*swig_obj
[1] ;
37855 if (!args
) SWIG_fail
;
37856 swig_obj
[0] = args
;
37857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37858 if (!SWIG_IsOK(res1
)) {
37859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37861 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37864 (arg1
)->DoResize();
37865 wxPyEndAllowThreads(__tstate
);
37866 if (PyErr_Occurred()) SWIG_fail
;
37868 resultobj
= SWIG_Py_Void();
37875 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37876 PyObject
*resultobj
= 0;
37877 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37880 PyObject
*swig_obj
[1] ;
37882 if (!args
) SWIG_fail
;
37883 swig_obj
[0] = args
;
37884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37885 if (!SWIG_IsOK(res1
)) {
37886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37888 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37891 (arg1
)->ReCreateTree();
37892 wxPyEndAllowThreads(__tstate
);
37893 if (PyErr_Occurred()) SWIG_fail
;
37895 resultobj
= SWIG_Py_Void();
37902 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37904 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37905 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
37906 return SWIG_Py_Void();
37909 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37910 return SWIG_Python_InitShadowInstance(args
);
37913 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37914 PyObject
*resultobj
= 0;
37915 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37916 int arg2
= (int) (int)-1 ;
37917 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37918 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37919 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37920 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37921 long arg5
= (long) 0 ;
37922 wxDirFilterListCtrl
*result
= 0 ;
37931 PyObject
* obj0
= 0 ;
37932 PyObject
* obj1
= 0 ;
37933 PyObject
* obj2
= 0 ;
37934 PyObject
* obj3
= 0 ;
37935 PyObject
* obj4
= 0 ;
37936 char * kwnames
[] = {
37937 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
37940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37942 if (!SWIG_IsOK(res1
)) {
37943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37945 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37947 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37948 if (!SWIG_IsOK(ecode2
)) {
37949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
37951 arg2
= static_cast< int >(val2
);
37956 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37962 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37966 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
37967 if (!SWIG_IsOK(ecode5
)) {
37968 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
37970 arg5
= static_cast< long >(val5
);
37973 if (!wxPyCheckForApp()) SWIG_fail
;
37974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37975 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
37976 wxPyEndAllowThreads(__tstate
);
37977 if (PyErr_Occurred()) SWIG_fail
;
37979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
37986 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37987 PyObject
*resultobj
= 0;
37988 wxDirFilterListCtrl
*result
= 0 ;
37990 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
37992 if (!wxPyCheckForApp()) SWIG_fail
;
37993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37994 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
37995 wxPyEndAllowThreads(__tstate
);
37996 if (PyErr_Occurred()) SWIG_fail
;
37998 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38005 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38006 PyObject
*resultobj
= 0;
38007 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38008 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38009 int arg3
= (int) (int)-1 ;
38010 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38011 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38012 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38013 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38014 long arg6
= (long) 0 ;
38026 PyObject
* obj0
= 0 ;
38027 PyObject
* obj1
= 0 ;
38028 PyObject
* obj2
= 0 ;
38029 PyObject
* obj3
= 0 ;
38030 PyObject
* obj4
= 0 ;
38031 PyObject
* obj5
= 0 ;
38032 char * kwnames
[] = {
38033 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38038 if (!SWIG_IsOK(res1
)) {
38039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38041 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38042 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38043 if (!SWIG_IsOK(res2
)) {
38044 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38046 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38048 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38049 if (!SWIG_IsOK(ecode3
)) {
38050 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38052 arg3
= static_cast< int >(val3
);
38057 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38063 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38067 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38068 if (!SWIG_IsOK(ecode6
)) {
38069 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38071 arg6
= static_cast< long >(val6
);
38074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38075 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38076 wxPyEndAllowThreads(__tstate
);
38077 if (PyErr_Occurred()) SWIG_fail
;
38080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38088 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38089 PyObject
*resultobj
= 0;
38090 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38091 wxString
*arg2
= 0 ;
38095 bool temp2
= false ;
38098 PyObject
* obj0
= 0 ;
38099 PyObject
* obj1
= 0 ;
38100 PyObject
* obj2
= 0 ;
38101 char * kwnames
[] = {
38102 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38107 if (!SWIG_IsOK(res1
)) {
38108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38110 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38112 arg2
= wxString_in_helper(obj1
);
38113 if (arg2
== NULL
) SWIG_fail
;
38116 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38117 if (!SWIG_IsOK(ecode3
)) {
38118 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38120 arg3
= static_cast< int >(val3
);
38122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38123 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38124 wxPyEndAllowThreads(__tstate
);
38125 if (PyErr_Occurred()) SWIG_fail
;
38127 resultobj
= SWIG_Py_Void();
38142 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38144 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38145 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38146 return SWIG_Py_Void();
38149 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38150 return SWIG_Python_InitShadowInstance(args
);
38153 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38154 PyObject
*resultobj
= 0;
38155 wxWindow
*arg1
= (wxWindow
*) 0 ;
38156 int arg2
= (int) (int)-1 ;
38157 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38158 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38159 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38160 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38161 long arg5
= (long) 0 ;
38162 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38163 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38164 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38165 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38166 wxPyControl
*result
= 0 ;
38177 bool temp7
= false ;
38178 PyObject
* obj0
= 0 ;
38179 PyObject
* obj1
= 0 ;
38180 PyObject
* obj2
= 0 ;
38181 PyObject
* obj3
= 0 ;
38182 PyObject
* obj4
= 0 ;
38183 PyObject
* obj5
= 0 ;
38184 PyObject
* obj6
= 0 ;
38185 char * kwnames
[] = {
38186 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38191 if (!SWIG_IsOK(res1
)) {
38192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38194 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38196 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38197 if (!SWIG_IsOK(ecode2
)) {
38198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38200 arg2
= static_cast< int >(val2
);
38205 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38211 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38215 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38216 if (!SWIG_IsOK(ecode5
)) {
38217 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38219 arg5
= static_cast< long >(val5
);
38222 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38223 if (!SWIG_IsOK(res6
)) {
38224 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38227 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38229 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38233 arg7
= wxString_in_helper(obj6
);
38234 if (arg7
== NULL
) SWIG_fail
;
38239 if (!wxPyCheckForApp()) SWIG_fail
;
38240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38241 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38242 wxPyEndAllowThreads(__tstate
);
38243 if (PyErr_Occurred()) SWIG_fail
;
38245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38260 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38261 PyObject
*resultobj
= 0;
38262 wxPyControl
*result
= 0 ;
38264 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38266 if (!wxPyCheckForApp()) SWIG_fail
;
38267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38268 result
= (wxPyControl
*)new wxPyControl();
38269 wxPyEndAllowThreads(__tstate
);
38270 if (PyErr_Occurred()) SWIG_fail
;
38272 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38279 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38280 PyObject
*resultobj
= 0;
38281 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38282 PyObject
*arg2
= (PyObject
*) 0 ;
38283 PyObject
*arg3
= (PyObject
*) 0 ;
38286 PyObject
* obj0
= 0 ;
38287 PyObject
* obj1
= 0 ;
38288 PyObject
* obj2
= 0 ;
38289 char * kwnames
[] = {
38290 (char *) "self",(char *) "self",(char *) "_class", NULL
38293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38295 if (!SWIG_IsOK(res1
)) {
38296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38298 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38303 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38304 wxPyEndAllowThreads(__tstate
);
38305 if (PyErr_Occurred()) SWIG_fail
;
38307 resultobj
= SWIG_Py_Void();
38314 SWIGINTERN PyObject
*_wrap_PyControl_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38315 PyObject
*resultobj
= 0;
38316 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38321 PyObject
* obj0
= 0 ;
38322 PyObject
* obj1
= 0 ;
38323 char * kwnames
[] = {
38324 (char *) "self",(char *) "size", NULL
38327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38329 if (!SWIG_IsOK(res1
)) {
38330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38332 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38335 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38339 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
38340 wxPyEndAllowThreads(__tstate
);
38341 if (PyErr_Occurred()) SWIG_fail
;
38343 resultobj
= SWIG_Py_Void();
38350 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38351 PyObject
*resultobj
= 0;
38352 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38353 wxDC
*arg2
= (wxDC
*) 0 ;
38359 PyObject
* obj0
= 0 ;
38360 PyObject
* obj1
= 0 ;
38361 char * kwnames
[] = {
38362 (char *) "self",(char *) "dc", NULL
38365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38367 if (!SWIG_IsOK(res1
)) {
38368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38370 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38371 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38372 if (!SWIG_IsOK(res2
)) {
38373 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38375 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38378 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38379 wxPyEndAllowThreads(__tstate
);
38380 if (PyErr_Occurred()) SWIG_fail
;
38383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38391 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38392 PyObject
*resultobj
= 0;
38393 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38408 PyObject
* obj0
= 0 ;
38409 PyObject
* obj1
= 0 ;
38410 PyObject
* obj2
= 0 ;
38411 PyObject
* obj3
= 0 ;
38412 PyObject
* obj4
= 0 ;
38413 char * kwnames
[] = {
38414 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38419 if (!SWIG_IsOK(res1
)) {
38420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38422 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38423 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38424 if (!SWIG_IsOK(ecode2
)) {
38425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38427 arg2
= static_cast< int >(val2
);
38428 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38429 if (!SWIG_IsOK(ecode3
)) {
38430 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38432 arg3
= static_cast< int >(val3
);
38433 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38434 if (!SWIG_IsOK(ecode4
)) {
38435 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38437 arg4
= static_cast< int >(val4
);
38438 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38439 if (!SWIG_IsOK(ecode5
)) {
38440 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38442 arg5
= static_cast< int >(val5
);
38444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38445 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38446 wxPyEndAllowThreads(__tstate
);
38447 if (PyErr_Occurred()) SWIG_fail
;
38449 resultobj
= SWIG_Py_Void();
38456 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38457 PyObject
*resultobj
= 0;
38458 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38463 int arg6
= (int) wxSIZE_AUTO
;
38476 PyObject
* obj0
= 0 ;
38477 PyObject
* obj1
= 0 ;
38478 PyObject
* obj2
= 0 ;
38479 PyObject
* obj3
= 0 ;
38480 PyObject
* obj4
= 0 ;
38481 PyObject
* obj5
= 0 ;
38482 char * kwnames
[] = {
38483 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38488 if (!SWIG_IsOK(res1
)) {
38489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38491 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38492 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38493 if (!SWIG_IsOK(ecode2
)) {
38494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38496 arg2
= static_cast< int >(val2
);
38497 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38498 if (!SWIG_IsOK(ecode3
)) {
38499 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38501 arg3
= static_cast< int >(val3
);
38502 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38503 if (!SWIG_IsOK(ecode4
)) {
38504 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38506 arg4
= static_cast< int >(val4
);
38507 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38508 if (!SWIG_IsOK(ecode5
)) {
38509 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38511 arg5
= static_cast< int >(val5
);
38513 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38514 if (!SWIG_IsOK(ecode6
)) {
38515 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38517 arg6
= static_cast< int >(val6
);
38520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38521 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
38522 wxPyEndAllowThreads(__tstate
);
38523 if (PyErr_Occurred()) SWIG_fail
;
38525 resultobj
= SWIG_Py_Void();
38532 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38533 PyObject
*resultobj
= 0;
38534 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38543 PyObject
* obj0
= 0 ;
38544 PyObject
* obj1
= 0 ;
38545 PyObject
* obj2
= 0 ;
38546 char * kwnames
[] = {
38547 (char *) "self",(char *) "width",(char *) "height", NULL
38550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38552 if (!SWIG_IsOK(res1
)) {
38553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38555 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38556 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38557 if (!SWIG_IsOK(ecode2
)) {
38558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
38560 arg2
= static_cast< int >(val2
);
38561 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38562 if (!SWIG_IsOK(ecode3
)) {
38563 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
38565 arg3
= static_cast< int >(val3
);
38567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38568 (arg1
)->DoSetClientSize(arg2
,arg3
);
38569 wxPyEndAllowThreads(__tstate
);
38570 if (PyErr_Occurred()) SWIG_fail
;
38572 resultobj
= SWIG_Py_Void();
38579 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38580 PyObject
*resultobj
= 0;
38581 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38590 PyObject
* obj0
= 0 ;
38591 PyObject
* obj1
= 0 ;
38592 PyObject
* obj2
= 0 ;
38593 char * kwnames
[] = {
38594 (char *) "self",(char *) "x",(char *) "y", NULL
38597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38599 if (!SWIG_IsOK(res1
)) {
38600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38602 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38603 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38604 if (!SWIG_IsOK(ecode2
)) {
38605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
38607 arg2
= static_cast< int >(val2
);
38608 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38609 if (!SWIG_IsOK(ecode3
)) {
38610 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
38612 arg3
= static_cast< int >(val3
);
38614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38615 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
38616 wxPyEndAllowThreads(__tstate
);
38617 if (PyErr_Occurred()) SWIG_fail
;
38619 resultobj
= SWIG_Py_Void();
38626 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38627 PyObject
*resultobj
= 0;
38628 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38629 int *arg2
= (int *) 0 ;
38630 int *arg3
= (int *) 0 ;
38634 int res2
= SWIG_TMPOBJ
;
38636 int res3
= SWIG_TMPOBJ
;
38637 PyObject
*swig_obj
[1] ;
38641 if (!args
) SWIG_fail
;
38642 swig_obj
[0] = args
;
38643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38644 if (!SWIG_IsOK(res1
)) {
38645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38647 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38650 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
38651 wxPyEndAllowThreads(__tstate
);
38652 if (PyErr_Occurred()) SWIG_fail
;
38654 resultobj
= SWIG_Py_Void();
38655 if (SWIG_IsTmpObj(res2
)) {
38656 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38658 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38659 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38661 if (SWIG_IsTmpObj(res3
)) {
38662 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38664 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38665 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38673 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38674 PyObject
*resultobj
= 0;
38675 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38676 int *arg2
= (int *) 0 ;
38677 int *arg3
= (int *) 0 ;
38681 int res2
= SWIG_TMPOBJ
;
38683 int res3
= SWIG_TMPOBJ
;
38684 PyObject
*swig_obj
[1] ;
38688 if (!args
) SWIG_fail
;
38689 swig_obj
[0] = args
;
38690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38691 if (!SWIG_IsOK(res1
)) {
38692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38694 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38697 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
38698 wxPyEndAllowThreads(__tstate
);
38699 if (PyErr_Occurred()) SWIG_fail
;
38701 resultobj
= SWIG_Py_Void();
38702 if (SWIG_IsTmpObj(res2
)) {
38703 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38705 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38706 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38708 if (SWIG_IsTmpObj(res3
)) {
38709 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38711 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38712 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38720 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38721 PyObject
*resultobj
= 0;
38722 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38723 int *arg2
= (int *) 0 ;
38724 int *arg3
= (int *) 0 ;
38728 int res2
= SWIG_TMPOBJ
;
38730 int res3
= SWIG_TMPOBJ
;
38731 PyObject
*swig_obj
[1] ;
38735 if (!args
) SWIG_fail
;
38736 swig_obj
[0] = args
;
38737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38738 if (!SWIG_IsOK(res1
)) {
38739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38741 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38744 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
38745 wxPyEndAllowThreads(__tstate
);
38746 if (PyErr_Occurred()) SWIG_fail
;
38748 resultobj
= SWIG_Py_Void();
38749 if (SWIG_IsTmpObj(res2
)) {
38750 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38752 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38753 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38755 if (SWIG_IsTmpObj(res3
)) {
38756 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38758 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38759 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38767 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38768 PyObject
*resultobj
= 0;
38769 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38773 PyObject
*swig_obj
[1] ;
38775 if (!args
) SWIG_fail
;
38776 swig_obj
[0] = args
;
38777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38778 if (!SWIG_IsOK(res1
)) {
38779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38781 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38784 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
38785 wxPyEndAllowThreads(__tstate
);
38786 if (PyErr_Occurred()) SWIG_fail
;
38788 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38795 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38796 PyObject
*resultobj
= 0;
38797 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38801 PyObject
*swig_obj
[1] ;
38803 if (!args
) SWIG_fail
;
38804 swig_obj
[0] = args
;
38805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38806 if (!SWIG_IsOK(res1
)) {
38807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38809 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38812 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
38813 wxPyEndAllowThreads(__tstate
);
38814 if (PyErr_Occurred()) SWIG_fail
;
38816 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38823 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38824 PyObject
*resultobj
= 0;
38825 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38826 SwigValueWrapper
<wxVisualAttributes
> result
;
38829 PyObject
*swig_obj
[1] ;
38831 if (!args
) SWIG_fail
;
38832 swig_obj
[0] = args
;
38833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38834 if (!SWIG_IsOK(res1
)) {
38835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
38837 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38840 result
= (arg1
)->GetDefaultAttributes();
38841 wxPyEndAllowThreads(__tstate
);
38842 if (PyErr_Occurred()) SWIG_fail
;
38844 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
38851 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38852 PyObject
*resultobj
= 0;
38853 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38856 PyObject
*swig_obj
[1] ;
38858 if (!args
) SWIG_fail
;
38859 swig_obj
[0] = args
;
38860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38861 if (!SWIG_IsOK(res1
)) {
38862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
38864 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38867 (arg1
)->OnInternalIdle();
38868 wxPyEndAllowThreads(__tstate
);
38869 if (PyErr_Occurred()) SWIG_fail
;
38871 resultobj
= SWIG_Py_Void();
38878 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38880 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38881 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
38882 return SWIG_Py_Void();
38885 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38886 return SWIG_Python_InitShadowInstance(args
);
38889 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38890 PyObject
*resultobj
= 0;
38891 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
38892 int arg2
= (int) 0 ;
38893 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38894 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38895 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
38896 wxHelpEvent
*result
= 0 ;
38904 PyObject
* obj0
= 0 ;
38905 PyObject
* obj1
= 0 ;
38906 PyObject
* obj2
= 0 ;
38907 PyObject
* obj3
= 0 ;
38908 char * kwnames
[] = {
38909 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
38912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38914 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
38915 if (!SWIG_IsOK(ecode1
)) {
38916 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
38918 arg1
= static_cast< wxEventType
>(val1
);
38921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38922 if (!SWIG_IsOK(ecode2
)) {
38923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
38925 arg2
= static_cast< int >(val2
);
38930 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38934 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38935 if (!SWIG_IsOK(ecode4
)) {
38936 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
38938 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
38941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38942 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
38943 wxPyEndAllowThreads(__tstate
);
38944 if (PyErr_Occurred()) SWIG_fail
;
38946 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
38953 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38954 PyObject
*resultobj
= 0;
38955 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38959 PyObject
*swig_obj
[1] ;
38961 if (!args
) SWIG_fail
;
38962 swig_obj
[0] = args
;
38963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38964 if (!SWIG_IsOK(res1
)) {
38965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38967 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38970 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
38971 wxPyEndAllowThreads(__tstate
);
38972 if (PyErr_Occurred()) SWIG_fail
;
38974 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
38981 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38982 PyObject
*resultobj
= 0;
38983 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38984 wxPoint
*arg2
= 0 ;
38988 PyObject
* obj0
= 0 ;
38989 PyObject
* obj1
= 0 ;
38990 char * kwnames
[] = {
38991 (char *) "self",(char *) "pos", NULL
38994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38996 if (!SWIG_IsOK(res1
)) {
38997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38999 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39002 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39006 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39007 wxPyEndAllowThreads(__tstate
);
39008 if (PyErr_Occurred()) SWIG_fail
;
39010 resultobj
= SWIG_Py_Void();
39017 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39018 PyObject
*resultobj
= 0;
39019 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39020 wxString
*result
= 0 ;
39023 PyObject
*swig_obj
[1] ;
39025 if (!args
) SWIG_fail
;
39026 swig_obj
[0] = args
;
39027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39028 if (!SWIG_IsOK(res1
)) {
39029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39031 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39035 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39036 result
= (wxString
*) &_result_ref
;
39038 wxPyEndAllowThreads(__tstate
);
39039 if (PyErr_Occurred()) SWIG_fail
;
39043 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39045 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39054 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39055 PyObject
*resultobj
= 0;
39056 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39057 wxString
*arg2
= 0 ;
39060 bool temp2
= false ;
39061 PyObject
* obj0
= 0 ;
39062 PyObject
* obj1
= 0 ;
39063 char * kwnames
[] = {
39064 (char *) "self",(char *) "link", NULL
39067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39069 if (!SWIG_IsOK(res1
)) {
39070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39072 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39074 arg2
= wxString_in_helper(obj1
);
39075 if (arg2
== NULL
) SWIG_fail
;
39079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39080 (arg1
)->SetLink((wxString
const &)*arg2
);
39081 wxPyEndAllowThreads(__tstate
);
39082 if (PyErr_Occurred()) SWIG_fail
;
39084 resultobj
= SWIG_Py_Void();
39099 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39100 PyObject
*resultobj
= 0;
39101 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39102 wxString
*result
= 0 ;
39105 PyObject
*swig_obj
[1] ;
39107 if (!args
) SWIG_fail
;
39108 swig_obj
[0] = args
;
39109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39110 if (!SWIG_IsOK(res1
)) {
39111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39113 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39117 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39118 result
= (wxString
*) &_result_ref
;
39120 wxPyEndAllowThreads(__tstate
);
39121 if (PyErr_Occurred()) SWIG_fail
;
39125 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39127 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39136 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39137 PyObject
*resultobj
= 0;
39138 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39139 wxString
*arg2
= 0 ;
39142 bool temp2
= false ;
39143 PyObject
* obj0
= 0 ;
39144 PyObject
* obj1
= 0 ;
39145 char * kwnames
[] = {
39146 (char *) "self",(char *) "target", NULL
39149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39151 if (!SWIG_IsOK(res1
)) {
39152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39154 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39156 arg2
= wxString_in_helper(obj1
);
39157 if (arg2
== NULL
) SWIG_fail
;
39161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39162 (arg1
)->SetTarget((wxString
const &)*arg2
);
39163 wxPyEndAllowThreads(__tstate
);
39164 if (PyErr_Occurred()) SWIG_fail
;
39166 resultobj
= SWIG_Py_Void();
39181 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39182 PyObject
*resultobj
= 0;
39183 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39184 wxHelpEvent::Origin result
;
39187 PyObject
*swig_obj
[1] ;
39189 if (!args
) SWIG_fail
;
39190 swig_obj
[0] = args
;
39191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39192 if (!SWIG_IsOK(res1
)) {
39193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39195 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39198 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39199 wxPyEndAllowThreads(__tstate
);
39200 if (PyErr_Occurred()) SWIG_fail
;
39202 resultobj
= SWIG_From_int(static_cast< int >(result
));
39209 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39210 PyObject
*resultobj
= 0;
39211 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39212 wxHelpEvent::Origin arg2
;
39217 PyObject
* obj0
= 0 ;
39218 PyObject
* obj1
= 0 ;
39219 char * kwnames
[] = {
39220 (char *) "self",(char *) "origin", NULL
39223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39225 if (!SWIG_IsOK(res1
)) {
39226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39228 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39229 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39230 if (!SWIG_IsOK(ecode2
)) {
39231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39233 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39236 (arg1
)->SetOrigin(arg2
);
39237 wxPyEndAllowThreads(__tstate
);
39238 if (PyErr_Occurred()) SWIG_fail
;
39240 resultobj
= SWIG_Py_Void();
39247 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39249 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39250 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39251 return SWIG_Py_Void();
39254 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39255 return SWIG_Python_InitShadowInstance(args
);
39258 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39259 PyObject
*resultobj
= 0;
39260 wxWindow
*arg1
= (wxWindow
*) NULL
;
39261 bool arg2
= (bool) true ;
39262 wxContextHelp
*result
= 0 ;
39267 PyObject
* obj0
= 0 ;
39268 PyObject
* obj1
= 0 ;
39269 char * kwnames
[] = {
39270 (char *) "window",(char *) "doNow", NULL
39273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39276 if (!SWIG_IsOK(res1
)) {
39277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39279 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39282 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39283 if (!SWIG_IsOK(ecode2
)) {
39284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39286 arg2
= static_cast< bool >(val2
);
39289 if (!wxPyCheckForApp()) SWIG_fail
;
39290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39291 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39292 wxPyEndAllowThreads(__tstate
);
39293 if (PyErr_Occurred()) SWIG_fail
;
39295 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39302 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39303 PyObject
*resultobj
= 0;
39304 wxContextHelp
*arg1
= (wxContextHelp
*) 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_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39312 if (!SWIG_IsOK(res1
)) {
39313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39315 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39320 wxPyEndAllowThreads(__tstate
);
39321 if (PyErr_Occurred()) SWIG_fail
;
39323 resultobj
= SWIG_Py_Void();
39330 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39331 PyObject
*resultobj
= 0;
39332 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39333 wxWindow
*arg2
= (wxWindow
*) NULL
;
39339 PyObject
* obj0
= 0 ;
39340 PyObject
* obj1
= 0 ;
39341 char * kwnames
[] = {
39342 (char *) "self",(char *) "window", NULL
39345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39347 if (!SWIG_IsOK(res1
)) {
39348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39350 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39352 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39353 if (!SWIG_IsOK(res2
)) {
39354 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39356 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39360 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39361 wxPyEndAllowThreads(__tstate
);
39362 if (PyErr_Occurred()) SWIG_fail
;
39365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39373 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39374 PyObject
*resultobj
= 0;
39375 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39379 PyObject
*swig_obj
[1] ;
39381 if (!args
) SWIG_fail
;
39382 swig_obj
[0] = args
;
39383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39384 if (!SWIG_IsOK(res1
)) {
39385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39387 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39390 result
= (bool)(arg1
)->EndContextHelp();
39391 wxPyEndAllowThreads(__tstate
);
39392 if (PyErr_Occurred()) SWIG_fail
;
39395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39403 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39405 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39406 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39407 return SWIG_Py_Void();
39410 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39411 return SWIG_Python_InitShadowInstance(args
);
39414 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39415 PyObject
*resultobj
= 0;
39416 wxWindow
*arg1
= (wxWindow
*) 0 ;
39417 int arg2
= (int) wxID_CONTEXT_HELP
;
39418 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39419 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39420 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39421 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39422 long arg5
= (long) wxBU_AUTODRAW
;
39423 wxContextHelpButton
*result
= 0 ;
39432 PyObject
* obj0
= 0 ;
39433 PyObject
* obj1
= 0 ;
39434 PyObject
* obj2
= 0 ;
39435 PyObject
* obj3
= 0 ;
39436 PyObject
* obj4
= 0 ;
39437 char * kwnames
[] = {
39438 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39443 if (!SWIG_IsOK(res1
)) {
39444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39446 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39449 if (!SWIG_IsOK(ecode2
)) {
39450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39452 arg2
= static_cast< int >(val2
);
39457 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39463 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39467 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39468 if (!SWIG_IsOK(ecode5
)) {
39469 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39471 arg5
= static_cast< long >(val5
);
39474 if (!wxPyCheckForApp()) SWIG_fail
;
39475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39476 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39477 wxPyEndAllowThreads(__tstate
);
39478 if (PyErr_Occurred()) SWIG_fail
;
39480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
39487 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39489 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39490 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
39491 return SWIG_Py_Void();
39494 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39495 return SWIG_Python_InitShadowInstance(args
);
39498 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39499 PyObject
*resultobj
= 0;
39500 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39503 PyObject
*swig_obj
[1] ;
39505 if (!args
) SWIG_fail
;
39506 swig_obj
[0] = args
;
39507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39508 if (!SWIG_IsOK(res1
)) {
39509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39511 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39516 wxPyEndAllowThreads(__tstate
);
39517 if (PyErr_Occurred()) SWIG_fail
;
39519 resultobj
= SWIG_Py_Void();
39526 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39527 PyObject
*resultobj
= 0;
39528 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39529 wxHelpProvider
*result
= 0 ;
39531 PyObject
* obj0
= 0 ;
39532 char * kwnames
[] = {
39533 (char *) "helpProvider", NULL
39536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
39537 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39538 if (!SWIG_IsOK(res1
)) {
39539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39543 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
39544 wxPyEndAllowThreads(__tstate
);
39545 if (PyErr_Occurred()) SWIG_fail
;
39547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
39554 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39555 PyObject
*resultobj
= 0;
39556 wxHelpProvider
*result
= 0 ;
39558 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
39560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39561 result
= (wxHelpProvider
*)wxHelpProvider::Get();
39562 wxPyEndAllowThreads(__tstate
);
39563 if (PyErr_Occurred()) SWIG_fail
;
39565 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39572 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39573 PyObject
*resultobj
= 0;
39574 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39575 wxWindow
*arg2
= (wxWindow
*) 0 ;
39581 PyObject
* obj0
= 0 ;
39582 PyObject
* obj1
= 0 ;
39583 char * kwnames
[] = {
39584 (char *) "self",(char *) "window", NULL
39587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39589 if (!SWIG_IsOK(res1
)) {
39590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39592 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39593 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39594 if (!SWIG_IsOK(res2
)) {
39595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
39597 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39600 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
39601 wxPyEndAllowThreads(__tstate
);
39602 if (PyErr_Occurred()) SWIG_fail
;
39606 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39608 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39617 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39618 PyObject
*resultobj
= 0;
39619 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39620 wxWindow
*arg2
= (wxWindow
*) 0 ;
39626 PyObject
* obj0
= 0 ;
39627 PyObject
* obj1
= 0 ;
39628 char * kwnames
[] = {
39629 (char *) "self",(char *) "window", NULL
39632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39634 if (!SWIG_IsOK(res1
)) {
39635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39637 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39638 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39639 if (!SWIG_IsOK(res2
)) {
39640 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39642 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39645 result
= (bool)(arg1
)->ShowHelp(arg2
);
39646 wxPyEndAllowThreads(__tstate
);
39647 if (PyErr_Occurred()) SWIG_fail
;
39650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39658 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39659 PyObject
*resultobj
= 0;
39660 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39661 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
39662 wxPoint
*arg3
= 0 ;
39663 wxHelpEvent::Origin arg4
;
39672 PyObject
* obj0
= 0 ;
39673 PyObject
* obj1
= 0 ;
39674 PyObject
* obj2
= 0 ;
39675 PyObject
* obj3
= 0 ;
39676 char * kwnames
[] = {
39677 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
39680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39682 if (!SWIG_IsOK(res1
)) {
39683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39685 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39686 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
39687 if (!SWIG_IsOK(res2
)) {
39688 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
39690 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
39693 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39695 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39696 if (!SWIG_IsOK(ecode4
)) {
39697 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39699 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39702 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
39703 wxPyEndAllowThreads(__tstate
);
39704 if (PyErr_Occurred()) SWIG_fail
;
39707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39715 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39716 PyObject
*resultobj
= 0;
39717 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39718 wxWindow
*arg2
= (wxWindow
*) 0 ;
39719 wxString
*arg3
= 0 ;
39724 bool temp3
= false ;
39725 PyObject
* obj0
= 0 ;
39726 PyObject
* obj1
= 0 ;
39727 PyObject
* obj2
= 0 ;
39728 char * kwnames
[] = {
39729 (char *) "self",(char *) "window",(char *) "text", NULL
39732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39734 if (!SWIG_IsOK(res1
)) {
39735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39737 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39738 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39739 if (!SWIG_IsOK(res2
)) {
39740 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39742 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39744 arg3
= wxString_in_helper(obj2
);
39745 if (arg3
== NULL
) SWIG_fail
;
39749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39750 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39751 wxPyEndAllowThreads(__tstate
);
39752 if (PyErr_Occurred()) SWIG_fail
;
39754 resultobj
= SWIG_Py_Void();
39769 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39770 PyObject
*resultobj
= 0;
39771 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39773 wxString
*arg3
= 0 ;
39778 bool temp3
= false ;
39779 PyObject
* obj0
= 0 ;
39780 PyObject
* obj1
= 0 ;
39781 PyObject
* obj2
= 0 ;
39782 char * kwnames
[] = {
39783 (char *) "self",(char *) "id",(char *) "text", NULL
39786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39788 if (!SWIG_IsOK(res1
)) {
39789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39791 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39792 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39793 if (!SWIG_IsOK(ecode2
)) {
39794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
39796 arg2
= static_cast< int >(val2
);
39798 arg3
= wxString_in_helper(obj2
);
39799 if (arg3
== NULL
) SWIG_fail
;
39803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39804 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39805 wxPyEndAllowThreads(__tstate
);
39806 if (PyErr_Occurred()) SWIG_fail
;
39808 resultobj
= SWIG_Py_Void();
39823 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39824 PyObject
*resultobj
= 0;
39825 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39826 wxWindow
*arg2
= (wxWindow
*) 0 ;
39831 PyObject
* obj0
= 0 ;
39832 PyObject
* obj1
= 0 ;
39833 char * kwnames
[] = {
39834 (char *) "self",(char *) "window", NULL
39837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39839 if (!SWIG_IsOK(res1
)) {
39840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39842 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39843 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39844 if (!SWIG_IsOK(res2
)) {
39845 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39847 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39850 (arg1
)->RemoveHelp(arg2
);
39851 wxPyEndAllowThreads(__tstate
);
39852 if (PyErr_Occurred()) SWIG_fail
;
39854 resultobj
= SWIG_Py_Void();
39861 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39862 PyObject
*resultobj
= 0;
39863 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39866 PyObject
*swig_obj
[1] ;
39868 if (!args
) SWIG_fail
;
39869 swig_obj
[0] = args
;
39870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39871 if (!SWIG_IsOK(res1
)) {
39872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39874 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39877 wxHelpProvider_Destroy(arg1
);
39878 wxPyEndAllowThreads(__tstate
);
39879 if (PyErr_Occurred()) SWIG_fail
;
39881 resultobj
= SWIG_Py_Void();
39888 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39890 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39891 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
39892 return SWIG_Py_Void();
39895 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39896 PyObject
*resultobj
= 0;
39897 wxSimpleHelpProvider
*result
= 0 ;
39899 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
39901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39902 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
39903 wxPyEndAllowThreads(__tstate
);
39904 if (PyErr_Occurred()) SWIG_fail
;
39906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
39913 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39915 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39916 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
39917 return SWIG_Py_Void();
39920 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39921 return SWIG_Python_InitShadowInstance(args
);
39924 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39925 PyObject
*resultobj
= 0;
39926 wxBitmap
*arg1
= 0 ;
39927 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39928 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39929 wxGenericDragImage
*result
= 0 ;
39934 PyObject
* obj0
= 0 ;
39935 PyObject
* obj1
= 0 ;
39936 char * kwnames
[] = {
39937 (char *) "image",(char *) "cursor", NULL
39940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39941 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
39942 if (!SWIG_IsOK(res1
)) {
39943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
39946 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
39948 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
39950 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39951 if (!SWIG_IsOK(res2
)) {
39952 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
39955 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
39957 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39960 if (!wxPyCheckForApp()) SWIG_fail
;
39961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39962 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
39963 wxPyEndAllowThreads(__tstate
);
39964 if (PyErr_Occurred()) SWIG_fail
;
39966 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
39973 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39974 PyObject
*resultobj
= 0;
39976 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39977 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39978 wxGenericDragImage
*result
= 0 ;
39983 PyObject
* obj0
= 0 ;
39984 PyObject
* obj1
= 0 ;
39985 char * kwnames
[] = {
39986 (char *) "image",(char *) "cursor", NULL
39989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39990 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
39991 if (!SWIG_IsOK(res1
)) {
39992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
39995 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
39997 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
39999 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40000 if (!SWIG_IsOK(res2
)) {
40001 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40004 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40006 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40009 if (!wxPyCheckForApp()) SWIG_fail
;
40010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40011 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40012 wxPyEndAllowThreads(__tstate
);
40013 if (PyErr_Occurred()) SWIG_fail
;
40015 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40022 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40023 PyObject
*resultobj
= 0;
40024 wxString
*arg1
= 0 ;
40025 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40026 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40027 wxGenericDragImage
*result
= 0 ;
40028 bool temp1
= false ;
40031 PyObject
* obj0
= 0 ;
40032 PyObject
* obj1
= 0 ;
40033 char * kwnames
[] = {
40034 (char *) "str",(char *) "cursor", NULL
40037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40039 arg1
= wxString_in_helper(obj0
);
40040 if (arg1
== NULL
) SWIG_fail
;
40044 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40045 if (!SWIG_IsOK(res2
)) {
40046 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40049 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40051 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40054 if (!wxPyCheckForApp()) SWIG_fail
;
40055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40056 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40057 wxPyEndAllowThreads(__tstate
);
40058 if (PyErr_Occurred()) SWIG_fail
;
40060 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40075 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40076 PyObject
*resultobj
= 0;
40077 wxPyTreeCtrl
*arg1
= 0 ;
40078 wxTreeItemId
*arg2
= 0 ;
40079 wxGenericDragImage
*result
= 0 ;
40084 PyObject
* obj0
= 0 ;
40085 PyObject
* obj1
= 0 ;
40086 char * kwnames
[] = {
40087 (char *) "treeCtrl",(char *) "id", NULL
40090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40091 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40092 if (!SWIG_IsOK(res1
)) {
40093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40096 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40098 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40099 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40100 if (!SWIG_IsOK(res2
)) {
40101 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40104 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40106 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40108 if (!wxPyCheckForApp()) SWIG_fail
;
40109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40110 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40111 wxPyEndAllowThreads(__tstate
);
40112 if (PyErr_Occurred()) SWIG_fail
;
40114 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40121 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40122 PyObject
*resultobj
= 0;
40123 wxPyListCtrl
*arg1
= 0 ;
40125 wxGenericDragImage
*result
= 0 ;
40130 PyObject
* obj0
= 0 ;
40131 PyObject
* obj1
= 0 ;
40132 char * kwnames
[] = {
40133 (char *) "listCtrl",(char *) "id", NULL
40136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40137 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40138 if (!SWIG_IsOK(res1
)) {
40139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40142 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40144 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40145 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40146 if (!SWIG_IsOK(ecode2
)) {
40147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40149 arg2
= static_cast< long >(val2
);
40151 if (!wxPyCheckForApp()) SWIG_fail
;
40152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40153 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40154 wxPyEndAllowThreads(__tstate
);
40155 if (PyErr_Occurred()) SWIG_fail
;
40157 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40164 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40165 PyObject
*resultobj
= 0;
40166 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40169 PyObject
*swig_obj
[1] ;
40171 if (!args
) SWIG_fail
;
40172 swig_obj
[0] = args
;
40173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40174 if (!SWIG_IsOK(res1
)) {
40175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40177 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40182 wxPyEndAllowThreads(__tstate
);
40183 if (PyErr_Occurred()) SWIG_fail
;
40185 resultobj
= SWIG_Py_Void();
40192 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40193 PyObject
*resultobj
= 0;
40194 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40195 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40200 PyObject
* obj0
= 0 ;
40201 PyObject
* obj1
= 0 ;
40202 char * kwnames
[] = {
40203 (char *) "self",(char *) "bitmap", NULL
40206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40208 if (!SWIG_IsOK(res1
)) {
40209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40211 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40212 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40213 if (!SWIG_IsOK(res2
)) {
40214 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40216 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40219 (arg1
)->SetBackingBitmap(arg2
);
40220 wxPyEndAllowThreads(__tstate
);
40221 if (PyErr_Occurred()) SWIG_fail
;
40223 resultobj
= SWIG_Py_Void();
40230 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40231 PyObject
*resultobj
= 0;
40232 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40233 wxPoint
*arg2
= 0 ;
40234 wxWindow
*arg3
= (wxWindow
*) 0 ;
40235 bool arg4
= (bool) false ;
40236 wxRect
*arg5
= (wxRect
*) NULL
;
40247 PyObject
* obj0
= 0 ;
40248 PyObject
* obj1
= 0 ;
40249 PyObject
* obj2
= 0 ;
40250 PyObject
* obj3
= 0 ;
40251 PyObject
* obj4
= 0 ;
40252 char * kwnames
[] = {
40253 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40258 if (!SWIG_IsOK(res1
)) {
40259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40261 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40264 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40266 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40267 if (!SWIG_IsOK(res3
)) {
40268 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40270 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40272 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40273 if (!SWIG_IsOK(ecode4
)) {
40274 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40276 arg4
= static_cast< bool >(val4
);
40279 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40280 if (!SWIG_IsOK(res5
)) {
40281 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40283 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40287 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40288 wxPyEndAllowThreads(__tstate
);
40289 if (PyErr_Occurred()) SWIG_fail
;
40292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40300 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40301 PyObject
*resultobj
= 0;
40302 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40303 wxPoint
*arg2
= 0 ;
40304 wxWindow
*arg3
= (wxWindow
*) 0 ;
40305 wxWindow
*arg4
= (wxWindow
*) 0 ;
40314 PyObject
* obj0
= 0 ;
40315 PyObject
* obj1
= 0 ;
40316 PyObject
* obj2
= 0 ;
40317 PyObject
* obj3
= 0 ;
40318 char * kwnames
[] = {
40319 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40324 if (!SWIG_IsOK(res1
)) {
40325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40327 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40330 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40332 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40333 if (!SWIG_IsOK(res3
)) {
40334 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40336 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40337 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40338 if (!SWIG_IsOK(res4
)) {
40339 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40341 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40344 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40345 wxPyEndAllowThreads(__tstate
);
40346 if (PyErr_Occurred()) SWIG_fail
;
40349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40357 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40358 PyObject
*resultobj
= 0;
40359 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40363 PyObject
*swig_obj
[1] ;
40365 if (!args
) SWIG_fail
;
40366 swig_obj
[0] = args
;
40367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40368 if (!SWIG_IsOK(res1
)) {
40369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40371 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40374 result
= (bool)(arg1
)->EndDrag();
40375 wxPyEndAllowThreads(__tstate
);
40376 if (PyErr_Occurred()) SWIG_fail
;
40379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40387 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40388 PyObject
*resultobj
= 0;
40389 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40390 wxPoint
*arg2
= 0 ;
40395 PyObject
* obj0
= 0 ;
40396 PyObject
* obj1
= 0 ;
40397 char * kwnames
[] = {
40398 (char *) "self",(char *) "pt", NULL
40401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40403 if (!SWIG_IsOK(res1
)) {
40404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40406 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40409 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40413 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40414 wxPyEndAllowThreads(__tstate
);
40415 if (PyErr_Occurred()) SWIG_fail
;
40418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40426 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40427 PyObject
*resultobj
= 0;
40428 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40432 PyObject
*swig_obj
[1] ;
40434 if (!args
) SWIG_fail
;
40435 swig_obj
[0] = args
;
40436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40437 if (!SWIG_IsOK(res1
)) {
40438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40440 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40443 result
= (bool)(arg1
)->Show();
40444 wxPyEndAllowThreads(__tstate
);
40445 if (PyErr_Occurred()) SWIG_fail
;
40448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40456 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40457 PyObject
*resultobj
= 0;
40458 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40462 PyObject
*swig_obj
[1] ;
40464 if (!args
) SWIG_fail
;
40465 swig_obj
[0] = args
;
40466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40467 if (!SWIG_IsOK(res1
)) {
40468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40470 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40473 result
= (bool)(arg1
)->Hide();
40474 wxPyEndAllowThreads(__tstate
);
40475 if (PyErr_Occurred()) SWIG_fail
;
40478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40486 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40487 PyObject
*resultobj
= 0;
40488 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40489 wxPoint
*arg2
= 0 ;
40494 PyObject
* obj0
= 0 ;
40495 PyObject
* obj1
= 0 ;
40496 char * kwnames
[] = {
40497 (char *) "self",(char *) "pos", NULL
40500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40502 if (!SWIG_IsOK(res1
)) {
40503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40505 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40508 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40512 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
40513 wxPyEndAllowThreads(__tstate
);
40514 if (PyErr_Occurred()) SWIG_fail
;
40516 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
40523 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40524 PyObject
*resultobj
= 0;
40525 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40527 wxPoint
*arg3
= 0 ;
40534 PyObject
* obj0
= 0 ;
40535 PyObject
* obj1
= 0 ;
40536 PyObject
* obj2
= 0 ;
40537 char * kwnames
[] = {
40538 (char *) "self",(char *) "dc",(char *) "pos", NULL
40541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40543 if (!SWIG_IsOK(res1
)) {
40544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40546 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40547 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40548 if (!SWIG_IsOK(res2
)) {
40549 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40552 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40554 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40557 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40561 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
40562 wxPyEndAllowThreads(__tstate
);
40563 if (PyErr_Occurred()) SWIG_fail
;
40566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40574 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40575 PyObject
*resultobj
= 0;
40576 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40578 wxMemoryDC
*arg3
= 0 ;
40590 PyObject
* obj0
= 0 ;
40591 PyObject
* obj1
= 0 ;
40592 PyObject
* obj2
= 0 ;
40593 PyObject
* obj3
= 0 ;
40594 PyObject
* obj4
= 0 ;
40595 char * kwnames
[] = {
40596 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
40599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40601 if (!SWIG_IsOK(res1
)) {
40602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40604 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40605 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40606 if (!SWIG_IsOK(res2
)) {
40607 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40610 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40612 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40613 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
40614 if (!SWIG_IsOK(res3
)) {
40615 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40618 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40620 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
40623 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
40627 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
40630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40631 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
40632 wxPyEndAllowThreads(__tstate
);
40633 if (PyErr_Occurred()) SWIG_fail
;
40636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40644 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40645 PyObject
*resultobj
= 0;
40646 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40647 wxPoint
*arg2
= 0 ;
40648 wxPoint
*arg3
= 0 ;
40660 PyObject
* obj0
= 0 ;
40661 PyObject
* obj1
= 0 ;
40662 PyObject
* obj2
= 0 ;
40663 PyObject
* obj3
= 0 ;
40664 PyObject
* obj4
= 0 ;
40665 char * kwnames
[] = {
40666 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
40669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40671 if (!SWIG_IsOK(res1
)) {
40672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40674 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40677 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40681 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40683 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40684 if (!SWIG_IsOK(ecode4
)) {
40685 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
40687 arg4
= static_cast< bool >(val4
);
40688 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
40689 if (!SWIG_IsOK(ecode5
)) {
40690 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
40692 arg5
= static_cast< bool >(val5
);
40694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40695 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
40696 wxPyEndAllowThreads(__tstate
);
40697 if (PyErr_Occurred()) SWIG_fail
;
40700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40708 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40710 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40711 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
40712 return SWIG_Py_Void();
40715 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40716 return SWIG_Python_InitShadowInstance(args
);
40719 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
40720 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
40725 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
40726 PyObject
*pyobj
= 0;
40730 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40732 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40739 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40740 PyObject
*resultobj
= 0;
40741 wxWindow
*arg1
= (wxWindow
*) 0 ;
40742 int arg2
= (int) -1 ;
40743 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
40744 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
40745 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
40746 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
40747 wxSize
const &arg5_defvalue
= wxDefaultSize
;
40748 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
40749 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40750 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
40751 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
40752 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
40753 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
40754 wxDatePickerCtrl
*result
= 0 ;
40767 bool temp8
= false ;
40768 PyObject
* obj0
= 0 ;
40769 PyObject
* obj1
= 0 ;
40770 PyObject
* obj2
= 0 ;
40771 PyObject
* obj3
= 0 ;
40772 PyObject
* obj4
= 0 ;
40773 PyObject
* obj5
= 0 ;
40774 PyObject
* obj6
= 0 ;
40775 PyObject
* obj7
= 0 ;
40776 char * kwnames
[] = {
40777 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
40781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40782 if (!SWIG_IsOK(res1
)) {
40783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
40785 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40788 if (!SWIG_IsOK(ecode2
)) {
40789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
40791 arg2
= static_cast< int >(val2
);
40794 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40795 if (!SWIG_IsOK(res3
)) {
40796 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40799 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40801 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
40806 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
40812 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
40816 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
40817 if (!SWIG_IsOK(ecode6
)) {
40818 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
40820 arg6
= static_cast< long >(val6
);
40823 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
40824 if (!SWIG_IsOK(res7
)) {
40825 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40830 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
40834 arg8
= wxString_in_helper(obj7
);
40835 if (arg8
== NULL
) SWIG_fail
;
40840 if (!wxPyCheckForApp()) SWIG_fail
;
40841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40842 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
40843 wxPyEndAllowThreads(__tstate
);
40844 if (PyErr_Occurred()) SWIG_fail
;
40846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
40861 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40862 PyObject
*resultobj
= 0;
40863 wxDatePickerCtrl
*result
= 0 ;
40865 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
40867 if (!wxPyCheckForApp()) SWIG_fail
;
40868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40869 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
40870 wxPyEndAllowThreads(__tstate
);
40871 if (PyErr_Occurred()) SWIG_fail
;
40873 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
40880 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40881 PyObject
*resultobj
= 0;
40882 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40883 wxWindow
*arg2
= (wxWindow
*) 0 ;
40884 int arg3
= (int) -1 ;
40885 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
40886 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
40887 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
40888 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
40889 wxSize
const &arg6_defvalue
= wxDefaultSize
;
40890 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
40891 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40892 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
40893 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
40894 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
40895 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
40911 bool temp9
= false ;
40912 PyObject
* obj0
= 0 ;
40913 PyObject
* obj1
= 0 ;
40914 PyObject
* obj2
= 0 ;
40915 PyObject
* obj3
= 0 ;
40916 PyObject
* obj4
= 0 ;
40917 PyObject
* obj5
= 0 ;
40918 PyObject
* obj6
= 0 ;
40919 PyObject
* obj7
= 0 ;
40920 PyObject
* obj8
= 0 ;
40921 char * kwnames
[] = {
40922 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
40926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40927 if (!SWIG_IsOK(res1
)) {
40928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40930 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40931 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40932 if (!SWIG_IsOK(res2
)) {
40933 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
40935 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40937 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
40938 if (!SWIG_IsOK(ecode3
)) {
40939 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
40941 arg3
= static_cast< int >(val3
);
40944 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40945 if (!SWIG_IsOK(res4
)) {
40946 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
40949 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
40951 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
40956 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
40962 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
40966 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
40967 if (!SWIG_IsOK(ecode7
)) {
40968 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
40970 arg7
= static_cast< long >(val7
);
40973 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
40974 if (!SWIG_IsOK(res8
)) {
40975 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
40978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
40980 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
40984 arg9
= wxString_in_helper(obj8
);
40985 if (arg9
== NULL
) SWIG_fail
;
40990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40991 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
40992 wxPyEndAllowThreads(__tstate
);
40993 if (PyErr_Occurred()) SWIG_fail
;
40996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41012 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41013 PyObject
*resultobj
= 0;
41014 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41015 wxDateTime
*arg2
= 0 ;
41020 PyObject
* obj0
= 0 ;
41021 PyObject
* obj1
= 0 ;
41022 char * kwnames
[] = {
41023 (char *) "self",(char *) "dt", NULL
41026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41028 if (!SWIG_IsOK(res1
)) {
41029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41031 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41032 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41033 if (!SWIG_IsOK(res2
)) {
41034 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41037 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41039 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41042 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41043 wxPyEndAllowThreads(__tstate
);
41044 if (PyErr_Occurred()) SWIG_fail
;
41046 resultobj
= SWIG_Py_Void();
41053 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41054 PyObject
*resultobj
= 0;
41055 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41059 PyObject
*swig_obj
[1] ;
41061 if (!args
) SWIG_fail
;
41062 swig_obj
[0] = args
;
41063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41064 if (!SWIG_IsOK(res1
)) {
41065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41067 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41070 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41071 wxPyEndAllowThreads(__tstate
);
41072 if (PyErr_Occurred()) SWIG_fail
;
41074 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41081 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41082 PyObject
*resultobj
= 0;
41083 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41084 wxDateTime
*arg2
= 0 ;
41085 wxDateTime
*arg3
= 0 ;
41092 PyObject
* obj0
= 0 ;
41093 PyObject
* obj1
= 0 ;
41094 PyObject
* obj2
= 0 ;
41095 char * kwnames
[] = {
41096 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41101 if (!SWIG_IsOK(res1
)) {
41102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41104 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41105 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41106 if (!SWIG_IsOK(res2
)) {
41107 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41110 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41112 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41113 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41114 if (!SWIG_IsOK(res3
)) {
41115 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41118 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41120 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41123 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41124 wxPyEndAllowThreads(__tstate
);
41125 if (PyErr_Occurred()) SWIG_fail
;
41127 resultobj
= SWIG_Py_Void();
41134 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41135 PyObject
*resultobj
= 0;
41136 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41140 PyObject
*swig_obj
[1] ;
41142 if (!args
) SWIG_fail
;
41143 swig_obj
[0] = args
;
41144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41145 if (!SWIG_IsOK(res1
)) {
41146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41148 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41151 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41152 wxPyEndAllowThreads(__tstate
);
41153 if (PyErr_Occurred()) SWIG_fail
;
41155 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41162 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41163 PyObject
*resultobj
= 0;
41164 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41168 PyObject
*swig_obj
[1] ;
41170 if (!args
) SWIG_fail
;
41171 swig_obj
[0] = args
;
41172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41173 if (!SWIG_IsOK(res1
)) {
41174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41176 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41179 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41180 wxPyEndAllowThreads(__tstate
);
41181 if (PyErr_Occurred()) SWIG_fail
;
41183 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41190 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41192 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41193 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41194 return SWIG_Py_Void();
41197 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41198 return SWIG_Python_InitShadowInstance(args
);
41201 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41202 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41207 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41208 PyObject
*pyobj
= 0;
41212 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41214 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41221 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41222 PyObject
*resultobj
= 0;
41223 wxWindow
*arg1
= (wxWindow
*) 0 ;
41225 wxString
*arg3
= 0 ;
41226 wxString
*arg4
= 0 ;
41227 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41228 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41229 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41230 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41231 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41232 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41233 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41234 wxHyperlinkCtrl
*result
= 0 ;
41239 bool temp3
= false ;
41240 bool temp4
= false ;
41245 bool temp8
= false ;
41246 PyObject
* obj0
= 0 ;
41247 PyObject
* obj1
= 0 ;
41248 PyObject
* obj2
= 0 ;
41249 PyObject
* obj3
= 0 ;
41250 PyObject
* obj4
= 0 ;
41251 PyObject
* obj5
= 0 ;
41252 PyObject
* obj6
= 0 ;
41253 PyObject
* obj7
= 0 ;
41254 char * kwnames
[] = {
41255 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41260 if (!SWIG_IsOK(res1
)) {
41261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41263 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41265 if (!SWIG_IsOK(ecode2
)) {
41266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41268 arg2
= static_cast< int >(val2
);
41270 arg3
= wxString_in_helper(obj2
);
41271 if (arg3
== NULL
) SWIG_fail
;
41275 arg4
= wxString_in_helper(obj3
);
41276 if (arg4
== NULL
) SWIG_fail
;
41282 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41288 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41292 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41293 if (!SWIG_IsOK(ecode7
)) {
41294 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41296 arg7
= static_cast< long >(val7
);
41300 arg8
= wxString_in_helper(obj7
);
41301 if (arg8
== NULL
) SWIG_fail
;
41306 if (!wxPyCheckForApp()) SWIG_fail
;
41307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41308 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
41309 wxPyEndAllowThreads(__tstate
);
41310 if (PyErr_Occurred()) SWIG_fail
;
41312 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
41343 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41344 PyObject
*resultobj
= 0;
41345 wxHyperlinkCtrl
*result
= 0 ;
41347 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
41349 if (!wxPyCheckForApp()) SWIG_fail
;
41350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41351 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
41352 wxPyEndAllowThreads(__tstate
);
41353 if (PyErr_Occurred()) SWIG_fail
;
41355 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
41362 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41363 PyObject
*resultobj
= 0;
41364 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41365 wxWindow
*arg2
= (wxWindow
*) 0 ;
41367 wxString
*arg4
= 0 ;
41368 wxString
*arg5
= 0 ;
41369 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
41370 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
41371 wxSize
const &arg7_defvalue
= wxDefaultSize
;
41372 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
41373 long arg8
= (long) wxHL_DEFAULT_STYLE
;
41374 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
41375 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41383 bool temp4
= false ;
41384 bool temp5
= false ;
41389 bool temp9
= false ;
41390 PyObject
* obj0
= 0 ;
41391 PyObject
* obj1
= 0 ;
41392 PyObject
* obj2
= 0 ;
41393 PyObject
* obj3
= 0 ;
41394 PyObject
* obj4
= 0 ;
41395 PyObject
* obj5
= 0 ;
41396 PyObject
* obj6
= 0 ;
41397 PyObject
* obj7
= 0 ;
41398 PyObject
* obj8
= 0 ;
41399 char * kwnames
[] = {
41400 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41405 if (!SWIG_IsOK(res1
)) {
41406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41408 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41409 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41410 if (!SWIG_IsOK(res2
)) {
41411 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41413 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41414 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41415 if (!SWIG_IsOK(ecode3
)) {
41416 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41418 arg3
= static_cast< int >(val3
);
41420 arg4
= wxString_in_helper(obj3
);
41421 if (arg4
== NULL
) SWIG_fail
;
41425 arg5
= wxString_in_helper(obj4
);
41426 if (arg5
== NULL
) SWIG_fail
;
41432 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
41438 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
41442 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
41443 if (!SWIG_IsOK(ecode8
)) {
41444 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41446 arg8
= static_cast< long >(val8
);
41450 arg9
= wxString_in_helper(obj8
);
41451 if (arg9
== NULL
) SWIG_fail
;
41456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41457 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
41458 wxPyEndAllowThreads(__tstate
);
41459 if (PyErr_Occurred()) SWIG_fail
;
41462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41494 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41495 PyObject
*resultobj
= 0;
41496 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41500 PyObject
*swig_obj
[1] ;
41502 if (!args
) SWIG_fail
;
41503 swig_obj
[0] = args
;
41504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41505 if (!SWIG_IsOK(res1
)) {
41506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41508 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41511 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
41512 wxPyEndAllowThreads(__tstate
);
41513 if (PyErr_Occurred()) SWIG_fail
;
41515 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41522 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41523 PyObject
*resultobj
= 0;
41524 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41525 wxColour
*arg2
= 0 ;
41529 PyObject
* obj0
= 0 ;
41530 PyObject
* obj1
= 0 ;
41531 char * kwnames
[] = {
41532 (char *) "self",(char *) "colour", NULL
41535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41537 if (!SWIG_IsOK(res1
)) {
41538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41540 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41543 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41547 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
41548 wxPyEndAllowThreads(__tstate
);
41549 if (PyErr_Occurred()) SWIG_fail
;
41551 resultobj
= SWIG_Py_Void();
41558 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41559 PyObject
*resultobj
= 0;
41560 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41564 PyObject
*swig_obj
[1] ;
41566 if (!args
) SWIG_fail
;
41567 swig_obj
[0] = args
;
41568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41569 if (!SWIG_IsOK(res1
)) {
41570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41572 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41575 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
41576 wxPyEndAllowThreads(__tstate
);
41577 if (PyErr_Occurred()) SWIG_fail
;
41579 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41586 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41587 PyObject
*resultobj
= 0;
41588 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41589 wxColour
*arg2
= 0 ;
41593 PyObject
* obj0
= 0 ;
41594 PyObject
* obj1
= 0 ;
41595 char * kwnames
[] = {
41596 (char *) "self",(char *) "colour", NULL
41599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41601 if (!SWIG_IsOK(res1
)) {
41602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41604 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41607 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41611 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
41612 wxPyEndAllowThreads(__tstate
);
41613 if (PyErr_Occurred()) SWIG_fail
;
41615 resultobj
= SWIG_Py_Void();
41622 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41623 PyObject
*resultobj
= 0;
41624 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41628 PyObject
*swig_obj
[1] ;
41630 if (!args
) SWIG_fail
;
41631 swig_obj
[0] = args
;
41632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41633 if (!SWIG_IsOK(res1
)) {
41634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41636 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41639 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
41640 wxPyEndAllowThreads(__tstate
);
41641 if (PyErr_Occurred()) SWIG_fail
;
41643 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41650 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41651 PyObject
*resultobj
= 0;
41652 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41653 wxColour
*arg2
= 0 ;
41657 PyObject
* obj0
= 0 ;
41658 PyObject
* obj1
= 0 ;
41659 char * kwnames
[] = {
41660 (char *) "self",(char *) "colour", NULL
41663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41665 if (!SWIG_IsOK(res1
)) {
41666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41668 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41671 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41675 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
41676 wxPyEndAllowThreads(__tstate
);
41677 if (PyErr_Occurred()) SWIG_fail
;
41679 resultobj
= SWIG_Py_Void();
41686 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41687 PyObject
*resultobj
= 0;
41688 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41692 PyObject
*swig_obj
[1] ;
41694 if (!args
) SWIG_fail
;
41695 swig_obj
[0] = args
;
41696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41697 if (!SWIG_IsOK(res1
)) {
41698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41700 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41703 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
41704 wxPyEndAllowThreads(__tstate
);
41705 if (PyErr_Occurred()) SWIG_fail
;
41709 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41711 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41720 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41721 PyObject
*resultobj
= 0;
41722 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41723 wxString
*arg2
= 0 ;
41726 bool temp2
= false ;
41727 PyObject
* obj0
= 0 ;
41728 PyObject
* obj1
= 0 ;
41729 char * kwnames
[] = {
41730 (char *) "self",(char *) "url", NULL
41733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41735 if (!SWIG_IsOK(res1
)) {
41736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41738 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41740 arg2
= wxString_in_helper(obj1
);
41741 if (arg2
== NULL
) SWIG_fail
;
41745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41746 (arg1
)->SetURL((wxString
const &)*arg2
);
41747 wxPyEndAllowThreads(__tstate
);
41748 if (PyErr_Occurred()) SWIG_fail
;
41750 resultobj
= SWIG_Py_Void();
41765 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41766 PyObject
*resultobj
= 0;
41767 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41768 bool arg2
= (bool) true ;
41773 PyObject
* obj0
= 0 ;
41774 PyObject
* obj1
= 0 ;
41775 char * kwnames
[] = {
41776 (char *) "self",(char *) "visited", NULL
41779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41781 if (!SWIG_IsOK(res1
)) {
41782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41784 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41786 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
41787 if (!SWIG_IsOK(ecode2
)) {
41788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
41790 arg2
= static_cast< bool >(val2
);
41793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41794 (arg1
)->SetVisited(arg2
);
41795 wxPyEndAllowThreads(__tstate
);
41796 if (PyErr_Occurred()) SWIG_fail
;
41798 resultobj
= SWIG_Py_Void();
41805 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41806 PyObject
*resultobj
= 0;
41807 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41811 PyObject
*swig_obj
[1] ;
41813 if (!args
) SWIG_fail
;
41814 swig_obj
[0] = args
;
41815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41816 if (!SWIG_IsOK(res1
)) {
41817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41819 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41822 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
41823 wxPyEndAllowThreads(__tstate
);
41824 if (PyErr_Occurred()) SWIG_fail
;
41827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41835 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41837 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41838 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
41839 return SWIG_Py_Void();
41842 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41843 return SWIG_Python_InitShadowInstance(args
);
41846 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41847 PyObject
*resultobj
= 0;
41848 wxObject
*arg1
= (wxObject
*) 0 ;
41850 wxString
*arg3
= 0 ;
41851 wxHyperlinkEvent
*result
= 0 ;
41856 bool temp3
= false ;
41857 PyObject
* obj0
= 0 ;
41858 PyObject
* obj1
= 0 ;
41859 PyObject
* obj2
= 0 ;
41860 char * kwnames
[] = {
41861 (char *) "generator",(char *) "id",(char *) "url", NULL
41864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
41866 if (!SWIG_IsOK(res1
)) {
41867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
41869 arg1
= reinterpret_cast< wxObject
* >(argp1
);
41870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41871 if (!SWIG_IsOK(ecode2
)) {
41872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
41874 arg2
= static_cast< int >(val2
);
41876 arg3
= wxString_in_helper(obj2
);
41877 if (arg3
== NULL
) SWIG_fail
;
41881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41882 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
41883 wxPyEndAllowThreads(__tstate
);
41884 if (PyErr_Occurred()) SWIG_fail
;
41886 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
41901 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41902 PyObject
*resultobj
= 0;
41903 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
41907 PyObject
*swig_obj
[1] ;
41909 if (!args
) SWIG_fail
;
41910 swig_obj
[0] = args
;
41911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
41912 if (!SWIG_IsOK(res1
)) {
41913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
41915 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
41917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41918 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
41919 wxPyEndAllowThreads(__tstate
);
41920 if (PyErr_Occurred()) SWIG_fail
;
41924 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41926 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41935 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41936 PyObject
*resultobj
= 0;
41937 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
41938 wxString
*arg2
= 0 ;
41941 bool temp2
= false ;
41942 PyObject
* obj0
= 0 ;
41943 PyObject
* obj1
= 0 ;
41944 char * kwnames
[] = {
41945 (char *) "self",(char *) "url", NULL
41948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
41950 if (!SWIG_IsOK(res1
)) {
41951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
41953 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
41955 arg2
= wxString_in_helper(obj1
);
41956 if (arg2
== NULL
) SWIG_fail
;
41960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41961 (arg1
)->SetURL((wxString
const &)*arg2
);
41962 wxPyEndAllowThreads(__tstate
);
41963 if (PyErr_Occurred()) SWIG_fail
;
41965 resultobj
= SWIG_Py_Void();
41980 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41982 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41983 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
41984 return SWIG_Py_Void();
41987 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41988 return SWIG_Python_InitShadowInstance(args
);
41991 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41992 PyObject
*resultobj
= 0;
41993 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
41994 wxWindow
*arg2
= (wxWindow
*) 0 ;
41996 wxString
const &arg4_defvalue
= wxEmptyString
;
41997 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
41998 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41999 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42000 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42001 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42002 long arg7
= (long) 0 ;
42003 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42004 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42005 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42006 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42014 bool temp4
= false ;
42021 bool temp9
= false ;
42022 PyObject
* obj0
= 0 ;
42023 PyObject
* obj1
= 0 ;
42024 PyObject
* obj2
= 0 ;
42025 PyObject
* obj3
= 0 ;
42026 PyObject
* obj4
= 0 ;
42027 PyObject
* obj5
= 0 ;
42028 PyObject
* obj6
= 0 ;
42029 PyObject
* obj7
= 0 ;
42030 PyObject
* obj8
= 0 ;
42031 char * kwnames
[] = {
42032 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42037 if (!SWIG_IsOK(res1
)) {
42038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42040 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42041 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42042 if (!SWIG_IsOK(res2
)) {
42043 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42045 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42046 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42047 if (!SWIG_IsOK(ecode3
)) {
42048 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42050 arg3
= static_cast< int >(val3
);
42053 arg4
= wxString_in_helper(obj3
);
42054 if (arg4
== NULL
) SWIG_fail
;
42061 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42067 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42071 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42072 if (!SWIG_IsOK(ecode7
)) {
42073 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42075 arg7
= static_cast< long >(val7
);
42078 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42079 if (!SWIG_IsOK(res8
)) {
42080 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42083 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42085 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42089 arg9
= wxString_in_helper(obj8
);
42090 if (arg9
== NULL
) SWIG_fail
;
42095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42096 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42097 wxPyEndAllowThreads(__tstate
);
42098 if (PyErr_Occurred()) SWIG_fail
;
42101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42125 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42126 PyObject
*resultobj
= 0;
42127 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42133 PyObject
* obj0
= 0 ;
42134 PyObject
* obj1
= 0 ;
42135 char * kwnames
[] = {
42136 (char *) "self",(char *) "newmargin", NULL
42139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42141 if (!SWIG_IsOK(res1
)) {
42142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42144 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42145 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42146 if (!SWIG_IsOK(ecode2
)) {
42147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42149 arg2
= static_cast< int >(val2
);
42151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42152 (arg1
)->SetInternalMargin(arg2
);
42153 wxPyEndAllowThreads(__tstate
);
42154 if (PyErr_Occurred()) SWIG_fail
;
42156 resultobj
= SWIG_Py_Void();
42163 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42164 PyObject
*resultobj
= 0;
42165 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42169 PyObject
*swig_obj
[1] ;
42171 if (!args
) SWIG_fail
;
42172 swig_obj
[0] = args
;
42173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42174 if (!SWIG_IsOK(res1
)) {
42175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42177 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42180 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42181 wxPyEndAllowThreads(__tstate
);
42182 if (PyErr_Occurred()) SWIG_fail
;
42184 resultobj
= SWIG_From_int(static_cast< int >(result
));
42191 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42192 PyObject
*resultobj
= 0;
42193 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42199 PyObject
* obj0
= 0 ;
42200 PyObject
* obj1
= 0 ;
42201 char * kwnames
[] = {
42202 (char *) "self",(char *) "prop", NULL
42205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42207 if (!SWIG_IsOK(res1
)) {
42208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42210 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42211 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42212 if (!SWIG_IsOK(ecode2
)) {
42213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42215 arg2
= static_cast< int >(val2
);
42217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42218 (arg1
)->SetTextCtrlProportion(arg2
);
42219 wxPyEndAllowThreads(__tstate
);
42220 if (PyErr_Occurred()) SWIG_fail
;
42222 resultobj
= SWIG_Py_Void();
42229 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42230 PyObject
*resultobj
= 0;
42231 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42235 PyObject
*swig_obj
[1] ;
42237 if (!args
) SWIG_fail
;
42238 swig_obj
[0] = args
;
42239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42240 if (!SWIG_IsOK(res1
)) {
42241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42243 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42246 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42247 wxPyEndAllowThreads(__tstate
);
42248 if (PyErr_Occurred()) SWIG_fail
;
42250 resultobj
= SWIG_From_int(static_cast< int >(result
));
42257 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42258 PyObject
*resultobj
= 0;
42259 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42263 PyObject
*swig_obj
[1] ;
42265 if (!args
) SWIG_fail
;
42266 swig_obj
[0] = args
;
42267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42268 if (!SWIG_IsOK(res1
)) {
42269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42271 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42274 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
42275 wxPyEndAllowThreads(__tstate
);
42276 if (PyErr_Occurred()) SWIG_fail
;
42279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42287 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42288 PyObject
*resultobj
= 0;
42289 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42290 wxTextCtrl
*result
= 0 ;
42293 PyObject
*swig_obj
[1] ;
42295 if (!args
) SWIG_fail
;
42296 swig_obj
[0] = args
;
42297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42298 if (!SWIG_IsOK(res1
)) {
42299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42301 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42304 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
42305 wxPyEndAllowThreads(__tstate
);
42306 if (PyErr_Occurred()) SWIG_fail
;
42309 resultobj
= wxPyMake_wxObject(result
, 0);
42317 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42318 PyObject
*resultobj
= 0;
42319 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42320 wxControl
*result
= 0 ;
42323 PyObject
*swig_obj
[1] ;
42325 if (!args
) SWIG_fail
;
42326 swig_obj
[0] = args
;
42327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42328 if (!SWIG_IsOK(res1
)) {
42329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42331 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42334 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
42335 wxPyEndAllowThreads(__tstate
);
42336 if (PyErr_Occurred()) SWIG_fail
;
42339 resultobj
= wxPyMake_wxObject(result
, 0);
42347 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42349 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42350 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
42351 return SWIG_Py_Void();
42354 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
42355 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
42360 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
42361 PyObject
*pyobj
= 0;
42365 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
42367 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
42374 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42375 PyObject
*resultobj
= 0;
42376 wxWindow
*arg1
= (wxWindow
*) 0 ;
42377 int arg2
= (int) -1 ;
42378 wxColour
const &arg3_defvalue
= *wxBLACK
;
42379 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
42380 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
42381 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
42382 wxSize
const &arg5_defvalue
= wxDefaultSize
;
42383 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
42384 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
42385 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
42386 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
42387 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
42388 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
42389 wxColourPickerCtrl
*result
= 0 ;
42401 bool temp8
= false ;
42402 PyObject
* obj0
= 0 ;
42403 PyObject
* obj1
= 0 ;
42404 PyObject
* obj2
= 0 ;
42405 PyObject
* obj3
= 0 ;
42406 PyObject
* obj4
= 0 ;
42407 PyObject
* obj5
= 0 ;
42408 PyObject
* obj6
= 0 ;
42409 PyObject
* obj7
= 0 ;
42410 char * kwnames
[] = {
42411 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
42415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42416 if (!SWIG_IsOK(res1
)) {
42417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
42419 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
42421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42422 if (!SWIG_IsOK(ecode2
)) {
42423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
42425 arg2
= static_cast< int >(val2
);
42430 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
42436 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
42442 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
42446 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
42447 if (!SWIG_IsOK(ecode6
)) {
42448 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
42450 arg6
= static_cast< long >(val6
);
42453 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
42454 if (!SWIG_IsOK(res7
)) {
42455 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
42458 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
42460 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
42464 arg8
= wxString_in_helper(obj7
);
42465 if (arg8
== NULL
) SWIG_fail
;
42470 if (!wxPyCheckForApp()) SWIG_fail
;
42471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42472 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
42473 wxPyEndAllowThreads(__tstate
);
42474 if (PyErr_Occurred()) SWIG_fail
;
42476 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
42491 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42492 PyObject
*resultobj
= 0;
42493 wxColourPickerCtrl
*result
= 0 ;
42495 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
42497 if (!wxPyCheckForApp()) SWIG_fail
;
42498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42499 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
42500 wxPyEndAllowThreads(__tstate
);
42501 if (PyErr_Occurred()) SWIG_fail
;
42503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
42510 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42511 PyObject
*resultobj
= 0;
42512 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
42513 wxWindow
*arg2
= (wxWindow
*) 0 ;
42515 wxColour
const &arg4_defvalue
= *wxBLACK
;
42516 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
42517 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42518 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42519 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42520 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42521 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
42522 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42523 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42524 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
42525 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42540 bool temp9
= false ;
42541 PyObject
* obj0
= 0 ;
42542 PyObject
* obj1
= 0 ;
42543 PyObject
* obj2
= 0 ;
42544 PyObject
* obj3
= 0 ;
42545 PyObject
* obj4
= 0 ;
42546 PyObject
* obj5
= 0 ;
42547 PyObject
* obj6
= 0 ;
42548 PyObject
* obj7
= 0 ;
42549 PyObject
* obj8
= 0 ;
42550 char * kwnames
[] = {
42551 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
42556 if (!SWIG_IsOK(res1
)) {
42557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
42559 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
42560 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42561 if (!SWIG_IsOK(res2
)) {
42562 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42564 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42565 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42566 if (!SWIG_IsOK(ecode3
)) {
42567 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42569 arg3
= static_cast< int >(val3
);
42573 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
42579 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42585 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42589 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42590 if (!SWIG_IsOK(ecode7
)) {
42591 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
42593 arg7
= static_cast< long >(val7
);
42596 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42597 if (!SWIG_IsOK(res8
)) {
42598 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
42601 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
42603 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42607 arg9
= wxString_in_helper(obj8
);
42608 if (arg9
== NULL
) SWIG_fail
;
42613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42614 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42615 wxPyEndAllowThreads(__tstate
);
42616 if (PyErr_Occurred()) SWIG_fail
;
42619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42635 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42636 PyObject
*resultobj
= 0;
42637 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
42641 PyObject
*swig_obj
[1] ;
42643 if (!args
) SWIG_fail
;
42644 swig_obj
[0] = args
;
42645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
42646 if (!SWIG_IsOK(res1
)) {
42647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
42649 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
42651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42652 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
42653 wxPyEndAllowThreads(__tstate
);
42654 if (PyErr_Occurred()) SWIG_fail
;
42656 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42663 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42664 PyObject
*resultobj
= 0;
42665 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
42666 wxColour
*arg2
= 0 ;
42670 PyObject
* obj0
= 0 ;
42671 PyObject
* obj1
= 0 ;
42672 char * kwnames
[] = {
42673 (char *) "self",(char *) "col", NULL
42676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
42678 if (!SWIG_IsOK(res1
)) {
42679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
42681 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
42684 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42688 (arg1
)->SetColour((wxColour
const &)*arg2
);
42689 wxPyEndAllowThreads(__tstate
);
42690 if (PyErr_Occurred()) SWIG_fail
;
42692 resultobj
= SWIG_Py_Void();
42699 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42701 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42702 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
42703 return SWIG_Py_Void();
42706 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42707 return SWIG_Python_InitShadowInstance(args
);
42710 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42711 PyObject
*resultobj
= 0;
42712 wxObject
*arg1
= (wxObject
*) 0 ;
42714 wxColour
*arg3
= 0 ;
42715 wxColourPickerEvent
*result
= 0 ;
42721 PyObject
* obj0
= 0 ;
42722 PyObject
* obj1
= 0 ;
42723 PyObject
* obj2
= 0 ;
42724 char * kwnames
[] = {
42725 (char *) "generator",(char *) "id",(char *) "col", NULL
42728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42730 if (!SWIG_IsOK(res1
)) {
42731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42733 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42734 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42735 if (!SWIG_IsOK(ecode2
)) {
42736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
42738 arg2
= static_cast< int >(val2
);
42741 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
42744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42745 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
42746 wxPyEndAllowThreads(__tstate
);
42747 if (PyErr_Occurred()) SWIG_fail
;
42749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
42756 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42757 PyObject
*resultobj
= 0;
42758 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
42762 PyObject
*swig_obj
[1] ;
42764 if (!args
) SWIG_fail
;
42765 swig_obj
[0] = args
;
42766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
42767 if (!SWIG_IsOK(res1
)) {
42768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
42770 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
42772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42773 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
42774 wxPyEndAllowThreads(__tstate
);
42775 if (PyErr_Occurred()) SWIG_fail
;
42777 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42784 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42785 PyObject
*resultobj
= 0;
42786 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
42787 wxColour
*arg2
= 0 ;
42791 PyObject
* obj0
= 0 ;
42792 PyObject
* obj1
= 0 ;
42793 char * kwnames
[] = {
42794 (char *) "self",(char *) "c", NULL
42797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
42799 if (!SWIG_IsOK(res1
)) {
42800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
42802 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
42805 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42809 (arg1
)->SetColour((wxColour
const &)*arg2
);
42810 wxPyEndAllowThreads(__tstate
);
42811 if (PyErr_Occurred()) SWIG_fail
;
42813 resultobj
= SWIG_Py_Void();
42820 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42822 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42823 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
42824 return SWIG_Py_Void();
42827 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42828 return SWIG_Python_InitShadowInstance(args
);
42831 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
42832 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
42837 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
42838 PyObject
*pyobj
= 0;
42842 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
42844 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
42851 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
42852 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
42857 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
42858 PyObject
*pyobj
= 0;
42862 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
42864 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
42871 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
42872 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
42877 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
42878 PyObject
*pyobj
= 0;
42882 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
42884 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
42891 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
42892 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
42897 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
42898 PyObject
*pyobj
= 0;
42902 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
42904 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
42911 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
42912 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
42917 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
42918 PyObject
*pyobj
= 0;
42922 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
42924 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
42931 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42932 PyObject
*resultobj
= 0;
42933 wxWindow
*arg1
= (wxWindow
*) 0 ;
42934 int arg2
= (int) -1 ;
42935 wxString
const &arg3_defvalue
= wxPyEmptyString
;
42936 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
42937 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
42938 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42939 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
42940 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
42941 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
42942 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
42943 wxSize
const &arg7_defvalue
= wxDefaultSize
;
42944 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
42945 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
42946 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
42947 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
42948 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
42949 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
42950 wxFilePickerCtrl
*result
= 0 ;
42955 bool temp3
= false ;
42956 bool temp4
= false ;
42957 bool temp5
= false ;
42964 bool temp10
= false ;
42965 PyObject
* obj0
= 0 ;
42966 PyObject
* obj1
= 0 ;
42967 PyObject
* obj2
= 0 ;
42968 PyObject
* obj3
= 0 ;
42969 PyObject
* obj4
= 0 ;
42970 PyObject
* obj5
= 0 ;
42971 PyObject
* obj6
= 0 ;
42972 PyObject
* obj7
= 0 ;
42973 PyObject
* obj8
= 0 ;
42974 PyObject
* obj9
= 0 ;
42975 char * kwnames
[] = {
42976 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
42980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42981 if (!SWIG_IsOK(res1
)) {
42982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
42984 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
42986 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42987 if (!SWIG_IsOK(ecode2
)) {
42988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
42990 arg2
= static_cast< int >(val2
);
42994 arg3
= wxString_in_helper(obj2
);
42995 if (arg3
== NULL
) SWIG_fail
;
43001 arg4
= wxString_in_helper(obj3
);
43002 if (arg4
== NULL
) SWIG_fail
;
43008 arg5
= wxString_in_helper(obj4
);
43009 if (arg5
== NULL
) SWIG_fail
;
43016 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43022 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43026 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43027 if (!SWIG_IsOK(ecode8
)) {
43028 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43030 arg8
= static_cast< long >(val8
);
43033 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43034 if (!SWIG_IsOK(res9
)) {
43035 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43038 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43040 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43044 arg10
= wxString_in_helper(obj9
);
43045 if (arg10
== NULL
) SWIG_fail
;
43050 if (!wxPyCheckForApp()) SWIG_fail
;
43051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43052 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
);
43053 wxPyEndAllowThreads(__tstate
);
43054 if (PyErr_Occurred()) SWIG_fail
;
43056 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
43095 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43096 PyObject
*resultobj
= 0;
43097 wxFilePickerCtrl
*result
= 0 ;
43099 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
43101 if (!wxPyCheckForApp()) SWIG_fail
;
43102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43103 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
43104 wxPyEndAllowThreads(__tstate
);
43105 if (PyErr_Occurred()) SWIG_fail
;
43107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
43114 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43115 PyObject
*resultobj
= 0;
43116 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43117 wxWindow
*arg2
= (wxWindow
*) 0 ;
43118 int arg3
= (int) -1 ;
43119 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43120 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43121 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
43122 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43123 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43124 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
43125 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
43126 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
43127 wxSize
const &arg8_defvalue
= wxDefaultSize
;
43128 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
43129 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
43130 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
43131 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
43132 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
43133 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
43141 bool temp4
= false ;
43142 bool temp5
= false ;
43143 bool temp6
= false ;
43150 bool temp11
= false ;
43151 PyObject
* obj0
= 0 ;
43152 PyObject
* obj1
= 0 ;
43153 PyObject
* obj2
= 0 ;
43154 PyObject
* obj3
= 0 ;
43155 PyObject
* obj4
= 0 ;
43156 PyObject
* obj5
= 0 ;
43157 PyObject
* obj6
= 0 ;
43158 PyObject
* obj7
= 0 ;
43159 PyObject
* obj8
= 0 ;
43160 PyObject
* obj9
= 0 ;
43161 PyObject
* obj10
= 0 ;
43162 char * kwnames
[] = {
43163 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
43167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43168 if (!SWIG_IsOK(res1
)) {
43169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43171 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43172 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43173 if (!SWIG_IsOK(res2
)) {
43174 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43176 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43178 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43179 if (!SWIG_IsOK(ecode3
)) {
43180 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43182 arg3
= static_cast< int >(val3
);
43186 arg4
= wxString_in_helper(obj3
);
43187 if (arg4
== NULL
) SWIG_fail
;
43193 arg5
= wxString_in_helper(obj4
);
43194 if (arg5
== NULL
) SWIG_fail
;
43200 arg6
= wxString_in_helper(obj5
);
43201 if (arg6
== NULL
) SWIG_fail
;
43208 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
43214 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
43218 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
43219 if (!SWIG_IsOK(ecode9
)) {
43220 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
43222 arg9
= static_cast< long >(val9
);
43225 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
43226 if (!SWIG_IsOK(res10
)) {
43227 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43230 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43232 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
43236 arg11
= wxString_in_helper(obj10
);
43237 if (arg11
== NULL
) SWIG_fail
;
43242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43243 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
);
43244 wxPyEndAllowThreads(__tstate
);
43245 if (PyErr_Occurred()) SWIG_fail
;
43248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43288 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43289 PyObject
*resultobj
= 0;
43290 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43294 PyObject
*swig_obj
[1] ;
43296 if (!args
) SWIG_fail
;
43297 swig_obj
[0] = args
;
43298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43299 if (!SWIG_IsOK(res1
)) {
43300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43302 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43305 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
43306 wxPyEndAllowThreads(__tstate
);
43307 if (PyErr_Occurred()) SWIG_fail
;
43311 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43313 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43322 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43323 PyObject
*resultobj
= 0;
43324 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43325 wxString
*arg2
= 0 ;
43328 bool temp2
= false ;
43329 PyObject
* obj0
= 0 ;
43330 PyObject
* obj1
= 0 ;
43331 char * kwnames
[] = {
43332 (char *) "self",(char *) "str", NULL
43335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43337 if (!SWIG_IsOK(res1
)) {
43338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43340 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43342 arg2
= wxString_in_helper(obj1
);
43343 if (arg2
== NULL
) SWIG_fail
;
43347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43348 (arg1
)->SetPath((wxString
const &)*arg2
);
43349 wxPyEndAllowThreads(__tstate
);
43350 if (PyErr_Occurred()) SWIG_fail
;
43352 resultobj
= SWIG_Py_Void();
43367 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43369 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43370 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
43371 return SWIG_Py_Void();
43374 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43375 return SWIG_Python_InitShadowInstance(args
);
43378 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43379 PyObject
*resultobj
= 0;
43380 wxWindow
*arg1
= (wxWindow
*) 0 ;
43381 int arg2
= (int) -1 ;
43382 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43383 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43384 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
43385 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43386 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43387 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43388 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43389 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43390 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
43391 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43392 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43393 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
43394 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43395 wxDirPickerCtrl
*result
= 0 ;
43400 bool temp3
= false ;
43401 bool temp4
= false ;
43408 bool temp9
= false ;
43409 PyObject
* obj0
= 0 ;
43410 PyObject
* obj1
= 0 ;
43411 PyObject
* obj2
= 0 ;
43412 PyObject
* obj3
= 0 ;
43413 PyObject
* obj4
= 0 ;
43414 PyObject
* obj5
= 0 ;
43415 PyObject
* obj6
= 0 ;
43416 PyObject
* obj7
= 0 ;
43417 PyObject
* obj8
= 0 ;
43418 char * kwnames
[] = {
43419 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43424 if (!SWIG_IsOK(res1
)) {
43425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43427 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43430 if (!SWIG_IsOK(ecode2
)) {
43431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43433 arg2
= static_cast< int >(val2
);
43437 arg3
= wxString_in_helper(obj2
);
43438 if (arg3
== NULL
) SWIG_fail
;
43444 arg4
= wxString_in_helper(obj3
);
43445 if (arg4
== NULL
) SWIG_fail
;
43452 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43458 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43462 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43463 if (!SWIG_IsOK(ecode7
)) {
43464 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
43466 arg7
= static_cast< long >(val7
);
43469 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43470 if (!SWIG_IsOK(res8
)) {
43471 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
43474 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
43476 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43480 arg9
= wxString_in_helper(obj8
);
43481 if (arg9
== NULL
) SWIG_fail
;
43486 if (!wxPyCheckForApp()) SWIG_fail
;
43487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43488 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
);
43489 wxPyEndAllowThreads(__tstate
);
43490 if (PyErr_Occurred()) SWIG_fail
;
43492 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43523 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43524 PyObject
*resultobj
= 0;
43525 wxDirPickerCtrl
*result
= 0 ;
43527 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
43529 if (!wxPyCheckForApp()) SWIG_fail
;
43530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43531 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
43532 wxPyEndAllowThreads(__tstate
);
43533 if (PyErr_Occurred()) SWIG_fail
;
43535 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43542 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43543 PyObject
*resultobj
= 0;
43544 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
43545 wxWindow
*arg2
= (wxWindow
*) 0 ;
43546 int arg3
= (int) -1 ;
43547 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43548 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43549 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
43550 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43551 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43552 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43553 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43554 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43555 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
43556 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43557 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43558 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
43559 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43567 bool temp4
= false ;
43568 bool temp5
= false ;
43575 bool temp10
= false ;
43576 PyObject
* obj0
= 0 ;
43577 PyObject
* obj1
= 0 ;
43578 PyObject
* obj2
= 0 ;
43579 PyObject
* obj3
= 0 ;
43580 PyObject
* obj4
= 0 ;
43581 PyObject
* obj5
= 0 ;
43582 PyObject
* obj6
= 0 ;
43583 PyObject
* obj7
= 0 ;
43584 PyObject
* obj8
= 0 ;
43585 PyObject
* obj9
= 0 ;
43586 char * kwnames
[] = {
43587 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
43592 if (!SWIG_IsOK(res1
)) {
43593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
43595 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
43596 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43597 if (!SWIG_IsOK(res2
)) {
43598 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43600 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43602 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43603 if (!SWIG_IsOK(ecode3
)) {
43604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43606 arg3
= static_cast< int >(val3
);
43610 arg4
= wxString_in_helper(obj3
);
43611 if (arg4
== NULL
) SWIG_fail
;
43617 arg5
= wxString_in_helper(obj4
);
43618 if (arg5
== NULL
) SWIG_fail
;
43625 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43631 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43635 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43636 if (!SWIG_IsOK(ecode8
)) {
43637 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
43639 arg8
= static_cast< long >(val8
);
43642 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43643 if (!SWIG_IsOK(res9
)) {
43644 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
43647 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
43649 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43653 arg10
= wxString_in_helper(obj9
);
43654 if (arg10
== NULL
) SWIG_fail
;
43659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43660 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
);
43661 wxPyEndAllowThreads(__tstate
);
43662 if (PyErr_Occurred()) SWIG_fail
;
43665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43697 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43698 PyObject
*resultobj
= 0;
43699 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
43703 PyObject
*swig_obj
[1] ;
43705 if (!args
) SWIG_fail
;
43706 swig_obj
[0] = args
;
43707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
43708 if (!SWIG_IsOK(res1
)) {
43709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
43711 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
43713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43714 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
43715 wxPyEndAllowThreads(__tstate
);
43716 if (PyErr_Occurred()) SWIG_fail
;
43720 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43722 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43731 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43732 PyObject
*resultobj
= 0;
43733 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
43734 wxString
*arg2
= 0 ;
43737 bool temp2
= false ;
43738 PyObject
* obj0
= 0 ;
43739 PyObject
* obj1
= 0 ;
43740 char * kwnames
[] = {
43741 (char *) "self",(char *) "str", NULL
43744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
43746 if (!SWIG_IsOK(res1
)) {
43747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
43749 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
43751 arg2
= wxString_in_helper(obj1
);
43752 if (arg2
== NULL
) SWIG_fail
;
43756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43757 (arg1
)->SetPath((wxString
const &)*arg2
);
43758 wxPyEndAllowThreads(__tstate
);
43759 if (PyErr_Occurred()) SWIG_fail
;
43761 resultobj
= SWIG_Py_Void();
43776 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43778 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43779 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
43780 return SWIG_Py_Void();
43783 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43784 return SWIG_Python_InitShadowInstance(args
);
43787 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43788 PyObject
*resultobj
= 0;
43790 wxObject
*arg2
= (wxObject
*) 0 ;
43792 wxString
*arg4
= 0 ;
43793 wxFileDirPickerEvent
*result
= 0 ;
43800 bool temp4
= false ;
43801 PyObject
* obj0
= 0 ;
43802 PyObject
* obj1
= 0 ;
43803 PyObject
* obj2
= 0 ;
43804 PyObject
* obj3
= 0 ;
43805 char * kwnames
[] = {
43806 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
43809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
43810 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
43811 if (!SWIG_IsOK(ecode1
)) {
43812 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
43814 arg1
= static_cast< wxEventType
>(val1
);
43815 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
43816 if (!SWIG_IsOK(res2
)) {
43817 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
43819 arg2
= reinterpret_cast< wxObject
* >(argp2
);
43820 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43821 if (!SWIG_IsOK(ecode3
)) {
43822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
43824 arg3
= static_cast< int >(val3
);
43826 arg4
= wxString_in_helper(obj3
);
43827 if (arg4
== NULL
) SWIG_fail
;
43831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43832 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
43833 wxPyEndAllowThreads(__tstate
);
43834 if (PyErr_Occurred()) SWIG_fail
;
43836 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
43851 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43852 PyObject
*resultobj
= 0;
43853 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
43857 PyObject
*swig_obj
[1] ;
43859 if (!args
) SWIG_fail
;
43860 swig_obj
[0] = args
;
43861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
43862 if (!SWIG_IsOK(res1
)) {
43863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
43865 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
43867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43868 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
43869 wxPyEndAllowThreads(__tstate
);
43870 if (PyErr_Occurred()) SWIG_fail
;
43874 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43876 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43885 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43886 PyObject
*resultobj
= 0;
43887 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
43888 wxString
*arg2
= 0 ;
43891 bool temp2
= false ;
43892 PyObject
* obj0
= 0 ;
43893 PyObject
* obj1
= 0 ;
43894 char * kwnames
[] = {
43895 (char *) "self",(char *) "p", NULL
43898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
43900 if (!SWIG_IsOK(res1
)) {
43901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
43903 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
43905 arg2
= wxString_in_helper(obj1
);
43906 if (arg2
== NULL
) SWIG_fail
;
43910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43911 (arg1
)->SetPath((wxString
const &)*arg2
);
43912 wxPyEndAllowThreads(__tstate
);
43913 if (PyErr_Occurred()) SWIG_fail
;
43915 resultobj
= SWIG_Py_Void();
43930 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43932 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43933 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
43934 return SWIG_Py_Void();
43937 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43938 return SWIG_Python_InitShadowInstance(args
);
43941 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
43942 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
43947 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
43948 PyObject
*pyobj
= 0;
43952 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
43954 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
43961 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43962 PyObject
*resultobj
= 0;
43963 wxWindow
*arg1
= (wxWindow
*) 0 ;
43964 int arg2
= (int) -1 ;
43965 wxFont
const &arg3_defvalue
= *wxNORMAL_FONT
;
43966 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
43967 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43968 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43969 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43970 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43971 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
43972 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43973 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43974 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
43975 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43976 wxFontPickerCtrl
*result
= 0 ;
43989 bool temp8
= false ;
43990 PyObject
* obj0
= 0 ;
43991 PyObject
* obj1
= 0 ;
43992 PyObject
* obj2
= 0 ;
43993 PyObject
* obj3
= 0 ;
43994 PyObject
* obj4
= 0 ;
43995 PyObject
* obj5
= 0 ;
43996 PyObject
* obj6
= 0 ;
43997 PyObject
* obj7
= 0 ;
43998 char * kwnames
[] = {
43999 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
44003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44004 if (!SWIG_IsOK(res1
)) {
44005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44007 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44009 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44010 if (!SWIG_IsOK(ecode2
)) {
44011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44013 arg2
= static_cast< int >(val2
);
44016 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44017 if (!SWIG_IsOK(res3
)) {
44018 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44023 arg3
= reinterpret_cast< wxFont
* >(argp3
);
44028 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
44034 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
44038 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
44039 if (!SWIG_IsOK(ecode6
)) {
44040 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
44042 arg6
= static_cast< long >(val6
);
44045 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
44046 if (!SWIG_IsOK(res7
)) {
44047 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44052 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
44056 arg8
= wxString_in_helper(obj7
);
44057 if (arg8
== NULL
) SWIG_fail
;
44062 if (!wxPyCheckForApp()) SWIG_fail
;
44063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44064 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
44065 wxPyEndAllowThreads(__tstate
);
44066 if (PyErr_Occurred()) SWIG_fail
;
44068 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44083 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44084 PyObject
*resultobj
= 0;
44085 wxFontPickerCtrl
*result
= 0 ;
44087 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
44089 if (!wxPyCheckForApp()) SWIG_fail
;
44090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44091 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
44092 wxPyEndAllowThreads(__tstate
);
44093 if (PyErr_Occurred()) SWIG_fail
;
44095 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44102 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44103 PyObject
*resultobj
= 0;
44104 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44105 wxWindow
*arg2
= (wxWindow
*) 0 ;
44106 int arg3
= (int) -1 ;
44107 wxFont
const &arg4_defvalue
= *wxNORMAL_FONT
;
44108 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
44109 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44110 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44111 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44112 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44113 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
44114 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44115 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44116 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
44117 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44133 bool temp9
= false ;
44134 PyObject
* obj0
= 0 ;
44135 PyObject
* obj1
= 0 ;
44136 PyObject
* obj2
= 0 ;
44137 PyObject
* obj3
= 0 ;
44138 PyObject
* obj4
= 0 ;
44139 PyObject
* obj5
= 0 ;
44140 PyObject
* obj6
= 0 ;
44141 PyObject
* obj7
= 0 ;
44142 PyObject
* obj8
= 0 ;
44143 char * kwnames
[] = {
44144 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44149 if (!SWIG_IsOK(res1
)) {
44150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44152 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44153 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44154 if (!SWIG_IsOK(res2
)) {
44155 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44157 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44159 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44160 if (!SWIG_IsOK(ecode3
)) {
44161 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44163 arg3
= static_cast< int >(val3
);
44166 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
44167 if (!SWIG_IsOK(res4
)) {
44168 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44171 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44173 arg4
= reinterpret_cast< wxFont
* >(argp4
);
44178 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44184 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44188 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44189 if (!SWIG_IsOK(ecode7
)) {
44190 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
44192 arg7
= static_cast< long >(val7
);
44195 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44196 if (!SWIG_IsOK(res8
)) {
44197 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
44200 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
44202 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44206 arg9
= wxString_in_helper(obj8
);
44207 if (arg9
== NULL
) SWIG_fail
;
44212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44213 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
44214 wxPyEndAllowThreads(__tstate
);
44215 if (PyErr_Occurred()) SWIG_fail
;
44218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44234 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44235 PyObject
*resultobj
= 0;
44236 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44240 PyObject
*swig_obj
[1] ;
44242 if (!args
) SWIG_fail
;
44243 swig_obj
[0] = args
;
44244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44245 if (!SWIG_IsOK(res1
)) {
44246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
44248 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44251 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
44252 wxPyEndAllowThreads(__tstate
);
44253 if (PyErr_Occurred()) SWIG_fail
;
44255 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
44262 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44263 PyObject
*resultobj
= 0;
44264 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44270 PyObject
* obj0
= 0 ;
44271 PyObject
* obj1
= 0 ;
44272 char * kwnames
[] = {
44273 (char *) "self",(char *) "f", NULL
44276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44278 if (!SWIG_IsOK(res1
)) {
44279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44281 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44282 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
44283 if (!SWIG_IsOK(res2
)) {
44284 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44287 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44289 arg2
= reinterpret_cast< wxFont
* >(argp2
);
44291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44292 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
44293 wxPyEndAllowThreads(__tstate
);
44294 if (PyErr_Occurred()) SWIG_fail
;
44296 resultobj
= SWIG_Py_Void();
44303 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44304 PyObject
*resultobj
= 0;
44305 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44306 unsigned int arg2
;
44309 unsigned int val2
;
44311 PyObject
* obj0
= 0 ;
44312 PyObject
* obj1
= 0 ;
44313 char * kwnames
[] = {
44314 (char *) "self",(char *) "max", NULL
44317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44319 if (!SWIG_IsOK(res1
)) {
44320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44322 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44323 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44324 if (!SWIG_IsOK(ecode2
)) {
44325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
44327 arg2
= static_cast< unsigned int >(val2
);
44329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44330 (arg1
)->SetMaxPointSize(arg2
);
44331 wxPyEndAllowThreads(__tstate
);
44332 if (PyErr_Occurred()) SWIG_fail
;
44334 resultobj
= SWIG_Py_Void();
44341 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44342 PyObject
*resultobj
= 0;
44343 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44344 unsigned int result
;
44347 PyObject
*swig_obj
[1] ;
44349 if (!args
) SWIG_fail
;
44350 swig_obj
[0] = args
;
44351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44352 if (!SWIG_IsOK(res1
)) {
44353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
44355 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44358 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
44359 wxPyEndAllowThreads(__tstate
);
44360 if (PyErr_Occurred()) SWIG_fail
;
44362 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
44369 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44371 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44372 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
44373 return SWIG_Py_Void();
44376 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44377 return SWIG_Python_InitShadowInstance(args
);
44380 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44381 PyObject
*resultobj
= 0;
44382 wxObject
*arg1
= (wxObject
*) 0 ;
44385 wxFontPickerEvent
*result
= 0 ;
44392 PyObject
* obj0
= 0 ;
44393 PyObject
* obj1
= 0 ;
44394 PyObject
* obj2
= 0 ;
44395 char * kwnames
[] = {
44396 (char *) "generator",(char *) "id",(char *) "f", NULL
44399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
44401 if (!SWIG_IsOK(res1
)) {
44402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
44404 arg1
= reinterpret_cast< wxObject
* >(argp1
);
44405 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44406 if (!SWIG_IsOK(ecode2
)) {
44407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
44409 arg2
= static_cast< int >(val2
);
44410 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44411 if (!SWIG_IsOK(res3
)) {
44412 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
44415 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
44417 arg3
= reinterpret_cast< wxFont
* >(argp3
);
44419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44420 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
44421 wxPyEndAllowThreads(__tstate
);
44422 if (PyErr_Occurred()) SWIG_fail
;
44424 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
44431 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44432 PyObject
*resultobj
= 0;
44433 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
44437 PyObject
*swig_obj
[1] ;
44439 if (!args
) SWIG_fail
;
44440 swig_obj
[0] = args
;
44441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
44442 if (!SWIG_IsOK(res1
)) {
44443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
44445 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
44447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44448 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
44449 wxPyEndAllowThreads(__tstate
);
44450 if (PyErr_Occurred()) SWIG_fail
;
44452 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
44459 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44460 PyObject
*resultobj
= 0;
44461 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
44467 PyObject
* obj0
= 0 ;
44468 PyObject
* obj1
= 0 ;
44469 char * kwnames
[] = {
44470 (char *) "self",(char *) "c", NULL
44473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
44475 if (!SWIG_IsOK(res1
)) {
44476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
44478 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
44479 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
44480 if (!SWIG_IsOK(res2
)) {
44481 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44484 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44486 arg2
= reinterpret_cast< wxFont
* >(argp2
);
44488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44489 (arg1
)->SetFont((wxFont
const &)*arg2
);
44490 wxPyEndAllowThreads(__tstate
);
44491 if (PyErr_Occurred()) SWIG_fail
;
44493 resultobj
= SWIG_Py_Void();
44500 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44502 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44503 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
44504 return SWIG_Py_Void();
44507 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44508 return SWIG_Python_InitShadowInstance(args
);
44511 static PyMethodDef SwigMethods
[] = {
44512 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44513 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
44514 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44515 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
44516 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
44517 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44518 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
44519 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
44520 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44521 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
44522 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44523 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
44524 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
44525 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
44526 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
44527 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
44528 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44529 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44530 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44531 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44532 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44533 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44534 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
44535 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
44536 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
44537 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
44538 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44539 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
44540 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44541 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
44542 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
44543 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44544 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
44545 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44546 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
44547 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
44548 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44549 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
44550 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
44551 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44552 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
44553 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44554 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
44555 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44556 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
44557 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
44558 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44559 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
44560 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44561 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
44562 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44563 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
44564 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
44565 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
44566 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44567 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
44568 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
44569 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44570 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44571 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
44572 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44573 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44574 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44575 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
44576 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44577 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
44578 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
44579 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
44580 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
44581 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
44582 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
44583 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
44584 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
44585 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
44586 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44587 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
44588 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
44589 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44590 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
44591 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44592 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44593 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
44594 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44595 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
44596 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
44597 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44598 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
44599 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44600 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
44601 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44602 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
44603 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
44604 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44605 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
44606 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44607 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44608 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
44609 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
44610 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44611 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
44612 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44613 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
44614 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
44615 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44616 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
44617 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
44618 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44619 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
44620 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44621 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44622 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44623 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
44624 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
44625 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44626 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
44627 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44628 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
44629 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44630 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44631 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44632 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
44633 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
44634 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44635 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
44636 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44637 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44638 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44639 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44640 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44641 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44642 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44643 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44644 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44645 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44646 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
44647 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44648 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44649 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44650 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44651 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
44652 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44653 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44654 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44655 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44656 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44657 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
44658 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
44659 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44660 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
44661 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44662 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44663 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44664 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
44665 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
44666 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44667 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
44668 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
44669 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44670 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44671 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44672 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44673 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44674 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44675 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44676 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44677 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44678 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
44679 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
44680 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
44681 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
44682 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
44683 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
44684 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
44685 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44686 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
44687 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
44688 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
44689 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
44690 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
44691 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
44692 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
44693 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
44694 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
44695 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
44696 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44697 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
44698 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
44699 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44700 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
44701 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44702 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
44703 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44704 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44705 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44706 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44707 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
44708 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
44709 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
44710 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
44711 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
44712 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
44713 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
44714 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
44715 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44716 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44717 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44718 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44719 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
44720 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
44721 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44722 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44723 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44724 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44725 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44726 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44727 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44728 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
44729 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44730 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44731 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44732 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44733 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44734 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
44735 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
44736 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
44737 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
44738 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
44739 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
44740 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
44741 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
44742 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
44743 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
44744 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44745 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
44746 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
44747 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
44748 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44749 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
44750 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44751 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44752 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44753 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44754 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
44755 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
44756 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44757 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
44758 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
44759 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
44760 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
44761 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
44762 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44763 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
44764 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44765 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
44766 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
44767 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
44768 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
44769 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
44770 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44771 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44772 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
44773 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
44774 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44775 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
44776 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44777 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
44778 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
44779 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
44780 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44781 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44782 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44783 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44784 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
44785 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44786 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
44787 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
44788 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44789 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
44790 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44791 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
44792 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44793 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44794 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44795 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
44796 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
44797 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44798 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44799 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
44800 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
44801 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44802 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
44803 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44804 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
44805 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
44806 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44807 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
44808 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44809 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44810 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
44811 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
44812 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44813 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
44814 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44815 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44816 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44817 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44818 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44819 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44820 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44821 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
44822 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
44823 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44824 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44825 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44826 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44827 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44828 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44829 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
44830 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
44831 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44832 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
44833 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44834 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
44835 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44836 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44837 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
44838 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
44839 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44840 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
44841 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44842 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
44843 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44844 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44845 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
44846 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
44847 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44848 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44849 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44850 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44851 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
44852 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
44853 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44854 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
44855 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44856 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
44857 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
44858 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44859 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
44860 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
44861 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
44862 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44863 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44864 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
44865 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
44866 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44867 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
44868 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44869 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44870 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
44871 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44872 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
44873 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
44874 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
44875 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44876 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
44877 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
44878 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44879 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44880 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44881 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44882 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
44883 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44884 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44885 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44886 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44887 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
44888 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44889 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
44890 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44891 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
44892 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44893 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
44894 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
44895 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44896 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44897 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
44898 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44899 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44900 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44901 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44902 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44903 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44904 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
44905 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44906 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
44907 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44908 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
44909 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44910 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
44911 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
44912 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44913 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
44914 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44915 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
44916 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44917 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44918 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
44919 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44920 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
44921 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
44922 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44923 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
44924 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
44925 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44926 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
44927 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44928 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
44929 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
44930 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
44931 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44932 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
44933 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
44934 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44935 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
44936 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44937 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
44938 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
44939 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
44940 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44941 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
44942 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
44943 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44944 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
44945 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44946 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44947 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44948 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44949 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44950 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44951 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44952 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
44953 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
44954 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
44955 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44956 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
44957 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
44958 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44959 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
44960 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44961 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
44962 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
44963 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
44964 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
44965 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44966 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
44967 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
44968 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
44969 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
44970 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
44971 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
44972 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
44973 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
44974 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
44975 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
44976 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
44977 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
44978 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
44979 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
44980 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
44981 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
44982 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
44983 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
44984 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
44985 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44986 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
44987 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44988 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44989 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44990 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44991 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44992 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44993 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
44994 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44995 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
44996 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44997 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
44998 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44999 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45000 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45001 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45002 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45003 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45004 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45005 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
45006 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45007 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45008 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45009 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45010 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
45011 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
45012 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45013 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45014 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45015 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45016 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45017 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45018 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45019 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45020 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45021 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45022 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45023 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45024 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45025 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45026 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45027 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45028 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
45029 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
45030 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
45031 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
45032 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45033 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45034 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
45035 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
45036 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45037 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
45038 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
45039 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45040 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45041 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
45042 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
45043 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
45044 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45045 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
45046 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45047 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45048 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
45049 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
45050 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45051 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
45052 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45053 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45054 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45055 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
45056 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
45057 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
45058 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
45059 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
45060 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
45061 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45062 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
45063 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
45064 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
45065 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
45066 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
45067 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
45068 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
45069 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45070 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45071 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45072 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45073 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45074 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45075 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45076 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45077 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45078 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45079 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45080 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45081 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45082 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
45083 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
45084 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
45085 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
45086 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
45087 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
45088 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
45089 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
45090 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
45091 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
45092 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
45093 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
45094 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
45095 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
45096 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
45097 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
45098 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
45099 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
45100 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
45101 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
45102 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
45103 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
45104 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
45105 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
45106 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
45107 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
45108 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
45109 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
45110 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
45111 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
45112 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
45113 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
45114 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
45115 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
45116 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
45117 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
45118 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45119 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
45120 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
45121 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
45122 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
45123 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
45124 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
45125 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
45126 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
45127 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
45128 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
45129 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
45130 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
45131 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
45132 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
45133 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
45134 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
45135 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
45136 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
45137 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
45138 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
45139 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
45140 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
45141 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
45142 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
45143 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45144 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
45145 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
45146 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45147 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
45148 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45149 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45150 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45151 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45152 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45153 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45154 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
45155 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
45156 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
45157 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45158 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45159 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45160 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45161 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45162 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45163 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45164 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45165 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45166 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45167 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45168 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45169 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45170 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45171 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
45172 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
45173 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
45174 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45175 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
45176 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
45177 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45178 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
45179 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45180 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45181 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45182 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45183 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45184 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
45185 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
45186 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45187 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45188 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45189 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45190 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
45191 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45192 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
45193 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
45194 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45195 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45196 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45197 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45198 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45199 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45200 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45201 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45202 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45203 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45204 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45205 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45206 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45207 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45208 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45209 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45210 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45211 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45212 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45213 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45214 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45215 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45216 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
45217 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45218 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
45219 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
45220 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45221 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
45222 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45223 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45224 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45225 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
45226 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45227 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
45228 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45229 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45230 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45231 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
45232 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
45233 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
45234 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
45235 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
45236 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45237 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45238 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
45239 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
45240 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
45241 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
45242 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45243 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
45244 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
45245 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45246 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
45247 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45248 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
45249 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
45250 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
45251 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45252 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
45253 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45254 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
45255 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45256 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
45257 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45258 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
45259 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
45260 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45261 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
45262 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45263 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
45264 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45265 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45266 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
45267 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
45268 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
45269 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45270 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
45271 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45272 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45273 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
45274 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
45275 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45276 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
45277 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45278 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
45279 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
45280 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45281 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45282 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45283 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45284 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45285 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45286 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45287 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45288 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45289 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45290 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45291 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45292 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45293 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45294 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45295 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45296 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45297 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45298 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45299 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45300 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45301 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45302 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45303 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45304 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45305 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45306 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45307 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
45308 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
45309 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
45310 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45311 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45312 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45313 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45314 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45315 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45316 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
45317 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45318 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45319 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45320 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45321 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45322 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45323 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45324 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45325 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45326 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
45327 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45328 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45329 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45330 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45331 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
45332 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45333 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
45334 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45335 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45336 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45337 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45338 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45339 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
45340 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45341 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45342 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45343 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45344 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45345 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
45346 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
45347 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
45348 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45349 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
45350 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45351 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45352 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45353 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
45354 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45355 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
45356 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
45357 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45358 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45359 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
45360 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
45361 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
45363 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45364 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
45365 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
45366 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
45367 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45368 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
45369 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
45370 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
45371 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
45372 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45373 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
45374 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45375 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45376 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
45377 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
45378 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45379 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
45380 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45381 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45383 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45385 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45386 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45387 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
45388 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
45389 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
45390 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
45391 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
45392 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
45393 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
45394 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
45395 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
45396 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45397 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
45398 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45399 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
45400 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45401 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
45402 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
45404 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
45406 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
45407 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45408 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
45409 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
45411 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
45412 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
45413 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45414 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
45415 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
45416 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
45417 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
45419 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45421 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45423 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45424 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45425 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
45426 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
45427 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
45428 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
45429 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
45430 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45431 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45433 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45434 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
45436 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45437 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
45440 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
45442 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
45443 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45446 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
45448 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
45449 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
45451 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
45454 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45455 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
45456 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
45457 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
45458 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
45459 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
45461 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
45463 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
45465 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
45467 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
45469 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
45472 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
45473 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
45474 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
45476 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
45478 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
45479 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
45482 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45483 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
45484 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
45485 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
45486 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
45487 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
45488 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
45490 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
45492 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
45494 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
45495 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45496 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
45497 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
45499 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
45500 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
45502 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45503 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
45504 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
45506 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
45507 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45508 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
45509 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
45511 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
45513 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
45514 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
45516 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45517 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
45518 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
45519 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
45521 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
45523 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
45526 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
45527 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
45528 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
45530 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
45532 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
45533 { NULL
, NULL
, 0, NULL
}
45537 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
45539 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
45540 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
45542 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
45543 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
45545 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
45546 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
45548 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
45549 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
45551 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
45552 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
45554 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
45555 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
45557 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
45558 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
45560 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
45561 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
45563 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
45564 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
45566 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
45567 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
45569 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
45570 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
45572 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
45573 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
45575 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
45576 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
45578 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
45579 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
45581 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
45582 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
45584 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
45585 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
45587 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
45588 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
45590 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
45591 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
45593 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
45594 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
45596 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
45597 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
45599 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
45600 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
45602 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
45603 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
45605 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
45606 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
45608 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
45609 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
45611 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
45612 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
45614 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
45615 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
45617 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
45618 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
45620 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
45621 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
45623 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
45624 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
45626 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
45627 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
45629 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
45630 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
45632 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
45633 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
45635 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
45636 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
45638 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
45639 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
45641 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
45642 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
45644 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
45645 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
45647 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
45648 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
45650 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
45651 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
45653 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
45654 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
45656 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
45657 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
45659 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
45660 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
45662 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
45663 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
45665 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
45666 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
45668 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
45669 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
45671 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
45672 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
45674 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
45675 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
45677 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
45678 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
45680 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
45681 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
45683 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
45684 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
45686 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
45687 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
45689 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
45690 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
45692 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
45693 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
45695 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
45696 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
45698 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
45699 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
45701 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
45702 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
45704 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
45705 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
45707 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
45708 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
45710 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
45711 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
45713 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
45714 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
45716 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
45717 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
45719 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
45720 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
45722 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
45723 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
45725 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
45726 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
45728 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
45729 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
45731 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
45732 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
45734 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
45735 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
45737 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
45738 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
45740 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
45741 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
45743 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
45744 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
45746 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
45747 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
45749 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
45750 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
45752 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
45753 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
45755 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
45756 return (void *)((wxControl
*) ((wxComboBox
*) x
));
45758 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
45759 return (void *)((wxControl
*) ((wxPyControl
*) x
));
45761 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
45762 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
45764 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
45765 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
45767 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
45768 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
45770 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
45771 return (void *)((wxControl
*) ((wxGauge
*) x
));
45773 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
45774 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
45776 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
45777 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
45779 static void *_p_wxListbookTo_p_wxControl(void *x
) {
45780 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
45782 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
45783 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
45785 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
45786 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
45788 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
45789 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
45791 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
45792 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
45794 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
45795 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
45797 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
45798 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
45800 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
45801 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
45803 static void *_p_wxListViewTo_p_wxControl(void *x
) {
45804 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
45806 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
45807 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
45809 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
45810 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
45812 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
45813 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
45815 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
45816 return (void *)((wxControl
*) ((wxStaticText
*) x
));
45818 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
45819 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
45821 static void *_p_wxSliderTo_p_wxControl(void *x
) {
45822 return (void *)((wxControl
*) ((wxSlider
*) x
));
45824 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
45825 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
45827 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
45828 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
45830 static void *_p_wxButtonTo_p_wxControl(void *x
) {
45831 return (void *)((wxControl
*) ((wxButton
*) x
));
45833 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
45834 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
45836 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
45837 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
45839 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
45840 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
45842 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
45843 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
45845 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
45846 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
45848 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
45849 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
45851 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
45852 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
45854 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
45855 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
45857 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
45858 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
45860 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
45861 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
45863 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
45864 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
45866 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
45867 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
45869 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
45870 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
45872 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
45873 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
45875 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
45876 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
45878 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
45879 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
45881 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
45882 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
45884 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
45885 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
45887 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
45888 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
45890 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
45891 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
45893 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
45894 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
45896 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
45897 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
45899 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
45900 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
45902 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
45903 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
45905 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
45906 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
45908 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
45909 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
45911 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
45912 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
45914 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
45915 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
45917 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
45918 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
45920 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
45921 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
45923 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
45924 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
45926 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
45927 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
45929 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
45930 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
45932 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
45933 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
45935 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
45936 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
45938 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
45939 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
45941 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
45942 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
45944 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
45945 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
45947 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
45948 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
45950 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
45951 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
45953 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
45954 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
45956 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
45957 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
45959 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
45960 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
45962 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
45963 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
45965 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
45966 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
45968 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
45969 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
45971 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
45972 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
45974 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
45975 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
45977 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
45978 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
45980 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
45981 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
45983 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
45984 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
45986 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
45987 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
45989 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
45990 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
45992 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
45993 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
45995 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
45996 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
45998 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
45999 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
46001 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
46002 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
46004 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
46005 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
46007 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
46008 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
46010 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
46011 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
46013 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
46014 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
46016 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
46017 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
46019 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
46020 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
46022 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
46023 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
46025 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
46026 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
46028 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
46029 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
46031 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
46032 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
46034 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
46035 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46037 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
46038 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
46040 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
46041 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46043 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
46044 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46046 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
46047 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46049 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
46050 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46052 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
46053 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
46055 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
46056 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
46058 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
46059 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
46061 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
46062 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46064 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
46065 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46067 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
46068 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
46070 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46071 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46073 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
46074 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
46076 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46077 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46079 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46080 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46082 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46083 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46085 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46086 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46088 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
46089 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
46091 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46092 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46094 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46095 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46097 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46098 return (void *)((wxObject
*) ((wxSizer
*) x
));
46100 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46101 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46103 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
46104 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
46106 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
46107 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
46109 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46110 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46112 static void *_p_wxEventTo_p_wxObject(void *x
) {
46113 return (void *)((wxObject
*) ((wxEvent
*) x
));
46115 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46116 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46118 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46119 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46121 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46122 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46124 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
46125 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
46127 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
46128 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
46130 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
46131 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
46133 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
46134 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46136 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
46137 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
46139 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46140 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46142 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46143 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46145 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46146 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46148 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46149 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46151 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46152 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46154 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46155 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46157 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
46158 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
46160 static void *_p_wxControlTo_p_wxObject(void *x
) {
46161 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46163 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
46164 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
46166 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
46167 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
46169 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
46170 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
46172 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
46173 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
46175 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
46176 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
46178 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46179 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46181 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
46182 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
46184 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
46185 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
46187 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
46188 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
46190 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
46191 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
46193 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46194 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46196 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46197 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46199 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
46200 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
46202 static void *_p_wxListViewTo_p_wxObject(void *x
) {
46203 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
46205 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
46206 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
46208 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
46209 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
46211 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
46212 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
46214 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46215 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46217 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46218 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46220 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
46221 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46223 static void *_p_wxListbookTo_p_wxObject(void *x
) {
46224 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
46226 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46227 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46229 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
46230 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
46232 static void *_p_wxSliderTo_p_wxObject(void *x
) {
46233 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
46235 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46236 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46238 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46239 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46241 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46242 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46244 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46245 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46247 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46248 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46250 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
46251 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
46253 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
46254 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
46256 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
46257 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
46259 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
46260 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
46262 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
46263 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
46265 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
46266 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
46268 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
46269 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
46271 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
46272 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
46274 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
46275 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
46277 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
46278 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
46280 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
46281 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
46283 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
46284 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
46286 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
46287 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
46289 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
46290 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46292 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
46293 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46295 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
46296 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
46298 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
46299 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
46301 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
46302 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
46304 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
46305 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
46307 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
46308 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
46310 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
46311 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
46313 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
46314 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
46316 static void *_p_wxListEventTo_p_wxObject(void *x
) {
46317 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
46319 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
46320 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
46322 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
46323 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46325 static void *_p_wxButtonTo_p_wxObject(void *x
) {
46326 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
46328 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
46329 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
46331 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
46332 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
46334 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
46335 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46337 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
46338 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46340 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
46341 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
46343 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
46344 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
46346 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
46347 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
46349 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
46350 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
46352 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
46353 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
46355 static void *_p_wxListItemTo_p_wxObject(void *x
) {
46356 return (void *)((wxObject
*) ((wxListItem
*) x
));
46358 static void *_p_wxImageTo_p_wxObject(void *x
) {
46359 return (void *)((wxObject
*) ((wxImage
*) x
));
46361 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
46362 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
46364 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
46365 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46367 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
46368 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
46370 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
46371 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
46373 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
46374 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46376 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
46377 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46379 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
46380 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46382 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
46383 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46385 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
46386 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46388 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
46389 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46391 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
46392 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46394 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
46395 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
46397 static void *_p_wxWindowTo_p_wxObject(void *x
) {
46398 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
46400 static void *_p_wxMenuTo_p_wxObject(void *x
) {
46401 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
46403 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
46404 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
46406 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
46407 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
46409 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
46410 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46412 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
46413 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
46415 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
46416 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
46418 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
46419 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
46421 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
46422 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
46424 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
46425 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
46427 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
46428 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46430 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
46431 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46433 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
46434 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46436 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
46437 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
46439 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
46440 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
46442 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
46443 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
46445 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
46446 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
46448 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
46449 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46451 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
46452 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
46454 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
46455 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46457 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
46458 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46460 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
46461 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46463 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
46464 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46466 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
46467 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46469 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
46470 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
46472 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
46473 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
46475 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
46476 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
46478 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
46479 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
46481 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
46482 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
46484 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
46485 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
46487 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
46488 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
46490 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
46491 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
46493 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
46494 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
46496 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
46497 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
46499 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
46500 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
46502 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
46503 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
46505 static void *_p_wxControlTo_p_wxWindow(void *x
) {
46506 return (void *)((wxWindow
*) ((wxControl
*) x
));
46508 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
46509 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
46511 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
46512 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
46514 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
46515 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
46517 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
46518 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46520 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
46521 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
46523 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
46524 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
46526 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
46527 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
46529 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
46530 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
46532 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
46533 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
46535 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
46536 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
46538 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
46539 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46541 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
46542 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
46544 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
46545 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
46547 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
46548 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
46550 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
46551 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
46553 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
46554 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
46556 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
46557 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46559 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
46560 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
46562 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
46563 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
46565 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
46566 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
46568 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
46569 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
46571 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
46572 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
46574 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
46575 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
46577 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
46578 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
46580 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
46581 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
46583 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
46584 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
46586 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
46587 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
46589 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
46590 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
46592 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
46593 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
46595 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
46596 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
46598 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
46599 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46601 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
46602 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
46604 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
46605 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46607 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
46608 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46610 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
46611 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46613 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
46614 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46616 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
46617 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
46619 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
46620 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46622 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
46623 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46625 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
46626 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46628 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
46629 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46631 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
46632 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46634 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
46635 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46637 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
46638 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
46640 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
46641 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
46643 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
46644 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
46646 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
46647 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
46649 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
46650 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
46652 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
46653 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
46655 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
46656 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
46658 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
46659 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46661 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
46662 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46664 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
46665 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46667 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
46668 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46670 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
46671 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46673 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
46674 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46676 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
46677 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46679 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
46680 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46682 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
46683 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
46685 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
46686 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46688 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
46689 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
46691 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
46692 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46694 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
46695 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46697 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
46698 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46700 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
46701 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
46703 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
46704 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46706 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
46707 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46709 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
46710 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46712 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
46713 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
46715 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
46716 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
46718 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
46719 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
46721 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
46722 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
46724 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
46725 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
46726 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};
46727 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
46728 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
46729 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
46730 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
46731 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
46732 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
46733 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
46734 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
46735 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
46736 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
46737 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
46738 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
46739 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
46740 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
46741 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
46742 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
46743 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
46744 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
46745 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
46746 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
46747 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
46748 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
46749 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
46750 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
46751 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
46752 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
46753 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
46754 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
46755 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
46756 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
46757 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
46758 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
46759 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
46760 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
46761 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
46762 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
46763 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
46764 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
46765 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
46766 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
46767 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
46768 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
46769 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
46770 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
46771 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
46772 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
46773 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
46774 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
46775 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
46776 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
46777 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
46778 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
46779 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
46780 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
46781 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
46782 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
46783 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
46784 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
46785 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
46786 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
46787 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
46788 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
46789 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
46790 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
46791 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
46792 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
46793 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
46794 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
46795 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
46796 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
46797 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
46798 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
46799 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
46800 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
46801 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
46802 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
46803 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
46804 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
46805 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
46806 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
46807 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
46808 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
46809 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
46810 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
46811 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
46812 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
46813 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
46814 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
46815 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
46816 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
46817 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
46818 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
46819 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
46820 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
46821 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
46822 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
46823 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
46824 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
46825 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
46826 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
46827 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
46828 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
46829 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
46830 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
46831 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
46832 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
46833 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
46834 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
46835 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
46836 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
46837 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
46838 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
46839 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
46840 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
46841 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
46842 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
46843 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
46844 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
46845 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
46846 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
46847 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
46848 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
46849 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
46850 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
46851 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
46852 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
46853 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
46854 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
46855 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
46856 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
46857 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
46858 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
46859 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
46860 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
46861 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
46862 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
46863 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
46864 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
46865 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
46866 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
46867 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
46868 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
46869 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
46870 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
46871 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
46872 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
46873 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
46874 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
46875 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
46876 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
46877 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
46878 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
46879 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
46880 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
46881 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
46882 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
46883 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
46884 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
46885 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
46886 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
46887 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
46888 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
46889 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
46890 static swig_type_info _swigt__p_wxTreeCtrl
= {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
46891 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
46892 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
46893 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
46894 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
46895 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
46896 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
46897 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
46898 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
46900 static swig_type_info
*swig_type_initial
[] = {
46903 &_swigt__p_form_ops_t
,
46906 &_swigt__p_unsigned_char
,
46907 &_swigt__p_unsigned_int
,
46908 &_swigt__p_unsigned_long
,
46910 &_swigt__p_wxANIHandler
,
46911 &_swigt__p_wxAcceleratorTable
,
46912 &_swigt__p_wxActivateEvent
,
46913 &_swigt__p_wxArrayInt
,
46914 &_swigt__p_wxArrayString
,
46915 &_swigt__p_wxBMPHandler
,
46916 &_swigt__p_wxBitmap
,
46917 &_swigt__p_wxBitmapButton
,
46918 &_swigt__p_wxBookCtrlBase
,
46919 &_swigt__p_wxBookCtrlBaseEvent
,
46920 &_swigt__p_wxBoxSizer
,
46921 &_swigt__p_wxButton
,
46922 &_swigt__p_wxCURHandler
,
46923 &_swigt__p_wxCheckBox
,
46924 &_swigt__p_wxCheckListBox
,
46925 &_swigt__p_wxChildFocusEvent
,
46926 &_swigt__p_wxChoice
,
46927 &_swigt__p_wxChoicebook
,
46928 &_swigt__p_wxChoicebookEvent
,
46929 &_swigt__p_wxClipboardTextEvent
,
46930 &_swigt__p_wxCloseEvent
,
46931 &_swigt__p_wxColour
,
46932 &_swigt__p_wxColourPickerCtrl
,
46933 &_swigt__p_wxColourPickerEvent
,
46934 &_swigt__p_wxComboBox
,
46935 &_swigt__p_wxCommandEvent
,
46936 &_swigt__p_wxContextHelp
,
46937 &_swigt__p_wxContextHelpButton
,
46938 &_swigt__p_wxContextMenuEvent
,
46939 &_swigt__p_wxControl
,
46940 &_swigt__p_wxControlWithItems
,
46941 &_swigt__p_wxCursor
,
46943 &_swigt__p_wxDateEvent
,
46944 &_swigt__p_wxDatePickerCtrl
,
46945 &_swigt__p_wxDateTime
,
46946 &_swigt__p_wxDirFilterListCtrl
,
46947 &_swigt__p_wxDirPickerCtrl
,
46948 &_swigt__p_wxDisplayChangedEvent
,
46949 &_swigt__p_wxDropFilesEvent
,
46950 &_swigt__p_wxDuplexMode
,
46951 &_swigt__p_wxEraseEvent
,
46952 &_swigt__p_wxEvent
,
46953 &_swigt__p_wxEvtHandler
,
46954 &_swigt__p_wxFSFile
,
46955 &_swigt__p_wxFileDirPickerEvent
,
46956 &_swigt__p_wxFilePickerCtrl
,
46957 &_swigt__p_wxFileSystem
,
46958 &_swigt__p_wxFlexGridSizer
,
46959 &_swigt__p_wxFocusEvent
,
46961 &_swigt__p_wxFontPickerCtrl
,
46962 &_swigt__p_wxFontPickerEvent
,
46963 &_swigt__p_wxGBSizerItem
,
46964 &_swigt__p_wxGIFHandler
,
46965 &_swigt__p_wxGauge
,
46966 &_swigt__p_wxGenericDirCtrl
,
46967 &_swigt__p_wxGenericDragImage
,
46968 &_swigt__p_wxGridBagSizer
,
46969 &_swigt__p_wxGridSizer
,
46970 &_swigt__p_wxHelpEvent
,
46971 &_swigt__p_wxHelpProvider
,
46972 &_swigt__p_wxHyperlinkCtrl
,
46973 &_swigt__p_wxHyperlinkEvent
,
46974 &_swigt__p_wxICOHandler
,
46976 &_swigt__p_wxIconizeEvent
,
46977 &_swigt__p_wxIdleEvent
,
46978 &_swigt__p_wxImage
,
46979 &_swigt__p_wxImageHandler
,
46980 &_swigt__p_wxImageList
,
46981 &_swigt__p_wxIndividualLayoutConstraint
,
46982 &_swigt__p_wxInitDialogEvent
,
46983 &_swigt__p_wxItemContainer
,
46984 &_swigt__p_wxJPEGHandler
,
46985 &_swigt__p_wxKeyEvent
,
46986 &_swigt__p_wxLayoutConstraints
,
46987 &_swigt__p_wxListBox
,
46988 &_swigt__p_wxListEvent
,
46989 &_swigt__p_wxListItem
,
46990 &_swigt__p_wxListItemAttr
,
46991 &_swigt__p_wxListView
,
46992 &_swigt__p_wxListbook
,
46993 &_swigt__p_wxListbookEvent
,
46994 &_swigt__p_wxMaximizeEvent
,
46995 &_swigt__p_wxMemoryDC
,
46997 &_swigt__p_wxMenuBar
,
46998 &_swigt__p_wxMenuEvent
,
46999 &_swigt__p_wxMenuItem
,
47000 &_swigt__p_wxMouseCaptureChangedEvent
,
47001 &_swigt__p_wxMouseEvent
,
47002 &_swigt__p_wxMoveEvent
,
47003 &_swigt__p_wxNavigationKeyEvent
,
47004 &_swigt__p_wxNcPaintEvent
,
47005 &_swigt__p_wxNotebook
,
47006 &_swigt__p_wxNotebookEvent
,
47007 &_swigt__p_wxNotifyEvent
,
47008 &_swigt__p_wxObject
,
47009 &_swigt__p_wxPCXHandler
,
47010 &_swigt__p_wxPNGHandler
,
47011 &_swigt__p_wxPNMHandler
,
47012 &_swigt__p_wxPaintEvent
,
47013 &_swigt__p_wxPaletteChangedEvent
,
47014 &_swigt__p_wxPaperSize
,
47015 &_swigt__p_wxPickerBase
,
47016 &_swigt__p_wxPoint
,
47017 &_swigt__p_wxPyApp
,
47018 &_swigt__p_wxPyCommandEvent
,
47019 &_swigt__p_wxPyControl
,
47020 &_swigt__p_wxPyEvent
,
47021 &_swigt__p_wxPyImageHandler
,
47022 &_swigt__p_wxPyListCtrl
,
47023 &_swigt__p_wxPySizer
,
47024 &_swigt__p_wxPyTreeCtrl
,
47025 &_swigt__p_wxPyTreeItemData
,
47026 &_swigt__p_wxPyValidator
,
47027 &_swigt__p_wxQueryNewPaletteEvent
,
47028 &_swigt__p_wxRadioBox
,
47029 &_swigt__p_wxRadioButton
,
47031 &_swigt__p_wxScrollBar
,
47032 &_swigt__p_wxScrollEvent
,
47033 &_swigt__p_wxScrollWinEvent
,
47034 &_swigt__p_wxSetCursorEvent
,
47035 &_swigt__p_wxShowEvent
,
47036 &_swigt__p_wxSimpleHelpProvider
,
47038 &_swigt__p_wxSizeEvent
,
47039 &_swigt__p_wxSizer
,
47040 &_swigt__p_wxSizerItem
,
47041 &_swigt__p_wxSlider
,
47042 &_swigt__p_wxSpinButton
,
47043 &_swigt__p_wxSpinCtrl
,
47044 &_swigt__p_wxSpinEvent
,
47045 &_swigt__p_wxStaticBitmap
,
47046 &_swigt__p_wxStaticBox
,
47047 &_swigt__p_wxStaticBoxSizer
,
47048 &_swigt__p_wxStaticLine
,
47049 &_swigt__p_wxStaticText
,
47050 &_swigt__p_wxStdDialogButtonSizer
,
47051 &_swigt__p_wxString
,
47052 &_swigt__p_wxSysColourChangedEvent
,
47053 &_swigt__p_wxTIFFHandler
,
47054 &_swigt__p_wxTextAttr
,
47055 &_swigt__p_wxTextCtrl
,
47056 &_swigt__p_wxTextUrlEvent
,
47057 &_swigt__p_wxToggleButton
,
47058 &_swigt__p_wxToolBar
,
47059 &_swigt__p_wxToolBarBase
,
47060 &_swigt__p_wxToolBarToolBase
,
47061 &_swigt__p_wxToolbook
,
47062 &_swigt__p_wxToolbookEvent
,
47063 &_swigt__p_wxTreeCtrl
,
47064 &_swigt__p_wxTreeEvent
,
47065 &_swigt__p_wxTreeItemId
,
47066 &_swigt__p_wxTreebook
,
47067 &_swigt__p_wxTreebookEvent
,
47068 &_swigt__p_wxUpdateUIEvent
,
47069 &_swigt__p_wxValidator
,
47070 &_swigt__p_wxVisualAttributes
,
47071 &_swigt__p_wxWindow
,
47072 &_swigt__p_wxWindowBase
,
47073 &_swigt__p_wxWindowCreateEvent
,
47074 &_swigt__p_wxWindowDestroyEvent
,
47075 &_swigt__p_wxXPMHandler
,
47078 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
47079 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
47080 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
47081 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
47082 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
47083 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
47084 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
47085 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
47086 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
47087 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
47088 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
47089 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
47090 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}};
47091 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}};
47092 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}};
47093 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}};
47094 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
47095 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
47096 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}};
47097 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
47098 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47099 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
47100 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47101 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47102 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
47103 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47104 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
47105 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
47106 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
47107 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
47108 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
47109 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47110 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47111 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
47112 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_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}};
47113 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
47114 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
47115 static swig_cast_info _swigc__p_wxControl
[] = { {&_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}};
47116 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}};
47117 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
47118 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
47119 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47120 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
47121 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47122 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47123 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
47124 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
47125 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47126 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47127 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
47128 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
47129 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47130 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
47131 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
47132 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47133 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47134 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47135 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47136 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
47137 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
47138 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
47139 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47140 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47141 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47142 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47143 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
47144 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
47145 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
47146 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47147 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
47148 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_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_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 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_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_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}};
47149 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
47150 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
47151 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
47152 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
47153 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_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_wxPyControl
, _p_wxPyControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_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_wxStaticLine
, _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 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_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_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}};
47154 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47155 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47156 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
47157 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47158 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47159 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
47160 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47161 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
47162 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
47163 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}};
47164 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47165 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
47166 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
47167 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
47168 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}};
47169 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47170 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}};
47171 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
47172 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
47173 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
47174 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
47175 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
47176 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47177 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
47178 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47179 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
47180 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47181 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}};
47182 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
47183 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
47184 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
47185 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
47186 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47187 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47188 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47189 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
47190 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
47191 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
47192 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
47193 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
47194 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
47195 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
47196 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
47197 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
47198 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
47199 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
47200 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
47201 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
47202 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
47203 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
47204 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
47205 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
47206 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
47207 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
47208 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
47209 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
47210 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
47211 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
47212 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_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_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_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_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_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_wxListEvent
, _p_wxListEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_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_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_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_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_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_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_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_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}};
47213 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
47214 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}};
47215 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
47216 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
47217 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}};
47218 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47219 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
47220 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
47221 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
47222 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
47223 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
47224 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
47225 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
47226 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
47227 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
47228 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47229 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
47230 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
47231 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
47232 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
47233 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
47234 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
47235 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
47236 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47237 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
47238 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
47239 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
47240 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}};
47241 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
47242 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
47243 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47244 static swig_cast_info _swigc__p_wxTreeCtrl
[] = { {&_swigt__p_wxTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47245 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47246 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
47247 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
47248 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47249 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}};
47250 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
47251 static swig_cast_info _swigc__p_wxWindow
[] = { {&_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_wxPyControl
, _p_wxPyControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_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_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_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_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}};
47252 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
47254 static swig_cast_info
*swig_cast_initial
[] = {
47257 _swigc__p_form_ops_t
,
47260 _swigc__p_unsigned_char
,
47261 _swigc__p_unsigned_int
,
47262 _swigc__p_unsigned_long
,
47264 _swigc__p_wxANIHandler
,
47265 _swigc__p_wxAcceleratorTable
,
47266 _swigc__p_wxActivateEvent
,
47267 _swigc__p_wxArrayInt
,
47268 _swigc__p_wxArrayString
,
47269 _swigc__p_wxBMPHandler
,
47270 _swigc__p_wxBitmap
,
47271 _swigc__p_wxBitmapButton
,
47272 _swigc__p_wxBookCtrlBase
,
47273 _swigc__p_wxBookCtrlBaseEvent
,
47274 _swigc__p_wxBoxSizer
,
47275 _swigc__p_wxButton
,
47276 _swigc__p_wxCURHandler
,
47277 _swigc__p_wxCheckBox
,
47278 _swigc__p_wxCheckListBox
,
47279 _swigc__p_wxChildFocusEvent
,
47280 _swigc__p_wxChoice
,
47281 _swigc__p_wxChoicebook
,
47282 _swigc__p_wxChoicebookEvent
,
47283 _swigc__p_wxClipboardTextEvent
,
47284 _swigc__p_wxCloseEvent
,
47285 _swigc__p_wxColour
,
47286 _swigc__p_wxColourPickerCtrl
,
47287 _swigc__p_wxColourPickerEvent
,
47288 _swigc__p_wxComboBox
,
47289 _swigc__p_wxCommandEvent
,
47290 _swigc__p_wxContextHelp
,
47291 _swigc__p_wxContextHelpButton
,
47292 _swigc__p_wxContextMenuEvent
,
47293 _swigc__p_wxControl
,
47294 _swigc__p_wxControlWithItems
,
47295 _swigc__p_wxCursor
,
47297 _swigc__p_wxDateEvent
,
47298 _swigc__p_wxDatePickerCtrl
,
47299 _swigc__p_wxDateTime
,
47300 _swigc__p_wxDirFilterListCtrl
,
47301 _swigc__p_wxDirPickerCtrl
,
47302 _swigc__p_wxDisplayChangedEvent
,
47303 _swigc__p_wxDropFilesEvent
,
47304 _swigc__p_wxDuplexMode
,
47305 _swigc__p_wxEraseEvent
,
47307 _swigc__p_wxEvtHandler
,
47308 _swigc__p_wxFSFile
,
47309 _swigc__p_wxFileDirPickerEvent
,
47310 _swigc__p_wxFilePickerCtrl
,
47311 _swigc__p_wxFileSystem
,
47312 _swigc__p_wxFlexGridSizer
,
47313 _swigc__p_wxFocusEvent
,
47315 _swigc__p_wxFontPickerCtrl
,
47316 _swigc__p_wxFontPickerEvent
,
47317 _swigc__p_wxGBSizerItem
,
47318 _swigc__p_wxGIFHandler
,
47320 _swigc__p_wxGenericDirCtrl
,
47321 _swigc__p_wxGenericDragImage
,
47322 _swigc__p_wxGridBagSizer
,
47323 _swigc__p_wxGridSizer
,
47324 _swigc__p_wxHelpEvent
,
47325 _swigc__p_wxHelpProvider
,
47326 _swigc__p_wxHyperlinkCtrl
,
47327 _swigc__p_wxHyperlinkEvent
,
47328 _swigc__p_wxICOHandler
,
47330 _swigc__p_wxIconizeEvent
,
47331 _swigc__p_wxIdleEvent
,
47333 _swigc__p_wxImageHandler
,
47334 _swigc__p_wxImageList
,
47335 _swigc__p_wxIndividualLayoutConstraint
,
47336 _swigc__p_wxInitDialogEvent
,
47337 _swigc__p_wxItemContainer
,
47338 _swigc__p_wxJPEGHandler
,
47339 _swigc__p_wxKeyEvent
,
47340 _swigc__p_wxLayoutConstraints
,
47341 _swigc__p_wxListBox
,
47342 _swigc__p_wxListEvent
,
47343 _swigc__p_wxListItem
,
47344 _swigc__p_wxListItemAttr
,
47345 _swigc__p_wxListView
,
47346 _swigc__p_wxListbook
,
47347 _swigc__p_wxListbookEvent
,
47348 _swigc__p_wxMaximizeEvent
,
47349 _swigc__p_wxMemoryDC
,
47351 _swigc__p_wxMenuBar
,
47352 _swigc__p_wxMenuEvent
,
47353 _swigc__p_wxMenuItem
,
47354 _swigc__p_wxMouseCaptureChangedEvent
,
47355 _swigc__p_wxMouseEvent
,
47356 _swigc__p_wxMoveEvent
,
47357 _swigc__p_wxNavigationKeyEvent
,
47358 _swigc__p_wxNcPaintEvent
,
47359 _swigc__p_wxNotebook
,
47360 _swigc__p_wxNotebookEvent
,
47361 _swigc__p_wxNotifyEvent
,
47362 _swigc__p_wxObject
,
47363 _swigc__p_wxPCXHandler
,
47364 _swigc__p_wxPNGHandler
,
47365 _swigc__p_wxPNMHandler
,
47366 _swigc__p_wxPaintEvent
,
47367 _swigc__p_wxPaletteChangedEvent
,
47368 _swigc__p_wxPaperSize
,
47369 _swigc__p_wxPickerBase
,
47372 _swigc__p_wxPyCommandEvent
,
47373 _swigc__p_wxPyControl
,
47374 _swigc__p_wxPyEvent
,
47375 _swigc__p_wxPyImageHandler
,
47376 _swigc__p_wxPyListCtrl
,
47377 _swigc__p_wxPySizer
,
47378 _swigc__p_wxPyTreeCtrl
,
47379 _swigc__p_wxPyTreeItemData
,
47380 _swigc__p_wxPyValidator
,
47381 _swigc__p_wxQueryNewPaletteEvent
,
47382 _swigc__p_wxRadioBox
,
47383 _swigc__p_wxRadioButton
,
47385 _swigc__p_wxScrollBar
,
47386 _swigc__p_wxScrollEvent
,
47387 _swigc__p_wxScrollWinEvent
,
47388 _swigc__p_wxSetCursorEvent
,
47389 _swigc__p_wxShowEvent
,
47390 _swigc__p_wxSimpleHelpProvider
,
47392 _swigc__p_wxSizeEvent
,
47394 _swigc__p_wxSizerItem
,
47395 _swigc__p_wxSlider
,
47396 _swigc__p_wxSpinButton
,
47397 _swigc__p_wxSpinCtrl
,
47398 _swigc__p_wxSpinEvent
,
47399 _swigc__p_wxStaticBitmap
,
47400 _swigc__p_wxStaticBox
,
47401 _swigc__p_wxStaticBoxSizer
,
47402 _swigc__p_wxStaticLine
,
47403 _swigc__p_wxStaticText
,
47404 _swigc__p_wxStdDialogButtonSizer
,
47405 _swigc__p_wxString
,
47406 _swigc__p_wxSysColourChangedEvent
,
47407 _swigc__p_wxTIFFHandler
,
47408 _swigc__p_wxTextAttr
,
47409 _swigc__p_wxTextCtrl
,
47410 _swigc__p_wxTextUrlEvent
,
47411 _swigc__p_wxToggleButton
,
47412 _swigc__p_wxToolBar
,
47413 _swigc__p_wxToolBarBase
,
47414 _swigc__p_wxToolBarToolBase
,
47415 _swigc__p_wxToolbook
,
47416 _swigc__p_wxToolbookEvent
,
47417 _swigc__p_wxTreeCtrl
,
47418 _swigc__p_wxTreeEvent
,
47419 _swigc__p_wxTreeItemId
,
47420 _swigc__p_wxTreebook
,
47421 _swigc__p_wxTreebookEvent
,
47422 _swigc__p_wxUpdateUIEvent
,
47423 _swigc__p_wxValidator
,
47424 _swigc__p_wxVisualAttributes
,
47425 _swigc__p_wxWindow
,
47426 _swigc__p_wxWindowBase
,
47427 _swigc__p_wxWindowCreateEvent
,
47428 _swigc__p_wxWindowDestroyEvent
,
47429 _swigc__p_wxXPMHandler
,
47433 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
47435 static swig_const_info swig_const_table
[] = {
47436 {0, 0, 0, 0.0, 0, 0}};
47441 /* -----------------------------------------------------------------------------
47442 * Type initialization:
47443 * This problem is tough by the requirement that no dynamic
47444 * memory is used. Also, since swig_type_info structures store pointers to
47445 * swig_cast_info structures and swig_cast_info structures store pointers back
47446 * to swig_type_info structures, we need some lookup code at initialization.
47447 * The idea is that swig generates all the structures that are needed.
47448 * The runtime then collects these partially filled structures.
47449 * The SWIG_InitializeModule function takes these initial arrays out of
47450 * swig_module, and does all the lookup, filling in the swig_module.types
47451 * array with the correct data and linking the correct swig_cast_info
47452 * structures together.
47454 * The generated swig_type_info structures are assigned staticly to an initial
47455 * array. We just loop though that array, and handle each type individually.
47456 * First we lookup if this type has been already loaded, and if so, use the
47457 * loaded structure instead of the generated one. Then we have to fill in the
47458 * cast linked list. The cast data is initially stored in something like a
47459 * two-dimensional array. Each row corresponds to a type (there are the same
47460 * number of rows as there are in the swig_type_initial array). Each entry in
47461 * a column is one of the swig_cast_info structures for that type.
47462 * The cast_initial array is actually an array of arrays, because each row has
47463 * a variable number of columns. So to actually build the cast linked list,
47464 * we find the array of casts associated with the type, and loop through it
47465 * adding the casts to the list. The one last trick we need to do is making
47466 * sure the type pointer in the swig_cast_info struct is correct.
47468 * First off, we lookup the cast->type name to see if it is already loaded.
47469 * There are three cases to handle:
47470 * 1) If the cast->type has already been loaded AND the type we are adding
47471 * casting info to has not been loaded (it is in this module), THEN we
47472 * replace the cast->type pointer with the type pointer that has already
47474 * 2) If BOTH types (the one we are adding casting info to, and the
47475 * cast->type) are loaded, THEN the cast info has already been loaded by
47476 * the previous module so we just ignore it.
47477 * 3) Finally, if cast->type has not already been loaded, then we add that
47478 * swig_cast_info to the linked list (because the cast->type) pointer will
47480 * ----------------------------------------------------------------------------- */
47490 #define SWIGRUNTIME_DEBUG
47494 SWIG_InitializeModule(void *clientdata
) {
47496 swig_module_info
*module_head
;
47497 static int init_run
= 0;
47499 clientdata
= clientdata
;
47501 if (init_run
) return;
47504 /* Initialize the swig_module */
47505 swig_module
.type_initial
= swig_type_initial
;
47506 swig_module
.cast_initial
= swig_cast_initial
;
47508 /* Try and load any already created modules */
47509 module_head
= SWIG_GetModule(clientdata
);
47511 swig_module
.next
= module_head
->next
;
47512 module_head
->next
= &swig_module
;
47514 /* This is the first module loaded */
47515 swig_module
.next
= &swig_module
;
47516 SWIG_SetModule(clientdata
, &swig_module
);
47519 /* Now work on filling in swig_module.types */
47520 #ifdef SWIGRUNTIME_DEBUG
47521 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
47523 for (i
= 0; i
< swig_module
.size
; ++i
) {
47524 swig_type_info
*type
= 0;
47525 swig_type_info
*ret
;
47526 swig_cast_info
*cast
;
47528 #ifdef SWIGRUNTIME_DEBUG
47529 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
47532 /* if there is another module already loaded */
47533 if (swig_module
.next
!= &swig_module
) {
47534 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
47537 /* Overwrite clientdata field */
47538 #ifdef SWIGRUNTIME_DEBUG
47539 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
47541 if (swig_module
.type_initial
[i
]->clientdata
) {
47542 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
47543 #ifdef SWIGRUNTIME_DEBUG
47544 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
47548 type
= swig_module
.type_initial
[i
];
47551 /* Insert casting types */
47552 cast
= swig_module
.cast_initial
[i
];
47553 while (cast
->type
) {
47554 /* Don't need to add information already in the list */
47556 #ifdef SWIGRUNTIME_DEBUG
47557 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
47559 if (swig_module
.next
!= &swig_module
) {
47560 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
47561 #ifdef SWIGRUNTIME_DEBUG
47562 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
47566 if (type
== swig_module
.type_initial
[i
]) {
47567 #ifdef SWIGRUNTIME_DEBUG
47568 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
47573 /* Check for casting already in the list */
47574 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
47575 #ifdef SWIGRUNTIME_DEBUG
47576 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
47578 if (!ocast
) ret
= 0;
47583 #ifdef SWIGRUNTIME_DEBUG
47584 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
47587 type
->cast
->prev
= cast
;
47588 cast
->next
= type
->cast
;
47594 /* Set entry in modules->types array equal to the type */
47595 swig_module
.types
[i
] = type
;
47597 swig_module
.types
[i
] = 0;
47599 #ifdef SWIGRUNTIME_DEBUG
47600 printf("**** SWIG_InitializeModule: Cast List ******\n");
47601 for (i
= 0; i
< swig_module
.size
; ++i
) {
47603 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
47604 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
47605 while (cast
->type
) {
47606 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
47610 printf("---- Total casts: %d\n",j
);
47612 printf("**** SWIG_InitializeModule: Cast List ******\n");
47616 /* This function will propagate the clientdata field of type to
47617 * any new swig_type_info structures that have been added into the list
47618 * of equivalent types. It is like calling
47619 * SWIG_TypeClientData(type, clientdata) a second time.
47622 SWIG_PropagateClientData(void) {
47624 swig_cast_info
*equiv
;
47625 static int init_run
= 0;
47627 if (init_run
) return;
47630 for (i
= 0; i
< swig_module
.size
; i
++) {
47631 if (swig_module
.types
[i
]->clientdata
) {
47632 equiv
= swig_module
.types
[i
]->cast
;
47634 if (!equiv
->converter
) {
47635 if (equiv
->type
&& !equiv
->type
->clientdata
)
47636 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
47638 equiv
= equiv
->next
;
47658 /* Python-specific SWIG API */
47659 #define SWIG_newvarlink() SWIG_Python_newvarlink()
47660 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
47661 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
47663 /* -----------------------------------------------------------------------------
47664 * global variable support code.
47665 * ----------------------------------------------------------------------------- */
47667 typedef struct swig_globalvar
{
47668 char *name
; /* Name of global variable */
47669 PyObject
*(*get_attr
)(void); /* Return the current value */
47670 int (*set_attr
)(PyObject
*); /* Set the value */
47671 struct swig_globalvar
*next
;
47674 typedef struct swig_varlinkobject
{
47676 swig_globalvar
*vars
;
47677 } swig_varlinkobject
;
47679 SWIGINTERN PyObject
*
47680 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
47681 return PyString_FromString("<Swig global variables>");
47684 SWIGINTERN PyObject
*
47685 swig_varlink_str(swig_varlinkobject
*v
) {
47686 PyObject
*str
= PyString_FromString("(");
47687 swig_globalvar
*var
;
47688 for (var
= v
->vars
; var
; var
=var
->next
) {
47689 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
47690 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
47692 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
47697 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
47698 PyObject
*str
= swig_varlink_str(v
);
47699 fprintf(fp
,"Swig global variables ");
47700 fprintf(fp
,"%s\n", PyString_AsString(str
));
47706 swig_varlink_dealloc(swig_varlinkobject
*v
) {
47707 swig_globalvar
*var
= v
->vars
;
47709 swig_globalvar
*n
= var
->next
;
47716 SWIGINTERN PyObject
*
47717 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
47718 PyObject
*res
= NULL
;
47719 swig_globalvar
*var
= v
->vars
;
47721 if (strcmp(var
->name
,n
) == 0) {
47722 res
= (*var
->get_attr
)();
47727 if (res
== NULL
&& !PyErr_Occurred()) {
47728 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47734 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
47736 swig_globalvar
*var
= v
->vars
;
47738 if (strcmp(var
->name
,n
) == 0) {
47739 res
= (*var
->set_attr
)(p
);
47744 if (res
== 1 && !PyErr_Occurred()) {
47745 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47750 SWIGINTERN PyTypeObject
*
47751 swig_varlink_type(void) {
47752 static char varlink__doc__
[] = "Swig var link object";
47753 static PyTypeObject varlink_type
;
47754 static int type_init
= 0;
47756 const PyTypeObject tmp
47758 PyObject_HEAD_INIT(NULL
)
47759 0, /* Number of items in variable part (ob_size) */
47760 (char *)"swigvarlink", /* Type name (tp_name) */
47761 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
47762 0, /* Itemsize (tp_itemsize) */
47763 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
47764 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
47765 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
47766 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
47767 0, /* tp_compare */
47768 (reprfunc
) swig_varlink_repr
, /* tp_repr */
47769 0, /* tp_as_number */
47770 0, /* tp_as_sequence */
47771 0, /* tp_as_mapping */
47774 (reprfunc
)swig_varlink_str
, /* tp_str */
47775 0, /* tp_getattro */
47776 0, /* tp_setattro */
47777 0, /* tp_as_buffer */
47779 varlink__doc__
, /* tp_doc */
47780 0, /* tp_traverse */
47782 0, /* tp_richcompare */
47783 0, /* tp_weaklistoffset */
47784 #if PY_VERSION_HEX >= 0x02020000
47785 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
47787 #if PY_VERSION_HEX >= 0x02030000
47790 #ifdef COUNT_ALLOCS
47791 0,0,0,0 /* tp_alloc -> tp_next */
47794 varlink_type
= tmp
;
47795 varlink_type
.ob_type
= &PyType_Type
;
47798 return &varlink_type
;
47801 /* Create a variable linking object for use later */
47802 SWIGINTERN PyObject
*
47803 SWIG_Python_newvarlink(void) {
47804 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
47808 return ((PyObject
*) result
);
47812 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
47813 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
47814 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
47816 size_t size
= strlen(name
)+1;
47817 gv
->name
= (char *)malloc(size
);
47819 strncpy(gv
->name
,name
,size
);
47820 gv
->get_attr
= get_attr
;
47821 gv
->set_attr
= set_attr
;
47822 gv
->next
= v
->vars
;
47828 SWIGINTERN PyObject
*
47830 static PyObject
*_SWIG_globals
= 0;
47831 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
47832 return _SWIG_globals
;
47835 /* -----------------------------------------------------------------------------
47836 * constants/methods manipulation
47837 * ----------------------------------------------------------------------------- */
47839 /* Install Constants */
47841 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
47844 for (i
= 0; constants
[i
].type
; ++i
) {
47845 switch(constants
[i
].type
) {
47846 case SWIG_PY_POINTER
:
47847 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
47849 case SWIG_PY_BINARY
:
47850 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
47857 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
47863 /* -----------------------------------------------------------------------------*/
47864 /* Fix SwigMethods to carry the callback ptrs when needed */
47865 /* -----------------------------------------------------------------------------*/
47868 SWIG_Python_FixMethods(PyMethodDef
*methods
,
47869 swig_const_info
*const_table
,
47870 swig_type_info
**types
,
47871 swig_type_info
**types_initial
) {
47873 for (i
= 0; methods
[i
].ml_name
; ++i
) {
47874 char *c
= methods
[i
].ml_doc
;
47875 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
47877 swig_const_info
*ci
= 0;
47878 char *name
= c
+ 10;
47879 for (j
= 0; const_table
[j
].type
; ++j
) {
47880 if (strncmp(const_table
[j
].name
, name
,
47881 strlen(const_table
[j
].name
)) == 0) {
47882 ci
= &(const_table
[j
]);
47887 size_t shift
= (ci
->ptype
) - types
;
47888 swig_type_info
*ty
= types_initial
[shift
];
47889 size_t ldoc
= (c
- methods
[i
].ml_doc
);
47890 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
47891 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
47894 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
47896 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
47898 strncpy(buff
, "swig_ptr: ", 10);
47900 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
47901 methods
[i
].ml_doc
= ndoc
;
47913 /* -----------------------------------------------------------------------------*
47914 * Partial Init method
47915 * -----------------------------------------------------------------------------*/
47920 SWIGEXPORT
void SWIG_init(void) {
47923 /* Fix SwigMethods to carry the callback ptrs when needed */
47924 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
47926 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
47927 d
= PyModule_GetDict(m
);
47929 SWIG_InitializeModule(0);
47930 SWIG_InstallConstants(d
,swig_const_table
);
47933 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
47934 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
47935 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
47936 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
47937 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
47938 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
47939 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
47940 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
47941 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
47942 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
47943 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
47944 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
47945 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
47946 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
47947 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
47948 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
47949 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
47950 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
47951 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
47952 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
47953 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
47954 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
47955 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
47956 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
47957 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
47958 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
47959 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
47960 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
47961 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
47962 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
47963 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
47964 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
47965 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
47966 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
47967 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
47968 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
47969 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
47970 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
47971 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
47972 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
47973 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
47974 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
47975 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
47976 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
47977 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
47978 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
47979 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
47980 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
47981 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
47982 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
47983 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
47984 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
47985 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
47986 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
47987 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
47988 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
47989 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
47990 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
47991 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
47992 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
47993 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
47994 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
47995 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
47996 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
47997 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
47998 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
47999 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
48000 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
48001 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
48002 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
48003 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
48004 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
48005 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
48006 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
48007 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
48008 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
48009 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
48010 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
48011 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
48012 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
48013 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
48014 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
48015 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
48016 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
48017 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
48018 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
48019 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
48020 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
48021 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
48022 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
48023 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
48024 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
48025 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
48026 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
48027 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
48028 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
48029 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
48030 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
48031 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
48032 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
48033 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
48034 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
48035 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
48036 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
48037 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
48038 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
48039 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
48040 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
48041 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
48042 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
48043 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
48044 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
48045 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
48046 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
48047 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
48048 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
48049 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
48050 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
48051 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
48052 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
48053 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
48054 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
48055 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
48056 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
48057 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
48058 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
48059 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
48060 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
48061 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
48062 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
48063 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
48064 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
48065 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
48066 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
48067 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
48068 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
48069 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
48070 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
48071 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
48072 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
48073 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
48074 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
48075 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
48076 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
48077 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
48078 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
48079 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
48080 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
48081 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
48082 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
48083 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
48084 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
48085 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
48086 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
48087 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
48088 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
48089 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
48090 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
48091 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
48092 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
48093 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
48094 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
48095 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
48096 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
48097 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
48098 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
48099 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
48100 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
48101 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
48102 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
48103 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
48104 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
48105 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
48106 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
48107 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
48108 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
48109 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
48110 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
48111 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
48112 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
48113 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
48114 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
48115 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
48116 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
48117 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
48118 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
48119 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
48120 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
48121 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
48122 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
48123 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
48124 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
48125 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
48126 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
48127 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
48128 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
48129 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
48130 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
48131 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
48132 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
48133 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
48134 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
48135 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
48136 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
48137 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
48138 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
48139 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
48140 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
48141 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
48142 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
48143 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
48144 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
48145 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
48146 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
48147 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
48148 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
48149 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
48150 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
48151 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
48152 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
48153 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
48154 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
48155 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
48156 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
48157 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
48158 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
48159 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
48160 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
48161 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
48162 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
48163 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
48164 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
48165 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
48166 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
48167 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
48168 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
48169 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
48170 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
48171 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
48172 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
48173 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
48174 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
48175 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
48176 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
48177 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
48178 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
48179 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
48180 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
48181 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
48183 // Map renamed classes back to their common name for OOR
48184 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
48186 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
48187 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
48188 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
48189 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
48190 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
48191 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
48192 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
48193 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
48194 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
48195 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
48196 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
48197 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
48198 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
48199 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
48200 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
48201 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
48202 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
48203 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
48204 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
48205 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
48206 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
48207 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
48208 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
48209 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
48210 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
48211 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
48212 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
48213 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
48214 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
48215 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
48216 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
48217 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
48218 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
48219 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
48220 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
48221 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
48222 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
48223 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
48224 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
48225 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
48226 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
48227 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
48228 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
48229 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
48230 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
48231 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
48232 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
48233 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
48234 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
48235 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
48236 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
48237 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
48238 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
48239 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
48240 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
48242 // Map renamed classes back to their common name for OOR
48243 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
48244 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
48246 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
48247 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
48248 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
48249 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
48250 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
48251 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
48252 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
48253 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
48254 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
48255 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
48256 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
48257 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
48258 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
48260 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
48262 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
48263 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
48264 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
48265 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
48266 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
48267 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
48268 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
48269 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
48270 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
48271 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
48272 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
48273 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
48274 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
48275 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
48276 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
48277 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
48278 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
48279 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
48280 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
48281 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
48282 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
48283 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
48284 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
48285 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
48286 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
48287 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
48288 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
48289 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
48290 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
48291 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
48292 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
48293 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
48294 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
48295 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
48296 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
48297 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
48298 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
48299 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
48300 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
48301 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));