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
; }
3120 static wxTreeItemId wxNullTreeItemId
;
3122 // C++ version of Python aware wxTreeCtrl
3123 class wxPyTreeCtrl
: public wxTreeCtrl
{
3124 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3126 wxPyTreeCtrl() : wxTreeCtrl() {}
3127 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3131 const wxValidator
& validator
,
3132 const wxString
& name
) :
3133 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3135 bool Create(wxWindow
*parent
, wxWindowID id
,
3139 const wxValidator
& validator
,
3140 const wxString
& name
) {
3141 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3145 int OnCompareItems(const wxTreeItemId
& item1
,
3146 const wxTreeItemId
& item2
) {
3149 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3150 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3151 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3152 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3153 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3157 wxPyEndBlockThreads(blocked
);
3159 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3165 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3168 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3169 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3171 data
= new wxPyTreeItemData();
3172 data
->SetId(item
); // set the id
3173 self
->SetItemData(item
, data
);
3177 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3178 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3180 data
= new wxPyTreeItemData();
3181 data
->SetId(item
); // set the id
3182 self
->SetItemData(item
, data
);
3184 return data
->GetData();
3186 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3187 data
->SetId(item
); // set the id
3188 self
->SetItemData(item
, data
);
3190 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3191 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3193 data
= new wxPyTreeItemData(obj
);
3194 data
->SetId(item
); // set the id
3195 self
->SetItemData(item
, data
);
3199 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3200 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3201 PyObject
* rval
= PyList_New(0);
3202 wxArrayTreeItemIds array
;
3204 num
= self
->GetSelections(array
);
3205 for (x
=0; x
< num
; x
++) {
3206 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3207 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3208 PyList_Append(rval
, item
);
3211 wxPyEndBlockThreads(blocked
);
3214 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3216 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3217 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3218 PyObject
* tup
= PyTuple_New(2);
3219 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3220 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3221 wxPyEndBlockThreads(blocked
);
3224 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3225 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3226 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3227 PyObject
* tup
= PyTuple_New(2);
3228 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3229 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3230 wxPyEndBlockThreads(blocked
);
3233 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3235 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3236 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3237 wxRect
* r
= new wxRect(rect
);
3238 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3239 wxPyEndBlockThreads(blocked
);
3245 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3247 SWIGINTERNINLINE PyObject
*
3248 SWIG_From_bool (bool value
)
3250 return PyBool_FromLong(value
? 1 : 0);
3253 // C++ version of Python aware wxControl
3254 class wxPyControl
: public wxControl
3256 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3258 wxPyControl() : wxControl() {}
3259 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3260 const wxPoint
& pos
= wxDefaultPosition
,
3261 const wxSize
& size
= wxDefaultSize
,
3263 const wxValidator
& validator
=wxDefaultValidator
,
3264 const wxString
& name
= wxPyControlNameStr
)
3265 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3267 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
3269 bool DoEraseBackground(wxDC
* dc
) {
3271 return wxWindow::DoEraseBackground(dc
->GetHDC());
3273 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3279 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3280 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3281 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3282 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3284 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3285 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3286 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3288 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3289 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3291 DEC_PYCALLBACK__(InitDialog
);
3292 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3293 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3294 DEC_PYCALLBACK_BOOL_(Validate
);
3296 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3297 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3298 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3300 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3301 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3303 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3304 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3306 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3308 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3313 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3315 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3316 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3317 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3318 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3320 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3321 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3322 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3324 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3325 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3327 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3328 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3329 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3330 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3332 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3333 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3334 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3336 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3337 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3339 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3340 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3342 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3344 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3348 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3350 #include <wx/generic/dragimgg.h>
3352 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3353 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3355 self
->GetRange(&rv
, NULL
);
3358 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3360 self
->GetRange(NULL
, &rv
);
3363 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3364 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3365 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3366 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3367 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3368 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3369 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3370 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3374 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3375 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3380 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3381 PyObject
*pyobj
= 0;
3385 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3387 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3394 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3395 PyObject
*resultobj
= 0;
3396 wxWindow
*arg1
= (wxWindow
*) 0 ;
3397 int arg2
= (int) -1 ;
3398 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3399 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3400 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3401 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3402 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3403 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3404 long arg6
= (long) 0 ;
3405 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3406 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3407 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3408 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3409 wxButton
*result
= 0 ;
3414 bool temp3
= false ;
3421 bool temp8
= false ;
3422 PyObject
* obj0
= 0 ;
3423 PyObject
* obj1
= 0 ;
3424 PyObject
* obj2
= 0 ;
3425 PyObject
* obj3
= 0 ;
3426 PyObject
* obj4
= 0 ;
3427 PyObject
* obj5
= 0 ;
3428 PyObject
* obj6
= 0 ;
3429 PyObject
* obj7
= 0 ;
3430 char * kwnames
[] = {
3431 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3436 if (!SWIG_IsOK(res1
)) {
3437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3439 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3442 if (!SWIG_IsOK(ecode2
)) {
3443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3445 arg2
= static_cast< int >(val2
);
3449 arg3
= wxString_in_helper(obj2
);
3450 if (arg3
== NULL
) SWIG_fail
;
3457 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3463 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3467 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3468 if (!SWIG_IsOK(ecode6
)) {
3469 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3471 arg6
= static_cast< long >(val6
);
3474 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3475 if (!SWIG_IsOK(res7
)) {
3476 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3479 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3481 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3485 arg8
= wxString_in_helper(obj7
);
3486 if (arg8
== NULL
) SWIG_fail
;
3491 if (!wxPyCheckForApp()) SWIG_fail
;
3492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3493 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3494 wxPyEndAllowThreads(__tstate
);
3495 if (PyErr_Occurred()) SWIG_fail
;
3497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3520 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3521 PyObject
*resultobj
= 0;
3522 wxButton
*result
= 0 ;
3524 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3526 if (!wxPyCheckForApp()) SWIG_fail
;
3527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3528 result
= (wxButton
*)new wxButton();
3529 wxPyEndAllowThreads(__tstate
);
3530 if (PyErr_Occurred()) SWIG_fail
;
3532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3539 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3540 PyObject
*resultobj
= 0;
3541 wxButton
*arg1
= (wxButton
*) 0 ;
3542 wxWindow
*arg2
= (wxWindow
*) 0 ;
3543 int arg3
= (int) -1 ;
3544 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3545 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3546 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3547 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3548 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3549 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3550 long arg7
= (long) 0 ;
3551 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3552 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3553 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3554 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3562 bool temp4
= false ;
3569 bool temp9
= false ;
3570 PyObject
* obj0
= 0 ;
3571 PyObject
* obj1
= 0 ;
3572 PyObject
* obj2
= 0 ;
3573 PyObject
* obj3
= 0 ;
3574 PyObject
* obj4
= 0 ;
3575 PyObject
* obj5
= 0 ;
3576 PyObject
* obj6
= 0 ;
3577 PyObject
* obj7
= 0 ;
3578 PyObject
* obj8
= 0 ;
3579 char * kwnames
[] = {
3580 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3585 if (!SWIG_IsOK(res1
)) {
3586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3588 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3589 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3590 if (!SWIG_IsOK(res2
)) {
3591 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3593 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3595 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3596 if (!SWIG_IsOK(ecode3
)) {
3597 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3599 arg3
= static_cast< int >(val3
);
3603 arg4
= wxString_in_helper(obj3
);
3604 if (arg4
== NULL
) SWIG_fail
;
3611 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3617 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3621 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3622 if (!SWIG_IsOK(ecode7
)) {
3623 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3625 arg7
= static_cast< long >(val7
);
3628 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3629 if (!SWIG_IsOK(res8
)) {
3630 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3633 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3635 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3639 arg9
= wxString_in_helper(obj8
);
3640 if (arg9
== NULL
) SWIG_fail
;
3645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3646 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3647 wxPyEndAllowThreads(__tstate
);
3648 if (PyErr_Occurred()) SWIG_fail
;
3651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3675 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3676 PyObject
*resultobj
= 0;
3677 wxButton
*arg1
= (wxButton
*) 0 ;
3680 PyObject
*swig_obj
[1] ;
3682 if (!args
) SWIG_fail
;
3684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3685 if (!SWIG_IsOK(res1
)) {
3686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3688 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3691 (arg1
)->SetDefault();
3692 wxPyEndAllowThreads(__tstate
);
3693 if (PyErr_Occurred()) SWIG_fail
;
3695 resultobj
= SWIG_Py_Void();
3702 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3703 PyObject
*resultobj
= 0;
3706 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3709 result
= wxButton::GetDefaultSize();
3710 wxPyEndAllowThreads(__tstate
);
3711 if (PyErr_Occurred()) SWIG_fail
;
3713 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3720 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3721 PyObject
*resultobj
= 0;
3722 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3723 SwigValueWrapper
<wxVisualAttributes
> result
;
3726 PyObject
* obj0
= 0 ;
3727 char * kwnames
[] = {
3728 (char *) "variant", NULL
3731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3733 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3734 if (!SWIG_IsOK(ecode1
)) {
3735 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3737 arg1
= static_cast< wxWindowVariant
>(val1
);
3740 if (!wxPyCheckForApp()) SWIG_fail
;
3741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3742 result
= wxButton::GetClassDefaultAttributes(arg1
);
3743 wxPyEndAllowThreads(__tstate
);
3744 if (PyErr_Occurred()) SWIG_fail
;
3746 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3753 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3755 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3756 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3757 return SWIG_Py_Void();
3760 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3761 return SWIG_Python_InitShadowInstance(args
);
3764 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3765 PyObject
*resultobj
= 0;
3766 wxWindow
*arg1
= (wxWindow
*) 0 ;
3767 int arg2
= (int) -1 ;
3768 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3769 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3770 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3771 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3772 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3773 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3774 long arg6
= (long) wxBU_AUTODRAW
;
3775 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3776 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3777 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3778 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3779 wxBitmapButton
*result
= 0 ;
3792 bool temp8
= false ;
3793 PyObject
* obj0
= 0 ;
3794 PyObject
* obj1
= 0 ;
3795 PyObject
* obj2
= 0 ;
3796 PyObject
* obj3
= 0 ;
3797 PyObject
* obj4
= 0 ;
3798 PyObject
* obj5
= 0 ;
3799 PyObject
* obj6
= 0 ;
3800 PyObject
* obj7
= 0 ;
3801 char * kwnames
[] = {
3802 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3807 if (!SWIG_IsOK(res1
)) {
3808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3810 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3813 if (!SWIG_IsOK(ecode2
)) {
3814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3816 arg2
= static_cast< int >(val2
);
3819 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3820 if (!SWIG_IsOK(res3
)) {
3821 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3824 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3826 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3831 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3837 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3841 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3842 if (!SWIG_IsOK(ecode6
)) {
3843 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3845 arg6
= static_cast< long >(val6
);
3848 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3849 if (!SWIG_IsOK(res7
)) {
3850 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3853 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3855 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3859 arg8
= wxString_in_helper(obj7
);
3860 if (arg8
== NULL
) SWIG_fail
;
3865 if (!wxPyCheckForApp()) SWIG_fail
;
3866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3867 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3868 wxPyEndAllowThreads(__tstate
);
3869 if (PyErr_Occurred()) SWIG_fail
;
3871 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3886 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3887 PyObject
*resultobj
= 0;
3888 wxBitmapButton
*result
= 0 ;
3890 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3892 if (!wxPyCheckForApp()) SWIG_fail
;
3893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3894 result
= (wxBitmapButton
*)new wxBitmapButton();
3895 wxPyEndAllowThreads(__tstate
);
3896 if (PyErr_Occurred()) SWIG_fail
;
3898 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3905 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3906 PyObject
*resultobj
= 0;
3907 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3908 wxWindow
*arg2
= (wxWindow
*) 0 ;
3909 int arg3
= (int) -1 ;
3910 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3911 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3912 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3913 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3914 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3915 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3916 long arg7
= (long) wxBU_AUTODRAW
;
3917 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3918 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3919 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3920 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3936 bool temp9
= false ;
3937 PyObject
* obj0
= 0 ;
3938 PyObject
* obj1
= 0 ;
3939 PyObject
* obj2
= 0 ;
3940 PyObject
* obj3
= 0 ;
3941 PyObject
* obj4
= 0 ;
3942 PyObject
* obj5
= 0 ;
3943 PyObject
* obj6
= 0 ;
3944 PyObject
* obj7
= 0 ;
3945 PyObject
* obj8
= 0 ;
3946 char * kwnames
[] = {
3947 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3952 if (!SWIG_IsOK(res1
)) {
3953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3955 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3956 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3957 if (!SWIG_IsOK(res2
)) {
3958 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3960 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3962 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3963 if (!SWIG_IsOK(ecode3
)) {
3964 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3966 arg3
= static_cast< int >(val3
);
3969 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3970 if (!SWIG_IsOK(res4
)) {
3971 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3974 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3976 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3981 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3987 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3991 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3992 if (!SWIG_IsOK(ecode7
)) {
3993 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3995 arg7
= static_cast< long >(val7
);
3998 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3999 if (!SWIG_IsOK(res8
)) {
4000 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4003 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4005 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4009 arg9
= wxString_in_helper(obj8
);
4010 if (arg9
== NULL
) SWIG_fail
;
4015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4016 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4017 wxPyEndAllowThreads(__tstate
);
4018 if (PyErr_Occurred()) SWIG_fail
;
4021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4037 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4038 PyObject
*resultobj
= 0;
4039 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4043 PyObject
*swig_obj
[1] ;
4045 if (!args
) SWIG_fail
;
4047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4048 if (!SWIG_IsOK(res1
)) {
4049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4051 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4054 result
= (arg1
)->GetBitmapLabel();
4055 wxPyEndAllowThreads(__tstate
);
4056 if (PyErr_Occurred()) SWIG_fail
;
4058 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4065 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4066 PyObject
*resultobj
= 0;
4067 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4071 PyObject
*swig_obj
[1] ;
4073 if (!args
) SWIG_fail
;
4075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4076 if (!SWIG_IsOK(res1
)) {
4077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4079 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4082 result
= (arg1
)->GetBitmapDisabled();
4083 wxPyEndAllowThreads(__tstate
);
4084 if (PyErr_Occurred()) SWIG_fail
;
4086 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4093 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4094 PyObject
*resultobj
= 0;
4095 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4099 PyObject
*swig_obj
[1] ;
4101 if (!args
) SWIG_fail
;
4103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4104 if (!SWIG_IsOK(res1
)) {
4105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4107 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4110 result
= (arg1
)->GetBitmapFocus();
4111 wxPyEndAllowThreads(__tstate
);
4112 if (PyErr_Occurred()) SWIG_fail
;
4114 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4121 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4122 PyObject
*resultobj
= 0;
4123 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4127 PyObject
*swig_obj
[1] ;
4129 if (!args
) SWIG_fail
;
4131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4132 if (!SWIG_IsOK(res1
)) {
4133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4135 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4138 result
= (arg1
)->GetBitmapSelected();
4139 wxPyEndAllowThreads(__tstate
);
4140 if (PyErr_Occurred()) SWIG_fail
;
4142 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4149 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4150 PyObject
*resultobj
= 0;
4151 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4155 PyObject
*swig_obj
[1] ;
4157 if (!args
) SWIG_fail
;
4159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4160 if (!SWIG_IsOK(res1
)) {
4161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4163 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4166 result
= (arg1
)->GetBitmapHover();
4167 wxPyEndAllowThreads(__tstate
);
4168 if (PyErr_Occurred()) SWIG_fail
;
4170 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4177 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4178 PyObject
*resultobj
= 0;
4179 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4180 wxBitmap
*arg2
= 0 ;
4185 PyObject
* obj0
= 0 ;
4186 PyObject
* obj1
= 0 ;
4187 char * kwnames
[] = {
4188 (char *) "self",(char *) "bitmap", NULL
4191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4193 if (!SWIG_IsOK(res1
)) {
4194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4196 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4197 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4198 if (!SWIG_IsOK(res2
)) {
4199 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4202 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4204 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4207 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4208 wxPyEndAllowThreads(__tstate
);
4209 if (PyErr_Occurred()) SWIG_fail
;
4211 resultobj
= SWIG_Py_Void();
4218 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4219 PyObject
*resultobj
= 0;
4220 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4221 wxBitmap
*arg2
= 0 ;
4226 PyObject
* obj0
= 0 ;
4227 PyObject
* obj1
= 0 ;
4228 char * kwnames
[] = {
4229 (char *) "self",(char *) "bitmap", NULL
4232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4234 if (!SWIG_IsOK(res1
)) {
4235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4237 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4238 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4239 if (!SWIG_IsOK(res2
)) {
4240 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4243 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4245 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4248 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4249 wxPyEndAllowThreads(__tstate
);
4250 if (PyErr_Occurred()) SWIG_fail
;
4252 resultobj
= SWIG_Py_Void();
4259 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4260 PyObject
*resultobj
= 0;
4261 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4262 wxBitmap
*arg2
= 0 ;
4267 PyObject
* obj0
= 0 ;
4268 PyObject
* obj1
= 0 ;
4269 char * kwnames
[] = {
4270 (char *) "self",(char *) "bitmap", NULL
4273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4275 if (!SWIG_IsOK(res1
)) {
4276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4278 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4279 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4280 if (!SWIG_IsOK(res2
)) {
4281 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4284 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4286 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4289 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4290 wxPyEndAllowThreads(__tstate
);
4291 if (PyErr_Occurred()) SWIG_fail
;
4293 resultobj
= SWIG_Py_Void();
4300 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4301 PyObject
*resultobj
= 0;
4302 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4303 wxBitmap
*arg2
= 0 ;
4308 PyObject
* obj0
= 0 ;
4309 PyObject
* obj1
= 0 ;
4310 char * kwnames
[] = {
4311 (char *) "self",(char *) "bitmap", NULL
4314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4316 if (!SWIG_IsOK(res1
)) {
4317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4319 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4320 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4321 if (!SWIG_IsOK(res2
)) {
4322 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4325 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4327 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4330 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4331 wxPyEndAllowThreads(__tstate
);
4332 if (PyErr_Occurred()) SWIG_fail
;
4334 resultobj
= SWIG_Py_Void();
4341 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4342 PyObject
*resultobj
= 0;
4343 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4344 wxBitmap
*arg2
= 0 ;
4349 PyObject
* obj0
= 0 ;
4350 PyObject
* obj1
= 0 ;
4351 char * kwnames
[] = {
4352 (char *) "self",(char *) "hover", NULL
4355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4357 if (!SWIG_IsOK(res1
)) {
4358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4360 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4361 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4362 if (!SWIG_IsOK(res2
)) {
4363 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4366 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4368 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4371 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4372 wxPyEndAllowThreads(__tstate
);
4373 if (PyErr_Occurred()) SWIG_fail
;
4375 resultobj
= SWIG_Py_Void();
4382 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4383 PyObject
*resultobj
= 0;
4384 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4393 PyObject
* obj0
= 0 ;
4394 PyObject
* obj1
= 0 ;
4395 PyObject
* obj2
= 0 ;
4396 char * kwnames
[] = {
4397 (char *) "self",(char *) "x",(char *) "y", NULL
4400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4402 if (!SWIG_IsOK(res1
)) {
4403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4405 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4406 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4407 if (!SWIG_IsOK(ecode2
)) {
4408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4410 arg2
= static_cast< int >(val2
);
4411 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4412 if (!SWIG_IsOK(ecode3
)) {
4413 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4415 arg3
= static_cast< int >(val3
);
4417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4418 (arg1
)->SetMargins(arg2
,arg3
);
4419 wxPyEndAllowThreads(__tstate
);
4420 if (PyErr_Occurred()) SWIG_fail
;
4422 resultobj
= SWIG_Py_Void();
4429 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4430 PyObject
*resultobj
= 0;
4431 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4435 PyObject
*swig_obj
[1] ;
4437 if (!args
) SWIG_fail
;
4439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4440 if (!SWIG_IsOK(res1
)) {
4441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4443 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4447 wxPyEndAllowThreads(__tstate
);
4448 if (PyErr_Occurred()) SWIG_fail
;
4450 resultobj
= SWIG_From_int(static_cast< int >(result
));
4457 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4458 PyObject
*resultobj
= 0;
4459 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4463 PyObject
*swig_obj
[1] ;
4465 if (!args
) SWIG_fail
;
4467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4468 if (!SWIG_IsOK(res1
)) {
4469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4471 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4474 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4475 wxPyEndAllowThreads(__tstate
);
4476 if (PyErr_Occurred()) SWIG_fail
;
4478 resultobj
= SWIG_From_int(static_cast< int >(result
));
4485 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4487 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4488 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4489 return SWIG_Py_Void();
4492 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4493 return SWIG_Python_InitShadowInstance(args
);
4496 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4497 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4502 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4503 PyObject
*pyobj
= 0;
4507 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4509 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4516 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
*resultobj
= 0;
4518 wxWindow
*arg1
= (wxWindow
*) 0 ;
4519 int arg2
= (int) -1 ;
4520 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4521 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4522 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4523 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4524 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4525 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4526 long arg6
= (long) 0 ;
4527 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4528 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4529 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4530 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4531 wxCheckBox
*result
= 0 ;
4536 bool temp3
= false ;
4543 bool temp8
= false ;
4544 PyObject
* obj0
= 0 ;
4545 PyObject
* obj1
= 0 ;
4546 PyObject
* obj2
= 0 ;
4547 PyObject
* obj3
= 0 ;
4548 PyObject
* obj4
= 0 ;
4549 PyObject
* obj5
= 0 ;
4550 PyObject
* obj6
= 0 ;
4551 PyObject
* obj7
= 0 ;
4552 char * kwnames
[] = {
4553 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4558 if (!SWIG_IsOK(res1
)) {
4559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4561 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4563 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4564 if (!SWIG_IsOK(ecode2
)) {
4565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4567 arg2
= static_cast< int >(val2
);
4571 arg3
= wxString_in_helper(obj2
);
4572 if (arg3
== NULL
) SWIG_fail
;
4579 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4585 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4589 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4590 if (!SWIG_IsOK(ecode6
)) {
4591 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4593 arg6
= static_cast< long >(val6
);
4596 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4597 if (!SWIG_IsOK(res7
)) {
4598 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4601 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4603 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4607 arg8
= wxString_in_helper(obj7
);
4608 if (arg8
== NULL
) SWIG_fail
;
4613 if (!wxPyCheckForApp()) SWIG_fail
;
4614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4615 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4616 wxPyEndAllowThreads(__tstate
);
4617 if (PyErr_Occurred()) SWIG_fail
;
4619 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4642 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4643 PyObject
*resultobj
= 0;
4644 wxCheckBox
*result
= 0 ;
4646 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4648 if (!wxPyCheckForApp()) SWIG_fail
;
4649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4650 result
= (wxCheckBox
*)new wxCheckBox();
4651 wxPyEndAllowThreads(__tstate
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4654 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4661 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
*resultobj
= 0;
4663 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4664 wxWindow
*arg2
= (wxWindow
*) 0 ;
4665 int arg3
= (int) -1 ;
4666 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4667 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4668 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4669 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4670 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4671 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4672 long arg7
= (long) 0 ;
4673 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4674 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4675 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4676 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4684 bool temp4
= false ;
4691 bool temp9
= false ;
4692 PyObject
* obj0
= 0 ;
4693 PyObject
* obj1
= 0 ;
4694 PyObject
* obj2
= 0 ;
4695 PyObject
* obj3
= 0 ;
4696 PyObject
* obj4
= 0 ;
4697 PyObject
* obj5
= 0 ;
4698 PyObject
* obj6
= 0 ;
4699 PyObject
* obj7
= 0 ;
4700 PyObject
* obj8
= 0 ;
4701 char * kwnames
[] = {
4702 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4707 if (!SWIG_IsOK(res1
)) {
4708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4710 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4711 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4712 if (!SWIG_IsOK(res2
)) {
4713 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4715 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4717 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4718 if (!SWIG_IsOK(ecode3
)) {
4719 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4721 arg3
= static_cast< int >(val3
);
4725 arg4
= wxString_in_helper(obj3
);
4726 if (arg4
== NULL
) SWIG_fail
;
4733 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4739 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4743 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4744 if (!SWIG_IsOK(ecode7
)) {
4745 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4747 arg7
= static_cast< long >(val7
);
4750 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4751 if (!SWIG_IsOK(res8
)) {
4752 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4755 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4757 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4761 arg9
= wxString_in_helper(obj8
);
4762 if (arg9
== NULL
) SWIG_fail
;
4767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4768 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4769 wxPyEndAllowThreads(__tstate
);
4770 if (PyErr_Occurred()) SWIG_fail
;
4773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4797 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4798 PyObject
*resultobj
= 0;
4799 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4803 PyObject
*swig_obj
[1] ;
4805 if (!args
) SWIG_fail
;
4807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4808 if (!SWIG_IsOK(res1
)) {
4809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4811 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4814 result
= (bool)(arg1
)->GetValue();
4815 wxPyEndAllowThreads(__tstate
);
4816 if (PyErr_Occurred()) SWIG_fail
;
4819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4827 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4828 PyObject
*resultobj
= 0;
4829 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4833 PyObject
*swig_obj
[1] ;
4835 if (!args
) SWIG_fail
;
4837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4838 if (!SWIG_IsOK(res1
)) {
4839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4841 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4844 result
= (bool)(arg1
)->IsChecked();
4845 wxPyEndAllowThreads(__tstate
);
4846 if (PyErr_Occurred()) SWIG_fail
;
4849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4857 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
*resultobj
= 0;
4859 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4865 PyObject
* obj0
= 0 ;
4866 PyObject
* obj1
= 0 ;
4867 char * kwnames
[] = {
4868 (char *) "self",(char *) "state", NULL
4871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4873 if (!SWIG_IsOK(res1
)) {
4874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4876 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4877 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4878 if (!SWIG_IsOK(ecode2
)) {
4879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4881 arg2
= static_cast< bool >(val2
);
4883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4884 (arg1
)->SetValue(arg2
);
4885 wxPyEndAllowThreads(__tstate
);
4886 if (PyErr_Occurred()) SWIG_fail
;
4888 resultobj
= SWIG_Py_Void();
4895 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4896 PyObject
*resultobj
= 0;
4897 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4898 wxCheckBoxState result
;
4901 PyObject
*swig_obj
[1] ;
4903 if (!args
) SWIG_fail
;
4905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4906 if (!SWIG_IsOK(res1
)) {
4907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4909 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4912 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4913 wxPyEndAllowThreads(__tstate
);
4914 if (PyErr_Occurred()) SWIG_fail
;
4916 resultobj
= SWIG_From_int(static_cast< int >(result
));
4923 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4924 PyObject
*resultobj
= 0;
4925 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4926 wxCheckBoxState arg2
;
4931 PyObject
* obj0
= 0 ;
4932 PyObject
* obj1
= 0 ;
4933 char * kwnames
[] = {
4934 (char *) "self",(char *) "state", NULL
4937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4939 if (!SWIG_IsOK(res1
)) {
4940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4942 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4943 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4944 if (!SWIG_IsOK(ecode2
)) {
4945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4947 arg2
= static_cast< wxCheckBoxState
>(val2
);
4949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4950 (arg1
)->Set3StateValue(arg2
);
4951 wxPyEndAllowThreads(__tstate
);
4952 if (PyErr_Occurred()) SWIG_fail
;
4954 resultobj
= SWIG_Py_Void();
4961 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4962 PyObject
*resultobj
= 0;
4963 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4967 PyObject
*swig_obj
[1] ;
4969 if (!args
) SWIG_fail
;
4971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4972 if (!SWIG_IsOK(res1
)) {
4973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4975 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4978 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4979 wxPyEndAllowThreads(__tstate
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4991 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4992 PyObject
*resultobj
= 0;
4993 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4997 PyObject
*swig_obj
[1] ;
4999 if (!args
) SWIG_fail
;
5001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5002 if (!SWIG_IsOK(res1
)) {
5003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5005 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5008 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5009 wxPyEndAllowThreads(__tstate
);
5010 if (PyErr_Occurred()) SWIG_fail
;
5013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5021 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5022 PyObject
*resultobj
= 0;
5023 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5024 SwigValueWrapper
<wxVisualAttributes
> result
;
5027 PyObject
* obj0
= 0 ;
5028 char * kwnames
[] = {
5029 (char *) "variant", NULL
5032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5034 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5035 if (!SWIG_IsOK(ecode1
)) {
5036 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5038 arg1
= static_cast< wxWindowVariant
>(val1
);
5041 if (!wxPyCheckForApp()) SWIG_fail
;
5042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5043 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5044 wxPyEndAllowThreads(__tstate
);
5045 if (PyErr_Occurred()) SWIG_fail
;
5047 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5054 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5056 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5057 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5058 return SWIG_Py_Void();
5061 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5062 return SWIG_Python_InitShadowInstance(args
);
5065 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5066 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5071 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5072 PyObject
*pyobj
= 0;
5076 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5078 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5085 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5086 PyObject
*resultobj
= 0;
5087 wxWindow
*arg1
= (wxWindow
*) 0 ;
5088 int arg2
= (int) -1 ;
5089 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5090 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5091 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5092 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5093 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5094 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5095 long arg6
= (long) 0 ;
5096 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5097 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5098 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5099 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5100 wxChoice
*result
= 0 ;
5107 bool temp5
= false ;
5112 bool temp8
= false ;
5113 PyObject
* obj0
= 0 ;
5114 PyObject
* obj1
= 0 ;
5115 PyObject
* obj2
= 0 ;
5116 PyObject
* obj3
= 0 ;
5117 PyObject
* obj4
= 0 ;
5118 PyObject
* obj5
= 0 ;
5119 PyObject
* obj6
= 0 ;
5120 PyObject
* obj7
= 0 ;
5121 char * kwnames
[] = {
5122 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5127 if (!SWIG_IsOK(res1
)) {
5128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5130 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5132 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5133 if (!SWIG_IsOK(ecode2
)) {
5134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5136 arg2
= static_cast< int >(val2
);
5141 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5147 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5152 if (! PySequence_Check(obj4
)) {
5153 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5156 arg5
= new wxArrayString
;
5158 int i
, len
=PySequence_Length(obj4
);
5159 for (i
=0; i
<len
; i
++) {
5160 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5161 wxString
* s
= wxString_in_helper(item
);
5162 if (PyErr_Occurred()) SWIG_fail
;
5170 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5171 if (!SWIG_IsOK(ecode6
)) {
5172 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5174 arg6
= static_cast< long >(val6
);
5177 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5178 if (!SWIG_IsOK(res7
)) {
5179 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5182 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5184 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5188 arg8
= wxString_in_helper(obj7
);
5189 if (arg8
== NULL
) SWIG_fail
;
5194 if (!wxPyCheckForApp()) SWIG_fail
;
5195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5196 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5197 wxPyEndAllowThreads(__tstate
);
5198 if (PyErr_Occurred()) SWIG_fail
;
5200 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5202 if (temp5
) delete arg5
;
5211 if (temp5
) delete arg5
;
5221 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5222 PyObject
*resultobj
= 0;
5223 wxChoice
*result
= 0 ;
5225 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5227 if (!wxPyCheckForApp()) SWIG_fail
;
5228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5229 result
= (wxChoice
*)new wxChoice();
5230 wxPyEndAllowThreads(__tstate
);
5231 if (PyErr_Occurred()) SWIG_fail
;
5233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5240 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5241 PyObject
*resultobj
= 0;
5242 wxChoice
*arg1
= (wxChoice
*) 0 ;
5243 wxWindow
*arg2
= (wxWindow
*) 0 ;
5244 int arg3
= (int) -1 ;
5245 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5246 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5247 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5248 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5249 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5250 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5251 long arg7
= (long) 0 ;
5252 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5253 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5254 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5255 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5265 bool temp6
= false ;
5270 bool temp9
= false ;
5271 PyObject
* obj0
= 0 ;
5272 PyObject
* obj1
= 0 ;
5273 PyObject
* obj2
= 0 ;
5274 PyObject
* obj3
= 0 ;
5275 PyObject
* obj4
= 0 ;
5276 PyObject
* obj5
= 0 ;
5277 PyObject
* obj6
= 0 ;
5278 PyObject
* obj7
= 0 ;
5279 PyObject
* obj8
= 0 ;
5280 char * kwnames
[] = {
5281 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5286 if (!SWIG_IsOK(res1
)) {
5287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5289 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5290 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5291 if (!SWIG_IsOK(res2
)) {
5292 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5294 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5296 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5297 if (!SWIG_IsOK(ecode3
)) {
5298 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5300 arg3
= static_cast< int >(val3
);
5305 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5311 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5316 if (! PySequence_Check(obj5
)) {
5317 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5320 arg6
= new wxArrayString
;
5322 int i
, len
=PySequence_Length(obj5
);
5323 for (i
=0; i
<len
; i
++) {
5324 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5325 wxString
* s
= wxString_in_helper(item
);
5326 if (PyErr_Occurred()) SWIG_fail
;
5334 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5335 if (!SWIG_IsOK(ecode7
)) {
5336 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5338 arg7
= static_cast< long >(val7
);
5341 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5342 if (!SWIG_IsOK(res8
)) {
5343 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5346 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5348 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5352 arg9
= wxString_in_helper(obj8
);
5353 if (arg9
== NULL
) SWIG_fail
;
5358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5359 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5360 wxPyEndAllowThreads(__tstate
);
5361 if (PyErr_Occurred()) SWIG_fail
;
5364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5367 if (temp6
) delete arg6
;
5376 if (temp6
) delete arg6
;
5386 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5387 PyObject
*resultobj
= 0;
5388 wxChoice
*arg1
= (wxChoice
*) 0 ;
5392 PyObject
*swig_obj
[1] ;
5394 if (!args
) SWIG_fail
;
5396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5397 if (!SWIG_IsOK(res1
)) {
5398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5400 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5403 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5404 wxPyEndAllowThreads(__tstate
);
5405 if (PyErr_Occurred()) SWIG_fail
;
5407 resultobj
= SWIG_From_int(static_cast< int >(result
));
5414 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5415 PyObject
*resultobj
= 0;
5416 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5417 SwigValueWrapper
<wxVisualAttributes
> result
;
5420 PyObject
* obj0
= 0 ;
5421 char * kwnames
[] = {
5422 (char *) "variant", NULL
5425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5427 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5428 if (!SWIG_IsOK(ecode1
)) {
5429 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5431 arg1
= static_cast< wxWindowVariant
>(val1
);
5434 if (!wxPyCheckForApp()) SWIG_fail
;
5435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5436 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5437 wxPyEndAllowThreads(__tstate
);
5438 if (PyErr_Occurred()) SWIG_fail
;
5440 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5447 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5449 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5450 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5451 return SWIG_Py_Void();
5454 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5455 return SWIG_Python_InitShadowInstance(args
);
5458 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5459 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5464 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5465 PyObject
*pyobj
= 0;
5469 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5471 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5478 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5479 PyObject
*resultobj
= 0;
5480 wxWindow
*arg1
= (wxWindow
*) 0 ;
5481 int arg2
= (int) -1 ;
5482 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5483 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5484 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5485 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5486 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5487 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5488 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5489 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5490 long arg7
= (long) 0 ;
5491 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5492 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5493 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5494 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5495 wxComboBox
*result
= 0 ;
5500 bool temp3
= false ;
5503 bool temp6
= false ;
5508 bool temp9
= false ;
5509 PyObject
* obj0
= 0 ;
5510 PyObject
* obj1
= 0 ;
5511 PyObject
* obj2
= 0 ;
5512 PyObject
* obj3
= 0 ;
5513 PyObject
* obj4
= 0 ;
5514 PyObject
* obj5
= 0 ;
5515 PyObject
* obj6
= 0 ;
5516 PyObject
* obj7
= 0 ;
5517 PyObject
* obj8
= 0 ;
5518 char * kwnames
[] = {
5519 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5524 if (!SWIG_IsOK(res1
)) {
5525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5527 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5529 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5530 if (!SWIG_IsOK(ecode2
)) {
5531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5533 arg2
= static_cast< int >(val2
);
5537 arg3
= wxString_in_helper(obj2
);
5538 if (arg3
== NULL
) SWIG_fail
;
5545 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5551 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5556 if (! PySequence_Check(obj5
)) {
5557 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5560 arg6
= new wxArrayString
;
5562 int i
, len
=PySequence_Length(obj5
);
5563 for (i
=0; i
<len
; i
++) {
5564 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5565 wxString
* s
= wxString_in_helper(item
);
5566 if (PyErr_Occurred()) SWIG_fail
;
5574 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5575 if (!SWIG_IsOK(ecode7
)) {
5576 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5578 arg7
= static_cast< long >(val7
);
5581 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5582 if (!SWIG_IsOK(res8
)) {
5583 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5588 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5592 arg9
= wxString_in_helper(obj8
);
5593 if (arg9
== NULL
) SWIG_fail
;
5598 if (!wxPyCheckForApp()) SWIG_fail
;
5599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5600 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
);
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) SWIG_fail
;
5604 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5610 if (temp6
) delete arg6
;
5623 if (temp6
) delete arg6
;
5633 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5634 PyObject
*resultobj
= 0;
5635 wxComboBox
*result
= 0 ;
5637 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5639 if (!wxPyCheckForApp()) SWIG_fail
;
5640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5641 result
= (wxComboBox
*)new wxComboBox();
5642 wxPyEndAllowThreads(__tstate
);
5643 if (PyErr_Occurred()) SWIG_fail
;
5645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5652 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5653 PyObject
*resultobj
= 0;
5654 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5655 wxWindow
*arg2
= (wxWindow
*) 0 ;
5656 int arg3
= (int) -1 ;
5657 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5658 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5659 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5660 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5661 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5662 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5663 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5664 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5665 long arg8
= (long) 0 ;
5666 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5667 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5668 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5669 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5677 bool temp4
= false ;
5680 bool temp7
= false ;
5685 bool temp10
= false ;
5686 PyObject
* obj0
= 0 ;
5687 PyObject
* obj1
= 0 ;
5688 PyObject
* obj2
= 0 ;
5689 PyObject
* obj3
= 0 ;
5690 PyObject
* obj4
= 0 ;
5691 PyObject
* obj5
= 0 ;
5692 PyObject
* obj6
= 0 ;
5693 PyObject
* obj7
= 0 ;
5694 PyObject
* obj8
= 0 ;
5695 PyObject
* obj9
= 0 ;
5696 char * kwnames
[] = {
5697 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5702 if (!SWIG_IsOK(res1
)) {
5703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5705 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5706 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5707 if (!SWIG_IsOK(res2
)) {
5708 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5710 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5712 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5713 if (!SWIG_IsOK(ecode3
)) {
5714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5716 arg3
= static_cast< int >(val3
);
5720 arg4
= wxString_in_helper(obj3
);
5721 if (arg4
== NULL
) SWIG_fail
;
5728 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5734 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5739 if (! PySequence_Check(obj6
)) {
5740 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5743 arg7
= new wxArrayString
;
5745 int i
, len
=PySequence_Length(obj6
);
5746 for (i
=0; i
<len
; i
++) {
5747 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5748 wxString
* s
= wxString_in_helper(item
);
5749 if (PyErr_Occurred()) SWIG_fail
;
5757 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5758 if (!SWIG_IsOK(ecode8
)) {
5759 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5761 arg8
= static_cast< long >(val8
);
5764 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5765 if (!SWIG_IsOK(res9
)) {
5766 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5769 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5771 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5775 arg10
= wxString_in_helper(obj9
);
5776 if (arg10
== NULL
) SWIG_fail
;
5781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5782 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
);
5783 wxPyEndAllowThreads(__tstate
);
5784 if (PyErr_Occurred()) SWIG_fail
;
5787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5794 if (temp7
) delete arg7
;
5807 if (temp7
) delete arg7
;
5817 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5818 PyObject
*resultobj
= 0;
5819 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5823 PyObject
*swig_obj
[1] ;
5825 if (!args
) SWIG_fail
;
5827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5828 if (!SWIG_IsOK(res1
)) {
5829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5831 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5834 result
= ((wxComboBox
const *)arg1
)->GetValue();
5835 wxPyEndAllowThreads(__tstate
);
5836 if (PyErr_Occurred()) SWIG_fail
;
5840 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5842 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5851 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5852 PyObject
*resultobj
= 0;
5853 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5854 wxString
*arg2
= 0 ;
5857 bool temp2
= false ;
5858 PyObject
* obj0
= 0 ;
5859 PyObject
* obj1
= 0 ;
5860 char * kwnames
[] = {
5861 (char *) "self",(char *) "value", NULL
5864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5866 if (!SWIG_IsOK(res1
)) {
5867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5869 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5871 arg2
= wxString_in_helper(obj1
);
5872 if (arg2
== NULL
) SWIG_fail
;
5876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5877 (arg1
)->SetValue((wxString
const &)*arg2
);
5878 wxPyEndAllowThreads(__tstate
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5881 resultobj
= SWIG_Py_Void();
5896 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5897 PyObject
*resultobj
= 0;
5898 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5901 PyObject
*swig_obj
[1] ;
5903 if (!args
) SWIG_fail
;
5905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5906 if (!SWIG_IsOK(res1
)) {
5907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5909 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) SWIG_fail
;
5916 resultobj
= SWIG_Py_Void();
5923 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5924 PyObject
*resultobj
= 0;
5925 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5928 PyObject
*swig_obj
[1] ;
5930 if (!args
) SWIG_fail
;
5932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5933 if (!SWIG_IsOK(res1
)) {
5934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5936 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5940 wxPyEndAllowThreads(__tstate
);
5941 if (PyErr_Occurred()) SWIG_fail
;
5943 resultobj
= SWIG_Py_Void();
5950 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5951 PyObject
*resultobj
= 0;
5952 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5955 PyObject
*swig_obj
[1] ;
5957 if (!args
) SWIG_fail
;
5959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5960 if (!SWIG_IsOK(res1
)) {
5961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5963 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5967 wxPyEndAllowThreads(__tstate
);
5968 if (PyErr_Occurred()) SWIG_fail
;
5970 resultobj
= SWIG_Py_Void();
5977 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5978 PyObject
*resultobj
= 0;
5979 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5985 PyObject
* obj0
= 0 ;
5986 PyObject
* obj1
= 0 ;
5987 char * kwnames
[] = {
5988 (char *) "self",(char *) "pos", NULL
5991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5993 if (!SWIG_IsOK(res1
)) {
5994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
5996 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5997 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
5998 if (!SWIG_IsOK(ecode2
)) {
5999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6001 arg2
= static_cast< long >(val2
);
6003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6004 (arg1
)->SetInsertionPoint(arg2
);
6005 wxPyEndAllowThreads(__tstate
);
6006 if (PyErr_Occurred()) SWIG_fail
;
6008 resultobj
= SWIG_Py_Void();
6015 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6016 PyObject
*resultobj
= 0;
6017 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6021 PyObject
*swig_obj
[1] ;
6023 if (!args
) SWIG_fail
;
6025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6026 if (!SWIG_IsOK(res1
)) {
6027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6029 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6032 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6033 wxPyEndAllowThreads(__tstate
);
6034 if (PyErr_Occurred()) SWIG_fail
;
6036 resultobj
= SWIG_From_long(static_cast< long >(result
));
6043 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6044 PyObject
*resultobj
= 0;
6045 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6049 PyObject
*swig_obj
[1] ;
6051 if (!args
) SWIG_fail
;
6053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6054 if (!SWIG_IsOK(res1
)) {
6055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6057 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6060 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6061 wxPyEndAllowThreads(__tstate
);
6062 if (PyErr_Occurred()) SWIG_fail
;
6064 resultobj
= SWIG_From_long(static_cast< long >(result
));
6071 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6072 PyObject
*resultobj
= 0;
6073 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6076 wxString
*arg4
= 0 ;
6083 bool temp4
= false ;
6084 PyObject
* obj0
= 0 ;
6085 PyObject
* obj1
= 0 ;
6086 PyObject
* obj2
= 0 ;
6087 PyObject
* obj3
= 0 ;
6088 char * kwnames
[] = {
6089 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6094 if (!SWIG_IsOK(res1
)) {
6095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6097 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6098 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6099 if (!SWIG_IsOK(ecode2
)) {
6100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6102 arg2
= static_cast< long >(val2
);
6103 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6104 if (!SWIG_IsOK(ecode3
)) {
6105 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6107 arg3
= static_cast< long >(val3
);
6109 arg4
= wxString_in_helper(obj3
);
6110 if (arg4
== NULL
) SWIG_fail
;
6114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6115 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6116 wxPyEndAllowThreads(__tstate
);
6117 if (PyErr_Occurred()) SWIG_fail
;
6119 resultobj
= SWIG_Py_Void();
6134 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6135 PyObject
*resultobj
= 0;
6136 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6145 PyObject
* obj0
= 0 ;
6146 PyObject
* obj1
= 0 ;
6147 PyObject
* obj2
= 0 ;
6148 char * kwnames
[] = {
6149 (char *) "self",(char *) "from",(char *) "to", NULL
6152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6154 if (!SWIG_IsOK(res1
)) {
6155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6157 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6158 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6159 if (!SWIG_IsOK(ecode2
)) {
6160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6162 arg2
= static_cast< long >(val2
);
6163 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6164 if (!SWIG_IsOK(ecode3
)) {
6165 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6167 arg3
= static_cast< long >(val3
);
6169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6170 (arg1
)->SetSelection(arg2
,arg3
);
6171 wxPyEndAllowThreads(__tstate
);
6172 if (PyErr_Occurred()) SWIG_fail
;
6174 resultobj
= SWIG_Py_Void();
6181 SWIGINTERN PyObject
*_wrap_ComboBox_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6182 PyObject
*resultobj
= 0;
6183 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6184 long *arg2
= (long *) 0 ;
6185 long *arg3
= (long *) 0 ;
6189 int res2
= SWIG_TMPOBJ
;
6191 int res3
= SWIG_TMPOBJ
;
6192 PyObject
*swig_obj
[1] ;
6196 if (!args
) SWIG_fail
;
6198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6199 if (!SWIG_IsOK(res1
)) {
6200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6202 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6205 (arg1
)->GetSelection(arg2
,arg3
);
6206 wxPyEndAllowThreads(__tstate
);
6207 if (PyErr_Occurred()) SWIG_fail
;
6209 resultobj
= SWIG_Py_Void();
6210 if (SWIG_IsTmpObj(res2
)) {
6211 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6213 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6214 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6216 if (SWIG_IsTmpObj(res3
)) {
6217 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6219 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6220 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6228 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6229 PyObject
*resultobj
= 0;
6230 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6234 PyObject
*swig_obj
[1] ;
6236 if (!args
) SWIG_fail
;
6238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6239 if (!SWIG_IsOK(res1
)) {
6240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6242 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6245 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6246 wxPyEndAllowThreads(__tstate
);
6247 if (PyErr_Occurred()) SWIG_fail
;
6249 resultobj
= SWIG_From_int(static_cast< int >(result
));
6256 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6257 PyObject
*resultobj
= 0;
6258 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6259 wxString
*arg2
= 0 ;
6263 bool temp2
= false ;
6264 PyObject
* obj0
= 0 ;
6265 PyObject
* obj1
= 0 ;
6266 char * kwnames
[] = {
6267 (char *) "self",(char *) "string", NULL
6270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6272 if (!SWIG_IsOK(res1
)) {
6273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6275 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6277 arg2
= wxString_in_helper(obj1
);
6278 if (arg2
== NULL
) SWIG_fail
;
6282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6283 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6284 wxPyEndAllowThreads(__tstate
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6304 SWIGINTERN PyObject
*_wrap_ComboBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6305 PyObject
*resultobj
= 0;
6306 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6308 wxString
*arg3
= 0 ;
6313 bool temp3
= false ;
6314 PyObject
* obj0
= 0 ;
6315 PyObject
* obj1
= 0 ;
6316 PyObject
* obj2
= 0 ;
6317 char * kwnames
[] = {
6318 (char *) "self",(char *) "n",(char *) "string", NULL
6321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6323 if (!SWIG_IsOK(res1
)) {
6324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6326 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6328 if (!SWIG_IsOK(ecode2
)) {
6329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6331 arg2
= static_cast< int >(val2
);
6333 arg3
= wxString_in_helper(obj2
);
6334 if (arg3
== NULL
) SWIG_fail
;
6338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6339 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
6340 wxPyEndAllowThreads(__tstate
);
6341 if (PyErr_Occurred()) SWIG_fail
;
6343 resultobj
= SWIG_Py_Void();
6358 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6359 PyObject
*resultobj
= 0;
6360 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6366 PyObject
* obj0
= 0 ;
6367 PyObject
* obj1
= 0 ;
6368 char * kwnames
[] = {
6369 (char *) "self",(char *) "editable", NULL
6372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6374 if (!SWIG_IsOK(res1
)) {
6375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6377 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6378 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6379 if (!SWIG_IsOK(ecode2
)) {
6380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6382 arg2
= static_cast< bool >(val2
);
6384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6385 (arg1
)->SetEditable(arg2
);
6386 wxPyEndAllowThreads(__tstate
);
6387 if (PyErr_Occurred()) SWIG_fail
;
6389 resultobj
= SWIG_Py_Void();
6396 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6397 PyObject
*resultobj
= 0;
6398 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6401 PyObject
*swig_obj
[1] ;
6403 if (!args
) SWIG_fail
;
6405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6406 if (!SWIG_IsOK(res1
)) {
6407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6409 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6412 (arg1
)->SetInsertionPointEnd();
6413 wxPyEndAllowThreads(__tstate
);
6414 if (PyErr_Occurred()) SWIG_fail
;
6416 resultobj
= SWIG_Py_Void();
6423 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6424 PyObject
*resultobj
= 0;
6425 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6434 PyObject
* obj0
= 0 ;
6435 PyObject
* obj1
= 0 ;
6436 PyObject
* obj2
= 0 ;
6437 char * kwnames
[] = {
6438 (char *) "self",(char *) "from",(char *) "to", NULL
6441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6443 if (!SWIG_IsOK(res1
)) {
6444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6446 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6447 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6448 if (!SWIG_IsOK(ecode2
)) {
6449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6451 arg2
= static_cast< long >(val2
);
6452 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6453 if (!SWIG_IsOK(ecode3
)) {
6454 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6456 arg3
= static_cast< long >(val3
);
6458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6459 (arg1
)->Remove(arg2
,arg3
);
6460 wxPyEndAllowThreads(__tstate
);
6461 if (PyErr_Occurred()) SWIG_fail
;
6463 resultobj
= SWIG_Py_Void();
6470 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6471 PyObject
*resultobj
= 0;
6472 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6476 PyObject
*swig_obj
[1] ;
6478 if (!args
) SWIG_fail
;
6480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6481 if (!SWIG_IsOK(res1
)) {
6482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6484 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6487 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6488 wxPyEndAllowThreads(__tstate
);
6489 if (PyErr_Occurred()) SWIG_fail
;
6492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6500 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6501 PyObject
*resultobj
= 0;
6502 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6505 PyObject
*swig_obj
[1] ;
6507 if (!args
) SWIG_fail
;
6509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6510 if (!SWIG_IsOK(res1
)) {
6511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6513 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6517 wxPyEndAllowThreads(__tstate
);
6518 if (PyErr_Occurred()) SWIG_fail
;
6520 resultobj
= SWIG_Py_Void();
6527 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6528 PyObject
*resultobj
= 0;
6529 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6532 PyObject
*swig_obj
[1] ;
6534 if (!args
) SWIG_fail
;
6536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6537 if (!SWIG_IsOK(res1
)) {
6538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6540 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6544 wxPyEndAllowThreads(__tstate
);
6545 if (PyErr_Occurred()) SWIG_fail
;
6547 resultobj
= SWIG_Py_Void();
6554 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6555 PyObject
*resultobj
= 0;
6556 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6559 PyObject
*swig_obj
[1] ;
6561 if (!args
) SWIG_fail
;
6563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6564 if (!SWIG_IsOK(res1
)) {
6565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6567 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6570 (arg1
)->SelectAll();
6571 wxPyEndAllowThreads(__tstate
);
6572 if (PyErr_Occurred()) SWIG_fail
;
6574 resultobj
= SWIG_Py_Void();
6581 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6582 PyObject
*resultobj
= 0;
6583 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6587 PyObject
*swig_obj
[1] ;
6589 if (!args
) SWIG_fail
;
6591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6592 if (!SWIG_IsOK(res1
)) {
6593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6595 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6598 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6599 wxPyEndAllowThreads(__tstate
);
6600 if (PyErr_Occurred()) SWIG_fail
;
6603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6611 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6612 PyObject
*resultobj
= 0;
6613 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6617 PyObject
*swig_obj
[1] ;
6619 if (!args
) SWIG_fail
;
6621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6622 if (!SWIG_IsOK(res1
)) {
6623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6625 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6628 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6629 wxPyEndAllowThreads(__tstate
);
6630 if (PyErr_Occurred()) SWIG_fail
;
6633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6641 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6642 PyObject
*resultobj
= 0;
6643 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6647 PyObject
*swig_obj
[1] ;
6649 if (!args
) SWIG_fail
;
6651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6652 if (!SWIG_IsOK(res1
)) {
6653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6655 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6658 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6659 wxPyEndAllowThreads(__tstate
);
6660 if (PyErr_Occurred()) SWIG_fail
;
6663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6671 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6672 PyObject
*resultobj
= 0;
6673 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6677 PyObject
*swig_obj
[1] ;
6679 if (!args
) SWIG_fail
;
6681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6682 if (!SWIG_IsOK(res1
)) {
6683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6685 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6688 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6689 wxPyEndAllowThreads(__tstate
);
6690 if (PyErr_Occurred()) SWIG_fail
;
6693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6701 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6702 PyObject
*resultobj
= 0;
6703 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6707 PyObject
*swig_obj
[1] ;
6709 if (!args
) SWIG_fail
;
6711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6712 if (!SWIG_IsOK(res1
)) {
6713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6715 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6718 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6719 wxPyEndAllowThreads(__tstate
);
6720 if (PyErr_Occurred()) SWIG_fail
;
6723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6731 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6732 PyObject
*resultobj
= 0;
6733 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6734 SwigValueWrapper
<wxVisualAttributes
> result
;
6737 PyObject
* obj0
= 0 ;
6738 char * kwnames
[] = {
6739 (char *) "variant", NULL
6742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6744 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6745 if (!SWIG_IsOK(ecode1
)) {
6746 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6748 arg1
= static_cast< wxWindowVariant
>(val1
);
6751 if (!wxPyCheckForApp()) SWIG_fail
;
6752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6753 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6754 wxPyEndAllowThreads(__tstate
);
6755 if (PyErr_Occurred()) SWIG_fail
;
6757 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6764 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6766 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6767 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6768 return SWIG_Py_Void();
6771 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6772 return SWIG_Python_InitShadowInstance(args
);
6775 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6776 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6781 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6782 PyObject
*pyobj
= 0;
6786 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6788 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6795 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6796 PyObject
*resultobj
= 0;
6797 wxWindow
*arg1
= (wxWindow
*) 0 ;
6798 int arg2
= (int) -1 ;
6799 int arg3
= (int) 100 ;
6800 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6801 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6802 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6803 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6804 long arg6
= (long) wxGA_HORIZONTAL
;
6805 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6806 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6807 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6808 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6809 wxGauge
*result
= 0 ;
6822 bool temp8
= false ;
6823 PyObject
* obj0
= 0 ;
6824 PyObject
* obj1
= 0 ;
6825 PyObject
* obj2
= 0 ;
6826 PyObject
* obj3
= 0 ;
6827 PyObject
* obj4
= 0 ;
6828 PyObject
* obj5
= 0 ;
6829 PyObject
* obj6
= 0 ;
6830 PyObject
* obj7
= 0 ;
6831 char * kwnames
[] = {
6832 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6837 if (!SWIG_IsOK(res1
)) {
6838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6840 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6843 if (!SWIG_IsOK(ecode2
)) {
6844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6846 arg2
= static_cast< int >(val2
);
6849 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6850 if (!SWIG_IsOK(ecode3
)) {
6851 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6853 arg3
= static_cast< int >(val3
);
6858 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6864 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6868 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6869 if (!SWIG_IsOK(ecode6
)) {
6870 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6872 arg6
= static_cast< long >(val6
);
6875 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6876 if (!SWIG_IsOK(res7
)) {
6877 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6882 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6886 arg8
= wxString_in_helper(obj7
);
6887 if (arg8
== NULL
) SWIG_fail
;
6892 if (!wxPyCheckForApp()) SWIG_fail
;
6893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6894 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6895 wxPyEndAllowThreads(__tstate
);
6896 if (PyErr_Occurred()) SWIG_fail
;
6898 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6913 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6914 PyObject
*resultobj
= 0;
6915 wxGauge
*result
= 0 ;
6917 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6919 if (!wxPyCheckForApp()) SWIG_fail
;
6920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6921 result
= (wxGauge
*)new wxGauge();
6922 wxPyEndAllowThreads(__tstate
);
6923 if (PyErr_Occurred()) SWIG_fail
;
6925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6932 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6933 PyObject
*resultobj
= 0;
6934 wxGauge
*arg1
= (wxGauge
*) 0 ;
6935 wxWindow
*arg2
= (wxWindow
*) 0 ;
6936 int arg3
= (int) -1 ;
6937 int arg4
= (int) 100 ;
6938 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6939 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6940 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6941 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6942 long arg7
= (long) wxGA_HORIZONTAL
;
6943 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6944 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6945 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6946 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6962 bool temp9
= false ;
6963 PyObject
* obj0
= 0 ;
6964 PyObject
* obj1
= 0 ;
6965 PyObject
* obj2
= 0 ;
6966 PyObject
* obj3
= 0 ;
6967 PyObject
* obj4
= 0 ;
6968 PyObject
* obj5
= 0 ;
6969 PyObject
* obj6
= 0 ;
6970 PyObject
* obj7
= 0 ;
6971 PyObject
* obj8
= 0 ;
6972 char * kwnames
[] = {
6973 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6978 if (!SWIG_IsOK(res1
)) {
6979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6981 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6982 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6983 if (!SWIG_IsOK(res2
)) {
6984 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6986 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6988 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6989 if (!SWIG_IsOK(ecode3
)) {
6990 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6992 arg3
= static_cast< int >(val3
);
6995 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6996 if (!SWIG_IsOK(ecode4
)) {
6997 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6999 arg4
= static_cast< int >(val4
);
7004 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7010 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7014 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7015 if (!SWIG_IsOK(ecode7
)) {
7016 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
7018 arg7
= static_cast< long >(val7
);
7021 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
7022 if (!SWIG_IsOK(res8
)) {
7023 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7026 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7028 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
7032 arg9
= wxString_in_helper(obj8
);
7033 if (arg9
== NULL
) SWIG_fail
;
7038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7039 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7040 wxPyEndAllowThreads(__tstate
);
7041 if (PyErr_Occurred()) SWIG_fail
;
7044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7060 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7061 PyObject
*resultobj
= 0;
7062 wxGauge
*arg1
= (wxGauge
*) 0 ;
7068 PyObject
* obj0
= 0 ;
7069 PyObject
* obj1
= 0 ;
7070 char * kwnames
[] = {
7071 (char *) "self",(char *) "range", NULL
7074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7076 if (!SWIG_IsOK(res1
)) {
7077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7079 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7081 if (!SWIG_IsOK(ecode2
)) {
7082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7084 arg2
= static_cast< int >(val2
);
7086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7087 (arg1
)->SetRange(arg2
);
7088 wxPyEndAllowThreads(__tstate
);
7089 if (PyErr_Occurred()) SWIG_fail
;
7091 resultobj
= SWIG_Py_Void();
7098 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7099 PyObject
*resultobj
= 0;
7100 wxGauge
*arg1
= (wxGauge
*) 0 ;
7104 PyObject
*swig_obj
[1] ;
7106 if (!args
) SWIG_fail
;
7108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7109 if (!SWIG_IsOK(res1
)) {
7110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7112 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7115 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7116 wxPyEndAllowThreads(__tstate
);
7117 if (PyErr_Occurred()) SWIG_fail
;
7119 resultobj
= SWIG_From_int(static_cast< int >(result
));
7126 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7127 PyObject
*resultobj
= 0;
7128 wxGauge
*arg1
= (wxGauge
*) 0 ;
7134 PyObject
* obj0
= 0 ;
7135 PyObject
* obj1
= 0 ;
7136 char * kwnames
[] = {
7137 (char *) "self",(char *) "pos", NULL
7140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7142 if (!SWIG_IsOK(res1
)) {
7143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7145 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7146 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7147 if (!SWIG_IsOK(ecode2
)) {
7148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7150 arg2
= static_cast< int >(val2
);
7152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7153 (arg1
)->SetValue(arg2
);
7154 wxPyEndAllowThreads(__tstate
);
7155 if (PyErr_Occurred()) SWIG_fail
;
7157 resultobj
= SWIG_Py_Void();
7164 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7165 PyObject
*resultobj
= 0;
7166 wxGauge
*arg1
= (wxGauge
*) 0 ;
7170 PyObject
*swig_obj
[1] ;
7172 if (!args
) SWIG_fail
;
7174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7175 if (!SWIG_IsOK(res1
)) {
7176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7178 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7181 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7182 wxPyEndAllowThreads(__tstate
);
7183 if (PyErr_Occurred()) SWIG_fail
;
7185 resultobj
= SWIG_From_int(static_cast< int >(result
));
7192 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7193 PyObject
*resultobj
= 0;
7194 wxGauge
*arg1
= (wxGauge
*) 0 ;
7198 PyObject
*swig_obj
[1] ;
7200 if (!args
) SWIG_fail
;
7202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7203 if (!SWIG_IsOK(res1
)) {
7204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7206 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7209 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7210 wxPyEndAllowThreads(__tstate
);
7211 if (PyErr_Occurred()) SWIG_fail
;
7214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7222 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7223 PyObject
*resultobj
= 0;
7224 wxGauge
*arg1
= (wxGauge
*) 0 ;
7230 PyObject
* obj0
= 0 ;
7231 PyObject
* obj1
= 0 ;
7232 char * kwnames
[] = {
7233 (char *) "self",(char *) "w", NULL
7236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7238 if (!SWIG_IsOK(res1
)) {
7239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7241 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7243 if (!SWIG_IsOK(ecode2
)) {
7244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7246 arg2
= static_cast< int >(val2
);
7248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7249 (arg1
)->SetShadowWidth(arg2
);
7250 wxPyEndAllowThreads(__tstate
);
7251 if (PyErr_Occurred()) SWIG_fail
;
7253 resultobj
= SWIG_Py_Void();
7260 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7261 PyObject
*resultobj
= 0;
7262 wxGauge
*arg1
= (wxGauge
*) 0 ;
7266 PyObject
*swig_obj
[1] ;
7268 if (!args
) SWIG_fail
;
7270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7271 if (!SWIG_IsOK(res1
)) {
7272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7274 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7277 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7278 wxPyEndAllowThreads(__tstate
);
7279 if (PyErr_Occurred()) SWIG_fail
;
7281 resultobj
= SWIG_From_int(static_cast< int >(result
));
7288 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7289 PyObject
*resultobj
= 0;
7290 wxGauge
*arg1
= (wxGauge
*) 0 ;
7296 PyObject
* obj0
= 0 ;
7297 PyObject
* obj1
= 0 ;
7298 char * kwnames
[] = {
7299 (char *) "self",(char *) "w", NULL
7302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7304 if (!SWIG_IsOK(res1
)) {
7305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7307 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7309 if (!SWIG_IsOK(ecode2
)) {
7310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7312 arg2
= static_cast< int >(val2
);
7314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7315 (arg1
)->SetBezelFace(arg2
);
7316 wxPyEndAllowThreads(__tstate
);
7317 if (PyErr_Occurred()) SWIG_fail
;
7319 resultobj
= SWIG_Py_Void();
7326 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7327 PyObject
*resultobj
= 0;
7328 wxGauge
*arg1
= (wxGauge
*) 0 ;
7332 PyObject
*swig_obj
[1] ;
7334 if (!args
) SWIG_fail
;
7336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7337 if (!SWIG_IsOK(res1
)) {
7338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7340 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7343 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7344 wxPyEndAllowThreads(__tstate
);
7345 if (PyErr_Occurred()) SWIG_fail
;
7347 resultobj
= SWIG_From_int(static_cast< int >(result
));
7354 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7355 PyObject
*resultobj
= 0;
7356 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7357 SwigValueWrapper
<wxVisualAttributes
> result
;
7360 PyObject
* obj0
= 0 ;
7361 char * kwnames
[] = {
7362 (char *) "variant", NULL
7365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7367 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7368 if (!SWIG_IsOK(ecode1
)) {
7369 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7371 arg1
= static_cast< wxWindowVariant
>(val1
);
7374 if (!wxPyCheckForApp()) SWIG_fail
;
7375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7376 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7377 wxPyEndAllowThreads(__tstate
);
7378 if (PyErr_Occurred()) SWIG_fail
;
7380 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7387 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7389 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7390 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7391 return SWIG_Py_Void();
7394 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7395 return SWIG_Python_InitShadowInstance(args
);
7398 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7399 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7404 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7405 PyObject
*pyobj
= 0;
7409 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7411 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7418 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7419 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7424 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7425 PyObject
*pyobj
= 0;
7429 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7431 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7438 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7439 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7444 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7445 PyObject
*pyobj
= 0;
7449 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7451 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7458 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7459 PyObject
*resultobj
= 0;
7460 wxWindow
*arg1
= (wxWindow
*) 0 ;
7461 int arg2
= (int) -1 ;
7462 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7463 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7464 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7465 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7466 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7467 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7468 long arg6
= (long) 0 ;
7469 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7470 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7471 wxStaticBox
*result
= 0 ;
7476 bool temp3
= false ;
7481 bool temp7
= false ;
7482 PyObject
* obj0
= 0 ;
7483 PyObject
* obj1
= 0 ;
7484 PyObject
* obj2
= 0 ;
7485 PyObject
* obj3
= 0 ;
7486 PyObject
* obj4
= 0 ;
7487 PyObject
* obj5
= 0 ;
7488 PyObject
* obj6
= 0 ;
7489 char * kwnames
[] = {
7490 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7495 if (!SWIG_IsOK(res1
)) {
7496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7498 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7501 if (!SWIG_IsOK(ecode2
)) {
7502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7504 arg2
= static_cast< int >(val2
);
7508 arg3
= wxString_in_helper(obj2
);
7509 if (arg3
== NULL
) SWIG_fail
;
7516 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7522 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7526 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7527 if (!SWIG_IsOK(ecode6
)) {
7528 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7530 arg6
= static_cast< long >(val6
);
7534 arg7
= wxString_in_helper(obj6
);
7535 if (arg7
== NULL
) SWIG_fail
;
7540 if (!wxPyCheckForApp()) SWIG_fail
;
7541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7542 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7543 wxPyEndAllowThreads(__tstate
);
7544 if (PyErr_Occurred()) SWIG_fail
;
7546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7569 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7570 PyObject
*resultobj
= 0;
7571 wxStaticBox
*result
= 0 ;
7573 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7575 if (!wxPyCheckForApp()) SWIG_fail
;
7576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7577 result
= (wxStaticBox
*)new wxStaticBox();
7578 wxPyEndAllowThreads(__tstate
);
7579 if (PyErr_Occurred()) SWIG_fail
;
7581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7588 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7589 PyObject
*resultobj
= 0;
7590 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7591 wxWindow
*arg2
= (wxWindow
*) 0 ;
7592 int arg3
= (int) -1 ;
7593 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7594 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7595 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7596 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7597 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7598 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7599 long arg7
= (long) 0 ;
7600 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7601 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7609 bool temp4
= false ;
7614 bool temp8
= false ;
7615 PyObject
* obj0
= 0 ;
7616 PyObject
* obj1
= 0 ;
7617 PyObject
* obj2
= 0 ;
7618 PyObject
* obj3
= 0 ;
7619 PyObject
* obj4
= 0 ;
7620 PyObject
* obj5
= 0 ;
7621 PyObject
* obj6
= 0 ;
7622 PyObject
* obj7
= 0 ;
7623 char * kwnames
[] = {
7624 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7629 if (!SWIG_IsOK(res1
)) {
7630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7632 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7633 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7634 if (!SWIG_IsOK(res2
)) {
7635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7637 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7639 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7640 if (!SWIG_IsOK(ecode3
)) {
7641 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7643 arg3
= static_cast< int >(val3
);
7647 arg4
= wxString_in_helper(obj3
);
7648 if (arg4
== NULL
) SWIG_fail
;
7655 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7661 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7665 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7666 if (!SWIG_IsOK(ecode7
)) {
7667 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7669 arg7
= static_cast< long >(val7
);
7673 arg8
= wxString_in_helper(obj7
);
7674 if (arg8
== NULL
) SWIG_fail
;
7679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7680 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7681 wxPyEndAllowThreads(__tstate
);
7682 if (PyErr_Occurred()) SWIG_fail
;
7685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7709 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7710 PyObject
*resultobj
= 0;
7711 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7712 SwigValueWrapper
<wxVisualAttributes
> result
;
7715 PyObject
* obj0
= 0 ;
7716 char * kwnames
[] = {
7717 (char *) "variant", NULL
7720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7722 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7723 if (!SWIG_IsOK(ecode1
)) {
7724 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7726 arg1
= static_cast< wxWindowVariant
>(val1
);
7729 if (!wxPyCheckForApp()) SWIG_fail
;
7730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7731 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7732 wxPyEndAllowThreads(__tstate
);
7733 if (PyErr_Occurred()) SWIG_fail
;
7735 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7742 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7744 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7745 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7746 return SWIG_Py_Void();
7749 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7750 return SWIG_Python_InitShadowInstance(args
);
7753 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7754 PyObject
*resultobj
= 0;
7755 wxWindow
*arg1
= (wxWindow
*) 0 ;
7756 int arg2
= (int) -1 ;
7757 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7758 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7759 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7760 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7761 long arg5
= (long) wxLI_HORIZONTAL
;
7762 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7763 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7764 wxStaticLine
*result
= 0 ;
7773 bool temp6
= false ;
7774 PyObject
* obj0
= 0 ;
7775 PyObject
* obj1
= 0 ;
7776 PyObject
* obj2
= 0 ;
7777 PyObject
* obj3
= 0 ;
7778 PyObject
* obj4
= 0 ;
7779 PyObject
* obj5
= 0 ;
7780 char * kwnames
[] = {
7781 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7786 if (!SWIG_IsOK(res1
)) {
7787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7789 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7791 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7792 if (!SWIG_IsOK(ecode2
)) {
7793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7795 arg2
= static_cast< int >(val2
);
7800 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7806 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7810 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7811 if (!SWIG_IsOK(ecode5
)) {
7812 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7814 arg5
= static_cast< long >(val5
);
7818 arg6
= wxString_in_helper(obj5
);
7819 if (arg6
== NULL
) SWIG_fail
;
7824 if (!wxPyCheckForApp()) SWIG_fail
;
7825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7826 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7827 wxPyEndAllowThreads(__tstate
);
7828 if (PyErr_Occurred()) SWIG_fail
;
7830 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7845 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7846 PyObject
*resultobj
= 0;
7847 wxStaticLine
*result
= 0 ;
7849 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7851 if (!wxPyCheckForApp()) SWIG_fail
;
7852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7853 result
= (wxStaticLine
*)new wxStaticLine();
7854 wxPyEndAllowThreads(__tstate
);
7855 if (PyErr_Occurred()) SWIG_fail
;
7857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7864 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7865 PyObject
*resultobj
= 0;
7866 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7867 wxWindow
*arg2
= (wxWindow
*) 0 ;
7868 int arg3
= (int) -1 ;
7869 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7870 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7871 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7872 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7873 long arg6
= (long) wxLI_HORIZONTAL
;
7874 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7875 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7887 bool temp7
= false ;
7888 PyObject
* obj0
= 0 ;
7889 PyObject
* obj1
= 0 ;
7890 PyObject
* obj2
= 0 ;
7891 PyObject
* obj3
= 0 ;
7892 PyObject
* obj4
= 0 ;
7893 PyObject
* obj5
= 0 ;
7894 PyObject
* obj6
= 0 ;
7895 char * kwnames
[] = {
7896 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7901 if (!SWIG_IsOK(res1
)) {
7902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7904 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7905 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7906 if (!SWIG_IsOK(res2
)) {
7907 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7909 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7911 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7912 if (!SWIG_IsOK(ecode3
)) {
7913 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7915 arg3
= static_cast< int >(val3
);
7920 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7926 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7930 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7931 if (!SWIG_IsOK(ecode6
)) {
7932 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7934 arg6
= static_cast< long >(val6
);
7938 arg7
= wxString_in_helper(obj6
);
7939 if (arg7
== NULL
) SWIG_fail
;
7944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7945 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7946 wxPyEndAllowThreads(__tstate
);
7947 if (PyErr_Occurred()) SWIG_fail
;
7950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7966 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7967 PyObject
*resultobj
= 0;
7968 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7972 PyObject
*swig_obj
[1] ;
7974 if (!args
) SWIG_fail
;
7976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7977 if (!SWIG_IsOK(res1
)) {
7978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7980 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7983 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7984 wxPyEndAllowThreads(__tstate
);
7985 if (PyErr_Occurred()) SWIG_fail
;
7988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7996 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7997 PyObject
*resultobj
= 0;
8000 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
8002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8003 result
= (int)wxStaticLine::GetDefaultSize();
8004 wxPyEndAllowThreads(__tstate
);
8005 if (PyErr_Occurred()) SWIG_fail
;
8007 resultobj
= SWIG_From_int(static_cast< int >(result
));
8014 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8015 PyObject
*resultobj
= 0;
8016 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8017 SwigValueWrapper
<wxVisualAttributes
> result
;
8020 PyObject
* obj0
= 0 ;
8021 char * kwnames
[] = {
8022 (char *) "variant", NULL
8025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8027 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8028 if (!SWIG_IsOK(ecode1
)) {
8029 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8031 arg1
= static_cast< wxWindowVariant
>(val1
);
8034 if (!wxPyCheckForApp()) SWIG_fail
;
8035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8036 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8037 wxPyEndAllowThreads(__tstate
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8040 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8047 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8049 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8050 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8051 return SWIG_Py_Void();
8054 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8055 return SWIG_Python_InitShadowInstance(args
);
8058 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8059 PyObject
*resultobj
= 0;
8060 wxWindow
*arg1
= (wxWindow
*) 0 ;
8061 int arg2
= (int) -1 ;
8062 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8063 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8064 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8065 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8066 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8067 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8068 long arg6
= (long) 0 ;
8069 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8070 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8071 wxStaticText
*result
= 0 ;
8076 bool temp3
= false ;
8081 bool temp7
= false ;
8082 PyObject
* obj0
= 0 ;
8083 PyObject
* obj1
= 0 ;
8084 PyObject
* obj2
= 0 ;
8085 PyObject
* obj3
= 0 ;
8086 PyObject
* obj4
= 0 ;
8087 PyObject
* obj5
= 0 ;
8088 PyObject
* obj6
= 0 ;
8089 char * kwnames
[] = {
8090 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8095 if (!SWIG_IsOK(res1
)) {
8096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8098 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8100 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8101 if (!SWIG_IsOK(ecode2
)) {
8102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8104 arg2
= static_cast< int >(val2
);
8108 arg3
= wxString_in_helper(obj2
);
8109 if (arg3
== NULL
) SWIG_fail
;
8116 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8122 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8126 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8127 if (!SWIG_IsOK(ecode6
)) {
8128 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8130 arg6
= static_cast< long >(val6
);
8134 arg7
= wxString_in_helper(obj6
);
8135 if (arg7
== NULL
) SWIG_fail
;
8140 if (!wxPyCheckForApp()) SWIG_fail
;
8141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8142 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8143 wxPyEndAllowThreads(__tstate
);
8144 if (PyErr_Occurred()) SWIG_fail
;
8146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8169 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8170 PyObject
*resultobj
= 0;
8171 wxStaticText
*result
= 0 ;
8173 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8175 if (!wxPyCheckForApp()) SWIG_fail
;
8176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8177 result
= (wxStaticText
*)new wxStaticText();
8178 wxPyEndAllowThreads(__tstate
);
8179 if (PyErr_Occurred()) SWIG_fail
;
8181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8188 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8189 PyObject
*resultobj
= 0;
8190 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8191 wxWindow
*arg2
= (wxWindow
*) 0 ;
8192 int arg3
= (int) -1 ;
8193 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8194 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8195 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8196 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8197 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8198 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8199 long arg7
= (long) 0 ;
8200 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8201 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8209 bool temp4
= false ;
8214 bool temp8
= false ;
8215 PyObject
* obj0
= 0 ;
8216 PyObject
* obj1
= 0 ;
8217 PyObject
* obj2
= 0 ;
8218 PyObject
* obj3
= 0 ;
8219 PyObject
* obj4
= 0 ;
8220 PyObject
* obj5
= 0 ;
8221 PyObject
* obj6
= 0 ;
8222 PyObject
* obj7
= 0 ;
8223 char * kwnames
[] = {
8224 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8229 if (!SWIG_IsOK(res1
)) {
8230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8232 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8233 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8234 if (!SWIG_IsOK(res2
)) {
8235 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8237 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8239 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8240 if (!SWIG_IsOK(ecode3
)) {
8241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8243 arg3
= static_cast< int >(val3
);
8247 arg4
= wxString_in_helper(obj3
);
8248 if (arg4
== NULL
) SWIG_fail
;
8255 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8261 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8265 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8266 if (!SWIG_IsOK(ecode7
)) {
8267 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8269 arg7
= static_cast< long >(val7
);
8273 arg8
= wxString_in_helper(obj7
);
8274 if (arg8
== NULL
) SWIG_fail
;
8279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8280 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8281 wxPyEndAllowThreads(__tstate
);
8282 if (PyErr_Occurred()) SWIG_fail
;
8285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8309 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8310 PyObject
*resultobj
= 0;
8311 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8317 PyObject
* obj0
= 0 ;
8318 PyObject
* obj1
= 0 ;
8319 char * kwnames
[] = {
8320 (char *) "self",(char *) "width", NULL
8323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8325 if (!SWIG_IsOK(res1
)) {
8326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8328 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8329 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8330 if (!SWIG_IsOK(ecode2
)) {
8331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8333 arg2
= static_cast< int >(val2
);
8335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8337 wxPyEndAllowThreads(__tstate
);
8338 if (PyErr_Occurred()) SWIG_fail
;
8340 resultobj
= SWIG_Py_Void();
8347 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8348 PyObject
*resultobj
= 0;
8349 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8350 SwigValueWrapper
<wxVisualAttributes
> result
;
8353 PyObject
* obj0
= 0 ;
8354 char * kwnames
[] = {
8355 (char *) "variant", NULL
8358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8360 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8361 if (!SWIG_IsOK(ecode1
)) {
8362 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8364 arg1
= static_cast< wxWindowVariant
>(val1
);
8367 if (!wxPyCheckForApp()) SWIG_fail
;
8368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8369 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8370 wxPyEndAllowThreads(__tstate
);
8371 if (PyErr_Occurred()) SWIG_fail
;
8373 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8380 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8382 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8383 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8384 return SWIG_Py_Void();
8387 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8388 return SWIG_Python_InitShadowInstance(args
);
8391 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8392 PyObject
*resultobj
= 0;
8393 wxWindow
*arg1
= (wxWindow
*) 0 ;
8394 int arg2
= (int) -1 ;
8395 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8396 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8397 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8398 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8399 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8400 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8401 long arg6
= (long) 0 ;
8402 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8403 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8404 wxStaticBitmap
*result
= 0 ;
8415 bool temp7
= false ;
8416 PyObject
* obj0
= 0 ;
8417 PyObject
* obj1
= 0 ;
8418 PyObject
* obj2
= 0 ;
8419 PyObject
* obj3
= 0 ;
8420 PyObject
* obj4
= 0 ;
8421 PyObject
* obj5
= 0 ;
8422 PyObject
* obj6
= 0 ;
8423 char * kwnames
[] = {
8424 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8429 if (!SWIG_IsOK(res1
)) {
8430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8432 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8435 if (!SWIG_IsOK(ecode2
)) {
8436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8438 arg2
= static_cast< int >(val2
);
8441 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8442 if (!SWIG_IsOK(res3
)) {
8443 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8446 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8448 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8453 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8459 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8463 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8464 if (!SWIG_IsOK(ecode6
)) {
8465 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8467 arg6
= static_cast< long >(val6
);
8471 arg7
= wxString_in_helper(obj6
);
8472 if (arg7
== NULL
) SWIG_fail
;
8477 if (!wxPyCheckForApp()) SWIG_fail
;
8478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8479 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8480 wxPyEndAllowThreads(__tstate
);
8481 if (PyErr_Occurred()) SWIG_fail
;
8483 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8498 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8499 PyObject
*resultobj
= 0;
8500 wxStaticBitmap
*result
= 0 ;
8502 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8504 if (!wxPyCheckForApp()) SWIG_fail
;
8505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8506 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8507 wxPyEndAllowThreads(__tstate
);
8508 if (PyErr_Occurred()) SWIG_fail
;
8510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8517 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8518 PyObject
*resultobj
= 0;
8519 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8520 wxWindow
*arg2
= (wxWindow
*) 0 ;
8521 int arg3
= (int) -1 ;
8522 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8523 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8524 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8525 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8526 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8527 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8528 long arg7
= (long) 0 ;
8529 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8530 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8544 bool temp8
= false ;
8545 PyObject
* obj0
= 0 ;
8546 PyObject
* obj1
= 0 ;
8547 PyObject
* obj2
= 0 ;
8548 PyObject
* obj3
= 0 ;
8549 PyObject
* obj4
= 0 ;
8550 PyObject
* obj5
= 0 ;
8551 PyObject
* obj6
= 0 ;
8552 PyObject
* obj7
= 0 ;
8553 char * kwnames
[] = {
8554 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8559 if (!SWIG_IsOK(res1
)) {
8560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8562 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8563 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8564 if (!SWIG_IsOK(res2
)) {
8565 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8567 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8569 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8570 if (!SWIG_IsOK(ecode3
)) {
8571 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8573 arg3
= static_cast< int >(val3
);
8576 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8577 if (!SWIG_IsOK(res4
)) {
8578 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8581 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8583 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8588 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8594 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8598 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8599 if (!SWIG_IsOK(ecode7
)) {
8600 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8602 arg7
= static_cast< long >(val7
);
8606 arg8
= wxString_in_helper(obj7
);
8607 if (arg8
== NULL
) SWIG_fail
;
8612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8613 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8614 wxPyEndAllowThreads(__tstate
);
8615 if (PyErr_Occurred()) SWIG_fail
;
8618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8634 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8635 PyObject
*resultobj
= 0;
8636 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8640 PyObject
*swig_obj
[1] ;
8642 if (!args
) SWIG_fail
;
8644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8645 if (!SWIG_IsOK(res1
)) {
8646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8648 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8651 result
= (arg1
)->GetBitmap();
8652 wxPyEndAllowThreads(__tstate
);
8653 if (PyErr_Occurred()) SWIG_fail
;
8655 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8662 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8663 PyObject
*resultobj
= 0;
8664 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8665 wxBitmap
*arg2
= 0 ;
8670 PyObject
* obj0
= 0 ;
8671 PyObject
* obj1
= 0 ;
8672 char * kwnames
[] = {
8673 (char *) "self",(char *) "bitmap", NULL
8676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8678 if (!SWIG_IsOK(res1
)) {
8679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8681 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8682 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8683 if (!SWIG_IsOK(res2
)) {
8684 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8689 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8692 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8693 wxPyEndAllowThreads(__tstate
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8696 resultobj
= SWIG_Py_Void();
8703 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8704 PyObject
*resultobj
= 0;
8705 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8711 PyObject
* obj0
= 0 ;
8712 PyObject
* obj1
= 0 ;
8713 char * kwnames
[] = {
8714 (char *) "self",(char *) "icon", NULL
8717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8719 if (!SWIG_IsOK(res1
)) {
8720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8722 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8723 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8724 if (!SWIG_IsOK(res2
)) {
8725 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8728 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8730 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8733 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8734 wxPyEndAllowThreads(__tstate
);
8735 if (PyErr_Occurred()) SWIG_fail
;
8737 resultobj
= SWIG_Py_Void();
8744 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8745 PyObject
*resultobj
= 0;
8746 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8747 SwigValueWrapper
<wxVisualAttributes
> result
;
8750 PyObject
* obj0
= 0 ;
8751 char * kwnames
[] = {
8752 (char *) "variant", NULL
8755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8757 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8758 if (!SWIG_IsOK(ecode1
)) {
8759 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8761 arg1
= static_cast< wxWindowVariant
>(val1
);
8764 if (!wxPyCheckForApp()) SWIG_fail
;
8765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8766 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8767 wxPyEndAllowThreads(__tstate
);
8768 if (PyErr_Occurred()) SWIG_fail
;
8770 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8777 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8779 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8780 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8781 return SWIG_Py_Void();
8784 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8785 return SWIG_Python_InitShadowInstance(args
);
8788 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8789 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8794 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8795 PyObject
*pyobj
= 0;
8799 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8801 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8808 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8809 PyObject
*resultobj
= 0;
8810 wxWindow
*arg1
= (wxWindow
*) 0 ;
8811 int arg2
= (int) -1 ;
8812 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8813 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8814 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8815 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8816 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8817 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8818 long arg6
= (long) 0 ;
8819 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8820 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8821 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8822 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8823 wxListBox
*result
= 0 ;
8830 bool temp5
= false ;
8835 bool temp8
= false ;
8836 PyObject
* obj0
= 0 ;
8837 PyObject
* obj1
= 0 ;
8838 PyObject
* obj2
= 0 ;
8839 PyObject
* obj3
= 0 ;
8840 PyObject
* obj4
= 0 ;
8841 PyObject
* obj5
= 0 ;
8842 PyObject
* obj6
= 0 ;
8843 PyObject
* obj7
= 0 ;
8844 char * kwnames
[] = {
8845 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8850 if (!SWIG_IsOK(res1
)) {
8851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8853 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8855 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8856 if (!SWIG_IsOK(ecode2
)) {
8857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8859 arg2
= static_cast< int >(val2
);
8864 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8870 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8875 if (! PySequence_Check(obj4
)) {
8876 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8879 arg5
= new wxArrayString
;
8881 int i
, len
=PySequence_Length(obj4
);
8882 for (i
=0; i
<len
; i
++) {
8883 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8884 wxString
* s
= wxString_in_helper(item
);
8885 if (PyErr_Occurred()) SWIG_fail
;
8893 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8894 if (!SWIG_IsOK(ecode6
)) {
8895 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8897 arg6
= static_cast< long >(val6
);
8900 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8901 if (!SWIG_IsOK(res7
)) {
8902 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8905 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8907 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8911 arg8
= wxString_in_helper(obj7
);
8912 if (arg8
== NULL
) SWIG_fail
;
8917 if (!wxPyCheckForApp()) SWIG_fail
;
8918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8919 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8920 wxPyEndAllowThreads(__tstate
);
8921 if (PyErr_Occurred()) SWIG_fail
;
8923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8925 if (temp5
) delete arg5
;
8934 if (temp5
) delete arg5
;
8944 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8945 PyObject
*resultobj
= 0;
8946 wxListBox
*result
= 0 ;
8948 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8950 if (!wxPyCheckForApp()) SWIG_fail
;
8951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8952 result
= (wxListBox
*)new wxListBox();
8953 wxPyEndAllowThreads(__tstate
);
8954 if (PyErr_Occurred()) SWIG_fail
;
8956 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8963 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8964 PyObject
*resultobj
= 0;
8965 wxListBox
*arg1
= (wxListBox
*) 0 ;
8966 wxWindow
*arg2
= (wxWindow
*) 0 ;
8967 int arg3
= (int) -1 ;
8968 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8969 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8970 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8971 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8972 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8973 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8974 long arg7
= (long) 0 ;
8975 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8976 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8977 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8978 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8988 bool temp6
= false ;
8993 bool temp9
= false ;
8994 PyObject
* obj0
= 0 ;
8995 PyObject
* obj1
= 0 ;
8996 PyObject
* obj2
= 0 ;
8997 PyObject
* obj3
= 0 ;
8998 PyObject
* obj4
= 0 ;
8999 PyObject
* obj5
= 0 ;
9000 PyObject
* obj6
= 0 ;
9001 PyObject
* obj7
= 0 ;
9002 PyObject
* obj8
= 0 ;
9003 char * kwnames
[] = {
9004 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
9008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9009 if (!SWIG_IsOK(res1
)) {
9010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9012 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9013 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9014 if (!SWIG_IsOK(res2
)) {
9015 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9017 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9019 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9020 if (!SWIG_IsOK(ecode3
)) {
9021 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9023 arg3
= static_cast< int >(val3
);
9028 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9034 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9039 if (! PySequence_Check(obj5
)) {
9040 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9043 arg6
= new wxArrayString
;
9045 int i
, len
=PySequence_Length(obj5
);
9046 for (i
=0; i
<len
; i
++) {
9047 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9048 wxString
* s
= wxString_in_helper(item
);
9049 if (PyErr_Occurred()) SWIG_fail
;
9057 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9058 if (!SWIG_IsOK(ecode7
)) {
9059 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9061 arg7
= static_cast< long >(val7
);
9064 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9065 if (!SWIG_IsOK(res8
)) {
9066 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9069 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9071 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9075 arg9
= wxString_in_helper(obj8
);
9076 if (arg9
== NULL
) SWIG_fail
;
9081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9082 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9083 wxPyEndAllowThreads(__tstate
);
9084 if (PyErr_Occurred()) SWIG_fail
;
9087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9090 if (temp6
) delete arg6
;
9099 if (temp6
) delete arg6
;
9109 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9110 PyObject
*resultobj
= 0;
9111 wxListBox
*arg1
= (wxListBox
*) 0 ;
9112 wxString
*arg2
= 0 ;
9114 PyObject
*arg4
= (PyObject
*) NULL
;
9117 bool temp2
= false ;
9120 PyObject
* obj0
= 0 ;
9121 PyObject
* obj1
= 0 ;
9122 PyObject
* obj2
= 0 ;
9123 PyObject
* obj3
= 0 ;
9124 char * kwnames
[] = {
9125 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9130 if (!SWIG_IsOK(res1
)) {
9131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9133 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9135 arg2
= wxString_in_helper(obj1
);
9136 if (arg2
== NULL
) SWIG_fail
;
9139 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9140 if (!SWIG_IsOK(ecode3
)) {
9141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9143 arg3
= static_cast< int >(val3
);
9148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9149 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9150 wxPyEndAllowThreads(__tstate
);
9151 if (PyErr_Occurred()) SWIG_fail
;
9153 resultobj
= SWIG_Py_Void();
9168 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9169 PyObject
*resultobj
= 0;
9170 wxListBox
*arg1
= (wxListBox
*) 0 ;
9171 wxArrayString
*arg2
= 0 ;
9175 bool temp2
= false ;
9178 PyObject
* obj0
= 0 ;
9179 PyObject
* obj1
= 0 ;
9180 PyObject
* obj2
= 0 ;
9181 char * kwnames
[] = {
9182 (char *) "self",(char *) "items",(char *) "pos", NULL
9185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9187 if (!SWIG_IsOK(res1
)) {
9188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9190 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9192 if (! PySequence_Check(obj1
)) {
9193 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9196 arg2
= new wxArrayString
;
9198 int i
, len
=PySequence_Length(obj1
);
9199 for (i
=0; i
<len
; i
++) {
9200 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9201 wxString
* s
= wxString_in_helper(item
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9208 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9209 if (!SWIG_IsOK(ecode3
)) {
9210 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9212 arg3
= static_cast< unsigned int >(val3
);
9214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9215 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9216 wxPyEndAllowThreads(__tstate
);
9217 if (PyErr_Occurred()) SWIG_fail
;
9219 resultobj
= SWIG_Py_Void();
9221 if (temp2
) delete arg2
;
9226 if (temp2
) delete arg2
;
9232 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9233 PyObject
*resultobj
= 0;
9234 wxListBox
*arg1
= (wxListBox
*) 0 ;
9235 wxArrayString
*arg2
= 0 ;
9238 bool temp2
= false ;
9239 PyObject
* obj0
= 0 ;
9240 PyObject
* obj1
= 0 ;
9241 char * kwnames
[] = {
9242 (char *) "self",(char *) "items", NULL
9245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9247 if (!SWIG_IsOK(res1
)) {
9248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9250 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9252 if (! PySequence_Check(obj1
)) {
9253 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9256 arg2
= new wxArrayString
;
9258 int i
, len
=PySequence_Length(obj1
);
9259 for (i
=0; i
<len
; i
++) {
9260 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9261 wxString
* s
= wxString_in_helper(item
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9270 (arg1
)->Set((wxArrayString
const &)*arg2
);
9271 wxPyEndAllowThreads(__tstate
);
9272 if (PyErr_Occurred()) SWIG_fail
;
9274 resultobj
= SWIG_Py_Void();
9276 if (temp2
) delete arg2
;
9281 if (temp2
) delete arg2
;
9287 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9288 PyObject
*resultobj
= 0;
9289 wxListBox
*arg1
= (wxListBox
*) 0 ;
9296 PyObject
* obj0
= 0 ;
9297 PyObject
* obj1
= 0 ;
9298 char * kwnames
[] = {
9299 (char *) "self",(char *) "n", NULL
9302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) 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_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
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_IsSelected" "', expected argument " "2"" of type '" "int""'");
9312 arg2
= static_cast< int >(val2
);
9314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9315 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9316 wxPyEndAllowThreads(__tstate
);
9317 if (PyErr_Occurred()) SWIG_fail
;
9320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9328 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9329 PyObject
*resultobj
= 0;
9330 wxListBox
*arg1
= (wxListBox
*) 0 ;
9332 bool arg3
= (bool) true ;
9339 PyObject
* obj0
= 0 ;
9340 PyObject
* obj1
= 0 ;
9341 PyObject
* obj2
= 0 ;
9342 char * kwnames
[] = {
9343 (char *) "self",(char *) "n",(char *) "select", NULL
9346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9348 if (!SWIG_IsOK(res1
)) {
9349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9351 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9352 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9353 if (!SWIG_IsOK(ecode2
)) {
9354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9356 arg2
= static_cast< int >(val2
);
9358 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9359 if (!SWIG_IsOK(ecode3
)) {
9360 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9362 arg3
= static_cast< bool >(val3
);
9365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9366 (arg1
)->SetSelection(arg2
,arg3
);
9367 wxPyEndAllowThreads(__tstate
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9370 resultobj
= SWIG_Py_Void();
9377 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9378 PyObject
*resultobj
= 0;
9379 wxListBox
*arg1
= (wxListBox
*) 0 ;
9385 PyObject
* obj0
= 0 ;
9386 PyObject
* obj1
= 0 ;
9387 char * kwnames
[] = {
9388 (char *) "self",(char *) "n", NULL
9391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9393 if (!SWIG_IsOK(res1
)) {
9394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9396 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9398 if (!SWIG_IsOK(ecode2
)) {
9399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9401 arg2
= static_cast< int >(val2
);
9403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9404 (arg1
)->Select(arg2
);
9405 wxPyEndAllowThreads(__tstate
);
9406 if (PyErr_Occurred()) SWIG_fail
;
9408 resultobj
= SWIG_Py_Void();
9415 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9416 PyObject
*resultobj
= 0;
9417 wxListBox
*arg1
= (wxListBox
*) 0 ;
9423 PyObject
* obj0
= 0 ;
9424 PyObject
* obj1
= 0 ;
9425 char * kwnames
[] = {
9426 (char *) "self",(char *) "n", NULL
9429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9431 if (!SWIG_IsOK(res1
)) {
9432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9434 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9435 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9436 if (!SWIG_IsOK(ecode2
)) {
9437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9439 arg2
= static_cast< int >(val2
);
9441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9442 (arg1
)->Deselect(arg2
);
9443 wxPyEndAllowThreads(__tstate
);
9444 if (PyErr_Occurred()) SWIG_fail
;
9446 resultobj
= SWIG_Py_Void();
9453 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9454 PyObject
*resultobj
= 0;
9455 wxListBox
*arg1
= (wxListBox
*) 0 ;
9456 int arg2
= (int) -1 ;
9461 PyObject
* obj0
= 0 ;
9462 PyObject
* obj1
= 0 ;
9463 char * kwnames
[] = {
9464 (char *) "self",(char *) "itemToLeaveSelected", NULL
9467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) 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_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9472 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9475 if (!SWIG_IsOK(ecode2
)) {
9476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9478 arg2
= static_cast< int >(val2
);
9481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9482 (arg1
)->DeselectAll(arg2
);
9483 wxPyEndAllowThreads(__tstate
);
9484 if (PyErr_Occurred()) SWIG_fail
;
9486 resultobj
= SWIG_Py_Void();
9493 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9494 PyObject
*resultobj
= 0;
9495 wxListBox
*arg1
= (wxListBox
*) 0 ;
9496 wxString
*arg2
= 0 ;
9497 bool arg3
= (bool) true ;
9501 bool temp2
= false ;
9504 PyObject
* obj0
= 0 ;
9505 PyObject
* obj1
= 0 ;
9506 PyObject
* obj2
= 0 ;
9507 char * kwnames
[] = {
9508 (char *) "self",(char *) "s",(char *) "select", NULL
9511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9513 if (!SWIG_IsOK(res1
)) {
9514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9516 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9518 arg2
= wxString_in_helper(obj1
);
9519 if (arg2
== NULL
) SWIG_fail
;
9523 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9524 if (!SWIG_IsOK(ecode3
)) {
9525 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9527 arg3
= static_cast< bool >(val3
);
9530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9531 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9532 wxPyEndAllowThreads(__tstate
);
9533 if (PyErr_Occurred()) SWIG_fail
;
9536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9552 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9553 PyObject
*resultobj
= 0;
9554 wxListBox
*arg1
= (wxListBox
*) 0 ;
9555 PyObject
*result
= 0 ;
9558 PyObject
*swig_obj
[1] ;
9560 if (!args
) SWIG_fail
;
9562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9563 if (!SWIG_IsOK(res1
)) {
9564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9566 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9569 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9570 wxPyEndAllowThreads(__tstate
);
9571 if (PyErr_Occurred()) SWIG_fail
;
9580 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9581 PyObject
*resultobj
= 0;
9582 wxListBox
*arg1
= (wxListBox
*) 0 ;
9588 PyObject
* obj0
= 0 ;
9589 PyObject
* obj1
= 0 ;
9590 char * kwnames
[] = {
9591 (char *) "self",(char *) "n", NULL
9594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9596 if (!SWIG_IsOK(res1
)) {
9597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9599 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9600 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9601 if (!SWIG_IsOK(ecode2
)) {
9602 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9604 arg2
= static_cast< int >(val2
);
9606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9607 (arg1
)->SetFirstItem(arg2
);
9608 wxPyEndAllowThreads(__tstate
);
9609 if (PyErr_Occurred()) SWIG_fail
;
9611 resultobj
= SWIG_Py_Void();
9618 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9619 PyObject
*resultobj
= 0;
9620 wxListBox
*arg1
= (wxListBox
*) 0 ;
9621 wxString
*arg2
= 0 ;
9624 bool temp2
= false ;
9625 PyObject
* obj0
= 0 ;
9626 PyObject
* obj1
= 0 ;
9627 char * kwnames
[] = {
9628 (char *) "self",(char *) "s", NULL
9631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9633 if (!SWIG_IsOK(res1
)) {
9634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9636 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9638 arg2
= wxString_in_helper(obj1
);
9639 if (arg2
== NULL
) SWIG_fail
;
9643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9644 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9645 wxPyEndAllowThreads(__tstate
);
9646 if (PyErr_Occurred()) SWIG_fail
;
9648 resultobj
= SWIG_Py_Void();
9663 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9664 PyObject
*resultobj
= 0;
9665 wxListBox
*arg1
= (wxListBox
*) 0 ;
9671 PyObject
* obj0
= 0 ;
9672 PyObject
* obj1
= 0 ;
9673 char * kwnames
[] = {
9674 (char *) "self",(char *) "n", NULL
9677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9679 if (!SWIG_IsOK(res1
)) {
9680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9682 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9683 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9684 if (!SWIG_IsOK(ecode2
)) {
9685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9687 arg2
= static_cast< int >(val2
);
9689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9690 (arg1
)->EnsureVisible(arg2
);
9691 wxPyEndAllowThreads(__tstate
);
9692 if (PyErr_Occurred()) SWIG_fail
;
9694 resultobj
= SWIG_Py_Void();
9701 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9702 PyObject
*resultobj
= 0;
9703 wxListBox
*arg1
= (wxListBox
*) 0 ;
9704 wxString
*arg2
= 0 ;
9707 bool temp2
= false ;
9708 PyObject
* obj0
= 0 ;
9709 PyObject
* obj1
= 0 ;
9710 char * kwnames
[] = {
9711 (char *) "self",(char *) "s", NULL
9714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9716 if (!SWIG_IsOK(res1
)) {
9717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9719 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9721 arg2
= wxString_in_helper(obj1
);
9722 if (arg2
== NULL
) SWIG_fail
;
9726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9727 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9728 wxPyEndAllowThreads(__tstate
);
9729 if (PyErr_Occurred()) SWIG_fail
;
9731 resultobj
= SWIG_Py_Void();
9746 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9747 PyObject
*resultobj
= 0;
9748 wxListBox
*arg1
= (wxListBox
*) 0 ;
9752 PyObject
*swig_obj
[1] ;
9754 if (!args
) SWIG_fail
;
9756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9757 if (!SWIG_IsOK(res1
)) {
9758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9760 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9763 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9776 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9777 PyObject
*resultobj
= 0;
9778 wxListBox
*arg1
= (wxListBox
*) 0 ;
9784 PyObject
* obj0
= 0 ;
9785 PyObject
* obj1
= 0 ;
9786 char * kwnames
[] = {
9787 (char *) "self",(char *) "pt", NULL
9790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9792 if (!SWIG_IsOK(res1
)) {
9793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9795 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9798 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9802 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9803 wxPyEndAllowThreads(__tstate
);
9804 if (PyErr_Occurred()) SWIG_fail
;
9806 resultobj
= SWIG_From_int(static_cast< int >(result
));
9813 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9814 PyObject
*resultobj
= 0;
9815 wxListBox
*arg1
= (wxListBox
*) 0 ;
9817 wxColour
*arg3
= 0 ;
9823 PyObject
* obj0
= 0 ;
9824 PyObject
* obj1
= 0 ;
9825 PyObject
* obj2
= 0 ;
9826 char * kwnames
[] = {
9827 (char *) "self",(char *) "item",(char *) "c", NULL
9830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9832 if (!SWIG_IsOK(res1
)) {
9833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9835 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9836 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9837 if (!SWIG_IsOK(ecode2
)) {
9838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9840 arg2
= static_cast< int >(val2
);
9843 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9847 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9848 wxPyEndAllowThreads(__tstate
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9851 resultobj
= SWIG_Py_Void();
9858 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9859 PyObject
*resultobj
= 0;
9860 wxListBox
*arg1
= (wxListBox
*) 0 ;
9862 wxColour
*arg3
= 0 ;
9868 PyObject
* obj0
= 0 ;
9869 PyObject
* obj1
= 0 ;
9870 PyObject
* obj2
= 0 ;
9871 char * kwnames
[] = {
9872 (char *) "self",(char *) "item",(char *) "c", NULL
9875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9877 if (!SWIG_IsOK(res1
)) {
9878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9880 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9882 if (!SWIG_IsOK(ecode2
)) {
9883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9885 arg2
= static_cast< int >(val2
);
9888 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9892 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9893 wxPyEndAllowThreads(__tstate
);
9894 if (PyErr_Occurred()) SWIG_fail
;
9896 resultobj
= SWIG_Py_Void();
9903 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9904 PyObject
*resultobj
= 0;
9905 wxListBox
*arg1
= (wxListBox
*) 0 ;
9914 PyObject
* obj0
= 0 ;
9915 PyObject
* obj1
= 0 ;
9916 PyObject
* obj2
= 0 ;
9917 char * kwnames
[] = {
9918 (char *) "self",(char *) "item",(char *) "f", NULL
9921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9923 if (!SWIG_IsOK(res1
)) {
9924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9926 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9927 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9928 if (!SWIG_IsOK(ecode2
)) {
9929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9931 arg2
= static_cast< int >(val2
);
9932 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9933 if (!SWIG_IsOK(res3
)) {
9934 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9937 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9939 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9942 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9943 wxPyEndAllowThreads(__tstate
);
9944 if (PyErr_Occurred()) SWIG_fail
;
9946 resultobj
= SWIG_Py_Void();
9953 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9954 PyObject
*resultobj
= 0;
9955 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9956 SwigValueWrapper
<wxVisualAttributes
> result
;
9959 PyObject
* obj0
= 0 ;
9960 char * kwnames
[] = {
9961 (char *) "variant", NULL
9964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9966 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9967 if (!SWIG_IsOK(ecode1
)) {
9968 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9970 arg1
= static_cast< wxWindowVariant
>(val1
);
9973 if (!wxPyCheckForApp()) SWIG_fail
;
9974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9975 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9976 wxPyEndAllowThreads(__tstate
);
9977 if (PyErr_Occurred()) SWIG_fail
;
9979 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9986 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9988 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9989 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9990 return SWIG_Py_Void();
9993 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9994 return SWIG_Python_InitShadowInstance(args
);
9997 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9998 PyObject
*resultobj
= 0;
9999 wxWindow
*arg1
= (wxWindow
*) 0 ;
10000 int arg2
= (int) -1 ;
10001 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10002 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10003 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10004 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10005 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
10006 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
10007 long arg6
= (long) 0 ;
10008 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10009 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10010 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
10011 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10012 wxCheckListBox
*result
= 0 ;
10019 bool temp5
= false ;
10024 bool temp8
= false ;
10025 PyObject
* obj0
= 0 ;
10026 PyObject
* obj1
= 0 ;
10027 PyObject
* obj2
= 0 ;
10028 PyObject
* obj3
= 0 ;
10029 PyObject
* obj4
= 0 ;
10030 PyObject
* obj5
= 0 ;
10031 PyObject
* obj6
= 0 ;
10032 PyObject
* obj7
= 0 ;
10033 char * kwnames
[] = {
10034 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10039 if (!SWIG_IsOK(res1
)) {
10040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10042 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10044 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10045 if (!SWIG_IsOK(ecode2
)) {
10046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10048 arg2
= static_cast< int >(val2
);
10053 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10059 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10064 if (! PySequence_Check(obj4
)) {
10065 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10068 arg5
= new wxArrayString
;
10070 int i
, len
=PySequence_Length(obj4
);
10071 for (i
=0; i
<len
; i
++) {
10072 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10073 wxString
* s
= wxString_in_helper(item
);
10074 if (PyErr_Occurred()) SWIG_fail
;
10082 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10083 if (!SWIG_IsOK(ecode6
)) {
10084 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10086 arg6
= static_cast< long >(val6
);
10089 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10090 if (!SWIG_IsOK(res7
)) {
10091 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10094 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10096 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10100 arg8
= wxString_in_helper(obj7
);
10101 if (arg8
== NULL
) SWIG_fail
;
10106 if (!wxPyCheckForApp()) SWIG_fail
;
10107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10108 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10109 wxPyEndAllowThreads(__tstate
);
10110 if (PyErr_Occurred()) SWIG_fail
;
10112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10114 if (temp5
) delete arg5
;
10123 if (temp5
) delete arg5
;
10133 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10134 PyObject
*resultobj
= 0;
10135 wxCheckListBox
*result
= 0 ;
10137 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10139 if (!wxPyCheckForApp()) SWIG_fail
;
10140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10141 result
= (wxCheckListBox
*)new wxCheckListBox();
10142 wxPyEndAllowThreads(__tstate
);
10143 if (PyErr_Occurred()) SWIG_fail
;
10145 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10152 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10153 PyObject
*resultobj
= 0;
10154 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10155 wxWindow
*arg2
= (wxWindow
*) 0 ;
10156 int arg3
= (int) -1 ;
10157 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10158 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10159 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10160 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10161 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10162 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10163 long arg7
= (long) 0 ;
10164 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10165 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10166 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10167 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10177 bool temp6
= false ;
10182 bool temp9
= false ;
10183 PyObject
* obj0
= 0 ;
10184 PyObject
* obj1
= 0 ;
10185 PyObject
* obj2
= 0 ;
10186 PyObject
* obj3
= 0 ;
10187 PyObject
* obj4
= 0 ;
10188 PyObject
* obj5
= 0 ;
10189 PyObject
* obj6
= 0 ;
10190 PyObject
* obj7
= 0 ;
10191 PyObject
* obj8
= 0 ;
10192 char * kwnames
[] = {
10193 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10198 if (!SWIG_IsOK(res1
)) {
10199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10201 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10202 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10203 if (!SWIG_IsOK(res2
)) {
10204 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10206 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10208 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10209 if (!SWIG_IsOK(ecode3
)) {
10210 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10212 arg3
= static_cast< int >(val3
);
10217 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10223 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10228 if (! PySequence_Check(obj5
)) {
10229 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10232 arg6
= new wxArrayString
;
10234 int i
, len
=PySequence_Length(obj5
);
10235 for (i
=0; i
<len
; i
++) {
10236 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10237 wxString
* s
= wxString_in_helper(item
);
10238 if (PyErr_Occurred()) SWIG_fail
;
10246 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10247 if (!SWIG_IsOK(ecode7
)) {
10248 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10250 arg7
= static_cast< long >(val7
);
10253 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10254 if (!SWIG_IsOK(res8
)) {
10255 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10258 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10260 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10264 arg9
= wxString_in_helper(obj8
);
10265 if (arg9
== NULL
) SWIG_fail
;
10270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10271 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10272 wxPyEndAllowThreads(__tstate
);
10273 if (PyErr_Occurred()) SWIG_fail
;
10276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10279 if (temp6
) delete arg6
;
10288 if (temp6
) delete arg6
;
10298 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10299 PyObject
*resultobj
= 0;
10300 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10301 unsigned int arg2
;
10305 unsigned int val2
;
10307 PyObject
* obj0
= 0 ;
10308 PyObject
* obj1
= 0 ;
10309 char * kwnames
[] = {
10310 (char *) "self",(char *) "index", NULL
10313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) 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_IsChecked" "', 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_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10323 arg2
= static_cast< unsigned int >(val2
);
10325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10326 result
= (bool)(arg1
)->IsChecked(arg2
);
10327 wxPyEndAllowThreads(__tstate
);
10328 if (PyErr_Occurred()) SWIG_fail
;
10331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10339 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10340 PyObject
*resultobj
= 0;
10341 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10342 unsigned int arg2
;
10343 int arg3
= (int) true ;
10346 unsigned int val2
;
10350 PyObject
* obj0
= 0 ;
10351 PyObject
* obj1
= 0 ;
10352 PyObject
* obj2
= 0 ;
10353 char * kwnames
[] = {
10354 (char *) "self",(char *) "index",(char *) "check", NULL
10357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10359 if (!SWIG_IsOK(res1
)) {
10360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10362 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10363 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10364 if (!SWIG_IsOK(ecode2
)) {
10365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10367 arg2
= static_cast< unsigned int >(val2
);
10369 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10370 if (!SWIG_IsOK(ecode3
)) {
10371 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10373 arg3
= static_cast< int >(val3
);
10376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10377 (arg1
)->Check(arg2
,arg3
);
10378 wxPyEndAllowThreads(__tstate
);
10379 if (PyErr_Occurred()) SWIG_fail
;
10381 resultobj
= SWIG_Py_Void();
10388 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10389 PyObject
*resultobj
= 0;
10390 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10394 PyObject
*swig_obj
[1] ;
10396 if (!args
) SWIG_fail
;
10397 swig_obj
[0] = args
;
10398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10399 if (!SWIG_IsOK(res1
)) {
10400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10402 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10405 result
= (int)(arg1
)->GetItemHeight();
10406 wxPyEndAllowThreads(__tstate
);
10407 if (PyErr_Occurred()) SWIG_fail
;
10409 resultobj
= SWIG_From_int(static_cast< int >(result
));
10416 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10418 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10419 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10420 return SWIG_Py_Void();
10423 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10424 return SWIG_Python_InitShadowInstance(args
);
10427 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10428 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10433 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10434 PyObject
*pyobj
= 0;
10438 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10440 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10447 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10448 PyObject
*resultobj
= 0;
10449 wxColour
const &arg1_defvalue
= wxNullColour
;
10450 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10451 wxColour
const &arg2_defvalue
= wxNullColour
;
10452 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10453 wxFont
const &arg3_defvalue
= wxNullFont
;
10454 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10455 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10456 wxTextAttr
*result
= 0 ;
10463 PyObject
* obj0
= 0 ;
10464 PyObject
* obj1
= 0 ;
10465 PyObject
* obj2
= 0 ;
10466 PyObject
* obj3
= 0 ;
10467 char * kwnames
[] = {
10468 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10475 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10481 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10485 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10486 if (!SWIG_IsOK(res3
)) {
10487 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10492 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10495 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10496 if (!SWIG_IsOK(ecode4
)) {
10497 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10499 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10503 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10504 wxPyEndAllowThreads(__tstate
);
10505 if (PyErr_Occurred()) SWIG_fail
;
10507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10514 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10515 PyObject
*resultobj
= 0;
10516 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10519 PyObject
*swig_obj
[1] ;
10521 if (!args
) SWIG_fail
;
10522 swig_obj
[0] = args
;
10523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10524 if (!SWIG_IsOK(res1
)) {
10525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10527 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 wxPyEndAllowThreads(__tstate
);
10533 if (PyErr_Occurred()) SWIG_fail
;
10535 resultobj
= SWIG_Py_Void();
10542 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10543 PyObject
*resultobj
= 0;
10544 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10547 PyObject
*swig_obj
[1] ;
10549 if (!args
) SWIG_fail
;
10550 swig_obj
[0] = args
;
10551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10552 if (!SWIG_IsOK(res1
)) {
10553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10555 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10559 wxPyEndAllowThreads(__tstate
);
10560 if (PyErr_Occurred()) SWIG_fail
;
10562 resultobj
= SWIG_Py_Void();
10569 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10570 PyObject
*resultobj
= 0;
10571 wxTextAttr
*arg1
= 0 ;
10572 wxTextAttr
*arg2
= 0 ;
10578 PyObject
* obj0
= 0 ;
10579 PyObject
* obj1
= 0 ;
10580 char * kwnames
[] = {
10581 (char *) "base",(char *) "overlay", NULL
10584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10585 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10586 if (!SWIG_IsOK(res1
)) {
10587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10592 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10593 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10594 if (!SWIG_IsOK(res2
)) {
10595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10598 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10600 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10604 wxPyEndAllowThreads(__tstate
);
10605 if (PyErr_Occurred()) SWIG_fail
;
10607 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10614 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10615 PyObject
*resultobj
= 0;
10616 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10617 wxColour
*arg2
= 0 ;
10621 PyObject
* obj0
= 0 ;
10622 PyObject
* obj1
= 0 ;
10623 char * kwnames
[] = {
10624 (char *) "self",(char *) "colText", NULL
10627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10629 if (!SWIG_IsOK(res1
)) {
10630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10632 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10635 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10639 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10640 wxPyEndAllowThreads(__tstate
);
10641 if (PyErr_Occurred()) SWIG_fail
;
10643 resultobj
= SWIG_Py_Void();
10650 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10651 PyObject
*resultobj
= 0;
10652 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10653 wxColour
*arg2
= 0 ;
10657 PyObject
* obj0
= 0 ;
10658 PyObject
* obj1
= 0 ;
10659 char * kwnames
[] = {
10660 (char *) "self",(char *) "colBack", NULL
10663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10665 if (!SWIG_IsOK(res1
)) {
10666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10668 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10671 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10675 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10676 wxPyEndAllowThreads(__tstate
);
10677 if (PyErr_Occurred()) SWIG_fail
;
10679 resultobj
= SWIG_Py_Void();
10686 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10687 PyObject
*resultobj
= 0;
10688 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10690 long arg3
= (long) wxTEXT_ATTR_FONT
;
10697 PyObject
* obj0
= 0 ;
10698 PyObject
* obj1
= 0 ;
10699 PyObject
* obj2
= 0 ;
10700 char * kwnames
[] = {
10701 (char *) "self",(char *) "font",(char *) "flags", NULL
10704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10706 if (!SWIG_IsOK(res1
)) {
10707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10709 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10710 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10711 if (!SWIG_IsOK(res2
)) {
10712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10715 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10717 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10719 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10720 if (!SWIG_IsOK(ecode3
)) {
10721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10723 arg3
= static_cast< long >(val3
);
10726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10727 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10728 wxPyEndAllowThreads(__tstate
);
10729 if (PyErr_Occurred()) SWIG_fail
;
10731 resultobj
= SWIG_Py_Void();
10738 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10739 PyObject
*resultobj
= 0;
10740 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10741 wxTextAttrAlignment arg2
;
10746 PyObject
* obj0
= 0 ;
10747 PyObject
* obj1
= 0 ;
10748 char * kwnames
[] = {
10749 (char *) "self",(char *) "alignment", NULL
10752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10754 if (!SWIG_IsOK(res1
)) {
10755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10757 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10758 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10759 if (!SWIG_IsOK(ecode2
)) {
10760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10762 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10765 (arg1
)->SetAlignment(arg2
);
10766 wxPyEndAllowThreads(__tstate
);
10767 if (PyErr_Occurred()) SWIG_fail
;
10769 resultobj
= SWIG_Py_Void();
10776 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10777 PyObject
*resultobj
= 0;
10778 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10779 wxArrayInt
*arg2
= 0 ;
10782 bool temp2
= false ;
10783 PyObject
* obj0
= 0 ;
10784 PyObject
* obj1
= 0 ;
10785 char * kwnames
[] = {
10786 (char *) "self",(char *) "tabs", NULL
10789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10791 if (!SWIG_IsOK(res1
)) {
10792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10794 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10796 if (! PySequence_Check(obj1
)) {
10797 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10800 arg2
= new wxArrayInt
;
10802 int i
, len
=PySequence_Length(obj1
);
10803 for (i
=0; i
<len
; i
++) {
10804 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10805 PyObject
* number
= PyNumber_Int(item
);
10806 arg2
->Add(PyInt_AS_LONG(number
));
10812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10813 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10814 wxPyEndAllowThreads(__tstate
);
10815 if (PyErr_Occurred()) SWIG_fail
;
10817 resultobj
= SWIG_Py_Void();
10819 if (temp2
) delete arg2
;
10824 if (temp2
) delete arg2
;
10830 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10831 PyObject
*resultobj
= 0;
10832 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10834 int arg3
= (int) 0 ;
10841 PyObject
* obj0
= 0 ;
10842 PyObject
* obj1
= 0 ;
10843 PyObject
* obj2
= 0 ;
10844 char * kwnames
[] = {
10845 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10850 if (!SWIG_IsOK(res1
)) {
10851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10853 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10854 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10855 if (!SWIG_IsOK(ecode2
)) {
10856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10858 arg2
= static_cast< int >(val2
);
10860 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10861 if (!SWIG_IsOK(ecode3
)) {
10862 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10864 arg3
= static_cast< int >(val3
);
10867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10868 (arg1
)->SetLeftIndent(arg2
,arg3
);
10869 wxPyEndAllowThreads(__tstate
);
10870 if (PyErr_Occurred()) SWIG_fail
;
10872 resultobj
= SWIG_Py_Void();
10879 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10880 PyObject
*resultobj
= 0;
10881 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10887 PyObject
* obj0
= 0 ;
10888 PyObject
* obj1
= 0 ;
10889 char * kwnames
[] = {
10890 (char *) "self",(char *) "indent", NULL
10893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10895 if (!SWIG_IsOK(res1
)) {
10896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10898 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10899 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10900 if (!SWIG_IsOK(ecode2
)) {
10901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10903 arg2
= static_cast< int >(val2
);
10905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10906 (arg1
)->SetRightIndent(arg2
);
10907 wxPyEndAllowThreads(__tstate
);
10908 if (PyErr_Occurred()) SWIG_fail
;
10910 resultobj
= SWIG_Py_Void();
10917 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10918 PyObject
*resultobj
= 0;
10919 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10925 PyObject
* obj0
= 0 ;
10926 PyObject
* obj1
= 0 ;
10927 char * kwnames
[] = {
10928 (char *) "self",(char *) "flags", NULL
10931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10933 if (!SWIG_IsOK(res1
)) {
10934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10936 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10937 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10938 if (!SWIG_IsOK(ecode2
)) {
10939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10941 arg2
= static_cast< long >(val2
);
10943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10944 (arg1
)->SetFlags(arg2
);
10945 wxPyEndAllowThreads(__tstate
);
10946 if (PyErr_Occurred()) SWIG_fail
;
10948 resultobj
= SWIG_Py_Void();
10955 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10956 PyObject
*resultobj
= 0;
10957 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10961 PyObject
*swig_obj
[1] ;
10963 if (!args
) SWIG_fail
;
10964 swig_obj
[0] = args
;
10965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10966 if (!SWIG_IsOK(res1
)) {
10967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10969 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10972 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10973 wxPyEndAllowThreads(__tstate
);
10974 if (PyErr_Occurred()) SWIG_fail
;
10977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10985 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10986 PyObject
*resultobj
= 0;
10987 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10991 PyObject
*swig_obj
[1] ;
10993 if (!args
) SWIG_fail
;
10994 swig_obj
[0] = args
;
10995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10996 if (!SWIG_IsOK(res1
)) {
10997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10999 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11002 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
11003 wxPyEndAllowThreads(__tstate
);
11004 if (PyErr_Occurred()) SWIG_fail
;
11007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11015 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11016 PyObject
*resultobj
= 0;
11017 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11021 PyObject
*swig_obj
[1] ;
11023 if (!args
) SWIG_fail
;
11024 swig_obj
[0] = args
;
11025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11026 if (!SWIG_IsOK(res1
)) {
11027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11029 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11032 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11033 wxPyEndAllowThreads(__tstate
);
11034 if (PyErr_Occurred()) SWIG_fail
;
11037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11045 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11046 PyObject
*resultobj
= 0;
11047 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11051 PyObject
*swig_obj
[1] ;
11053 if (!args
) SWIG_fail
;
11054 swig_obj
[0] = args
;
11055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11056 if (!SWIG_IsOK(res1
)) {
11057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11059 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11062 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11063 wxPyEndAllowThreads(__tstate
);
11064 if (PyErr_Occurred()) SWIG_fail
;
11067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11075 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11076 PyObject
*resultobj
= 0;
11077 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11081 PyObject
*swig_obj
[1] ;
11083 if (!args
) SWIG_fail
;
11084 swig_obj
[0] = args
;
11085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11086 if (!SWIG_IsOK(res1
)) {
11087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11089 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11092 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11093 wxPyEndAllowThreads(__tstate
);
11094 if (PyErr_Occurred()) SWIG_fail
;
11097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11105 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11106 PyObject
*resultobj
= 0;
11107 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11111 PyObject
*swig_obj
[1] ;
11113 if (!args
) SWIG_fail
;
11114 swig_obj
[0] = args
;
11115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11116 if (!SWIG_IsOK(res1
)) {
11117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11119 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11122 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11123 wxPyEndAllowThreads(__tstate
);
11124 if (PyErr_Occurred()) SWIG_fail
;
11127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11135 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11136 PyObject
*resultobj
= 0;
11137 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11141 PyObject
*swig_obj
[1] ;
11143 if (!args
) SWIG_fail
;
11144 swig_obj
[0] = args
;
11145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11146 if (!SWIG_IsOK(res1
)) {
11147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11149 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11152 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11153 wxPyEndAllowThreads(__tstate
);
11154 if (PyErr_Occurred()) SWIG_fail
;
11157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11165 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11166 PyObject
*resultobj
= 0;
11167 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11174 PyObject
* obj0
= 0 ;
11175 PyObject
* obj1
= 0 ;
11176 char * kwnames
[] = {
11177 (char *) "self",(char *) "flag", NULL
11180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11182 if (!SWIG_IsOK(res1
)) {
11183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11185 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11186 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11187 if (!SWIG_IsOK(ecode2
)) {
11188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11190 arg2
= static_cast< long >(val2
);
11192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11193 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11194 wxPyEndAllowThreads(__tstate
);
11195 if (PyErr_Occurred()) SWIG_fail
;
11198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11206 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11207 PyObject
*resultobj
= 0;
11208 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11209 wxColour
*result
= 0 ;
11212 PyObject
*swig_obj
[1] ;
11214 if (!args
) SWIG_fail
;
11215 swig_obj
[0] = args
;
11216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11217 if (!SWIG_IsOK(res1
)) {
11218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11220 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11224 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11225 result
= (wxColour
*) &_result_ref
;
11227 wxPyEndAllowThreads(__tstate
);
11228 if (PyErr_Occurred()) SWIG_fail
;
11230 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11237 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11238 PyObject
*resultobj
= 0;
11239 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11240 wxColour
*result
= 0 ;
11243 PyObject
*swig_obj
[1] ;
11245 if (!args
) SWIG_fail
;
11246 swig_obj
[0] = args
;
11247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11248 if (!SWIG_IsOK(res1
)) {
11249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11251 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11255 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11256 result
= (wxColour
*) &_result_ref
;
11258 wxPyEndAllowThreads(__tstate
);
11259 if (PyErr_Occurred()) SWIG_fail
;
11261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11268 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11269 PyObject
*resultobj
= 0;
11270 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11271 wxFont
*result
= 0 ;
11274 PyObject
*swig_obj
[1] ;
11276 if (!args
) SWIG_fail
;
11277 swig_obj
[0] = args
;
11278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11279 if (!SWIG_IsOK(res1
)) {
11280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11282 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11286 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11287 result
= (wxFont
*) &_result_ref
;
11289 wxPyEndAllowThreads(__tstate
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11293 wxFont
* resultptr
= new wxFont(*result
);
11294 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11302 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11303 PyObject
*resultobj
= 0;
11304 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11305 wxTextAttrAlignment result
;
11308 PyObject
*swig_obj
[1] ;
11310 if (!args
) SWIG_fail
;
11311 swig_obj
[0] = args
;
11312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11313 if (!SWIG_IsOK(res1
)) {
11314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11316 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11319 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11320 wxPyEndAllowThreads(__tstate
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11323 resultobj
= SWIG_From_int(static_cast< int >(result
));
11330 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11331 PyObject
*resultobj
= 0;
11332 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11333 wxArrayInt
*result
= 0 ;
11336 PyObject
*swig_obj
[1] ;
11338 if (!args
) SWIG_fail
;
11339 swig_obj
[0] = args
;
11340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11341 if (!SWIG_IsOK(res1
)) {
11342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11344 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11348 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11349 result
= (wxArrayInt
*) &_result_ref
;
11351 wxPyEndAllowThreads(__tstate
);
11352 if (PyErr_Occurred()) SWIG_fail
;
11355 resultobj
= PyList_New(0);
11357 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
11358 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
11359 PyList_Append(resultobj
, val
);
11369 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11370 PyObject
*resultobj
= 0;
11371 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11375 PyObject
*swig_obj
[1] ;
11377 if (!args
) SWIG_fail
;
11378 swig_obj
[0] = args
;
11379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11380 if (!SWIG_IsOK(res1
)) {
11381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11383 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11386 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11387 wxPyEndAllowThreads(__tstate
);
11388 if (PyErr_Occurred()) SWIG_fail
;
11390 resultobj
= SWIG_From_long(static_cast< long >(result
));
11397 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11398 PyObject
*resultobj
= 0;
11399 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11403 PyObject
*swig_obj
[1] ;
11405 if (!args
) SWIG_fail
;
11406 swig_obj
[0] = args
;
11407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11408 if (!SWIG_IsOK(res1
)) {
11409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11411 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11414 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11415 wxPyEndAllowThreads(__tstate
);
11416 if (PyErr_Occurred()) SWIG_fail
;
11418 resultobj
= SWIG_From_long(static_cast< long >(result
));
11425 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11426 PyObject
*resultobj
= 0;
11427 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11431 PyObject
*swig_obj
[1] ;
11433 if (!args
) SWIG_fail
;
11434 swig_obj
[0] = args
;
11435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11436 if (!SWIG_IsOK(res1
)) {
11437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11439 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11442 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11443 wxPyEndAllowThreads(__tstate
);
11444 if (PyErr_Occurred()) SWIG_fail
;
11446 resultobj
= SWIG_From_long(static_cast< long >(result
));
11453 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11454 PyObject
*resultobj
= 0;
11455 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11459 PyObject
*swig_obj
[1] ;
11461 if (!args
) SWIG_fail
;
11462 swig_obj
[0] = args
;
11463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11464 if (!SWIG_IsOK(res1
)) {
11465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11467 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11470 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11471 wxPyEndAllowThreads(__tstate
);
11472 if (PyErr_Occurred()) SWIG_fail
;
11474 resultobj
= SWIG_From_long(static_cast< long >(result
));
11481 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11482 PyObject
*resultobj
= 0;
11483 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11487 PyObject
*swig_obj
[1] ;
11489 if (!args
) SWIG_fail
;
11490 swig_obj
[0] = args
;
11491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11492 if (!SWIG_IsOK(res1
)) {
11493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11495 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11498 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11499 wxPyEndAllowThreads(__tstate
);
11500 if (PyErr_Occurred()) SWIG_fail
;
11503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11511 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11512 PyObject
*resultobj
= 0;
11513 wxTextAttr
*arg1
= 0 ;
11514 wxTextAttr
*arg2
= 0 ;
11515 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11523 PyObject
* obj0
= 0 ;
11524 PyObject
* obj1
= 0 ;
11525 PyObject
* obj2
= 0 ;
11526 char * kwnames
[] = {
11527 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11531 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11532 if (!SWIG_IsOK(res1
)) {
11533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11536 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11538 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11539 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11540 if (!SWIG_IsOK(res2
)) {
11541 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11544 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11546 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11547 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11548 if (!SWIG_IsOK(res3
)) {
11549 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11551 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11554 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11555 wxPyEndAllowThreads(__tstate
);
11556 if (PyErr_Occurred()) SWIG_fail
;
11558 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11565 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11567 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11568 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11569 return SWIG_Py_Void();
11572 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11573 return SWIG_Python_InitShadowInstance(args
);
11576 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11577 PyObject
*resultobj
= 0;
11578 wxWindow
*arg1
= (wxWindow
*) 0 ;
11579 int arg2
= (int) -1 ;
11580 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11581 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11582 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11583 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11584 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11585 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11586 long arg6
= (long) 0 ;
11587 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11588 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11589 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11590 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11591 wxTextCtrl
*result
= 0 ;
11596 bool temp3
= false ;
11603 bool temp8
= false ;
11604 PyObject
* obj0
= 0 ;
11605 PyObject
* obj1
= 0 ;
11606 PyObject
* obj2
= 0 ;
11607 PyObject
* obj3
= 0 ;
11608 PyObject
* obj4
= 0 ;
11609 PyObject
* obj5
= 0 ;
11610 PyObject
* obj6
= 0 ;
11611 PyObject
* obj7
= 0 ;
11612 char * kwnames
[] = {
11613 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11618 if (!SWIG_IsOK(res1
)) {
11619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11621 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11624 if (!SWIG_IsOK(ecode2
)) {
11625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11627 arg2
= static_cast< int >(val2
);
11631 arg3
= wxString_in_helper(obj2
);
11632 if (arg3
== NULL
) SWIG_fail
;
11639 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11645 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11649 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11650 if (!SWIG_IsOK(ecode6
)) {
11651 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11653 arg6
= static_cast< long >(val6
);
11656 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11657 if (!SWIG_IsOK(res7
)) {
11658 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11661 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11663 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11667 arg8
= wxString_in_helper(obj7
);
11668 if (arg8
== NULL
) SWIG_fail
;
11673 if (!wxPyCheckForApp()) SWIG_fail
;
11674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11675 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11676 wxPyEndAllowThreads(__tstate
);
11677 if (PyErr_Occurred()) SWIG_fail
;
11679 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11702 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11703 PyObject
*resultobj
= 0;
11704 wxTextCtrl
*result
= 0 ;
11706 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11708 if (!wxPyCheckForApp()) SWIG_fail
;
11709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11710 result
= (wxTextCtrl
*)new wxTextCtrl();
11711 wxPyEndAllowThreads(__tstate
);
11712 if (PyErr_Occurred()) SWIG_fail
;
11714 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11721 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11722 PyObject
*resultobj
= 0;
11723 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11724 wxWindow
*arg2
= (wxWindow
*) 0 ;
11725 int arg3
= (int) -1 ;
11726 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11727 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11728 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11729 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11730 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11731 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11732 long arg7
= (long) 0 ;
11733 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11734 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11735 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11736 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11744 bool temp4
= false ;
11751 bool temp9
= false ;
11752 PyObject
* obj0
= 0 ;
11753 PyObject
* obj1
= 0 ;
11754 PyObject
* obj2
= 0 ;
11755 PyObject
* obj3
= 0 ;
11756 PyObject
* obj4
= 0 ;
11757 PyObject
* obj5
= 0 ;
11758 PyObject
* obj6
= 0 ;
11759 PyObject
* obj7
= 0 ;
11760 PyObject
* obj8
= 0 ;
11761 char * kwnames
[] = {
11762 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11767 if (!SWIG_IsOK(res1
)) {
11768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11770 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11771 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11772 if (!SWIG_IsOK(res2
)) {
11773 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11775 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11777 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11778 if (!SWIG_IsOK(ecode3
)) {
11779 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11781 arg3
= static_cast< int >(val3
);
11785 arg4
= wxString_in_helper(obj3
);
11786 if (arg4
== NULL
) SWIG_fail
;
11793 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11799 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11803 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11804 if (!SWIG_IsOK(ecode7
)) {
11805 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11807 arg7
= static_cast< long >(val7
);
11810 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11811 if (!SWIG_IsOK(res8
)) {
11812 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11815 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11817 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11821 arg9
= wxString_in_helper(obj8
);
11822 if (arg9
== NULL
) SWIG_fail
;
11827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11828 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11829 wxPyEndAllowThreads(__tstate
);
11830 if (PyErr_Occurred()) SWIG_fail
;
11833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11857 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11858 PyObject
*resultobj
= 0;
11859 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11863 PyObject
*swig_obj
[1] ;
11865 if (!args
) SWIG_fail
;
11866 swig_obj
[0] = args
;
11867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11868 if (!SWIG_IsOK(res1
)) {
11869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11871 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11874 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11875 wxPyEndAllowThreads(__tstate
);
11876 if (PyErr_Occurred()) SWIG_fail
;
11880 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11882 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11891 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11892 PyObject
*resultobj
= 0;
11893 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11894 wxString
*arg2
= 0 ;
11897 bool temp2
= false ;
11898 PyObject
* obj0
= 0 ;
11899 PyObject
* obj1
= 0 ;
11900 char * kwnames
[] = {
11901 (char *) "self",(char *) "value", NULL
11904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11906 if (!SWIG_IsOK(res1
)) {
11907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11909 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11911 arg2
= wxString_in_helper(obj1
);
11912 if (arg2
== NULL
) SWIG_fail
;
11916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11917 (arg1
)->SetValue((wxString
const &)*arg2
);
11918 wxPyEndAllowThreads(__tstate
);
11919 if (PyErr_Occurred()) SWIG_fail
;
11921 resultobj
= SWIG_Py_Void();
11936 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11937 PyObject
*resultobj
= 0;
11938 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11948 PyObject
* obj0
= 0 ;
11949 PyObject
* obj1
= 0 ;
11950 PyObject
* obj2
= 0 ;
11951 char * kwnames
[] = {
11952 (char *) "self",(char *) "from",(char *) "to", NULL
11955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11957 if (!SWIG_IsOK(res1
)) {
11958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11960 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11961 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11962 if (!SWIG_IsOK(ecode2
)) {
11963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11965 arg2
= static_cast< long >(val2
);
11966 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11967 if (!SWIG_IsOK(ecode3
)) {
11968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11970 arg3
= static_cast< long >(val3
);
11972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11973 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
11974 wxPyEndAllowThreads(__tstate
);
11975 if (PyErr_Occurred()) SWIG_fail
;
11979 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11981 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11990 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11991 PyObject
*resultobj
= 0;
11992 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11999 PyObject
* obj0
= 0 ;
12000 PyObject
* obj1
= 0 ;
12001 char * kwnames
[] = {
12002 (char *) "self",(char *) "lineNo", NULL
12005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12007 if (!SWIG_IsOK(res1
)) {
12008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12010 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12011 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12012 if (!SWIG_IsOK(ecode2
)) {
12013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12015 arg2
= static_cast< long >(val2
);
12017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12018 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12019 wxPyEndAllowThreads(__tstate
);
12020 if (PyErr_Occurred()) SWIG_fail
;
12022 resultobj
= SWIG_From_int(static_cast< int >(result
));
12029 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12030 PyObject
*resultobj
= 0;
12031 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12038 PyObject
* obj0
= 0 ;
12039 PyObject
* obj1
= 0 ;
12040 char * kwnames
[] = {
12041 (char *) "self",(char *) "lineNo", NULL
12044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12046 if (!SWIG_IsOK(res1
)) {
12047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12049 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12050 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12051 if (!SWIG_IsOK(ecode2
)) {
12052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12054 arg2
= static_cast< long >(val2
);
12056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12057 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12058 wxPyEndAllowThreads(__tstate
);
12059 if (PyErr_Occurred()) SWIG_fail
;
12063 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12065 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12074 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12075 PyObject
*resultobj
= 0;
12076 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12080 PyObject
*swig_obj
[1] ;
12082 if (!args
) SWIG_fail
;
12083 swig_obj
[0] = args
;
12084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12085 if (!SWIG_IsOK(res1
)) {
12086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12088 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12091 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12092 wxPyEndAllowThreads(__tstate
);
12093 if (PyErr_Occurred()) SWIG_fail
;
12095 resultobj
= SWIG_From_int(static_cast< int >(result
));
12102 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12103 PyObject
*resultobj
= 0;
12104 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12108 PyObject
*swig_obj
[1] ;
12110 if (!args
) SWIG_fail
;
12111 swig_obj
[0] = args
;
12112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12113 if (!SWIG_IsOK(res1
)) {
12114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12116 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12119 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12120 wxPyEndAllowThreads(__tstate
);
12121 if (PyErr_Occurred()) SWIG_fail
;
12124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12132 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12133 PyObject
*resultobj
= 0;
12134 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12138 PyObject
*swig_obj
[1] ;
12140 if (!args
) SWIG_fail
;
12141 swig_obj
[0] = args
;
12142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12143 if (!SWIG_IsOK(res1
)) {
12144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12146 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12149 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12150 wxPyEndAllowThreads(__tstate
);
12151 if (PyErr_Occurred()) SWIG_fail
;
12154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12162 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12163 PyObject
*resultobj
= 0;
12164 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12168 PyObject
*swig_obj
[1] ;
12170 if (!args
) SWIG_fail
;
12171 swig_obj
[0] = args
;
12172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12173 if (!SWIG_IsOK(res1
)) {
12174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12176 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12179 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12180 wxPyEndAllowThreads(__tstate
);
12181 if (PyErr_Occurred()) SWIG_fail
;
12184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12192 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12193 PyObject
*resultobj
= 0;
12194 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12198 PyObject
*swig_obj
[1] ;
12200 if (!args
) SWIG_fail
;
12201 swig_obj
[0] = args
;
12202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12203 if (!SWIG_IsOK(res1
)) {
12204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12206 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12209 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12210 wxPyEndAllowThreads(__tstate
);
12211 if (PyErr_Occurred()) SWIG_fail
;
12214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12222 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12223 PyObject
*resultobj
= 0;
12224 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12225 long *arg2
= (long *) 0 ;
12226 long *arg3
= (long *) 0 ;
12230 int res2
= SWIG_TMPOBJ
;
12232 int res3
= SWIG_TMPOBJ
;
12233 PyObject
*swig_obj
[1] ;
12237 if (!args
) SWIG_fail
;
12238 swig_obj
[0] = args
;
12239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12240 if (!SWIG_IsOK(res1
)) {
12241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12243 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12246 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12247 wxPyEndAllowThreads(__tstate
);
12248 if (PyErr_Occurred()) SWIG_fail
;
12250 resultobj
= SWIG_Py_Void();
12251 if (SWIG_IsTmpObj(res2
)) {
12252 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12254 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12255 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12257 if (SWIG_IsTmpObj(res3
)) {
12258 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12260 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12261 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12269 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12270 PyObject
*resultobj
= 0;
12271 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12275 PyObject
*swig_obj
[1] ;
12277 if (!args
) SWIG_fail
;
12278 swig_obj
[0] = args
;
12279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12280 if (!SWIG_IsOK(res1
)) {
12281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12283 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12286 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12287 wxPyEndAllowThreads(__tstate
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12292 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12294 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12303 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12304 PyObject
*resultobj
= 0;
12305 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12308 PyObject
*swig_obj
[1] ;
12310 if (!args
) SWIG_fail
;
12311 swig_obj
[0] = args
;
12312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12313 if (!SWIG_IsOK(res1
)) {
12314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12316 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12320 wxPyEndAllowThreads(__tstate
);
12321 if (PyErr_Occurred()) SWIG_fail
;
12323 resultobj
= SWIG_Py_Void();
12330 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12331 PyObject
*resultobj
= 0;
12332 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12335 wxString
*arg4
= 0 ;
12342 bool temp4
= false ;
12343 PyObject
* obj0
= 0 ;
12344 PyObject
* obj1
= 0 ;
12345 PyObject
* obj2
= 0 ;
12346 PyObject
* obj3
= 0 ;
12347 char * kwnames
[] = {
12348 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12353 if (!SWIG_IsOK(res1
)) {
12354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12356 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12357 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12358 if (!SWIG_IsOK(ecode2
)) {
12359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12361 arg2
= static_cast< long >(val2
);
12362 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12363 if (!SWIG_IsOK(ecode3
)) {
12364 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12366 arg3
= static_cast< long >(val3
);
12368 arg4
= wxString_in_helper(obj3
);
12369 if (arg4
== NULL
) SWIG_fail
;
12373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12374 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12375 wxPyEndAllowThreads(__tstate
);
12376 if (PyErr_Occurred()) SWIG_fail
;
12378 resultobj
= SWIG_Py_Void();
12393 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12394 PyObject
*resultobj
= 0;
12395 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12404 PyObject
* obj0
= 0 ;
12405 PyObject
* obj1
= 0 ;
12406 PyObject
* obj2
= 0 ;
12407 char * kwnames
[] = {
12408 (char *) "self",(char *) "from",(char *) "to", NULL
12411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12413 if (!SWIG_IsOK(res1
)) {
12414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12416 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12417 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12418 if (!SWIG_IsOK(ecode2
)) {
12419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12421 arg2
= static_cast< long >(val2
);
12422 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12423 if (!SWIG_IsOK(ecode3
)) {
12424 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12426 arg3
= static_cast< long >(val3
);
12428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12429 (arg1
)->Remove(arg2
,arg3
);
12430 wxPyEndAllowThreads(__tstate
);
12431 if (PyErr_Occurred()) SWIG_fail
;
12433 resultobj
= SWIG_Py_Void();
12440 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12441 PyObject
*resultobj
= 0;
12442 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12443 wxString
*arg2
= 0 ;
12447 bool temp2
= false ;
12448 PyObject
* obj0
= 0 ;
12449 PyObject
* obj1
= 0 ;
12450 char * kwnames
[] = {
12451 (char *) "self",(char *) "file", NULL
12454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12456 if (!SWIG_IsOK(res1
)) {
12457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12459 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12461 arg2
= wxString_in_helper(obj1
);
12462 if (arg2
== NULL
) SWIG_fail
;
12466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12467 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
12468 wxPyEndAllowThreads(__tstate
);
12469 if (PyErr_Occurred()) SWIG_fail
;
12472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12488 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12489 PyObject
*resultobj
= 0;
12490 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12491 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12492 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12496 bool temp2
= false ;
12497 PyObject
* obj0
= 0 ;
12498 PyObject
* obj1
= 0 ;
12499 char * kwnames
[] = {
12500 (char *) "self",(char *) "file", NULL
12503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12505 if (!SWIG_IsOK(res1
)) {
12506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12508 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12511 arg2
= wxString_in_helper(obj1
);
12512 if (arg2
== NULL
) SWIG_fail
;
12517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12518 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
12519 wxPyEndAllowThreads(__tstate
);
12520 if (PyErr_Occurred()) SWIG_fail
;
12523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12539 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12540 PyObject
*resultobj
= 0;
12541 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12544 PyObject
*swig_obj
[1] ;
12546 if (!args
) SWIG_fail
;
12547 swig_obj
[0] = args
;
12548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12549 if (!SWIG_IsOK(res1
)) {
12550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12552 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12555 (arg1
)->MarkDirty();
12556 wxPyEndAllowThreads(__tstate
);
12557 if (PyErr_Occurred()) SWIG_fail
;
12559 resultobj
= SWIG_Py_Void();
12566 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12567 PyObject
*resultobj
= 0;
12568 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12571 PyObject
*swig_obj
[1] ;
12573 if (!args
) SWIG_fail
;
12574 swig_obj
[0] = args
;
12575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12576 if (!SWIG_IsOK(res1
)) {
12577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12579 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12582 (arg1
)->DiscardEdits();
12583 wxPyEndAllowThreads(__tstate
);
12584 if (PyErr_Occurred()) SWIG_fail
;
12586 resultobj
= SWIG_Py_Void();
12593 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12594 PyObject
*resultobj
= 0;
12595 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12601 PyObject
* obj0
= 0 ;
12602 PyObject
* obj1
= 0 ;
12603 char * kwnames
[] = {
12604 (char *) "self",(char *) "modified", NULL
12607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12609 if (!SWIG_IsOK(res1
)) {
12610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12612 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12613 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12614 if (!SWIG_IsOK(ecode2
)) {
12615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12617 arg2
= static_cast< bool >(val2
);
12619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12620 (arg1
)->SetModified(arg2
);
12621 wxPyEndAllowThreads(__tstate
);
12622 if (PyErr_Occurred()) SWIG_fail
;
12624 resultobj
= SWIG_Py_Void();
12631 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12632 PyObject
*resultobj
= 0;
12633 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12634 unsigned long arg2
;
12637 unsigned long val2
;
12639 PyObject
* obj0
= 0 ;
12640 PyObject
* obj1
= 0 ;
12641 char * kwnames
[] = {
12642 (char *) "self",(char *) "len", NULL
12645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12647 if (!SWIG_IsOK(res1
)) {
12648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12650 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12651 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12652 if (!SWIG_IsOK(ecode2
)) {
12653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12655 arg2
= static_cast< unsigned long >(val2
);
12657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12658 (arg1
)->SetMaxLength(arg2
);
12659 wxPyEndAllowThreads(__tstate
);
12660 if (PyErr_Occurred()) SWIG_fail
;
12662 resultobj
= SWIG_Py_Void();
12669 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12670 PyObject
*resultobj
= 0;
12671 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12672 wxString
*arg2
= 0 ;
12675 bool temp2
= false ;
12676 PyObject
* obj0
= 0 ;
12677 PyObject
* obj1
= 0 ;
12678 char * kwnames
[] = {
12679 (char *) "self",(char *) "text", NULL
12682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12684 if (!SWIG_IsOK(res1
)) {
12685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12687 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12689 arg2
= wxString_in_helper(obj1
);
12690 if (arg2
== NULL
) SWIG_fail
;
12694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12695 (arg1
)->WriteText((wxString
const &)*arg2
);
12696 wxPyEndAllowThreads(__tstate
);
12697 if (PyErr_Occurred()) SWIG_fail
;
12699 resultobj
= SWIG_Py_Void();
12714 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12715 PyObject
*resultobj
= 0;
12716 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12717 wxString
*arg2
= 0 ;
12720 bool temp2
= false ;
12721 PyObject
* obj0
= 0 ;
12722 PyObject
* obj1
= 0 ;
12723 char * kwnames
[] = {
12724 (char *) "self",(char *) "text", NULL
12727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12729 if (!SWIG_IsOK(res1
)) {
12730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12732 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12734 arg2
= wxString_in_helper(obj1
);
12735 if (arg2
== NULL
) SWIG_fail
;
12739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12740 (arg1
)->AppendText((wxString
const &)*arg2
);
12741 wxPyEndAllowThreads(__tstate
);
12742 if (PyErr_Occurred()) SWIG_fail
;
12744 resultobj
= SWIG_Py_Void();
12759 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12760 PyObject
*resultobj
= 0;
12761 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12762 wxKeyEvent
*arg2
= 0 ;
12768 PyObject
* obj0
= 0 ;
12769 PyObject
* obj1
= 0 ;
12770 char * kwnames
[] = {
12771 (char *) "self",(char *) "event", NULL
12774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) 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_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12779 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12780 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12781 if (!SWIG_IsOK(res2
)) {
12782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12785 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12787 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12790 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12791 wxPyEndAllowThreads(__tstate
);
12792 if (PyErr_Occurred()) SWIG_fail
;
12795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12803 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12804 PyObject
*resultobj
= 0;
12805 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12808 wxTextAttr
*arg4
= 0 ;
12818 PyObject
* obj0
= 0 ;
12819 PyObject
* obj1
= 0 ;
12820 PyObject
* obj2
= 0 ;
12821 PyObject
* obj3
= 0 ;
12822 char * kwnames
[] = {
12823 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12828 if (!SWIG_IsOK(res1
)) {
12829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12831 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12832 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12833 if (!SWIG_IsOK(ecode2
)) {
12834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12836 arg2
= static_cast< long >(val2
);
12837 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12838 if (!SWIG_IsOK(ecode3
)) {
12839 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12841 arg3
= static_cast< long >(val3
);
12842 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12843 if (!SWIG_IsOK(res4
)) {
12844 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12847 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12849 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12852 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12853 wxPyEndAllowThreads(__tstate
);
12854 if (PyErr_Occurred()) SWIG_fail
;
12857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12865 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12866 PyObject
*resultobj
= 0;
12867 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12869 wxTextAttr
*arg3
= 0 ;
12877 PyObject
* obj0
= 0 ;
12878 PyObject
* obj1
= 0 ;
12879 PyObject
* obj2
= 0 ;
12880 char * kwnames
[] = {
12881 (char *) "self",(char *) "position",(char *) "style", NULL
12884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12886 if (!SWIG_IsOK(res1
)) {
12887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12889 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12890 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12891 if (!SWIG_IsOK(ecode2
)) {
12892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12894 arg2
= static_cast< long >(val2
);
12895 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12896 if (!SWIG_IsOK(res3
)) {
12897 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12900 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12902 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12905 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12906 wxPyEndAllowThreads(__tstate
);
12907 if (PyErr_Occurred()) SWIG_fail
;
12910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12918 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12919 PyObject
*resultobj
= 0;
12920 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12921 wxTextAttr
*arg2
= 0 ;
12927 PyObject
* obj0
= 0 ;
12928 PyObject
* obj1
= 0 ;
12929 char * kwnames
[] = {
12930 (char *) "self",(char *) "style", NULL
12933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12935 if (!SWIG_IsOK(res1
)) {
12936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12938 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12939 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12940 if (!SWIG_IsOK(res2
)) {
12941 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12944 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12946 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12949 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
12950 wxPyEndAllowThreads(__tstate
);
12951 if (PyErr_Occurred()) SWIG_fail
;
12954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12962 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12963 PyObject
*resultobj
= 0;
12964 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12965 wxTextAttr
*result
= 0 ;
12968 PyObject
*swig_obj
[1] ;
12970 if (!args
) SWIG_fail
;
12971 swig_obj
[0] = args
;
12972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12973 if (!SWIG_IsOK(res1
)) {
12974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12976 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12980 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
12981 result
= (wxTextAttr
*) &_result_ref
;
12983 wxPyEndAllowThreads(__tstate
);
12984 if (PyErr_Occurred()) SWIG_fail
;
12986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
12993 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12994 PyObject
*resultobj
= 0;
12995 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13005 PyObject
* obj0
= 0 ;
13006 PyObject
* obj1
= 0 ;
13007 PyObject
* obj2
= 0 ;
13008 char * kwnames
[] = {
13009 (char *) "self",(char *) "x",(char *) "y", NULL
13012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13014 if (!SWIG_IsOK(res1
)) {
13015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13017 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13018 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13019 if (!SWIG_IsOK(ecode2
)) {
13020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13022 arg2
= static_cast< long >(val2
);
13023 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13024 if (!SWIG_IsOK(ecode3
)) {
13025 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13027 arg3
= static_cast< long >(val3
);
13029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13030 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13031 wxPyEndAllowThreads(__tstate
);
13032 if (PyErr_Occurred()) SWIG_fail
;
13034 resultobj
= SWIG_From_long(static_cast< long >(result
));
13041 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13042 PyObject
*resultobj
= 0;
13043 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13045 long *arg3
= (long *) 0 ;
13046 long *arg4
= (long *) 0 ;
13052 int res3
= SWIG_TMPOBJ
;
13054 int res4
= SWIG_TMPOBJ
;
13055 PyObject
* obj0
= 0 ;
13056 PyObject
* obj1
= 0 ;
13057 char * kwnames
[] = {
13058 (char *) "self",(char *) "pos", NULL
13063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13065 if (!SWIG_IsOK(res1
)) {
13066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13068 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13069 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13070 if (!SWIG_IsOK(ecode2
)) {
13071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13073 arg2
= static_cast< long >(val2
);
13075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13076 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13077 wxPyEndAllowThreads(__tstate
);
13078 if (PyErr_Occurred()) SWIG_fail
;
13080 resultobj
= SWIG_Py_Void();
13081 if (SWIG_IsTmpObj(res3
)) {
13082 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13084 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13085 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13087 if (SWIG_IsTmpObj(res4
)) {
13088 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13090 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13091 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13099 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13100 PyObject
*resultobj
= 0;
13101 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13107 PyObject
* obj0
= 0 ;
13108 PyObject
* obj1
= 0 ;
13109 char * kwnames
[] = {
13110 (char *) "self",(char *) "pos", NULL
13113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13115 if (!SWIG_IsOK(res1
)) {
13116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13118 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13119 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13120 if (!SWIG_IsOK(ecode2
)) {
13121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13123 arg2
= static_cast< long >(val2
);
13125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13126 (arg1
)->ShowPosition(arg2
);
13127 wxPyEndAllowThreads(__tstate
);
13128 if (PyErr_Occurred()) SWIG_fail
;
13130 resultobj
= SWIG_Py_Void();
13137 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13138 PyObject
*resultobj
= 0;
13139 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13140 wxPoint
*arg2
= 0 ;
13141 long *arg3
= (long *) 0 ;
13142 long *arg4
= (long *) 0 ;
13143 wxTextCtrlHitTestResult result
;
13148 int res3
= SWIG_TMPOBJ
;
13150 int res4
= SWIG_TMPOBJ
;
13151 PyObject
* obj0
= 0 ;
13152 PyObject
* obj1
= 0 ;
13153 char * kwnames
[] = {
13154 (char *) "self",(char *) "pt", NULL
13159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13161 if (!SWIG_IsOK(res1
)) {
13162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13164 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13167 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13171 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13172 wxPyEndAllowThreads(__tstate
);
13173 if (PyErr_Occurred()) SWIG_fail
;
13175 resultobj
= SWIG_From_int(static_cast< int >(result
));
13176 if (SWIG_IsTmpObj(res3
)) {
13177 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13179 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13180 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13182 if (SWIG_IsTmpObj(res4
)) {
13183 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13185 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13186 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13194 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13195 PyObject
*resultobj
= 0;
13196 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13197 wxPoint
*arg2
= 0 ;
13198 long *arg3
= (long *) 0 ;
13199 wxTextCtrlHitTestResult result
;
13204 int res3
= SWIG_TMPOBJ
;
13205 PyObject
* obj0
= 0 ;
13206 PyObject
* obj1
= 0 ;
13207 char * kwnames
[] = {
13208 (char *) "self",(char *) "pt", NULL
13212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13214 if (!SWIG_IsOK(res1
)) {
13215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13217 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13220 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13224 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13225 wxPyEndAllowThreads(__tstate
);
13226 if (PyErr_Occurred()) SWIG_fail
;
13228 resultobj
= SWIG_From_int(static_cast< int >(result
));
13229 if (SWIG_IsTmpObj(res3
)) {
13230 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13232 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13233 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13241 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13242 PyObject
*resultobj
= 0;
13243 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13246 PyObject
*swig_obj
[1] ;
13248 if (!args
) SWIG_fail
;
13249 swig_obj
[0] = args
;
13250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13251 if (!SWIG_IsOK(res1
)) {
13252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13254 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13258 wxPyEndAllowThreads(__tstate
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13261 resultobj
= SWIG_Py_Void();
13268 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13269 PyObject
*resultobj
= 0;
13270 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13273 PyObject
*swig_obj
[1] ;
13275 if (!args
) SWIG_fail
;
13276 swig_obj
[0] = args
;
13277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13278 if (!SWIG_IsOK(res1
)) {
13279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13281 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13285 wxPyEndAllowThreads(__tstate
);
13286 if (PyErr_Occurred()) SWIG_fail
;
13288 resultobj
= SWIG_Py_Void();
13295 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13296 PyObject
*resultobj
= 0;
13297 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13300 PyObject
*swig_obj
[1] ;
13302 if (!args
) SWIG_fail
;
13303 swig_obj
[0] = args
;
13304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13305 if (!SWIG_IsOK(res1
)) {
13306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13308 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13312 wxPyEndAllowThreads(__tstate
);
13313 if (PyErr_Occurred()) SWIG_fail
;
13315 resultobj
= SWIG_Py_Void();
13322 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13323 PyObject
*resultobj
= 0;
13324 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13328 PyObject
*swig_obj
[1] ;
13330 if (!args
) SWIG_fail
;
13331 swig_obj
[0] = args
;
13332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13333 if (!SWIG_IsOK(res1
)) {
13334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13336 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13339 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13340 wxPyEndAllowThreads(__tstate
);
13341 if (PyErr_Occurred()) SWIG_fail
;
13344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13352 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13353 PyObject
*resultobj
= 0;
13354 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13358 PyObject
*swig_obj
[1] ;
13360 if (!args
) SWIG_fail
;
13361 swig_obj
[0] = args
;
13362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13363 if (!SWIG_IsOK(res1
)) {
13364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13366 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13369 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13370 wxPyEndAllowThreads(__tstate
);
13371 if (PyErr_Occurred()) SWIG_fail
;
13374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13382 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13383 PyObject
*resultobj
= 0;
13384 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13388 PyObject
*swig_obj
[1] ;
13390 if (!args
) SWIG_fail
;
13391 swig_obj
[0] = args
;
13392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13393 if (!SWIG_IsOK(res1
)) {
13394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13396 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13399 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13400 wxPyEndAllowThreads(__tstate
);
13401 if (PyErr_Occurred()) SWIG_fail
;
13404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13412 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13413 PyObject
*resultobj
= 0;
13414 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13417 PyObject
*swig_obj
[1] ;
13419 if (!args
) SWIG_fail
;
13420 swig_obj
[0] = args
;
13421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13422 if (!SWIG_IsOK(res1
)) {
13423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13425 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13429 wxPyEndAllowThreads(__tstate
);
13430 if (PyErr_Occurred()) SWIG_fail
;
13432 resultobj
= SWIG_Py_Void();
13439 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13440 PyObject
*resultobj
= 0;
13441 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13444 PyObject
*swig_obj
[1] ;
13446 if (!args
) SWIG_fail
;
13447 swig_obj
[0] = args
;
13448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13449 if (!SWIG_IsOK(res1
)) {
13450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13452 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13456 wxPyEndAllowThreads(__tstate
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13459 resultobj
= SWIG_Py_Void();
13466 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13467 PyObject
*resultobj
= 0;
13468 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13472 PyObject
*swig_obj
[1] ;
13474 if (!args
) SWIG_fail
;
13475 swig_obj
[0] = args
;
13476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13477 if (!SWIG_IsOK(res1
)) {
13478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13480 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13483 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13484 wxPyEndAllowThreads(__tstate
);
13485 if (PyErr_Occurred()) SWIG_fail
;
13488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13496 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13497 PyObject
*resultobj
= 0;
13498 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13502 PyObject
*swig_obj
[1] ;
13504 if (!args
) SWIG_fail
;
13505 swig_obj
[0] = args
;
13506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13507 if (!SWIG_IsOK(res1
)) {
13508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13510 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13513 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13514 wxPyEndAllowThreads(__tstate
);
13515 if (PyErr_Occurred()) SWIG_fail
;
13518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13526 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13527 PyObject
*resultobj
= 0;
13528 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13534 PyObject
* obj0
= 0 ;
13535 PyObject
* obj1
= 0 ;
13536 char * kwnames
[] = {
13537 (char *) "self",(char *) "pos", NULL
13540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13542 if (!SWIG_IsOK(res1
)) {
13543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13545 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13546 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13547 if (!SWIG_IsOK(ecode2
)) {
13548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13550 arg2
= static_cast< long >(val2
);
13552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13553 (arg1
)->SetInsertionPoint(arg2
);
13554 wxPyEndAllowThreads(__tstate
);
13555 if (PyErr_Occurred()) SWIG_fail
;
13557 resultobj
= SWIG_Py_Void();
13564 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13565 PyObject
*resultobj
= 0;
13566 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13569 PyObject
*swig_obj
[1] ;
13571 if (!args
) SWIG_fail
;
13572 swig_obj
[0] = args
;
13573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13574 if (!SWIG_IsOK(res1
)) {
13575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13577 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13580 (arg1
)->SetInsertionPointEnd();
13581 wxPyEndAllowThreads(__tstate
);
13582 if (PyErr_Occurred()) SWIG_fail
;
13584 resultobj
= SWIG_Py_Void();
13591 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13592 PyObject
*resultobj
= 0;
13593 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13597 PyObject
*swig_obj
[1] ;
13599 if (!args
) SWIG_fail
;
13600 swig_obj
[0] = args
;
13601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13602 if (!SWIG_IsOK(res1
)) {
13603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13605 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13608 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13609 wxPyEndAllowThreads(__tstate
);
13610 if (PyErr_Occurred()) SWIG_fail
;
13612 resultobj
= SWIG_From_long(static_cast< long >(result
));
13619 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13620 PyObject
*resultobj
= 0;
13621 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13625 PyObject
*swig_obj
[1] ;
13627 if (!args
) SWIG_fail
;
13628 swig_obj
[0] = args
;
13629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13630 if (!SWIG_IsOK(res1
)) {
13631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13633 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13636 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13637 wxPyEndAllowThreads(__tstate
);
13638 if (PyErr_Occurred()) SWIG_fail
;
13640 resultobj
= SWIG_From_long(static_cast< long >(result
));
13647 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13648 PyObject
*resultobj
= 0;
13649 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13658 PyObject
* obj0
= 0 ;
13659 PyObject
* obj1
= 0 ;
13660 PyObject
* obj2
= 0 ;
13661 char * kwnames
[] = {
13662 (char *) "self",(char *) "from",(char *) "to", NULL
13665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13667 if (!SWIG_IsOK(res1
)) {
13668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13670 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13671 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13672 if (!SWIG_IsOK(ecode2
)) {
13673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13675 arg2
= static_cast< long >(val2
);
13676 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13677 if (!SWIG_IsOK(ecode3
)) {
13678 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13680 arg3
= static_cast< long >(val3
);
13682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13683 (arg1
)->SetSelection(arg2
,arg3
);
13684 wxPyEndAllowThreads(__tstate
);
13685 if (PyErr_Occurred()) SWIG_fail
;
13687 resultobj
= SWIG_Py_Void();
13694 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13695 PyObject
*resultobj
= 0;
13696 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13699 PyObject
*swig_obj
[1] ;
13701 if (!args
) SWIG_fail
;
13702 swig_obj
[0] = args
;
13703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13704 if (!SWIG_IsOK(res1
)) {
13705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13707 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13710 (arg1
)->SelectAll();
13711 wxPyEndAllowThreads(__tstate
);
13712 if (PyErr_Occurred()) SWIG_fail
;
13714 resultobj
= SWIG_Py_Void();
13721 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13722 PyObject
*resultobj
= 0;
13723 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13729 PyObject
* obj0
= 0 ;
13730 PyObject
* obj1
= 0 ;
13731 char * kwnames
[] = {
13732 (char *) "self",(char *) "editable", NULL
13735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13737 if (!SWIG_IsOK(res1
)) {
13738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13740 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13741 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13742 if (!SWIG_IsOK(ecode2
)) {
13743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13745 arg2
= static_cast< bool >(val2
);
13747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13748 (arg1
)->SetEditable(arg2
);
13749 wxPyEndAllowThreads(__tstate
);
13750 if (PyErr_Occurred()) SWIG_fail
;
13752 resultobj
= SWIG_Py_Void();
13759 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13760 PyObject
*resultobj
= 0;
13761 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13762 wxString
*arg2
= 0 ;
13765 bool temp2
= false ;
13766 PyObject
* obj0
= 0 ;
13767 PyObject
* obj1
= 0 ;
13768 char * kwnames
[] = {
13769 (char *) "self",(char *) "text", NULL
13772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13774 if (!SWIG_IsOK(res1
)) {
13775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13777 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13779 arg2
= wxString_in_helper(obj1
);
13780 if (arg2
== NULL
) SWIG_fail
;
13784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13785 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13786 wxPyEndAllowThreads(__tstate
);
13787 if (PyErr_Occurred()) SWIG_fail
;
13789 resultobj
= SWIG_Py_Void();
13804 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13805 PyObject
*resultobj
= 0;
13806 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13816 PyObject
* obj0
= 0 ;
13817 PyObject
* obj1
= 0 ;
13818 PyObject
* obj2
= 0 ;
13819 char * kwnames
[] = {
13820 (char *) "self",(char *) "from",(char *) "to", NULL
13823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13825 if (!SWIG_IsOK(res1
)) {
13826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13828 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13829 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13830 if (!SWIG_IsOK(ecode2
)) {
13831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13833 arg2
= static_cast< long >(val2
);
13834 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13835 if (!SWIG_IsOK(ecode3
)) {
13836 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13838 arg3
= static_cast< long >(val3
);
13840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13841 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13842 wxPyEndAllowThreads(__tstate
);
13843 if (PyErr_Occurred()) SWIG_fail
;
13847 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13849 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13858 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13859 PyObject
*resultobj
= 0;
13860 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13861 SwigValueWrapper
<wxVisualAttributes
> result
;
13864 PyObject
* obj0
= 0 ;
13865 char * kwnames
[] = {
13866 (char *) "variant", NULL
13869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13871 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13872 if (!SWIG_IsOK(ecode1
)) {
13873 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13875 arg1
= static_cast< wxWindowVariant
>(val1
);
13878 if (!wxPyCheckForApp()) SWIG_fail
;
13879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13880 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13881 wxPyEndAllowThreads(__tstate
);
13882 if (PyErr_Occurred()) SWIG_fail
;
13884 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13891 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13893 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13894 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13895 return SWIG_Py_Void();
13898 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13899 return SWIG_Python_InitShadowInstance(args
);
13902 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13903 PyObject
*resultobj
= 0;
13905 wxMouseEvent
*arg2
= 0 ;
13908 wxTextUrlEvent
*result
= 0 ;
13917 PyObject
* obj0
= 0 ;
13918 PyObject
* obj1
= 0 ;
13919 PyObject
* obj2
= 0 ;
13920 PyObject
* obj3
= 0 ;
13921 char * kwnames
[] = {
13922 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
13925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13926 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13927 if (!SWIG_IsOK(ecode1
)) {
13928 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
13930 arg1
= static_cast< int >(val1
);
13931 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
13932 if (!SWIG_IsOK(res2
)) {
13933 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13936 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13938 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
13939 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13940 if (!SWIG_IsOK(ecode3
)) {
13941 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
13943 arg3
= static_cast< long >(val3
);
13944 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
13945 if (!SWIG_IsOK(ecode4
)) {
13946 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
13948 arg4
= static_cast< long >(val4
);
13950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13951 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
13952 wxPyEndAllowThreads(__tstate
);
13953 if (PyErr_Occurred()) SWIG_fail
;
13955 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
13962 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13963 PyObject
*resultobj
= 0;
13964 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13965 wxMouseEvent
*result
= 0 ;
13968 PyObject
*swig_obj
[1] ;
13970 if (!args
) SWIG_fail
;
13971 swig_obj
[0] = args
;
13972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13973 if (!SWIG_IsOK(res1
)) {
13974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
13976 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13980 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
13981 result
= (wxMouseEvent
*) &_result_ref
;
13983 wxPyEndAllowThreads(__tstate
);
13984 if (PyErr_Occurred()) SWIG_fail
;
13986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
13993 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13994 PyObject
*resultobj
= 0;
13995 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13999 PyObject
*swig_obj
[1] ;
14001 if (!args
) SWIG_fail
;
14002 swig_obj
[0] = args
;
14003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14004 if (!SWIG_IsOK(res1
)) {
14005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14007 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14010 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14011 wxPyEndAllowThreads(__tstate
);
14012 if (PyErr_Occurred()) SWIG_fail
;
14014 resultobj
= SWIG_From_long(static_cast< long >(result
));
14021 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14022 PyObject
*resultobj
= 0;
14023 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14027 PyObject
*swig_obj
[1] ;
14029 if (!args
) SWIG_fail
;
14030 swig_obj
[0] = args
;
14031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14032 if (!SWIG_IsOK(res1
)) {
14033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14035 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14038 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14039 wxPyEndAllowThreads(__tstate
);
14040 if (PyErr_Occurred()) SWIG_fail
;
14042 resultobj
= SWIG_From_long(static_cast< long >(result
));
14049 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14051 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14052 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14053 return SWIG_Py_Void();
14056 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14057 return SWIG_Python_InitShadowInstance(args
);
14060 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14061 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14066 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14067 PyObject
*pyobj
= 0;
14071 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14073 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14080 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14081 PyObject
*resultobj
= 0;
14082 wxWindow
*arg1
= (wxWindow
*) 0 ;
14083 int arg2
= (int) -1 ;
14084 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14085 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14086 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14087 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14088 long arg5
= (long) wxSB_HORIZONTAL
;
14089 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14090 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14091 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14092 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14093 wxScrollBar
*result
= 0 ;
14104 bool temp7
= false ;
14105 PyObject
* obj0
= 0 ;
14106 PyObject
* obj1
= 0 ;
14107 PyObject
* obj2
= 0 ;
14108 PyObject
* obj3
= 0 ;
14109 PyObject
* obj4
= 0 ;
14110 PyObject
* obj5
= 0 ;
14111 PyObject
* obj6
= 0 ;
14112 char * kwnames
[] = {
14113 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14118 if (!SWIG_IsOK(res1
)) {
14119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14121 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14124 if (!SWIG_IsOK(ecode2
)) {
14125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14127 arg2
= static_cast< int >(val2
);
14132 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14138 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14142 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14143 if (!SWIG_IsOK(ecode5
)) {
14144 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14146 arg5
= static_cast< long >(val5
);
14149 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14150 if (!SWIG_IsOK(res6
)) {
14151 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14154 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14156 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14160 arg7
= wxString_in_helper(obj6
);
14161 if (arg7
== NULL
) SWIG_fail
;
14166 if (!wxPyCheckForApp()) SWIG_fail
;
14167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14168 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14169 wxPyEndAllowThreads(__tstate
);
14170 if (PyErr_Occurred()) SWIG_fail
;
14172 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14187 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14188 PyObject
*resultobj
= 0;
14189 wxScrollBar
*result
= 0 ;
14191 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14193 if (!wxPyCheckForApp()) SWIG_fail
;
14194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14195 result
= (wxScrollBar
*)new wxScrollBar();
14196 wxPyEndAllowThreads(__tstate
);
14197 if (PyErr_Occurred()) SWIG_fail
;
14199 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14206 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14207 PyObject
*resultobj
= 0;
14208 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14209 wxWindow
*arg2
= (wxWindow
*) 0 ;
14210 int arg3
= (int) -1 ;
14211 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14212 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14213 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14214 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14215 long arg6
= (long) wxSB_HORIZONTAL
;
14216 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14217 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14218 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14219 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14233 bool temp8
= false ;
14234 PyObject
* obj0
= 0 ;
14235 PyObject
* obj1
= 0 ;
14236 PyObject
* obj2
= 0 ;
14237 PyObject
* obj3
= 0 ;
14238 PyObject
* obj4
= 0 ;
14239 PyObject
* obj5
= 0 ;
14240 PyObject
* obj6
= 0 ;
14241 PyObject
* obj7
= 0 ;
14242 char * kwnames
[] = {
14243 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14248 if (!SWIG_IsOK(res1
)) {
14249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14251 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14252 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14253 if (!SWIG_IsOK(res2
)) {
14254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14256 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14258 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14259 if (!SWIG_IsOK(ecode3
)) {
14260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14262 arg3
= static_cast< int >(val3
);
14267 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14273 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14277 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14278 if (!SWIG_IsOK(ecode6
)) {
14279 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14281 arg6
= static_cast< long >(val6
);
14284 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14285 if (!SWIG_IsOK(res7
)) {
14286 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14289 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14291 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14295 arg8
= wxString_in_helper(obj7
);
14296 if (arg8
== NULL
) SWIG_fail
;
14301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14302 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14303 wxPyEndAllowThreads(__tstate
);
14304 if (PyErr_Occurred()) SWIG_fail
;
14307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14323 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14324 PyObject
*resultobj
= 0;
14325 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14329 PyObject
*swig_obj
[1] ;
14331 if (!args
) SWIG_fail
;
14332 swig_obj
[0] = args
;
14333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14334 if (!SWIG_IsOK(res1
)) {
14335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14337 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14340 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14341 wxPyEndAllowThreads(__tstate
);
14342 if (PyErr_Occurred()) SWIG_fail
;
14344 resultobj
= SWIG_From_int(static_cast< int >(result
));
14351 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14352 PyObject
*resultobj
= 0;
14353 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14357 PyObject
*swig_obj
[1] ;
14359 if (!args
) SWIG_fail
;
14360 swig_obj
[0] = args
;
14361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14362 if (!SWIG_IsOK(res1
)) {
14363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14365 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14368 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14369 wxPyEndAllowThreads(__tstate
);
14370 if (PyErr_Occurred()) SWIG_fail
;
14372 resultobj
= SWIG_From_int(static_cast< int >(result
));
14379 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14380 PyObject
*resultobj
= 0;
14381 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14385 PyObject
*swig_obj
[1] ;
14387 if (!args
) SWIG_fail
;
14388 swig_obj
[0] = args
;
14389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14390 if (!SWIG_IsOK(res1
)) {
14391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14393 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14396 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14397 wxPyEndAllowThreads(__tstate
);
14398 if (PyErr_Occurred()) SWIG_fail
;
14400 resultobj
= SWIG_From_int(static_cast< int >(result
));
14407 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14408 PyObject
*resultobj
= 0;
14409 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14413 PyObject
*swig_obj
[1] ;
14415 if (!args
) SWIG_fail
;
14416 swig_obj
[0] = args
;
14417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14418 if (!SWIG_IsOK(res1
)) {
14419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14421 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14424 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14425 wxPyEndAllowThreads(__tstate
);
14426 if (PyErr_Occurred()) SWIG_fail
;
14428 resultobj
= SWIG_From_int(static_cast< int >(result
));
14435 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14436 PyObject
*resultobj
= 0;
14437 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14441 PyObject
*swig_obj
[1] ;
14443 if (!args
) SWIG_fail
;
14444 swig_obj
[0] = args
;
14445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14446 if (!SWIG_IsOK(res1
)) {
14447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14449 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14452 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14453 wxPyEndAllowThreads(__tstate
);
14454 if (PyErr_Occurred()) SWIG_fail
;
14457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14465 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14466 PyObject
*resultobj
= 0;
14467 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14473 PyObject
* obj0
= 0 ;
14474 PyObject
* obj1
= 0 ;
14475 char * kwnames
[] = {
14476 (char *) "self",(char *) "viewStart", NULL
14479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14481 if (!SWIG_IsOK(res1
)) {
14482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14484 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14485 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14486 if (!SWIG_IsOK(ecode2
)) {
14487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14489 arg2
= static_cast< int >(val2
);
14491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14492 (arg1
)->SetThumbPosition(arg2
);
14493 wxPyEndAllowThreads(__tstate
);
14494 if (PyErr_Occurred()) SWIG_fail
;
14496 resultobj
= SWIG_Py_Void();
14503 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14504 PyObject
*resultobj
= 0;
14505 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14506 SwigValueWrapper
<wxVisualAttributes
> result
;
14509 PyObject
* obj0
= 0 ;
14510 char * kwnames
[] = {
14511 (char *) "variant", NULL
14514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14516 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14517 if (!SWIG_IsOK(ecode1
)) {
14518 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14520 arg1
= static_cast< wxWindowVariant
>(val1
);
14523 if (!wxPyCheckForApp()) SWIG_fail
;
14524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14525 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14526 wxPyEndAllowThreads(__tstate
);
14527 if (PyErr_Occurred()) SWIG_fail
;
14529 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14536 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14538 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14539 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14540 return SWIG_Py_Void();
14543 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14544 return SWIG_Python_InitShadowInstance(args
);
14547 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14548 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14553 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14554 PyObject
*pyobj
= 0;
14558 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14560 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14567 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14568 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14573 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14574 PyObject
*pyobj
= 0;
14578 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14580 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14587 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14588 PyObject
*resultobj
= 0;
14589 wxWindow
*arg1
= (wxWindow
*) 0 ;
14590 int arg2
= (int) -1 ;
14591 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14592 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14593 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14594 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14595 long arg5
= (long) wxSP_HORIZONTAL
;
14596 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14597 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14598 wxSpinButton
*result
= 0 ;
14607 bool temp6
= false ;
14608 PyObject
* obj0
= 0 ;
14609 PyObject
* obj1
= 0 ;
14610 PyObject
* obj2
= 0 ;
14611 PyObject
* obj3
= 0 ;
14612 PyObject
* obj4
= 0 ;
14613 PyObject
* obj5
= 0 ;
14614 char * kwnames
[] = {
14615 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14620 if (!SWIG_IsOK(res1
)) {
14621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14623 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14625 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14626 if (!SWIG_IsOK(ecode2
)) {
14627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14629 arg2
= static_cast< int >(val2
);
14634 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14640 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14644 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14645 if (!SWIG_IsOK(ecode5
)) {
14646 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14648 arg5
= static_cast< long >(val5
);
14652 arg6
= wxString_in_helper(obj5
);
14653 if (arg6
== NULL
) SWIG_fail
;
14658 if (!wxPyCheckForApp()) SWIG_fail
;
14659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14660 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14661 wxPyEndAllowThreads(__tstate
);
14662 if (PyErr_Occurred()) SWIG_fail
;
14664 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14679 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14680 PyObject
*resultobj
= 0;
14681 wxSpinButton
*result
= 0 ;
14683 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14685 if (!wxPyCheckForApp()) SWIG_fail
;
14686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14687 result
= (wxSpinButton
*)new wxSpinButton();
14688 wxPyEndAllowThreads(__tstate
);
14689 if (PyErr_Occurred()) SWIG_fail
;
14691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14698 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14699 PyObject
*resultobj
= 0;
14700 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14701 wxWindow
*arg2
= (wxWindow
*) 0 ;
14702 int arg3
= (int) -1 ;
14703 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14704 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14705 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14706 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14707 long arg6
= (long) wxSP_HORIZONTAL
;
14708 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14709 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14721 bool temp7
= false ;
14722 PyObject
* obj0
= 0 ;
14723 PyObject
* obj1
= 0 ;
14724 PyObject
* obj2
= 0 ;
14725 PyObject
* obj3
= 0 ;
14726 PyObject
* obj4
= 0 ;
14727 PyObject
* obj5
= 0 ;
14728 PyObject
* obj6
= 0 ;
14729 char * kwnames
[] = {
14730 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14735 if (!SWIG_IsOK(res1
)) {
14736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14738 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14739 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14740 if (!SWIG_IsOK(res2
)) {
14741 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14743 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14745 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14746 if (!SWIG_IsOK(ecode3
)) {
14747 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14749 arg3
= static_cast< int >(val3
);
14754 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14760 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14764 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14765 if (!SWIG_IsOK(ecode6
)) {
14766 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14768 arg6
= static_cast< long >(val6
);
14772 arg7
= wxString_in_helper(obj6
);
14773 if (arg7
== NULL
) SWIG_fail
;
14778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14779 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14780 wxPyEndAllowThreads(__tstate
);
14781 if (PyErr_Occurred()) SWIG_fail
;
14784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14800 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14801 PyObject
*resultobj
= 0;
14802 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14806 PyObject
*swig_obj
[1] ;
14808 if (!args
) SWIG_fail
;
14809 swig_obj
[0] = args
;
14810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14811 if (!SWIG_IsOK(res1
)) {
14812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14814 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14817 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14818 wxPyEndAllowThreads(__tstate
);
14819 if (PyErr_Occurred()) SWIG_fail
;
14821 resultobj
= SWIG_From_int(static_cast< int >(result
));
14828 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14829 PyObject
*resultobj
= 0;
14830 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14834 PyObject
*swig_obj
[1] ;
14836 if (!args
) SWIG_fail
;
14837 swig_obj
[0] = args
;
14838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14839 if (!SWIG_IsOK(res1
)) {
14840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14842 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14845 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14846 wxPyEndAllowThreads(__tstate
);
14847 if (PyErr_Occurred()) SWIG_fail
;
14849 resultobj
= SWIG_From_int(static_cast< int >(result
));
14856 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14857 PyObject
*resultobj
= 0;
14858 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14862 PyObject
*swig_obj
[1] ;
14864 if (!args
) SWIG_fail
;
14865 swig_obj
[0] = args
;
14866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14867 if (!SWIG_IsOK(res1
)) {
14868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14870 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14873 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14874 wxPyEndAllowThreads(__tstate
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14877 resultobj
= SWIG_From_int(static_cast< int >(result
));
14884 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14885 PyObject
*resultobj
= 0;
14886 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14892 PyObject
* obj0
= 0 ;
14893 PyObject
* obj1
= 0 ;
14894 char * kwnames
[] = {
14895 (char *) "self",(char *) "val", NULL
14898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14900 if (!SWIG_IsOK(res1
)) {
14901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14903 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14905 if (!SWIG_IsOK(ecode2
)) {
14906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14908 arg2
= static_cast< int >(val2
);
14910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14911 (arg1
)->SetValue(arg2
);
14912 wxPyEndAllowThreads(__tstate
);
14913 if (PyErr_Occurred()) SWIG_fail
;
14915 resultobj
= SWIG_Py_Void();
14922 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14923 PyObject
*resultobj
= 0;
14924 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14930 PyObject
* obj0
= 0 ;
14931 PyObject
* obj1
= 0 ;
14932 char * kwnames
[] = {
14933 (char *) "self",(char *) "minVal", NULL
14936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14938 if (!SWIG_IsOK(res1
)) {
14939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14941 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14943 if (!SWIG_IsOK(ecode2
)) {
14944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
14946 arg2
= static_cast< int >(val2
);
14948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14949 (arg1
)->SetMin(arg2
);
14950 wxPyEndAllowThreads(__tstate
);
14951 if (PyErr_Occurred()) SWIG_fail
;
14953 resultobj
= SWIG_Py_Void();
14960 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14961 PyObject
*resultobj
= 0;
14962 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14968 PyObject
* obj0
= 0 ;
14969 PyObject
* obj1
= 0 ;
14970 char * kwnames
[] = {
14971 (char *) "self",(char *) "maxVal", NULL
14974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14976 if (!SWIG_IsOK(res1
)) {
14977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14979 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14980 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14981 if (!SWIG_IsOK(ecode2
)) {
14982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
14984 arg2
= static_cast< int >(val2
);
14986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14987 (arg1
)->SetMax(arg2
);
14988 wxPyEndAllowThreads(__tstate
);
14989 if (PyErr_Occurred()) SWIG_fail
;
14991 resultobj
= SWIG_Py_Void();
14998 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14999 PyObject
*resultobj
= 0;
15000 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15009 PyObject
* obj0
= 0 ;
15010 PyObject
* obj1
= 0 ;
15011 PyObject
* obj2
= 0 ;
15012 char * kwnames
[] = {
15013 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15018 if (!SWIG_IsOK(res1
)) {
15019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15021 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15023 if (!SWIG_IsOK(ecode2
)) {
15024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15026 arg2
= static_cast< int >(val2
);
15027 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15028 if (!SWIG_IsOK(ecode3
)) {
15029 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15031 arg3
= static_cast< int >(val3
);
15033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15034 (arg1
)->SetRange(arg2
,arg3
);
15035 wxPyEndAllowThreads(__tstate
);
15036 if (PyErr_Occurred()) SWIG_fail
;
15038 resultobj
= SWIG_Py_Void();
15045 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15046 PyObject
*resultobj
= 0;
15047 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15051 PyObject
*swig_obj
[1] ;
15053 if (!args
) SWIG_fail
;
15054 swig_obj
[0] = args
;
15055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15056 if (!SWIG_IsOK(res1
)) {
15057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15059 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15062 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15063 wxPyEndAllowThreads(__tstate
);
15064 if (PyErr_Occurred()) SWIG_fail
;
15067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15075 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15076 PyObject
*resultobj
= 0;
15077 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15078 SwigValueWrapper
<wxVisualAttributes
> result
;
15081 PyObject
* obj0
= 0 ;
15082 char * kwnames
[] = {
15083 (char *) "variant", NULL
15086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15088 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15089 if (!SWIG_IsOK(ecode1
)) {
15090 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15092 arg1
= static_cast< wxWindowVariant
>(val1
);
15095 if (!wxPyCheckForApp()) SWIG_fail
;
15096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15097 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15098 wxPyEndAllowThreads(__tstate
);
15099 if (PyErr_Occurred()) SWIG_fail
;
15101 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15108 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15110 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15111 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15112 return SWIG_Py_Void();
15115 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15116 return SWIG_Python_InitShadowInstance(args
);
15119 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15120 PyObject
*resultobj
= 0;
15121 wxWindow
*arg1
= (wxWindow
*) 0 ;
15122 int arg2
= (int) -1 ;
15123 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15124 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15125 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15126 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15127 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15128 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15129 long arg6
= (long) wxSP_ARROW_KEYS
;
15130 int arg7
= (int) 0 ;
15131 int arg8
= (int) 100 ;
15132 int arg9
= (int) 0 ;
15133 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15134 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15135 wxSpinCtrl
*result
= 0 ;
15140 bool temp3
= false ;
15151 bool temp10
= false ;
15152 PyObject
* obj0
= 0 ;
15153 PyObject
* obj1
= 0 ;
15154 PyObject
* obj2
= 0 ;
15155 PyObject
* obj3
= 0 ;
15156 PyObject
* obj4
= 0 ;
15157 PyObject
* obj5
= 0 ;
15158 PyObject
* obj6
= 0 ;
15159 PyObject
* obj7
= 0 ;
15160 PyObject
* obj8
= 0 ;
15161 PyObject
* obj9
= 0 ;
15162 char * kwnames
[] = {
15163 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15168 if (!SWIG_IsOK(res1
)) {
15169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15171 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15173 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15174 if (!SWIG_IsOK(ecode2
)) {
15175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15177 arg2
= static_cast< int >(val2
);
15181 arg3
= wxString_in_helper(obj2
);
15182 if (arg3
== NULL
) SWIG_fail
;
15189 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15195 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15199 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15200 if (!SWIG_IsOK(ecode6
)) {
15201 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15203 arg6
= static_cast< long >(val6
);
15206 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15207 if (!SWIG_IsOK(ecode7
)) {
15208 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15210 arg7
= static_cast< int >(val7
);
15213 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15214 if (!SWIG_IsOK(ecode8
)) {
15215 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15217 arg8
= static_cast< int >(val8
);
15220 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15221 if (!SWIG_IsOK(ecode9
)) {
15222 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15224 arg9
= static_cast< int >(val9
);
15228 arg10
= wxString_in_helper(obj9
);
15229 if (arg10
== NULL
) SWIG_fail
;
15234 if (!wxPyCheckForApp()) SWIG_fail
;
15235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15236 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15237 wxPyEndAllowThreads(__tstate
);
15238 if (PyErr_Occurred()) SWIG_fail
;
15240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15263 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15264 PyObject
*resultobj
= 0;
15265 wxSpinCtrl
*result
= 0 ;
15267 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15269 if (!wxPyCheckForApp()) SWIG_fail
;
15270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15271 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15272 wxPyEndAllowThreads(__tstate
);
15273 if (PyErr_Occurred()) SWIG_fail
;
15275 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15282 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15283 PyObject
*resultobj
= 0;
15284 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15285 wxWindow
*arg2
= (wxWindow
*) 0 ;
15286 int arg3
= (int) -1 ;
15287 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15288 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15289 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15290 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15291 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15292 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15293 long arg7
= (long) wxSP_ARROW_KEYS
;
15294 int arg8
= (int) 0 ;
15295 int arg9
= (int) 100 ;
15296 int arg10
= (int) 0 ;
15297 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15298 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15306 bool temp4
= false ;
15317 bool temp11
= false ;
15318 PyObject
* obj0
= 0 ;
15319 PyObject
* obj1
= 0 ;
15320 PyObject
* obj2
= 0 ;
15321 PyObject
* obj3
= 0 ;
15322 PyObject
* obj4
= 0 ;
15323 PyObject
* obj5
= 0 ;
15324 PyObject
* obj6
= 0 ;
15325 PyObject
* obj7
= 0 ;
15326 PyObject
* obj8
= 0 ;
15327 PyObject
* obj9
= 0 ;
15328 PyObject
* obj10
= 0 ;
15329 char * kwnames
[] = {
15330 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15335 if (!SWIG_IsOK(res1
)) {
15336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15338 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15339 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15340 if (!SWIG_IsOK(res2
)) {
15341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15343 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15345 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15346 if (!SWIG_IsOK(ecode3
)) {
15347 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15349 arg3
= static_cast< int >(val3
);
15353 arg4
= wxString_in_helper(obj3
);
15354 if (arg4
== NULL
) SWIG_fail
;
15361 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15367 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15371 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15372 if (!SWIG_IsOK(ecode7
)) {
15373 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15375 arg7
= static_cast< long >(val7
);
15378 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15379 if (!SWIG_IsOK(ecode8
)) {
15380 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15382 arg8
= static_cast< int >(val8
);
15385 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15386 if (!SWIG_IsOK(ecode9
)) {
15387 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15389 arg9
= static_cast< int >(val9
);
15392 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15393 if (!SWIG_IsOK(ecode10
)) {
15394 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15396 arg10
= static_cast< int >(val10
);
15400 arg11
= wxString_in_helper(obj10
);
15401 if (arg11
== NULL
) SWIG_fail
;
15406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15407 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15408 wxPyEndAllowThreads(__tstate
);
15409 if (PyErr_Occurred()) SWIG_fail
;
15412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15436 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15437 PyObject
*resultobj
= 0;
15438 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15442 PyObject
*swig_obj
[1] ;
15444 if (!args
) SWIG_fail
;
15445 swig_obj
[0] = args
;
15446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15447 if (!SWIG_IsOK(res1
)) {
15448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15450 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15453 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15454 wxPyEndAllowThreads(__tstate
);
15455 if (PyErr_Occurred()) SWIG_fail
;
15457 resultobj
= SWIG_From_int(static_cast< int >(result
));
15464 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15465 PyObject
*resultobj
= 0;
15466 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15472 PyObject
* obj0
= 0 ;
15473 PyObject
* obj1
= 0 ;
15474 char * kwnames
[] = {
15475 (char *) "self",(char *) "value", NULL
15478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15480 if (!SWIG_IsOK(res1
)) {
15481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15483 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15485 if (!SWIG_IsOK(ecode2
)) {
15486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15488 arg2
= static_cast< int >(val2
);
15490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15491 (arg1
)->SetValue(arg2
);
15492 wxPyEndAllowThreads(__tstate
);
15493 if (PyErr_Occurred()) SWIG_fail
;
15495 resultobj
= SWIG_Py_Void();
15502 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15503 PyObject
*resultobj
= 0;
15504 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15505 wxString
*arg2
= 0 ;
15508 bool temp2
= false ;
15509 PyObject
* obj0
= 0 ;
15510 PyObject
* obj1
= 0 ;
15511 char * kwnames
[] = {
15512 (char *) "self",(char *) "text", NULL
15515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15517 if (!SWIG_IsOK(res1
)) {
15518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15520 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15522 arg2
= wxString_in_helper(obj1
);
15523 if (arg2
== NULL
) SWIG_fail
;
15527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15528 (arg1
)->SetValue((wxString
const &)*arg2
);
15529 wxPyEndAllowThreads(__tstate
);
15530 if (PyErr_Occurred()) SWIG_fail
;
15532 resultobj
= SWIG_Py_Void();
15547 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15548 PyObject
*resultobj
= 0;
15549 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15558 PyObject
* obj0
= 0 ;
15559 PyObject
* obj1
= 0 ;
15560 PyObject
* obj2
= 0 ;
15561 char * kwnames
[] = {
15562 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15567 if (!SWIG_IsOK(res1
)) {
15568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15570 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15572 if (!SWIG_IsOK(ecode2
)) {
15573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15575 arg2
= static_cast< int >(val2
);
15576 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15577 if (!SWIG_IsOK(ecode3
)) {
15578 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15580 arg3
= static_cast< int >(val3
);
15582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15583 (arg1
)->SetRange(arg2
,arg3
);
15584 wxPyEndAllowThreads(__tstate
);
15585 if (PyErr_Occurred()) SWIG_fail
;
15587 resultobj
= SWIG_Py_Void();
15594 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15595 PyObject
*resultobj
= 0;
15596 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15600 PyObject
*swig_obj
[1] ;
15602 if (!args
) SWIG_fail
;
15603 swig_obj
[0] = args
;
15604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15605 if (!SWIG_IsOK(res1
)) {
15606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15608 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15611 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15612 wxPyEndAllowThreads(__tstate
);
15613 if (PyErr_Occurred()) SWIG_fail
;
15615 resultobj
= SWIG_From_int(static_cast< int >(result
));
15622 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15623 PyObject
*resultobj
= 0;
15624 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15628 PyObject
*swig_obj
[1] ;
15630 if (!args
) SWIG_fail
;
15631 swig_obj
[0] = args
;
15632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15633 if (!SWIG_IsOK(res1
)) {
15634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15636 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15639 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15640 wxPyEndAllowThreads(__tstate
);
15641 if (PyErr_Occurred()) SWIG_fail
;
15643 resultobj
= SWIG_From_int(static_cast< int >(result
));
15650 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15651 PyObject
*resultobj
= 0;
15652 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15661 PyObject
* obj0
= 0 ;
15662 PyObject
* obj1
= 0 ;
15663 PyObject
* obj2
= 0 ;
15664 char * kwnames
[] = {
15665 (char *) "self",(char *) "from",(char *) "to", NULL
15668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15670 if (!SWIG_IsOK(res1
)) {
15671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15673 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15674 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15675 if (!SWIG_IsOK(ecode2
)) {
15676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15678 arg2
= static_cast< long >(val2
);
15679 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15680 if (!SWIG_IsOK(ecode3
)) {
15681 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15683 arg3
= static_cast< long >(val3
);
15685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15686 (arg1
)->SetSelection(arg2
,arg3
);
15687 wxPyEndAllowThreads(__tstate
);
15688 if (PyErr_Occurred()) SWIG_fail
;
15690 resultobj
= SWIG_Py_Void();
15697 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15698 PyObject
*resultobj
= 0;
15699 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15700 SwigValueWrapper
<wxVisualAttributes
> result
;
15703 PyObject
* obj0
= 0 ;
15704 char * kwnames
[] = {
15705 (char *) "variant", NULL
15708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15710 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15711 if (!SWIG_IsOK(ecode1
)) {
15712 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15714 arg1
= static_cast< wxWindowVariant
>(val1
);
15717 if (!wxPyCheckForApp()) SWIG_fail
;
15718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15719 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15720 wxPyEndAllowThreads(__tstate
);
15721 if (PyErr_Occurred()) SWIG_fail
;
15723 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15730 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15732 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15733 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15734 return SWIG_Py_Void();
15737 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15738 return SWIG_Python_InitShadowInstance(args
);
15741 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15742 PyObject
*resultobj
= 0;
15743 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15744 int arg2
= (int) 0 ;
15745 wxSpinEvent
*result
= 0 ;
15750 PyObject
* obj0
= 0 ;
15751 PyObject
* obj1
= 0 ;
15752 char * kwnames
[] = {
15753 (char *) "commandType",(char *) "winid", NULL
15756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15758 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15759 if (!SWIG_IsOK(ecode1
)) {
15760 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15762 arg1
= static_cast< wxEventType
>(val1
);
15765 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15766 if (!SWIG_IsOK(ecode2
)) {
15767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15769 arg2
= static_cast< int >(val2
);
15772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15773 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15774 wxPyEndAllowThreads(__tstate
);
15775 if (PyErr_Occurred()) SWIG_fail
;
15777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15784 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15785 PyObject
*resultobj
= 0;
15786 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15790 PyObject
*swig_obj
[1] ;
15792 if (!args
) SWIG_fail
;
15793 swig_obj
[0] = args
;
15794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15795 if (!SWIG_IsOK(res1
)) {
15796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15798 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15801 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15802 wxPyEndAllowThreads(__tstate
);
15803 if (PyErr_Occurred()) SWIG_fail
;
15805 resultobj
= SWIG_From_int(static_cast< int >(result
));
15812 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15813 PyObject
*resultobj
= 0;
15814 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15820 PyObject
* obj0
= 0 ;
15821 PyObject
* obj1
= 0 ;
15822 char * kwnames
[] = {
15823 (char *) "self",(char *) "pos", NULL
15826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15828 if (!SWIG_IsOK(res1
)) {
15829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15831 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15833 if (!SWIG_IsOK(ecode2
)) {
15834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15836 arg2
= static_cast< int >(val2
);
15838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15839 (arg1
)->SetPosition(arg2
);
15840 wxPyEndAllowThreads(__tstate
);
15841 if (PyErr_Occurred()) SWIG_fail
;
15843 resultobj
= SWIG_Py_Void();
15850 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15852 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15853 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15854 return SWIG_Py_Void();
15857 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15858 return SWIG_Python_InitShadowInstance(args
);
15861 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15862 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15867 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15868 PyObject
*pyobj
= 0;
15872 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15874 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15881 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15882 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15887 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15888 PyObject
*pyobj
= 0;
15892 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15894 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15901 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15902 PyObject
*resultobj
= 0;
15903 wxWindow
*arg1
= (wxWindow
*) 0 ;
15904 int arg2
= (int) -1 ;
15905 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15906 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15907 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15908 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15909 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15910 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15911 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15912 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15913 int arg7
= (int) 0 ;
15914 long arg8
= (long) wxRA_HORIZONTAL
;
15915 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15916 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15917 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
15918 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15919 wxRadioBox
*result
= 0 ;
15924 bool temp3
= false ;
15927 bool temp6
= false ;
15934 bool temp10
= false ;
15935 PyObject
* obj0
= 0 ;
15936 PyObject
* obj1
= 0 ;
15937 PyObject
* obj2
= 0 ;
15938 PyObject
* obj3
= 0 ;
15939 PyObject
* obj4
= 0 ;
15940 PyObject
* obj5
= 0 ;
15941 PyObject
* obj6
= 0 ;
15942 PyObject
* obj7
= 0 ;
15943 PyObject
* obj8
= 0 ;
15944 PyObject
* obj9
= 0 ;
15945 char * kwnames
[] = {
15946 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
15949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15951 if (!SWIG_IsOK(res1
)) {
15952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15954 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15956 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15957 if (!SWIG_IsOK(ecode2
)) {
15958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
15960 arg2
= static_cast< int >(val2
);
15964 arg3
= wxString_in_helper(obj2
);
15965 if (arg3
== NULL
) SWIG_fail
;
15972 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15978 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15983 if (! PySequence_Check(obj5
)) {
15984 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
15987 arg6
= new wxArrayString
;
15989 int i
, len
=PySequence_Length(obj5
);
15990 for (i
=0; i
<len
; i
++) {
15991 PyObject
* item
= PySequence_GetItem(obj5
, i
);
15992 wxString
* s
= wxString_in_helper(item
);
15993 if (PyErr_Occurred()) SWIG_fail
;
16001 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16002 if (!SWIG_IsOK(ecode7
)) {
16003 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16005 arg7
= static_cast< int >(val7
);
16008 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16009 if (!SWIG_IsOK(ecode8
)) {
16010 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16012 arg8
= static_cast< long >(val8
);
16015 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16016 if (!SWIG_IsOK(res9
)) {
16017 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16020 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16022 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16026 arg10
= wxString_in_helper(obj9
);
16027 if (arg10
== NULL
) SWIG_fail
;
16032 if (!wxPyCheckForApp()) SWIG_fail
;
16033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16034 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
);
16035 wxPyEndAllowThreads(__tstate
);
16036 if (PyErr_Occurred()) SWIG_fail
;
16038 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16044 if (temp6
) delete arg6
;
16057 if (temp6
) delete arg6
;
16067 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16068 PyObject
*resultobj
= 0;
16069 wxRadioBox
*result
= 0 ;
16071 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16073 if (!wxPyCheckForApp()) SWIG_fail
;
16074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16075 result
= (wxRadioBox
*)new wxRadioBox();
16076 wxPyEndAllowThreads(__tstate
);
16077 if (PyErr_Occurred()) SWIG_fail
;
16079 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16086 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16087 PyObject
*resultobj
= 0;
16088 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16089 wxWindow
*arg2
= (wxWindow
*) 0 ;
16090 int arg3
= (int) -1 ;
16091 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16092 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16093 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16094 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16095 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16096 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16097 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16098 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16099 int arg8
= (int) 0 ;
16100 long arg9
= (long) wxRA_HORIZONTAL
;
16101 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16102 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16103 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16104 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16112 bool temp4
= false ;
16115 bool temp7
= false ;
16122 bool temp11
= false ;
16123 PyObject
* obj0
= 0 ;
16124 PyObject
* obj1
= 0 ;
16125 PyObject
* obj2
= 0 ;
16126 PyObject
* obj3
= 0 ;
16127 PyObject
* obj4
= 0 ;
16128 PyObject
* obj5
= 0 ;
16129 PyObject
* obj6
= 0 ;
16130 PyObject
* obj7
= 0 ;
16131 PyObject
* obj8
= 0 ;
16132 PyObject
* obj9
= 0 ;
16133 PyObject
* obj10
= 0 ;
16134 char * kwnames
[] = {
16135 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16140 if (!SWIG_IsOK(res1
)) {
16141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16143 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16144 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16145 if (!SWIG_IsOK(res2
)) {
16146 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16148 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16150 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16151 if (!SWIG_IsOK(ecode3
)) {
16152 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16154 arg3
= static_cast< int >(val3
);
16158 arg4
= wxString_in_helper(obj3
);
16159 if (arg4
== NULL
) SWIG_fail
;
16166 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16172 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16177 if (! PySequence_Check(obj6
)) {
16178 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16181 arg7
= new wxArrayString
;
16183 int i
, len
=PySequence_Length(obj6
);
16184 for (i
=0; i
<len
; i
++) {
16185 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16186 wxString
* s
= wxString_in_helper(item
);
16187 if (PyErr_Occurred()) SWIG_fail
;
16195 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16196 if (!SWIG_IsOK(ecode8
)) {
16197 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16199 arg8
= static_cast< int >(val8
);
16202 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16203 if (!SWIG_IsOK(ecode9
)) {
16204 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16206 arg9
= static_cast< long >(val9
);
16209 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16210 if (!SWIG_IsOK(res10
)) {
16211 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16214 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16216 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16220 arg11
= wxString_in_helper(obj10
);
16221 if (arg11
== NULL
) SWIG_fail
;
16226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16227 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
);
16228 wxPyEndAllowThreads(__tstate
);
16229 if (PyErr_Occurred()) SWIG_fail
;
16232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16239 if (temp7
) delete arg7
;
16252 if (temp7
) delete arg7
;
16262 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16263 PyObject
*resultobj
= 0;
16264 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16270 PyObject
* obj0
= 0 ;
16271 PyObject
* obj1
= 0 ;
16272 char * kwnames
[] = {
16273 (char *) "self",(char *) "n", NULL
16276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16278 if (!SWIG_IsOK(res1
)) {
16279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16281 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16283 if (!SWIG_IsOK(ecode2
)) {
16284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16286 arg2
= static_cast< int >(val2
);
16288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16289 (arg1
)->SetSelection(arg2
);
16290 wxPyEndAllowThreads(__tstate
);
16291 if (PyErr_Occurred()) SWIG_fail
;
16293 resultobj
= SWIG_Py_Void();
16300 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(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_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16314 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16317 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16318 wxPyEndAllowThreads(__tstate
);
16319 if (PyErr_Occurred()) SWIG_fail
;
16321 resultobj
= SWIG_From_int(static_cast< int >(result
));
16328 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16329 PyObject
*resultobj
= 0;
16330 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16334 PyObject
*swig_obj
[1] ;
16336 if (!args
) SWIG_fail
;
16337 swig_obj
[0] = args
;
16338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16339 if (!SWIG_IsOK(res1
)) {
16340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16342 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16345 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16346 wxPyEndAllowThreads(__tstate
);
16347 if (PyErr_Occurred()) SWIG_fail
;
16351 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16353 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16362 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16363 PyObject
*resultobj
= 0;
16364 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16365 wxString
*arg2
= 0 ;
16369 bool temp2
= false ;
16370 PyObject
* obj0
= 0 ;
16371 PyObject
* obj1
= 0 ;
16372 char * kwnames
[] = {
16373 (char *) "self",(char *) "s", NULL
16376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16378 if (!SWIG_IsOK(res1
)) {
16379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16381 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16383 arg2
= wxString_in_helper(obj1
);
16384 if (arg2
== NULL
) SWIG_fail
;
16388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16389 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16390 wxPyEndAllowThreads(__tstate
);
16391 if (PyErr_Occurred()) SWIG_fail
;
16394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16410 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16411 PyObject
*resultobj
= 0;
16412 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16416 PyObject
*swig_obj
[1] ;
16418 if (!args
) SWIG_fail
;
16419 swig_obj
[0] = args
;
16420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16421 if (!SWIG_IsOK(res1
)) {
16422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16424 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16427 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16428 wxPyEndAllowThreads(__tstate
);
16429 if (PyErr_Occurred()) SWIG_fail
;
16431 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16438 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16439 PyObject
*resultobj
= 0;
16440 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16441 wxString
*arg2
= 0 ;
16445 bool temp2
= false ;
16446 PyObject
* obj0
= 0 ;
16447 PyObject
* obj1
= 0 ;
16448 char * kwnames
[] = {
16449 (char *) "self",(char *) "s", NULL
16452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16454 if (!SWIG_IsOK(res1
)) {
16455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16457 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16459 arg2
= wxString_in_helper(obj1
);
16460 if (arg2
== NULL
) SWIG_fail
;
16464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16465 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16466 wxPyEndAllowThreads(__tstate
);
16467 if (PyErr_Occurred()) SWIG_fail
;
16469 resultobj
= SWIG_From_int(static_cast< int >(result
));
16484 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16485 PyObject
*resultobj
= 0;
16486 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16493 PyObject
* obj0
= 0 ;
16494 PyObject
* obj1
= 0 ;
16495 char * kwnames
[] = {
16496 (char *) "self",(char *) "n", NULL
16499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16501 if (!SWIG_IsOK(res1
)) {
16502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16504 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16506 if (!SWIG_IsOK(ecode2
)) {
16507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16509 arg2
= static_cast< int >(val2
);
16511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16512 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16513 wxPyEndAllowThreads(__tstate
);
16514 if (PyErr_Occurred()) SWIG_fail
;
16518 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16520 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16529 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16530 PyObject
*resultobj
= 0;
16531 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16533 wxString
*arg3
= 0 ;
16538 bool temp3
= false ;
16539 PyObject
* obj0
= 0 ;
16540 PyObject
* obj1
= 0 ;
16541 PyObject
* obj2
= 0 ;
16542 char * kwnames
[] = {
16543 (char *) "self",(char *) "n",(char *) "label", NULL
16546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16548 if (!SWIG_IsOK(res1
)) {
16549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16551 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16552 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16553 if (!SWIG_IsOK(ecode2
)) {
16554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16556 arg2
= static_cast< int >(val2
);
16558 arg3
= wxString_in_helper(obj2
);
16559 if (arg3
== NULL
) SWIG_fail
;
16563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16564 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16565 wxPyEndAllowThreads(__tstate
);
16566 if (PyErr_Occurred()) SWIG_fail
;
16568 resultobj
= SWIG_Py_Void();
16583 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16584 PyObject
*resultobj
= 0;
16585 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16586 unsigned int arg2
;
16587 bool arg3
= (bool) true ;
16590 unsigned int val2
;
16594 PyObject
* obj0
= 0 ;
16595 PyObject
* obj1
= 0 ;
16596 PyObject
* obj2
= 0 ;
16597 char * kwnames
[] = {
16598 (char *) "self",(char *) "n",(char *) "enable", NULL
16601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16603 if (!SWIG_IsOK(res1
)) {
16604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16606 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16607 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16608 if (!SWIG_IsOK(ecode2
)) {
16609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16611 arg2
= static_cast< unsigned int >(val2
);
16613 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16614 if (!SWIG_IsOK(ecode3
)) {
16615 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16617 arg3
= static_cast< bool >(val3
);
16620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16621 (arg1
)->Enable(arg2
,arg3
);
16622 wxPyEndAllowThreads(__tstate
);
16623 if (PyErr_Occurred()) SWIG_fail
;
16625 resultobj
= SWIG_Py_Void();
16632 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16633 PyObject
*resultobj
= 0;
16634 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16635 unsigned int arg2
;
16636 bool arg3
= (bool) true ;
16639 unsigned int val2
;
16643 PyObject
* obj0
= 0 ;
16644 PyObject
* obj1
= 0 ;
16645 PyObject
* obj2
= 0 ;
16646 char * kwnames
[] = {
16647 (char *) "self",(char *) "n",(char *) "show", NULL
16650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16652 if (!SWIG_IsOK(res1
)) {
16653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16655 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16656 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16657 if (!SWIG_IsOK(ecode2
)) {
16658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16660 arg2
= static_cast< unsigned int >(val2
);
16662 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16663 if (!SWIG_IsOK(ecode3
)) {
16664 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16666 arg3
= static_cast< bool >(val3
);
16669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16670 (arg1
)->Show(arg2
,arg3
);
16671 wxPyEndAllowThreads(__tstate
);
16672 if (PyErr_Occurred()) SWIG_fail
;
16674 resultobj
= SWIG_Py_Void();
16681 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16682 PyObject
*resultobj
= 0;
16683 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16684 unsigned int arg2
;
16688 unsigned int val2
;
16690 PyObject
* obj0
= 0 ;
16691 PyObject
* obj1
= 0 ;
16692 char * kwnames
[] = {
16693 (char *) "self",(char *) "n", NULL
16696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16698 if (!SWIG_IsOK(res1
)) {
16699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16701 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16702 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16703 if (!SWIG_IsOK(ecode2
)) {
16704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16706 arg2
= static_cast< unsigned int >(val2
);
16708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16709 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16710 wxPyEndAllowThreads(__tstate
);
16711 if (PyErr_Occurred()) SWIG_fail
;
16714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16722 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16723 PyObject
*resultobj
= 0;
16724 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16725 unsigned int arg2
;
16729 unsigned int val2
;
16731 PyObject
* obj0
= 0 ;
16732 PyObject
* obj1
= 0 ;
16733 char * kwnames
[] = {
16734 (char *) "self",(char *) "n", NULL
16737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16739 if (!SWIG_IsOK(res1
)) {
16740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16742 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16743 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16744 if (!SWIG_IsOK(ecode2
)) {
16745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16747 arg2
= static_cast< unsigned int >(val2
);
16749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16750 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16751 wxPyEndAllowThreads(__tstate
);
16752 if (PyErr_Occurred()) SWIG_fail
;
16755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16763 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16764 PyObject
*resultobj
= 0;
16765 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16766 unsigned int result
;
16769 PyObject
*swig_obj
[1] ;
16771 if (!args
) SWIG_fail
;
16772 swig_obj
[0] = args
;
16773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16774 if (!SWIG_IsOK(res1
)) {
16775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16777 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16780 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16781 wxPyEndAllowThreads(__tstate
);
16782 if (PyErr_Occurred()) SWIG_fail
;
16784 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16791 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16792 PyObject
*resultobj
= 0;
16793 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16794 unsigned int result
;
16797 PyObject
*swig_obj
[1] ;
16799 if (!args
) SWIG_fail
;
16800 swig_obj
[0] = args
;
16801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16802 if (!SWIG_IsOK(res1
)) {
16803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16805 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16808 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16809 wxPyEndAllowThreads(__tstate
);
16810 if (PyErr_Occurred()) SWIG_fail
;
16812 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16819 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16820 PyObject
*resultobj
= 0;
16821 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16834 PyObject
* obj0
= 0 ;
16835 PyObject
* obj1
= 0 ;
16836 PyObject
* obj2
= 0 ;
16837 PyObject
* obj3
= 0 ;
16838 char * kwnames
[] = {
16839 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16844 if (!SWIG_IsOK(res1
)) {
16845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16847 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16848 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16849 if (!SWIG_IsOK(ecode2
)) {
16850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16852 arg2
= static_cast< int >(val2
);
16853 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16854 if (!SWIG_IsOK(ecode3
)) {
16855 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16857 arg3
= static_cast< wxDirection
>(val3
);
16858 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16859 if (!SWIG_IsOK(ecode4
)) {
16860 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16862 arg4
= static_cast< long >(val4
);
16864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16865 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16866 wxPyEndAllowThreads(__tstate
);
16867 if (PyErr_Occurred()) SWIG_fail
;
16869 resultobj
= SWIG_From_int(static_cast< int >(result
));
16876 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16877 PyObject
*resultobj
= 0;
16878 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16879 unsigned int arg2
;
16880 wxString
*arg3
= 0 ;
16883 unsigned int val2
;
16885 bool temp3
= false ;
16886 PyObject
* obj0
= 0 ;
16887 PyObject
* obj1
= 0 ;
16888 PyObject
* obj2
= 0 ;
16889 char * kwnames
[] = {
16890 (char *) "self",(char *) "item",(char *) "text", NULL
16893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16895 if (!SWIG_IsOK(res1
)) {
16896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16898 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16899 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16900 if (!SWIG_IsOK(ecode2
)) {
16901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16903 arg2
= static_cast< unsigned int >(val2
);
16905 arg3
= wxString_in_helper(obj2
);
16906 if (arg3
== NULL
) SWIG_fail
;
16910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16911 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
16912 wxPyEndAllowThreads(__tstate
);
16913 if (PyErr_Occurred()) SWIG_fail
;
16915 resultobj
= SWIG_Py_Void();
16930 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16931 PyObject
*resultobj
= 0;
16932 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16933 unsigned int arg2
;
16934 wxToolTip
*result
= 0 ;
16937 unsigned int val2
;
16939 PyObject
* obj0
= 0 ;
16940 PyObject
* obj1
= 0 ;
16941 char * kwnames
[] = {
16942 (char *) "self",(char *) "item", NULL
16945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16947 if (!SWIG_IsOK(res1
)) {
16948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16950 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16951 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16952 if (!SWIG_IsOK(ecode2
)) {
16953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16955 arg2
= static_cast< unsigned int >(val2
);
16957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16958 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
16959 wxPyEndAllowThreads(__tstate
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16963 resultobj
= wxPyMake_wxObject(result
, (bool)0);
16971 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16972 PyObject
*resultobj
= 0;
16973 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16974 unsigned int arg2
;
16975 wxString
*arg3
= 0 ;
16978 unsigned int val2
;
16980 bool temp3
= false ;
16981 PyObject
* obj0
= 0 ;
16982 PyObject
* obj1
= 0 ;
16983 PyObject
* obj2
= 0 ;
16984 char * kwnames
[] = {
16985 (char *) "self",(char *) "n",(char *) "helpText", NULL
16988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16990 if (!SWIG_IsOK(res1
)) {
16991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16993 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16994 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16995 if (!SWIG_IsOK(ecode2
)) {
16996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
16998 arg2
= static_cast< unsigned int >(val2
);
17000 arg3
= wxString_in_helper(obj2
);
17001 if (arg3
== NULL
) SWIG_fail
;
17005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17006 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17007 wxPyEndAllowThreads(__tstate
);
17008 if (PyErr_Occurred()) SWIG_fail
;
17010 resultobj
= SWIG_Py_Void();
17025 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17026 PyObject
*resultobj
= 0;
17027 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17028 unsigned int arg2
;
17032 unsigned int val2
;
17034 PyObject
* obj0
= 0 ;
17035 PyObject
* obj1
= 0 ;
17036 char * kwnames
[] = {
17037 (char *) "self",(char *) "n", NULL
17040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17042 if (!SWIG_IsOK(res1
)) {
17043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17045 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17046 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17047 if (!SWIG_IsOK(ecode2
)) {
17048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17050 arg2
= static_cast< unsigned int >(val2
);
17052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17053 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17054 wxPyEndAllowThreads(__tstate
);
17055 if (PyErr_Occurred()) SWIG_fail
;
17059 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17061 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17070 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17071 PyObject
*resultobj
= 0;
17072 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17073 SwigValueWrapper
<wxVisualAttributes
> result
;
17076 PyObject
* obj0
= 0 ;
17077 char * kwnames
[] = {
17078 (char *) "variant", NULL
17081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17083 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17084 if (!SWIG_IsOK(ecode1
)) {
17085 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17087 arg1
= static_cast< wxWindowVariant
>(val1
);
17090 if (!wxPyCheckForApp()) SWIG_fail
;
17091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17092 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17093 wxPyEndAllowThreads(__tstate
);
17094 if (PyErr_Occurred()) SWIG_fail
;
17096 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17103 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17105 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17106 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17107 return SWIG_Py_Void();
17110 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17111 return SWIG_Python_InitShadowInstance(args
);
17114 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17115 PyObject
*resultobj
= 0;
17116 wxWindow
*arg1
= (wxWindow
*) 0 ;
17117 int arg2
= (int) -1 ;
17118 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17119 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17120 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17121 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17122 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17123 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17124 long arg6
= (long) 0 ;
17125 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17126 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17127 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17128 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17129 wxRadioButton
*result
= 0 ;
17134 bool temp3
= false ;
17141 bool temp8
= false ;
17142 PyObject
* obj0
= 0 ;
17143 PyObject
* obj1
= 0 ;
17144 PyObject
* obj2
= 0 ;
17145 PyObject
* obj3
= 0 ;
17146 PyObject
* obj4
= 0 ;
17147 PyObject
* obj5
= 0 ;
17148 PyObject
* obj6
= 0 ;
17149 PyObject
* obj7
= 0 ;
17150 char * kwnames
[] = {
17151 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17156 if (!SWIG_IsOK(res1
)) {
17157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17159 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17162 if (!SWIG_IsOK(ecode2
)) {
17163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17165 arg2
= static_cast< int >(val2
);
17169 arg3
= wxString_in_helper(obj2
);
17170 if (arg3
== NULL
) SWIG_fail
;
17177 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17183 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17187 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17188 if (!SWIG_IsOK(ecode6
)) {
17189 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17191 arg6
= static_cast< long >(val6
);
17194 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17195 if (!SWIG_IsOK(res7
)) {
17196 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17199 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17201 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17205 arg8
= wxString_in_helper(obj7
);
17206 if (arg8
== NULL
) SWIG_fail
;
17211 if (!wxPyCheckForApp()) SWIG_fail
;
17212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17213 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17214 wxPyEndAllowThreads(__tstate
);
17215 if (PyErr_Occurred()) SWIG_fail
;
17217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17240 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17241 PyObject
*resultobj
= 0;
17242 wxRadioButton
*result
= 0 ;
17244 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17246 if (!wxPyCheckForApp()) SWIG_fail
;
17247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17248 result
= (wxRadioButton
*)new wxRadioButton();
17249 wxPyEndAllowThreads(__tstate
);
17250 if (PyErr_Occurred()) SWIG_fail
;
17252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17259 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17260 PyObject
*resultobj
= 0;
17261 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17262 wxWindow
*arg2
= (wxWindow
*) 0 ;
17263 int arg3
= (int) -1 ;
17264 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17265 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17266 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17267 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17268 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17269 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17270 long arg7
= (long) 0 ;
17271 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17272 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17273 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17274 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17282 bool temp4
= false ;
17289 bool temp9
= false ;
17290 PyObject
* obj0
= 0 ;
17291 PyObject
* obj1
= 0 ;
17292 PyObject
* obj2
= 0 ;
17293 PyObject
* obj3
= 0 ;
17294 PyObject
* obj4
= 0 ;
17295 PyObject
* obj5
= 0 ;
17296 PyObject
* obj6
= 0 ;
17297 PyObject
* obj7
= 0 ;
17298 PyObject
* obj8
= 0 ;
17299 char * kwnames
[] = {
17300 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17305 if (!SWIG_IsOK(res1
)) {
17306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17308 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17309 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17310 if (!SWIG_IsOK(res2
)) {
17311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17313 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17315 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17316 if (!SWIG_IsOK(ecode3
)) {
17317 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17319 arg3
= static_cast< int >(val3
);
17323 arg4
= wxString_in_helper(obj3
);
17324 if (arg4
== NULL
) SWIG_fail
;
17331 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17337 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17341 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17342 if (!SWIG_IsOK(ecode7
)) {
17343 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17345 arg7
= static_cast< long >(val7
);
17348 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17349 if (!SWIG_IsOK(res8
)) {
17350 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17353 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17355 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17359 arg9
= wxString_in_helper(obj8
);
17360 if (arg9
== NULL
) SWIG_fail
;
17365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17366 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17367 wxPyEndAllowThreads(__tstate
);
17368 if (PyErr_Occurred()) SWIG_fail
;
17371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17395 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17396 PyObject
*resultobj
= 0;
17397 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17401 PyObject
*swig_obj
[1] ;
17403 if (!args
) SWIG_fail
;
17404 swig_obj
[0] = args
;
17405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17406 if (!SWIG_IsOK(res1
)) {
17407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17409 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17412 result
= (bool)(arg1
)->GetValue();
17413 wxPyEndAllowThreads(__tstate
);
17414 if (PyErr_Occurred()) SWIG_fail
;
17417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17425 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17426 PyObject
*resultobj
= 0;
17427 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17433 PyObject
* obj0
= 0 ;
17434 PyObject
* obj1
= 0 ;
17435 char * kwnames
[] = {
17436 (char *) "self",(char *) "value", NULL
17439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17441 if (!SWIG_IsOK(res1
)) {
17442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17444 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17445 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17446 if (!SWIG_IsOK(ecode2
)) {
17447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17449 arg2
= static_cast< bool >(val2
);
17451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17452 (arg1
)->SetValue(arg2
);
17453 wxPyEndAllowThreads(__tstate
);
17454 if (PyErr_Occurred()) SWIG_fail
;
17456 resultobj
= SWIG_Py_Void();
17463 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17464 PyObject
*resultobj
= 0;
17465 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17466 SwigValueWrapper
<wxVisualAttributes
> result
;
17469 PyObject
* obj0
= 0 ;
17470 char * kwnames
[] = {
17471 (char *) "variant", NULL
17474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17476 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17477 if (!SWIG_IsOK(ecode1
)) {
17478 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17480 arg1
= static_cast< wxWindowVariant
>(val1
);
17483 if (!wxPyCheckForApp()) SWIG_fail
;
17484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17485 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17486 wxPyEndAllowThreads(__tstate
);
17487 if (PyErr_Occurred()) SWIG_fail
;
17489 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17496 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17498 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17499 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17500 return SWIG_Py_Void();
17503 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17504 return SWIG_Python_InitShadowInstance(args
);
17507 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17508 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17513 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17514 PyObject
*pyobj
= 0;
17518 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17520 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17527 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17528 PyObject
*resultobj
= 0;
17529 wxWindow
*arg1
= (wxWindow
*) 0 ;
17530 int arg2
= (int) -1 ;
17531 int arg3
= (int) 0 ;
17532 int arg4
= (int) 0 ;
17533 int arg5
= (int) 100 ;
17534 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17535 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17536 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17537 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17538 long arg8
= (long) wxSL_HORIZONTAL
;
17539 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17540 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17541 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17542 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17543 wxSlider
*result
= 0 ;
17560 bool temp10
= false ;
17561 PyObject
* obj0
= 0 ;
17562 PyObject
* obj1
= 0 ;
17563 PyObject
* obj2
= 0 ;
17564 PyObject
* obj3
= 0 ;
17565 PyObject
* obj4
= 0 ;
17566 PyObject
* obj5
= 0 ;
17567 PyObject
* obj6
= 0 ;
17568 PyObject
* obj7
= 0 ;
17569 PyObject
* obj8
= 0 ;
17570 PyObject
* obj9
= 0 ;
17571 char * kwnames
[] = {
17572 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17577 if (!SWIG_IsOK(res1
)) {
17578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17580 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17582 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17583 if (!SWIG_IsOK(ecode2
)) {
17584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17586 arg2
= static_cast< int >(val2
);
17589 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17590 if (!SWIG_IsOK(ecode3
)) {
17591 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17593 arg3
= static_cast< int >(val3
);
17596 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17597 if (!SWIG_IsOK(ecode4
)) {
17598 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17600 arg4
= static_cast< int >(val4
);
17603 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17604 if (!SWIG_IsOK(ecode5
)) {
17605 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17607 arg5
= static_cast< int >(val5
);
17612 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17618 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17622 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17623 if (!SWIG_IsOK(ecode8
)) {
17624 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17626 arg8
= static_cast< long >(val8
);
17629 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17630 if (!SWIG_IsOK(res9
)) {
17631 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17634 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17636 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17640 arg10
= wxString_in_helper(obj9
);
17641 if (arg10
== NULL
) SWIG_fail
;
17646 if (!wxPyCheckForApp()) SWIG_fail
;
17647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17648 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17649 wxPyEndAllowThreads(__tstate
);
17650 if (PyErr_Occurred()) SWIG_fail
;
17652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17667 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17668 PyObject
*resultobj
= 0;
17669 wxSlider
*result
= 0 ;
17671 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17673 if (!wxPyCheckForApp()) SWIG_fail
;
17674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17675 result
= (wxSlider
*)new wxSlider();
17676 wxPyEndAllowThreads(__tstate
);
17677 if (PyErr_Occurred()) SWIG_fail
;
17679 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17686 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17687 PyObject
*resultobj
= 0;
17688 wxSlider
*arg1
= (wxSlider
*) 0 ;
17689 wxWindow
*arg2
= (wxWindow
*) 0 ;
17690 int arg3
= (int) -1 ;
17691 int arg4
= (int) 0 ;
17692 int arg5
= (int) 0 ;
17693 int arg6
= (int) 100 ;
17694 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17695 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17696 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17697 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17698 long arg9
= (long) wxSL_HORIZONTAL
;
17699 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17700 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17701 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17702 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17722 bool temp11
= false ;
17723 PyObject
* obj0
= 0 ;
17724 PyObject
* obj1
= 0 ;
17725 PyObject
* obj2
= 0 ;
17726 PyObject
* obj3
= 0 ;
17727 PyObject
* obj4
= 0 ;
17728 PyObject
* obj5
= 0 ;
17729 PyObject
* obj6
= 0 ;
17730 PyObject
* obj7
= 0 ;
17731 PyObject
* obj8
= 0 ;
17732 PyObject
* obj9
= 0 ;
17733 PyObject
* obj10
= 0 ;
17734 char * kwnames
[] = {
17735 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17740 if (!SWIG_IsOK(res1
)) {
17741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17743 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17744 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17745 if (!SWIG_IsOK(res2
)) {
17746 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17748 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17750 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17751 if (!SWIG_IsOK(ecode3
)) {
17752 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17754 arg3
= static_cast< int >(val3
);
17757 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17758 if (!SWIG_IsOK(ecode4
)) {
17759 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17761 arg4
= static_cast< int >(val4
);
17764 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17765 if (!SWIG_IsOK(ecode5
)) {
17766 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17768 arg5
= static_cast< int >(val5
);
17771 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17772 if (!SWIG_IsOK(ecode6
)) {
17773 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17775 arg6
= static_cast< int >(val6
);
17780 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17786 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17790 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17791 if (!SWIG_IsOK(ecode9
)) {
17792 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17794 arg9
= static_cast< long >(val9
);
17797 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17798 if (!SWIG_IsOK(res10
)) {
17799 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17802 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17804 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17808 arg11
= wxString_in_helper(obj10
);
17809 if (arg11
== NULL
) SWIG_fail
;
17814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17815 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17816 wxPyEndAllowThreads(__tstate
);
17817 if (PyErr_Occurred()) SWIG_fail
;
17820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17836 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17837 PyObject
*resultobj
= 0;
17838 wxSlider
*arg1
= (wxSlider
*) 0 ;
17842 PyObject
*swig_obj
[1] ;
17844 if (!args
) SWIG_fail
;
17845 swig_obj
[0] = args
;
17846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17847 if (!SWIG_IsOK(res1
)) {
17848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17850 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17853 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17854 wxPyEndAllowThreads(__tstate
);
17855 if (PyErr_Occurred()) SWIG_fail
;
17857 resultobj
= SWIG_From_int(static_cast< int >(result
));
17864 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17865 PyObject
*resultobj
= 0;
17866 wxSlider
*arg1
= (wxSlider
*) 0 ;
17872 PyObject
* obj0
= 0 ;
17873 PyObject
* obj1
= 0 ;
17874 char * kwnames
[] = {
17875 (char *) "self",(char *) "value", NULL
17878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17880 if (!SWIG_IsOK(res1
)) {
17881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17883 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17885 if (!SWIG_IsOK(ecode2
)) {
17886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17888 arg2
= static_cast< int >(val2
);
17890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17891 (arg1
)->SetValue(arg2
);
17892 wxPyEndAllowThreads(__tstate
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17895 resultobj
= SWIG_Py_Void();
17902 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17903 PyObject
*resultobj
= 0;
17904 wxSlider
*arg1
= (wxSlider
*) 0 ;
17913 PyObject
* obj0
= 0 ;
17914 PyObject
* obj1
= 0 ;
17915 PyObject
* obj2
= 0 ;
17916 char * kwnames
[] = {
17917 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17922 if (!SWIG_IsOK(res1
)) {
17923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
17925 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17927 if (!SWIG_IsOK(ecode2
)) {
17928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
17930 arg2
= static_cast< int >(val2
);
17931 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17932 if (!SWIG_IsOK(ecode3
)) {
17933 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
17935 arg3
= static_cast< int >(val3
);
17937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17938 (arg1
)->SetRange(arg2
,arg3
);
17939 wxPyEndAllowThreads(__tstate
);
17940 if (PyErr_Occurred()) SWIG_fail
;
17942 resultobj
= SWIG_Py_Void();
17949 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17950 PyObject
*resultobj
= 0;
17951 wxSlider
*arg1
= (wxSlider
*) 0 ;
17955 PyObject
*swig_obj
[1] ;
17957 if (!args
) SWIG_fail
;
17958 swig_obj
[0] = args
;
17959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17960 if (!SWIG_IsOK(res1
)) {
17961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
17963 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17966 result
= (int)((wxSlider
const *)arg1
)->GetMin();
17967 wxPyEndAllowThreads(__tstate
);
17968 if (PyErr_Occurred()) SWIG_fail
;
17970 resultobj
= SWIG_From_int(static_cast< int >(result
));
17977 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17978 PyObject
*resultobj
= 0;
17979 wxSlider
*arg1
= (wxSlider
*) 0 ;
17983 PyObject
*swig_obj
[1] ;
17985 if (!args
) SWIG_fail
;
17986 swig_obj
[0] = args
;
17987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17988 if (!SWIG_IsOK(res1
)) {
17989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
17991 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17994 result
= (int)((wxSlider
const *)arg1
)->GetMax();
17995 wxPyEndAllowThreads(__tstate
);
17996 if (PyErr_Occurred()) SWIG_fail
;
17998 resultobj
= SWIG_From_int(static_cast< int >(result
));
18005 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18006 PyObject
*resultobj
= 0;
18007 wxSlider
*arg1
= (wxSlider
*) 0 ;
18013 PyObject
* obj0
= 0 ;
18014 PyObject
* obj1
= 0 ;
18015 char * kwnames
[] = {
18016 (char *) "self",(char *) "minValue", NULL
18019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18021 if (!SWIG_IsOK(res1
)) {
18022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18024 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18025 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18026 if (!SWIG_IsOK(ecode2
)) {
18027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18029 arg2
= static_cast< int >(val2
);
18031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18032 (arg1
)->SetMin(arg2
);
18033 wxPyEndAllowThreads(__tstate
);
18034 if (PyErr_Occurred()) SWIG_fail
;
18036 resultobj
= SWIG_Py_Void();
18043 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18044 PyObject
*resultobj
= 0;
18045 wxSlider
*arg1
= (wxSlider
*) 0 ;
18051 PyObject
* obj0
= 0 ;
18052 PyObject
* obj1
= 0 ;
18053 char * kwnames
[] = {
18054 (char *) "self",(char *) "maxValue", NULL
18057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18059 if (!SWIG_IsOK(res1
)) {
18060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18062 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18064 if (!SWIG_IsOK(ecode2
)) {
18065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18067 arg2
= static_cast< int >(val2
);
18069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18070 (arg1
)->SetMax(arg2
);
18071 wxPyEndAllowThreads(__tstate
);
18072 if (PyErr_Occurred()) SWIG_fail
;
18074 resultobj
= SWIG_Py_Void();
18081 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18082 PyObject
*resultobj
= 0;
18083 wxSlider
*arg1
= (wxSlider
*) 0 ;
18089 PyObject
* obj0
= 0 ;
18090 PyObject
* obj1
= 0 ;
18091 char * kwnames
[] = {
18092 (char *) "self",(char *) "lineSize", NULL
18095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18097 if (!SWIG_IsOK(res1
)) {
18098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18100 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18102 if (!SWIG_IsOK(ecode2
)) {
18103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18105 arg2
= static_cast< int >(val2
);
18107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18108 (arg1
)->SetLineSize(arg2
);
18109 wxPyEndAllowThreads(__tstate
);
18110 if (PyErr_Occurred()) SWIG_fail
;
18112 resultobj
= SWIG_Py_Void();
18119 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18120 PyObject
*resultobj
= 0;
18121 wxSlider
*arg1
= (wxSlider
*) 0 ;
18127 PyObject
* obj0
= 0 ;
18128 PyObject
* obj1
= 0 ;
18129 char * kwnames
[] = {
18130 (char *) "self",(char *) "pageSize", NULL
18133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18135 if (!SWIG_IsOK(res1
)) {
18136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18138 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18140 if (!SWIG_IsOK(ecode2
)) {
18141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18143 arg2
= static_cast< int >(val2
);
18145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18146 (arg1
)->SetPageSize(arg2
);
18147 wxPyEndAllowThreads(__tstate
);
18148 if (PyErr_Occurred()) SWIG_fail
;
18150 resultobj
= SWIG_Py_Void();
18157 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18158 PyObject
*resultobj
= 0;
18159 wxSlider
*arg1
= (wxSlider
*) 0 ;
18163 PyObject
*swig_obj
[1] ;
18165 if (!args
) SWIG_fail
;
18166 swig_obj
[0] = args
;
18167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18168 if (!SWIG_IsOK(res1
)) {
18169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18171 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18174 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18175 wxPyEndAllowThreads(__tstate
);
18176 if (PyErr_Occurred()) SWIG_fail
;
18178 resultobj
= SWIG_From_int(static_cast< int >(result
));
18185 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18186 PyObject
*resultobj
= 0;
18187 wxSlider
*arg1
= (wxSlider
*) 0 ;
18191 PyObject
*swig_obj
[1] ;
18193 if (!args
) SWIG_fail
;
18194 swig_obj
[0] = args
;
18195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18196 if (!SWIG_IsOK(res1
)) {
18197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18199 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18202 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18203 wxPyEndAllowThreads(__tstate
);
18204 if (PyErr_Occurred()) SWIG_fail
;
18206 resultobj
= SWIG_From_int(static_cast< int >(result
));
18213 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18214 PyObject
*resultobj
= 0;
18215 wxSlider
*arg1
= (wxSlider
*) 0 ;
18221 PyObject
* obj0
= 0 ;
18222 PyObject
* obj1
= 0 ;
18223 char * kwnames
[] = {
18224 (char *) "self",(char *) "lenPixels", NULL
18227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18229 if (!SWIG_IsOK(res1
)) {
18230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18232 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18233 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18234 if (!SWIG_IsOK(ecode2
)) {
18235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18237 arg2
= static_cast< int >(val2
);
18239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18240 (arg1
)->SetThumbLength(arg2
);
18241 wxPyEndAllowThreads(__tstate
);
18242 if (PyErr_Occurred()) SWIG_fail
;
18244 resultobj
= SWIG_Py_Void();
18251 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18252 PyObject
*resultobj
= 0;
18253 wxSlider
*arg1
= (wxSlider
*) 0 ;
18257 PyObject
*swig_obj
[1] ;
18259 if (!args
) SWIG_fail
;
18260 swig_obj
[0] = args
;
18261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18262 if (!SWIG_IsOK(res1
)) {
18263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18265 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18268 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18269 wxPyEndAllowThreads(__tstate
);
18270 if (PyErr_Occurred()) SWIG_fail
;
18272 resultobj
= SWIG_From_int(static_cast< int >(result
));
18279 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18280 PyObject
*resultobj
= 0;
18281 wxSlider
*arg1
= (wxSlider
*) 0 ;
18283 int arg3
= (int) 1 ;
18290 PyObject
* obj0
= 0 ;
18291 PyObject
* obj1
= 0 ;
18292 PyObject
* obj2
= 0 ;
18293 char * kwnames
[] = {
18294 (char *) "self",(char *) "n",(char *) "pos", NULL
18297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18299 if (!SWIG_IsOK(res1
)) {
18300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18302 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18303 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18304 if (!SWIG_IsOK(ecode2
)) {
18305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18307 arg2
= static_cast< int >(val2
);
18309 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18310 if (!SWIG_IsOK(ecode3
)) {
18311 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18313 arg3
= static_cast< int >(val3
);
18316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18317 (arg1
)->SetTickFreq(arg2
,arg3
);
18318 wxPyEndAllowThreads(__tstate
);
18319 if (PyErr_Occurred()) SWIG_fail
;
18321 resultobj
= SWIG_Py_Void();
18328 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18329 PyObject
*resultobj
= 0;
18330 wxSlider
*arg1
= (wxSlider
*) 0 ;
18334 PyObject
*swig_obj
[1] ;
18336 if (!args
) SWIG_fail
;
18337 swig_obj
[0] = args
;
18338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18339 if (!SWIG_IsOK(res1
)) {
18340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18342 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18345 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18346 wxPyEndAllowThreads(__tstate
);
18347 if (PyErr_Occurred()) SWIG_fail
;
18349 resultobj
= SWIG_From_int(static_cast< int >(result
));
18356 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18357 PyObject
*resultobj
= 0;
18358 wxSlider
*arg1
= (wxSlider
*) 0 ;
18361 PyObject
*swig_obj
[1] ;
18363 if (!args
) SWIG_fail
;
18364 swig_obj
[0] = args
;
18365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18366 if (!SWIG_IsOK(res1
)) {
18367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18369 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18372 (arg1
)->ClearTicks();
18373 wxPyEndAllowThreads(__tstate
);
18374 if (PyErr_Occurred()) SWIG_fail
;
18376 resultobj
= SWIG_Py_Void();
18383 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18384 PyObject
*resultobj
= 0;
18385 wxSlider
*arg1
= (wxSlider
*) 0 ;
18391 PyObject
* obj0
= 0 ;
18392 PyObject
* obj1
= 0 ;
18393 char * kwnames
[] = {
18394 (char *) "self",(char *) "tickPos", NULL
18397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18399 if (!SWIG_IsOK(res1
)) {
18400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18402 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18404 if (!SWIG_IsOK(ecode2
)) {
18405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18407 arg2
= static_cast< int >(val2
);
18409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18410 (arg1
)->SetTick(arg2
);
18411 wxPyEndAllowThreads(__tstate
);
18412 if (PyErr_Occurred()) SWIG_fail
;
18414 resultobj
= SWIG_Py_Void();
18421 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18422 PyObject
*resultobj
= 0;
18423 wxSlider
*arg1
= (wxSlider
*) 0 ;
18426 PyObject
*swig_obj
[1] ;
18428 if (!args
) SWIG_fail
;
18429 swig_obj
[0] = args
;
18430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18431 if (!SWIG_IsOK(res1
)) {
18432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18434 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18437 (arg1
)->ClearSel();
18438 wxPyEndAllowThreads(__tstate
);
18439 if (PyErr_Occurred()) SWIG_fail
;
18441 resultobj
= SWIG_Py_Void();
18448 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18449 PyObject
*resultobj
= 0;
18450 wxSlider
*arg1
= (wxSlider
*) 0 ;
18454 PyObject
*swig_obj
[1] ;
18456 if (!args
) SWIG_fail
;
18457 swig_obj
[0] = args
;
18458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18459 if (!SWIG_IsOK(res1
)) {
18460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18462 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18465 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18466 wxPyEndAllowThreads(__tstate
);
18467 if (PyErr_Occurred()) SWIG_fail
;
18469 resultobj
= SWIG_From_int(static_cast< int >(result
));
18476 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18477 PyObject
*resultobj
= 0;
18478 wxSlider
*arg1
= (wxSlider
*) 0 ;
18482 PyObject
*swig_obj
[1] ;
18484 if (!args
) SWIG_fail
;
18485 swig_obj
[0] = args
;
18486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18487 if (!SWIG_IsOK(res1
)) {
18488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18490 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18493 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18494 wxPyEndAllowThreads(__tstate
);
18495 if (PyErr_Occurred()) SWIG_fail
;
18497 resultobj
= SWIG_From_int(static_cast< int >(result
));
18504 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18505 PyObject
*resultobj
= 0;
18506 wxSlider
*arg1
= (wxSlider
*) 0 ;
18515 PyObject
* obj0
= 0 ;
18516 PyObject
* obj1
= 0 ;
18517 PyObject
* obj2
= 0 ;
18518 char * kwnames
[] = {
18519 (char *) "self",(char *) "min",(char *) "max", NULL
18522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18524 if (!SWIG_IsOK(res1
)) {
18525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18527 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18528 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18529 if (!SWIG_IsOK(ecode2
)) {
18530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18532 arg2
= static_cast< int >(val2
);
18533 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18534 if (!SWIG_IsOK(ecode3
)) {
18535 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18537 arg3
= static_cast< int >(val3
);
18539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18540 (arg1
)->SetSelection(arg2
,arg3
);
18541 wxPyEndAllowThreads(__tstate
);
18542 if (PyErr_Occurred()) SWIG_fail
;
18544 resultobj
= SWIG_Py_Void();
18551 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18552 PyObject
*resultobj
= 0;
18553 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18554 SwigValueWrapper
<wxVisualAttributes
> result
;
18557 PyObject
* obj0
= 0 ;
18558 char * kwnames
[] = {
18559 (char *) "variant", NULL
18562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18564 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18565 if (!SWIG_IsOK(ecode1
)) {
18566 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18568 arg1
= static_cast< wxWindowVariant
>(val1
);
18571 if (!wxPyCheckForApp()) SWIG_fail
;
18572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18573 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18574 wxPyEndAllowThreads(__tstate
);
18575 if (PyErr_Occurred()) SWIG_fail
;
18577 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18584 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18586 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18587 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18588 return SWIG_Py_Void();
18591 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18592 return SWIG_Python_InitShadowInstance(args
);
18595 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18596 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18601 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18602 PyObject
*pyobj
= 0;
18606 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18608 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18615 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18616 PyObject
*resultobj
= 0;
18617 wxWindow
*arg1
= (wxWindow
*) 0 ;
18618 int arg2
= (int) -1 ;
18619 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18620 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18621 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18622 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18623 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18624 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18625 long arg6
= (long) 0 ;
18626 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18627 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18628 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18629 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18630 wxToggleButton
*result
= 0 ;
18635 bool temp3
= false ;
18642 bool temp8
= false ;
18643 PyObject
* obj0
= 0 ;
18644 PyObject
* obj1
= 0 ;
18645 PyObject
* obj2
= 0 ;
18646 PyObject
* obj3
= 0 ;
18647 PyObject
* obj4
= 0 ;
18648 PyObject
* obj5
= 0 ;
18649 PyObject
* obj6
= 0 ;
18650 PyObject
* obj7
= 0 ;
18651 char * kwnames
[] = {
18652 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18657 if (!SWIG_IsOK(res1
)) {
18658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18660 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18663 if (!SWIG_IsOK(ecode2
)) {
18664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18666 arg2
= static_cast< int >(val2
);
18670 arg3
= wxString_in_helper(obj2
);
18671 if (arg3
== NULL
) SWIG_fail
;
18678 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18684 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18688 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18689 if (!SWIG_IsOK(ecode6
)) {
18690 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18692 arg6
= static_cast< long >(val6
);
18695 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18696 if (!SWIG_IsOK(res7
)) {
18697 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18700 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18702 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18706 arg8
= wxString_in_helper(obj7
);
18707 if (arg8
== NULL
) SWIG_fail
;
18712 if (!wxPyCheckForApp()) SWIG_fail
;
18713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18714 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18715 wxPyEndAllowThreads(__tstate
);
18716 if (PyErr_Occurred()) SWIG_fail
;
18718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18741 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18742 PyObject
*resultobj
= 0;
18743 wxToggleButton
*result
= 0 ;
18745 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18747 if (!wxPyCheckForApp()) SWIG_fail
;
18748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18749 result
= (wxToggleButton
*)new wxToggleButton();
18750 wxPyEndAllowThreads(__tstate
);
18751 if (PyErr_Occurred()) SWIG_fail
;
18753 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18760 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18761 PyObject
*resultobj
= 0;
18762 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18763 wxWindow
*arg2
= (wxWindow
*) 0 ;
18764 int arg3
= (int) -1 ;
18765 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18766 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18767 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18768 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18769 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18770 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18771 long arg7
= (long) 0 ;
18772 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18773 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18774 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18775 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18783 bool temp4
= false ;
18790 bool temp9
= false ;
18791 PyObject
* obj0
= 0 ;
18792 PyObject
* obj1
= 0 ;
18793 PyObject
* obj2
= 0 ;
18794 PyObject
* obj3
= 0 ;
18795 PyObject
* obj4
= 0 ;
18796 PyObject
* obj5
= 0 ;
18797 PyObject
* obj6
= 0 ;
18798 PyObject
* obj7
= 0 ;
18799 PyObject
* obj8
= 0 ;
18800 char * kwnames
[] = {
18801 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18806 if (!SWIG_IsOK(res1
)) {
18807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18809 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18810 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18811 if (!SWIG_IsOK(res2
)) {
18812 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18814 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18816 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18817 if (!SWIG_IsOK(ecode3
)) {
18818 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18820 arg3
= static_cast< int >(val3
);
18824 arg4
= wxString_in_helper(obj3
);
18825 if (arg4
== NULL
) SWIG_fail
;
18832 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18838 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18842 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18843 if (!SWIG_IsOK(ecode7
)) {
18844 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18846 arg7
= static_cast< long >(val7
);
18849 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18850 if (!SWIG_IsOK(res8
)) {
18851 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18854 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18856 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18860 arg9
= wxString_in_helper(obj8
);
18861 if (arg9
== NULL
) SWIG_fail
;
18866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18867 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18868 wxPyEndAllowThreads(__tstate
);
18869 if (PyErr_Occurred()) SWIG_fail
;
18872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18896 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18897 PyObject
*resultobj
= 0;
18898 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18904 PyObject
* obj0
= 0 ;
18905 PyObject
* obj1
= 0 ;
18906 char * kwnames
[] = {
18907 (char *) "self",(char *) "value", NULL
18910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18912 if (!SWIG_IsOK(res1
)) {
18913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18915 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18916 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18917 if (!SWIG_IsOK(ecode2
)) {
18918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18920 arg2
= static_cast< bool >(val2
);
18922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18923 (arg1
)->SetValue(arg2
);
18924 wxPyEndAllowThreads(__tstate
);
18925 if (PyErr_Occurred()) SWIG_fail
;
18927 resultobj
= SWIG_Py_Void();
18934 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18935 PyObject
*resultobj
= 0;
18936 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18940 PyObject
*swig_obj
[1] ;
18942 if (!args
) SWIG_fail
;
18943 swig_obj
[0] = args
;
18944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18945 if (!SWIG_IsOK(res1
)) {
18946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
18948 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18951 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
18952 wxPyEndAllowThreads(__tstate
);
18953 if (PyErr_Occurred()) SWIG_fail
;
18956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18964 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18965 PyObject
*resultobj
= 0;
18966 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18967 SwigValueWrapper
<wxVisualAttributes
> result
;
18970 PyObject
* obj0
= 0 ;
18971 char * kwnames
[] = {
18972 (char *) "variant", NULL
18975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18977 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18978 if (!SWIG_IsOK(ecode1
)) {
18979 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18981 arg1
= static_cast< wxWindowVariant
>(val1
);
18984 if (!wxPyCheckForApp()) SWIG_fail
;
18985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18986 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
18987 wxPyEndAllowThreads(__tstate
);
18988 if (PyErr_Occurred()) SWIG_fail
;
18990 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18997 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18999 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19000 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19001 return SWIG_Py_Void();
19004 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19005 return SWIG_Python_InitShadowInstance(args
);
19008 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19009 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19014 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19015 PyObject
*pyobj
= 0;
19019 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19021 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19028 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19029 PyObject
*resultobj
= 0;
19030 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19034 PyObject
*swig_obj
[1] ;
19036 if (!args
) SWIG_fail
;
19037 swig_obj
[0] = args
;
19038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19039 if (!SWIG_IsOK(res1
)) {
19040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19042 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19045 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19046 wxPyEndAllowThreads(__tstate
);
19047 if (PyErr_Occurred()) SWIG_fail
;
19049 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19056 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19057 PyObject
*resultobj
= 0;
19058 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19060 wxWindow
*result
= 0 ;
19065 PyObject
* obj0
= 0 ;
19066 PyObject
* obj1
= 0 ;
19067 char * kwnames
[] = {
19068 (char *) "self",(char *) "n", NULL
19071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19073 if (!SWIG_IsOK(res1
)) {
19074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19076 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19077 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19078 if (!SWIG_IsOK(ecode2
)) {
19079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19081 arg2
= static_cast< size_t >(val2
);
19083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19084 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19085 wxPyEndAllowThreads(__tstate
);
19086 if (PyErr_Occurred()) SWIG_fail
;
19089 resultobj
= wxPyMake_wxObject(result
, 0);
19097 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19098 PyObject
*resultobj
= 0;
19099 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19100 wxWindow
*result
= 0 ;
19103 PyObject
*swig_obj
[1] ;
19105 if (!args
) SWIG_fail
;
19106 swig_obj
[0] = args
;
19107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19108 if (!SWIG_IsOK(res1
)) {
19109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19111 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19114 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19115 wxPyEndAllowThreads(__tstate
);
19116 if (PyErr_Occurred()) SWIG_fail
;
19119 resultobj
= wxPyMake_wxObject(result
, 0);
19127 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19128 PyObject
*resultobj
= 0;
19129 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19133 PyObject
*swig_obj
[1] ;
19135 if (!args
) SWIG_fail
;
19136 swig_obj
[0] = args
;
19137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19138 if (!SWIG_IsOK(res1
)) {
19139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19141 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19144 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19145 wxPyEndAllowThreads(__tstate
);
19146 if (PyErr_Occurred()) SWIG_fail
;
19148 resultobj
= SWIG_From_int(static_cast< int >(result
));
19155 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19156 PyObject
*resultobj
= 0;
19157 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19159 wxString
*arg3
= 0 ;
19165 bool temp3
= false ;
19166 PyObject
* obj0
= 0 ;
19167 PyObject
* obj1
= 0 ;
19168 PyObject
* obj2
= 0 ;
19169 char * kwnames
[] = {
19170 (char *) "self",(char *) "n",(char *) "strText", NULL
19173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19175 if (!SWIG_IsOK(res1
)) {
19176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19178 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19179 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19180 if (!SWIG_IsOK(ecode2
)) {
19181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19183 arg2
= static_cast< size_t >(val2
);
19185 arg3
= wxString_in_helper(obj2
);
19186 if (arg3
== NULL
) SWIG_fail
;
19190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19191 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19192 wxPyEndAllowThreads(__tstate
);
19193 if (PyErr_Occurred()) SWIG_fail
;
19196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19212 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19213 PyObject
*resultobj
= 0;
19214 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19221 PyObject
* obj0
= 0 ;
19222 PyObject
* obj1
= 0 ;
19223 char * kwnames
[] = {
19224 (char *) "self",(char *) "n", NULL
19227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19229 if (!SWIG_IsOK(res1
)) {
19230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19232 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19233 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19234 if (!SWIG_IsOK(ecode2
)) {
19235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19237 arg2
= static_cast< size_t >(val2
);
19239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19240 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19241 wxPyEndAllowThreads(__tstate
);
19242 if (PyErr_Occurred()) SWIG_fail
;
19246 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19248 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19257 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19258 PyObject
*resultobj
= 0;
19259 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19260 wxImageList
*arg2
= (wxImageList
*) 0 ;
19265 PyObject
* obj0
= 0 ;
19266 PyObject
* obj1
= 0 ;
19267 char * kwnames
[] = {
19268 (char *) "self",(char *) "imageList", NULL
19271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19273 if (!SWIG_IsOK(res1
)) {
19274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19276 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19277 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19278 if (!SWIG_IsOK(res2
)) {
19279 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19281 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19284 (arg1
)->SetImageList(arg2
);
19285 wxPyEndAllowThreads(__tstate
);
19286 if (PyErr_Occurred()) SWIG_fail
;
19288 resultobj
= SWIG_Py_Void();
19295 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19296 PyObject
*resultobj
= 0;
19297 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19298 wxImageList
*arg2
= (wxImageList
*) 0 ;
19302 PyObject
* obj0
= 0 ;
19303 PyObject
* obj1
= 0 ;
19304 char * kwnames
[] = {
19305 (char *) "self",(char *) "imageList", NULL
19308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19310 if (!SWIG_IsOK(res1
)) {
19311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19313 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19314 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19315 if (!SWIG_IsOK(res2
)) {
19316 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19320 (arg1
)->AssignImageList(arg2
);
19321 wxPyEndAllowThreads(__tstate
);
19322 if (PyErr_Occurred()) SWIG_fail
;
19324 resultobj
= SWIG_Py_Void();
19331 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19332 PyObject
*resultobj
= 0;
19333 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19334 wxImageList
*result
= 0 ;
19337 PyObject
*swig_obj
[1] ;
19339 if (!args
) SWIG_fail
;
19340 swig_obj
[0] = args
;
19341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19342 if (!SWIG_IsOK(res1
)) {
19343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19345 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19348 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19349 wxPyEndAllowThreads(__tstate
);
19350 if (PyErr_Occurred()) SWIG_fail
;
19353 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19361 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19362 PyObject
*resultobj
= 0;
19363 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19370 PyObject
* obj0
= 0 ;
19371 PyObject
* obj1
= 0 ;
19372 char * kwnames
[] = {
19373 (char *) "self",(char *) "n", NULL
19376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19378 if (!SWIG_IsOK(res1
)) {
19379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19381 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19382 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19383 if (!SWIG_IsOK(ecode2
)) {
19384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19386 arg2
= static_cast< size_t >(val2
);
19388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19389 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19390 wxPyEndAllowThreads(__tstate
);
19391 if (PyErr_Occurred()) SWIG_fail
;
19393 resultobj
= SWIG_From_int(static_cast< int >(result
));
19400 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19401 PyObject
*resultobj
= 0;
19402 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19412 PyObject
* obj0
= 0 ;
19413 PyObject
* obj1
= 0 ;
19414 PyObject
* obj2
= 0 ;
19415 char * kwnames
[] = {
19416 (char *) "self",(char *) "n",(char *) "imageId", NULL
19419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19421 if (!SWIG_IsOK(res1
)) {
19422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19424 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19425 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19426 if (!SWIG_IsOK(ecode2
)) {
19427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19429 arg2
= static_cast< size_t >(val2
);
19430 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19431 if (!SWIG_IsOK(ecode3
)) {
19432 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19434 arg3
= static_cast< int >(val3
);
19436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19437 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19438 wxPyEndAllowThreads(__tstate
);
19439 if (PyErr_Occurred()) SWIG_fail
;
19442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19450 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19451 PyObject
*resultobj
= 0;
19452 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19457 PyObject
* obj0
= 0 ;
19458 PyObject
* obj1
= 0 ;
19459 char * kwnames
[] = {
19460 (char *) "self",(char *) "size", NULL
19463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19465 if (!SWIG_IsOK(res1
)) {
19466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19468 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19471 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19475 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19476 wxPyEndAllowThreads(__tstate
);
19477 if (PyErr_Occurred()) SWIG_fail
;
19479 resultobj
= SWIG_Py_Void();
19486 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19487 PyObject
*resultobj
= 0;
19488 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19494 PyObject
* obj0
= 0 ;
19495 PyObject
* obj1
= 0 ;
19496 char * kwnames
[] = {
19497 (char *) "self",(char *) "sizePage", NULL
19500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19502 if (!SWIG_IsOK(res1
)) {
19503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19505 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19508 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19512 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19513 wxPyEndAllowThreads(__tstate
);
19514 if (PyErr_Occurred()) SWIG_fail
;
19516 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19523 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19524 PyObject
*resultobj
= 0;
19525 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19526 unsigned int result
;
19529 PyObject
*swig_obj
[1] ;
19531 if (!args
) SWIG_fail
;
19532 swig_obj
[0] = args
;
19533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19534 if (!SWIG_IsOK(res1
)) {
19535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19537 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19540 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19541 wxPyEndAllowThreads(__tstate
);
19542 if (PyErr_Occurred()) SWIG_fail
;
19544 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19551 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19552 PyObject
*resultobj
= 0;
19553 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19554 unsigned int arg2
;
19557 unsigned int val2
;
19559 PyObject
* obj0
= 0 ;
19560 PyObject
* obj1
= 0 ;
19561 char * kwnames
[] = {
19562 (char *) "self",(char *) "internalBorder", NULL
19565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19567 if (!SWIG_IsOK(res1
)) {
19568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19570 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19571 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19572 if (!SWIG_IsOK(ecode2
)) {
19573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19575 arg2
= static_cast< unsigned int >(val2
);
19577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19578 (arg1
)->SetInternalBorder(arg2
);
19579 wxPyEndAllowThreads(__tstate
);
19580 if (PyErr_Occurred()) SWIG_fail
;
19582 resultobj
= SWIG_Py_Void();
19589 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19590 PyObject
*resultobj
= 0;
19591 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19595 PyObject
*swig_obj
[1] ;
19597 if (!args
) SWIG_fail
;
19598 swig_obj
[0] = args
;
19599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19600 if (!SWIG_IsOK(res1
)) {
19601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19603 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19606 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19607 wxPyEndAllowThreads(__tstate
);
19608 if (PyErr_Occurred()) SWIG_fail
;
19611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19619 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19620 PyObject
*resultobj
= 0;
19621 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19627 PyObject
* obj0
= 0 ;
19628 PyObject
* obj1
= 0 ;
19629 char * kwnames
[] = {
19630 (char *) "self",(char *) "margin", NULL
19633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19635 if (!SWIG_IsOK(res1
)) {
19636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19638 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19639 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19640 if (!SWIG_IsOK(ecode2
)) {
19641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19643 arg2
= static_cast< int >(val2
);
19645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19646 (arg1
)->SetControlMargin(arg2
);
19647 wxPyEndAllowThreads(__tstate
);
19648 if (PyErr_Occurred()) SWIG_fail
;
19650 resultobj
= SWIG_Py_Void();
19657 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19658 PyObject
*resultobj
= 0;
19659 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19663 PyObject
*swig_obj
[1] ;
19665 if (!args
) SWIG_fail
;
19666 swig_obj
[0] = args
;
19667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19668 if (!SWIG_IsOK(res1
)) {
19669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19671 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19674 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19675 wxPyEndAllowThreads(__tstate
);
19676 if (PyErr_Occurred()) SWIG_fail
;
19678 resultobj
= SWIG_From_int(static_cast< int >(result
));
19685 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19686 PyObject
*resultobj
= 0;
19687 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19693 PyObject
* obj0
= 0 ;
19694 PyObject
* obj1
= 0 ;
19695 char * kwnames
[] = {
19696 (char *) "self",(char *) "fit", NULL
19699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19701 if (!SWIG_IsOK(res1
)) {
19702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19704 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19705 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19706 if (!SWIG_IsOK(ecode2
)) {
19707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19709 arg2
= static_cast< bool >(val2
);
19711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19712 (arg1
)->SetFitToCurrentPage(arg2
);
19713 wxPyEndAllowThreads(__tstate
);
19714 if (PyErr_Occurred()) SWIG_fail
;
19716 resultobj
= SWIG_Py_Void();
19723 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19724 PyObject
*resultobj
= 0;
19725 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19729 PyObject
*swig_obj
[1] ;
19731 if (!args
) SWIG_fail
;
19732 swig_obj
[0] = args
;
19733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19734 if (!SWIG_IsOK(res1
)) {
19735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19737 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19740 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19741 wxPyEndAllowThreads(__tstate
);
19742 if (PyErr_Occurred()) SWIG_fail
;
19745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19753 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19754 PyObject
*resultobj
= 0;
19755 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19756 wxSizer
*result
= 0 ;
19759 PyObject
*swig_obj
[1] ;
19761 if (!args
) SWIG_fail
;
19762 swig_obj
[0] = args
;
19763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19764 if (!SWIG_IsOK(res1
)) {
19765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19767 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19770 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19771 wxPyEndAllowThreads(__tstate
);
19772 if (PyErr_Occurred()) SWIG_fail
;
19775 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19783 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19784 PyObject
*resultobj
= 0;
19785 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19792 PyObject
* obj0
= 0 ;
19793 PyObject
* obj1
= 0 ;
19794 char * kwnames
[] = {
19795 (char *) "self",(char *) "n", NULL
19798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19800 if (!SWIG_IsOK(res1
)) {
19801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19803 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19804 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19805 if (!SWIG_IsOK(ecode2
)) {
19806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19808 arg2
= static_cast< size_t >(val2
);
19810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19811 result
= (bool)(arg1
)->DeletePage(arg2
);
19812 wxPyEndAllowThreads(__tstate
);
19813 if (PyErr_Occurred()) SWIG_fail
;
19816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19824 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19825 PyObject
*resultobj
= 0;
19826 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19833 PyObject
* obj0
= 0 ;
19834 PyObject
* obj1
= 0 ;
19835 char * kwnames
[] = {
19836 (char *) "self",(char *) "n", NULL
19839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19841 if (!SWIG_IsOK(res1
)) {
19842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19844 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19845 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19846 if (!SWIG_IsOK(ecode2
)) {
19847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19849 arg2
= static_cast< size_t >(val2
);
19851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19852 result
= (bool)(arg1
)->RemovePage(arg2
);
19853 wxPyEndAllowThreads(__tstate
);
19854 if (PyErr_Occurred()) SWIG_fail
;
19857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19865 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19866 PyObject
*resultobj
= 0;
19867 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19871 PyObject
*swig_obj
[1] ;
19873 if (!args
) SWIG_fail
;
19874 swig_obj
[0] = args
;
19875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19876 if (!SWIG_IsOK(res1
)) {
19877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19879 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19882 result
= (bool)(arg1
)->DeleteAllPages();
19883 wxPyEndAllowThreads(__tstate
);
19884 if (PyErr_Occurred()) SWIG_fail
;
19887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19895 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19896 PyObject
*resultobj
= 0;
19897 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19898 wxWindow
*arg2
= (wxWindow
*) 0 ;
19899 wxString
*arg3
= 0 ;
19900 bool arg4
= (bool) false ;
19901 int arg5
= (int) -1 ;
19907 bool temp3
= false ;
19912 PyObject
* obj0
= 0 ;
19913 PyObject
* obj1
= 0 ;
19914 PyObject
* obj2
= 0 ;
19915 PyObject
* obj3
= 0 ;
19916 PyObject
* obj4
= 0 ;
19917 char * kwnames
[] = {
19918 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19923 if (!SWIG_IsOK(res1
)) {
19924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19926 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19927 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19928 if (!SWIG_IsOK(res2
)) {
19929 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
19931 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19933 arg3
= wxString_in_helper(obj2
);
19934 if (arg3
== NULL
) SWIG_fail
;
19938 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19939 if (!SWIG_IsOK(ecode4
)) {
19940 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
19942 arg4
= static_cast< bool >(val4
);
19945 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19946 if (!SWIG_IsOK(ecode5
)) {
19947 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
19949 arg5
= static_cast< int >(val5
);
19952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19953 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19954 wxPyEndAllowThreads(__tstate
);
19955 if (PyErr_Occurred()) SWIG_fail
;
19958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19974 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19975 PyObject
*resultobj
= 0;
19976 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19978 wxWindow
*arg3
= (wxWindow
*) 0 ;
19979 wxString
*arg4
= 0 ;
19980 bool arg5
= (bool) false ;
19981 int arg6
= (int) -1 ;
19989 bool temp4
= false ;
19994 PyObject
* obj0
= 0 ;
19995 PyObject
* obj1
= 0 ;
19996 PyObject
* obj2
= 0 ;
19997 PyObject
* obj3
= 0 ;
19998 PyObject
* obj4
= 0 ;
19999 PyObject
* obj5
= 0 ;
20000 char * kwnames
[] = {
20001 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20006 if (!SWIG_IsOK(res1
)) {
20007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20009 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20010 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20011 if (!SWIG_IsOK(ecode2
)) {
20012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20014 arg2
= static_cast< size_t >(val2
);
20015 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20016 if (!SWIG_IsOK(res3
)) {
20017 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20019 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20021 arg4
= wxString_in_helper(obj3
);
20022 if (arg4
== NULL
) SWIG_fail
;
20026 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20027 if (!SWIG_IsOK(ecode5
)) {
20028 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20030 arg5
= static_cast< bool >(val5
);
20033 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20034 if (!SWIG_IsOK(ecode6
)) {
20035 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20037 arg6
= static_cast< int >(val6
);
20040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20041 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20042 wxPyEndAllowThreads(__tstate
);
20043 if (PyErr_Occurred()) SWIG_fail
;
20046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20062 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20063 PyObject
*resultobj
= 0;
20064 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20071 PyObject
* obj0
= 0 ;
20072 PyObject
* obj1
= 0 ;
20073 char * kwnames
[] = {
20074 (char *) "self",(char *) "n", NULL
20077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20079 if (!SWIG_IsOK(res1
)) {
20080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20082 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20083 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20084 if (!SWIG_IsOK(ecode2
)) {
20085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20087 arg2
= static_cast< size_t >(val2
);
20089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20090 result
= (int)(arg1
)->SetSelection(arg2
);
20091 wxPyEndAllowThreads(__tstate
);
20092 if (PyErr_Occurred()) SWIG_fail
;
20094 resultobj
= SWIG_From_int(static_cast< int >(result
));
20101 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20102 PyObject
*resultobj
= 0;
20103 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20104 bool arg2
= (bool) true ;
20109 PyObject
* obj0
= 0 ;
20110 PyObject
* obj1
= 0 ;
20111 char * kwnames
[] = {
20112 (char *) "self",(char *) "forward", NULL
20115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20117 if (!SWIG_IsOK(res1
)) {
20118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20120 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20122 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20123 if (!SWIG_IsOK(ecode2
)) {
20124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20126 arg2
= static_cast< bool >(val2
);
20129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20130 (arg1
)->AdvanceSelection(arg2
);
20131 wxPyEndAllowThreads(__tstate
);
20132 if (PyErr_Occurred()) SWIG_fail
;
20134 resultobj
= SWIG_Py_Void();
20141 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20142 PyObject
*resultobj
= 0;
20143 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20144 wxPoint
*arg2
= 0 ;
20145 long *arg3
= (long *) 0 ;
20151 int res3
= SWIG_TMPOBJ
;
20152 PyObject
* obj0
= 0 ;
20153 PyObject
* obj1
= 0 ;
20154 char * kwnames
[] = {
20155 (char *) "self",(char *) "pt", NULL
20159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20161 if (!SWIG_IsOK(res1
)) {
20162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20164 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20167 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20171 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20172 wxPyEndAllowThreads(__tstate
);
20173 if (PyErr_Occurred()) SWIG_fail
;
20175 resultobj
= SWIG_From_int(static_cast< int >(result
));
20176 if (SWIG_IsTmpObj(res3
)) {
20177 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20179 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20180 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20188 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20189 PyObject
*resultobj
= 0;
20190 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20191 SwigValueWrapper
<wxVisualAttributes
> result
;
20194 PyObject
* obj0
= 0 ;
20195 char * kwnames
[] = {
20196 (char *) "variant", NULL
20199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20201 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20202 if (!SWIG_IsOK(ecode1
)) {
20203 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20205 arg1
= static_cast< wxWindowVariant
>(val1
);
20208 if (!wxPyCheckForApp()) SWIG_fail
;
20209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20210 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20211 wxPyEndAllowThreads(__tstate
);
20212 if (PyErr_Occurred()) SWIG_fail
;
20214 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20221 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20223 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20224 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20225 return SWIG_Py_Void();
20228 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20229 PyObject
*resultobj
= 0;
20230 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20231 int arg2
= (int) 0 ;
20232 int arg3
= (int) -1 ;
20233 int arg4
= (int) -1 ;
20234 wxBookCtrlBaseEvent
*result
= 0 ;
20243 PyObject
* obj0
= 0 ;
20244 PyObject
* obj1
= 0 ;
20245 PyObject
* obj2
= 0 ;
20246 PyObject
* obj3
= 0 ;
20247 char * kwnames
[] = {
20248 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20253 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20254 if (!SWIG_IsOK(ecode1
)) {
20255 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20257 arg1
= static_cast< wxEventType
>(val1
);
20260 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20261 if (!SWIG_IsOK(ecode2
)) {
20262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20264 arg2
= static_cast< int >(val2
);
20267 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20268 if (!SWIG_IsOK(ecode3
)) {
20269 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20271 arg3
= static_cast< int >(val3
);
20274 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20275 if (!SWIG_IsOK(ecode4
)) {
20276 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20278 arg4
= static_cast< int >(val4
);
20281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20282 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20283 wxPyEndAllowThreads(__tstate
);
20284 if (PyErr_Occurred()) SWIG_fail
;
20286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20293 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20294 PyObject
*resultobj
= 0;
20295 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20299 PyObject
*swig_obj
[1] ;
20301 if (!args
) SWIG_fail
;
20302 swig_obj
[0] = args
;
20303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20304 if (!SWIG_IsOK(res1
)) {
20305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20307 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20310 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20311 wxPyEndAllowThreads(__tstate
);
20312 if (PyErr_Occurred()) SWIG_fail
;
20314 resultobj
= SWIG_From_int(static_cast< int >(result
));
20321 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20322 PyObject
*resultobj
= 0;
20323 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20329 PyObject
* obj0
= 0 ;
20330 PyObject
* obj1
= 0 ;
20331 char * kwnames
[] = {
20332 (char *) "self",(char *) "nSel", NULL
20335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20337 if (!SWIG_IsOK(res1
)) {
20338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20340 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20342 if (!SWIG_IsOK(ecode2
)) {
20343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20345 arg2
= static_cast< int >(val2
);
20347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20348 (arg1
)->SetSelection(arg2
);
20349 wxPyEndAllowThreads(__tstate
);
20350 if (PyErr_Occurred()) SWIG_fail
;
20352 resultobj
= SWIG_Py_Void();
20359 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20360 PyObject
*resultobj
= 0;
20361 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20365 PyObject
*swig_obj
[1] ;
20367 if (!args
) SWIG_fail
;
20368 swig_obj
[0] = args
;
20369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20370 if (!SWIG_IsOK(res1
)) {
20371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20373 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20376 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20377 wxPyEndAllowThreads(__tstate
);
20378 if (PyErr_Occurred()) SWIG_fail
;
20380 resultobj
= SWIG_From_int(static_cast< int >(result
));
20387 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20388 PyObject
*resultobj
= 0;
20389 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20395 PyObject
* obj0
= 0 ;
20396 PyObject
* obj1
= 0 ;
20397 char * kwnames
[] = {
20398 (char *) "self",(char *) "nOldSel", NULL
20401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20403 if (!SWIG_IsOK(res1
)) {
20404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20406 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20407 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20408 if (!SWIG_IsOK(ecode2
)) {
20409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20411 arg2
= static_cast< int >(val2
);
20413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20414 (arg1
)->SetOldSelection(arg2
);
20415 wxPyEndAllowThreads(__tstate
);
20416 if (PyErr_Occurred()) SWIG_fail
;
20418 resultobj
= SWIG_Py_Void();
20425 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20427 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20428 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20429 return SWIG_Py_Void();
20432 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20433 return SWIG_Python_InitShadowInstance(args
);
20436 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20437 PyObject
*resultobj
= 0;
20438 wxWindow
*arg1
= (wxWindow
*) 0 ;
20439 int arg2
= (int) -1 ;
20440 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20441 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20442 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20443 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20444 long arg5
= (long) 0 ;
20445 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20446 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20447 wxNotebook
*result
= 0 ;
20456 bool temp6
= false ;
20457 PyObject
* obj0
= 0 ;
20458 PyObject
* obj1
= 0 ;
20459 PyObject
* obj2
= 0 ;
20460 PyObject
* obj3
= 0 ;
20461 PyObject
* obj4
= 0 ;
20462 PyObject
* obj5
= 0 ;
20463 char * kwnames
[] = {
20464 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20469 if (!SWIG_IsOK(res1
)) {
20470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20472 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20475 if (!SWIG_IsOK(ecode2
)) {
20476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20478 arg2
= static_cast< int >(val2
);
20483 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20489 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20493 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20494 if (!SWIG_IsOK(ecode5
)) {
20495 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20497 arg5
= static_cast< long >(val5
);
20501 arg6
= wxString_in_helper(obj5
);
20502 if (arg6
== NULL
) SWIG_fail
;
20507 if (!wxPyCheckForApp()) SWIG_fail
;
20508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20509 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20510 wxPyEndAllowThreads(__tstate
);
20511 if (PyErr_Occurred()) SWIG_fail
;
20513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20528 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20529 PyObject
*resultobj
= 0;
20530 wxNotebook
*result
= 0 ;
20532 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20534 if (!wxPyCheckForApp()) SWIG_fail
;
20535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20536 result
= (wxNotebook
*)new wxNotebook();
20537 wxPyEndAllowThreads(__tstate
);
20538 if (PyErr_Occurred()) SWIG_fail
;
20540 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20547 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20548 PyObject
*resultobj
= 0;
20549 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20550 wxWindow
*arg2
= (wxWindow
*) 0 ;
20551 int arg3
= (int) -1 ;
20552 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20553 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20554 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20555 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20556 long arg6
= (long) 0 ;
20557 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20558 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20570 bool temp7
= false ;
20571 PyObject
* obj0
= 0 ;
20572 PyObject
* obj1
= 0 ;
20573 PyObject
* obj2
= 0 ;
20574 PyObject
* obj3
= 0 ;
20575 PyObject
* obj4
= 0 ;
20576 PyObject
* obj5
= 0 ;
20577 PyObject
* obj6
= 0 ;
20578 char * kwnames
[] = {
20579 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20584 if (!SWIG_IsOK(res1
)) {
20585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20587 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20588 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20589 if (!SWIG_IsOK(res2
)) {
20590 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20592 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20594 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20595 if (!SWIG_IsOK(ecode3
)) {
20596 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20598 arg3
= static_cast< int >(val3
);
20603 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20609 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20613 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20614 if (!SWIG_IsOK(ecode6
)) {
20615 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20617 arg6
= static_cast< long >(val6
);
20621 arg7
= wxString_in_helper(obj6
);
20622 if (arg7
== NULL
) SWIG_fail
;
20627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20628 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20629 wxPyEndAllowThreads(__tstate
);
20630 if (PyErr_Occurred()) SWIG_fail
;
20633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20649 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20650 PyObject
*resultobj
= 0;
20651 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20655 PyObject
*swig_obj
[1] ;
20657 if (!args
) SWIG_fail
;
20658 swig_obj
[0] = args
;
20659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20660 if (!SWIG_IsOK(res1
)) {
20661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20663 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20666 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20667 wxPyEndAllowThreads(__tstate
);
20668 if (PyErr_Occurred()) SWIG_fail
;
20670 resultobj
= SWIG_From_int(static_cast< int >(result
));
20677 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20678 PyObject
*resultobj
= 0;
20679 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20684 PyObject
* obj0
= 0 ;
20685 PyObject
* obj1
= 0 ;
20686 char * kwnames
[] = {
20687 (char *) "self",(char *) "padding", NULL
20690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20692 if (!SWIG_IsOK(res1
)) {
20693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20695 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20698 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20702 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20703 wxPyEndAllowThreads(__tstate
);
20704 if (PyErr_Occurred()) SWIG_fail
;
20706 resultobj
= SWIG_Py_Void();
20713 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20714 PyObject
*resultobj
= 0;
20715 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20720 PyObject
* obj0
= 0 ;
20721 PyObject
* obj1
= 0 ;
20722 char * kwnames
[] = {
20723 (char *) "self",(char *) "sz", NULL
20726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20728 if (!SWIG_IsOK(res1
)) {
20729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20731 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20734 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20738 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20739 wxPyEndAllowThreads(__tstate
);
20740 if (PyErr_Occurred()) SWIG_fail
;
20742 resultobj
= SWIG_Py_Void();
20749 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20750 PyObject
*resultobj
= 0;
20751 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20755 PyObject
*swig_obj
[1] ;
20757 if (!args
) SWIG_fail
;
20758 swig_obj
[0] = args
;
20759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20760 if (!SWIG_IsOK(res1
)) {
20761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20763 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20766 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20767 wxPyEndAllowThreads(__tstate
);
20768 if (PyErr_Occurred()) SWIG_fail
;
20770 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20777 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20778 PyObject
*resultobj
= 0;
20779 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20780 SwigValueWrapper
<wxVisualAttributes
> result
;
20783 PyObject
* obj0
= 0 ;
20784 char * kwnames
[] = {
20785 (char *) "variant", NULL
20788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20790 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20791 if (!SWIG_IsOK(ecode1
)) {
20792 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20794 arg1
= static_cast< wxWindowVariant
>(val1
);
20797 if (!wxPyCheckForApp()) SWIG_fail
;
20798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20799 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20800 wxPyEndAllowThreads(__tstate
);
20801 if (PyErr_Occurred()) SWIG_fail
;
20803 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20810 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20812 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20813 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
20814 return SWIG_Py_Void();
20817 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20818 return SWIG_Python_InitShadowInstance(args
);
20821 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20822 PyObject
*resultobj
= 0;
20823 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20824 int arg2
= (int) 0 ;
20825 int arg3
= (int) -1 ;
20826 int arg4
= (int) -1 ;
20827 wxNotebookEvent
*result
= 0 ;
20836 PyObject
* obj0
= 0 ;
20837 PyObject
* obj1
= 0 ;
20838 PyObject
* obj2
= 0 ;
20839 PyObject
* obj3
= 0 ;
20840 char * kwnames
[] = {
20841 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20846 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20847 if (!SWIG_IsOK(ecode1
)) {
20848 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20850 arg1
= static_cast< wxEventType
>(val1
);
20853 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20854 if (!SWIG_IsOK(ecode2
)) {
20855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20857 arg2
= static_cast< int >(val2
);
20860 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20861 if (!SWIG_IsOK(ecode3
)) {
20862 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20864 arg3
= static_cast< int >(val3
);
20867 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20868 if (!SWIG_IsOK(ecode4
)) {
20869 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20871 arg4
= static_cast< int >(val4
);
20874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20875 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
20876 wxPyEndAllowThreads(__tstate
);
20877 if (PyErr_Occurred()) SWIG_fail
;
20879 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
20886 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20888 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20889 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
20890 return SWIG_Py_Void();
20893 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20894 return SWIG_Python_InitShadowInstance(args
);
20897 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20898 PyObject
*resultobj
= 0;
20899 wxWindow
*arg1
= (wxWindow
*) 0 ;
20900 int arg2
= (int) -1 ;
20901 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20902 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20903 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20904 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20905 long arg5
= (long) 0 ;
20906 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20907 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20908 wxListbook
*result
= 0 ;
20917 bool temp6
= false ;
20918 PyObject
* obj0
= 0 ;
20919 PyObject
* obj1
= 0 ;
20920 PyObject
* obj2
= 0 ;
20921 PyObject
* obj3
= 0 ;
20922 PyObject
* obj4
= 0 ;
20923 PyObject
* obj5
= 0 ;
20924 char * kwnames
[] = {
20925 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20930 if (!SWIG_IsOK(res1
)) {
20931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
20933 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20935 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20936 if (!SWIG_IsOK(ecode2
)) {
20937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
20939 arg2
= static_cast< int >(val2
);
20944 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20950 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20954 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20955 if (!SWIG_IsOK(ecode5
)) {
20956 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
20958 arg5
= static_cast< long >(val5
);
20962 arg6
= wxString_in_helper(obj5
);
20963 if (arg6
== NULL
) SWIG_fail
;
20968 if (!wxPyCheckForApp()) SWIG_fail
;
20969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20970 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20971 wxPyEndAllowThreads(__tstate
);
20972 if (PyErr_Occurred()) SWIG_fail
;
20974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
20989 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20990 PyObject
*resultobj
= 0;
20991 wxListbook
*result
= 0 ;
20993 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
20995 if (!wxPyCheckForApp()) SWIG_fail
;
20996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20997 result
= (wxListbook
*)new wxListbook();
20998 wxPyEndAllowThreads(__tstate
);
20999 if (PyErr_Occurred()) SWIG_fail
;
21001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21008 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21009 PyObject
*resultobj
= 0;
21010 wxListbook
*arg1
= (wxListbook
*) 0 ;
21011 wxWindow
*arg2
= (wxWindow
*) 0 ;
21012 int arg3
= (int) -1 ;
21013 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21014 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21015 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21016 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21017 long arg6
= (long) 0 ;
21018 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21019 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21031 bool temp7
= false ;
21032 PyObject
* obj0
= 0 ;
21033 PyObject
* obj1
= 0 ;
21034 PyObject
* obj2
= 0 ;
21035 PyObject
* obj3
= 0 ;
21036 PyObject
* obj4
= 0 ;
21037 PyObject
* obj5
= 0 ;
21038 PyObject
* obj6
= 0 ;
21039 char * kwnames
[] = {
21040 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21045 if (!SWIG_IsOK(res1
)) {
21046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21048 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21049 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21050 if (!SWIG_IsOK(res2
)) {
21051 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21053 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21055 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21056 if (!SWIG_IsOK(ecode3
)) {
21057 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21059 arg3
= static_cast< int >(val3
);
21064 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21070 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21074 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21075 if (!SWIG_IsOK(ecode6
)) {
21076 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21078 arg6
= static_cast< long >(val6
);
21082 arg7
= wxString_in_helper(obj6
);
21083 if (arg7
== NULL
) SWIG_fail
;
21088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21089 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21090 wxPyEndAllowThreads(__tstate
);
21091 if (PyErr_Occurred()) SWIG_fail
;
21094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21110 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21111 PyObject
*resultobj
= 0;
21112 wxListbook
*arg1
= (wxListbook
*) 0 ;
21113 wxListView
*result
= 0 ;
21116 PyObject
*swig_obj
[1] ;
21118 if (!args
) SWIG_fail
;
21119 swig_obj
[0] = args
;
21120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21121 if (!SWIG_IsOK(res1
)) {
21122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21124 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21127 result
= (wxListView
*)(arg1
)->GetListView();
21128 wxPyEndAllowThreads(__tstate
);
21129 if (PyErr_Occurred()) SWIG_fail
;
21131 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21138 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21140 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21141 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21142 return SWIG_Py_Void();
21145 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21146 return SWIG_Python_InitShadowInstance(args
);
21149 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21150 PyObject
*resultobj
= 0;
21151 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21152 int arg2
= (int) 0 ;
21153 int arg3
= (int) -1 ;
21154 int arg4
= (int) -1 ;
21155 wxListbookEvent
*result
= 0 ;
21164 PyObject
* obj0
= 0 ;
21165 PyObject
* obj1
= 0 ;
21166 PyObject
* obj2
= 0 ;
21167 PyObject
* obj3
= 0 ;
21168 char * kwnames
[] = {
21169 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21174 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21175 if (!SWIG_IsOK(ecode1
)) {
21176 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21178 arg1
= static_cast< wxEventType
>(val1
);
21181 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21182 if (!SWIG_IsOK(ecode2
)) {
21183 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21185 arg2
= static_cast< int >(val2
);
21188 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21189 if (!SWIG_IsOK(ecode3
)) {
21190 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21192 arg3
= static_cast< int >(val3
);
21195 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21196 if (!SWIG_IsOK(ecode4
)) {
21197 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21199 arg4
= static_cast< int >(val4
);
21202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21203 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21204 wxPyEndAllowThreads(__tstate
);
21205 if (PyErr_Occurred()) SWIG_fail
;
21207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21214 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21216 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21217 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21218 return SWIG_Py_Void();
21221 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21222 return SWIG_Python_InitShadowInstance(args
);
21225 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21226 PyObject
*resultobj
= 0;
21227 wxWindow
*arg1
= (wxWindow
*) 0 ;
21229 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21230 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21231 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21232 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21233 long arg5
= (long) 0 ;
21234 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21235 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21236 wxChoicebook
*result
= 0 ;
21245 bool temp6
= false ;
21246 PyObject
* obj0
= 0 ;
21247 PyObject
* obj1
= 0 ;
21248 PyObject
* obj2
= 0 ;
21249 PyObject
* obj3
= 0 ;
21250 PyObject
* obj4
= 0 ;
21251 PyObject
* obj5
= 0 ;
21252 char * kwnames
[] = {
21253 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21258 if (!SWIG_IsOK(res1
)) {
21259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21261 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21262 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21263 if (!SWIG_IsOK(ecode2
)) {
21264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21266 arg2
= static_cast< int >(val2
);
21270 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21276 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21280 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21281 if (!SWIG_IsOK(ecode5
)) {
21282 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21284 arg5
= static_cast< long >(val5
);
21288 arg6
= wxString_in_helper(obj5
);
21289 if (arg6
== NULL
) SWIG_fail
;
21294 if (!wxPyCheckForApp()) SWIG_fail
;
21295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21296 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21297 wxPyEndAllowThreads(__tstate
);
21298 if (PyErr_Occurred()) SWIG_fail
;
21300 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21315 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21316 PyObject
*resultobj
= 0;
21317 wxChoicebook
*result
= 0 ;
21319 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21321 if (!wxPyCheckForApp()) SWIG_fail
;
21322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21323 result
= (wxChoicebook
*)new wxChoicebook();
21324 wxPyEndAllowThreads(__tstate
);
21325 if (PyErr_Occurred()) SWIG_fail
;
21327 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21334 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21335 PyObject
*resultobj
= 0;
21336 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21337 wxWindow
*arg2
= (wxWindow
*) 0 ;
21339 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21340 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21341 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21342 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21343 long arg6
= (long) 0 ;
21344 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21345 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21357 bool temp7
= false ;
21358 PyObject
* obj0
= 0 ;
21359 PyObject
* obj1
= 0 ;
21360 PyObject
* obj2
= 0 ;
21361 PyObject
* obj3
= 0 ;
21362 PyObject
* obj4
= 0 ;
21363 PyObject
* obj5
= 0 ;
21364 PyObject
* obj6
= 0 ;
21365 char * kwnames
[] = {
21366 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21371 if (!SWIG_IsOK(res1
)) {
21372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21374 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21375 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21376 if (!SWIG_IsOK(res2
)) {
21377 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21379 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21380 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21381 if (!SWIG_IsOK(ecode3
)) {
21382 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21384 arg3
= static_cast< int >(val3
);
21388 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21394 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21398 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21399 if (!SWIG_IsOK(ecode6
)) {
21400 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21402 arg6
= static_cast< long >(val6
);
21406 arg7
= wxString_in_helper(obj6
);
21407 if (arg7
== NULL
) SWIG_fail
;
21412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21413 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21414 wxPyEndAllowThreads(__tstate
);
21415 if (PyErr_Occurred()) SWIG_fail
;
21418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21434 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21435 PyObject
*resultobj
= 0;
21436 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21437 wxChoice
*result
= 0 ;
21440 PyObject
*swig_obj
[1] ;
21442 if (!args
) SWIG_fail
;
21443 swig_obj
[0] = args
;
21444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21445 if (!SWIG_IsOK(res1
)) {
21446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21448 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21451 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21452 wxPyEndAllowThreads(__tstate
);
21453 if (PyErr_Occurred()) SWIG_fail
;
21455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21462 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21464 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21465 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21466 return SWIG_Py_Void();
21469 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21470 return SWIG_Python_InitShadowInstance(args
);
21473 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21474 PyObject
*resultobj
= 0;
21475 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21476 int arg2
= (int) 0 ;
21477 int arg3
= (int) -1 ;
21478 int arg4
= (int) -1 ;
21479 wxChoicebookEvent
*result
= 0 ;
21488 PyObject
* obj0
= 0 ;
21489 PyObject
* obj1
= 0 ;
21490 PyObject
* obj2
= 0 ;
21491 PyObject
* obj3
= 0 ;
21492 char * kwnames
[] = {
21493 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21498 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21499 if (!SWIG_IsOK(ecode1
)) {
21500 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21502 arg1
= static_cast< wxEventType
>(val1
);
21505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21506 if (!SWIG_IsOK(ecode2
)) {
21507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21509 arg2
= static_cast< int >(val2
);
21512 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21513 if (!SWIG_IsOK(ecode3
)) {
21514 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21516 arg3
= static_cast< int >(val3
);
21519 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21520 if (!SWIG_IsOK(ecode4
)) {
21521 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21523 arg4
= static_cast< int >(val4
);
21526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21527 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21528 wxPyEndAllowThreads(__tstate
);
21529 if (PyErr_Occurred()) SWIG_fail
;
21531 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21538 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21540 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21541 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21542 return SWIG_Py_Void();
21545 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21546 return SWIG_Python_InitShadowInstance(args
);
21549 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21550 PyObject
*resultobj
= 0;
21551 wxWindow
*arg1
= (wxWindow
*) 0 ;
21553 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21554 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21555 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21556 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21557 long arg5
= (long) wxBK_DEFAULT
;
21558 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21559 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21560 wxTreebook
*result
= 0 ;
21569 bool temp6
= false ;
21570 PyObject
* obj0
= 0 ;
21571 PyObject
* obj1
= 0 ;
21572 PyObject
* obj2
= 0 ;
21573 PyObject
* obj3
= 0 ;
21574 PyObject
* obj4
= 0 ;
21575 PyObject
* obj5
= 0 ;
21576 char * kwnames
[] = {
21577 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21582 if (!SWIG_IsOK(res1
)) {
21583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21585 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21587 if (!SWIG_IsOK(ecode2
)) {
21588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21590 arg2
= static_cast< int >(val2
);
21594 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21600 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21604 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21605 if (!SWIG_IsOK(ecode5
)) {
21606 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21608 arg5
= static_cast< long >(val5
);
21612 arg6
= wxString_in_helper(obj5
);
21613 if (arg6
== NULL
) SWIG_fail
;
21618 if (!wxPyCheckForApp()) SWIG_fail
;
21619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21620 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21621 wxPyEndAllowThreads(__tstate
);
21622 if (PyErr_Occurred()) SWIG_fail
;
21624 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21639 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21640 PyObject
*resultobj
= 0;
21641 wxTreebook
*result
= 0 ;
21643 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21645 if (!wxPyCheckForApp()) SWIG_fail
;
21646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21647 result
= (wxTreebook
*)new wxTreebook();
21648 wxPyEndAllowThreads(__tstate
);
21649 if (PyErr_Occurred()) SWIG_fail
;
21651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21658 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21659 PyObject
*resultobj
= 0;
21660 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21661 wxWindow
*arg2
= (wxWindow
*) 0 ;
21663 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21664 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21665 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21666 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21667 long arg6
= (long) wxBK_DEFAULT
;
21668 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21669 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21681 bool temp7
= false ;
21682 PyObject
* obj0
= 0 ;
21683 PyObject
* obj1
= 0 ;
21684 PyObject
* obj2
= 0 ;
21685 PyObject
* obj3
= 0 ;
21686 PyObject
* obj4
= 0 ;
21687 PyObject
* obj5
= 0 ;
21688 PyObject
* obj6
= 0 ;
21689 char * kwnames
[] = {
21690 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21695 if (!SWIG_IsOK(res1
)) {
21696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21698 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21699 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21700 if (!SWIG_IsOK(res2
)) {
21701 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21703 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21704 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21705 if (!SWIG_IsOK(ecode3
)) {
21706 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21708 arg3
= static_cast< int >(val3
);
21712 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21718 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21722 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21723 if (!SWIG_IsOK(ecode6
)) {
21724 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21726 arg6
= static_cast< long >(val6
);
21730 arg7
= wxString_in_helper(obj6
);
21731 if (arg7
== NULL
) SWIG_fail
;
21736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21737 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21738 wxPyEndAllowThreads(__tstate
);
21739 if (PyErr_Occurred()) SWIG_fail
;
21742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21758 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21759 PyObject
*resultobj
= 0;
21760 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21762 wxWindow
*arg3
= (wxWindow
*) 0 ;
21763 wxString
*arg4
= 0 ;
21764 bool arg5
= (bool) false ;
21765 int arg6
= (int) wxNOT_FOUND
;
21773 bool temp4
= false ;
21778 PyObject
* obj0
= 0 ;
21779 PyObject
* obj1
= 0 ;
21780 PyObject
* obj2
= 0 ;
21781 PyObject
* obj3
= 0 ;
21782 PyObject
* obj4
= 0 ;
21783 PyObject
* obj5
= 0 ;
21784 char * kwnames
[] = {
21785 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21790 if (!SWIG_IsOK(res1
)) {
21791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21793 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21794 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21795 if (!SWIG_IsOK(ecode2
)) {
21796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21798 arg2
= static_cast< size_t >(val2
);
21799 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21800 if (!SWIG_IsOK(res3
)) {
21801 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21803 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
21805 arg4
= wxString_in_helper(obj3
);
21806 if (arg4
== NULL
) SWIG_fail
;
21810 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
21811 if (!SWIG_IsOK(ecode5
)) {
21812 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21814 arg5
= static_cast< bool >(val5
);
21817 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21818 if (!SWIG_IsOK(ecode6
)) {
21819 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21821 arg6
= static_cast< int >(val6
);
21824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21825 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
21826 wxPyEndAllowThreads(__tstate
);
21827 if (PyErr_Occurred()) SWIG_fail
;
21830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21846 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21847 PyObject
*resultobj
= 0;
21848 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21849 wxWindow
*arg2
= (wxWindow
*) 0 ;
21850 wxString
*arg3
= 0 ;
21851 bool arg4
= (bool) false ;
21852 int arg5
= (int) wxNOT_FOUND
;
21858 bool temp3
= false ;
21863 PyObject
* obj0
= 0 ;
21864 PyObject
* obj1
= 0 ;
21865 PyObject
* obj2
= 0 ;
21866 PyObject
* obj3
= 0 ;
21867 PyObject
* obj4
= 0 ;
21868 char * kwnames
[] = {
21869 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21874 if (!SWIG_IsOK(res1
)) {
21875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21877 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21878 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21879 if (!SWIG_IsOK(res2
)) {
21880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
21882 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21884 arg3
= wxString_in_helper(obj2
);
21885 if (arg3
== NULL
) SWIG_fail
;
21889 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
21890 if (!SWIG_IsOK(ecode4
)) {
21891 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
21893 arg4
= static_cast< bool >(val4
);
21896 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21897 if (!SWIG_IsOK(ecode5
)) {
21898 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
21900 arg5
= static_cast< int >(val5
);
21903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21904 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21905 wxPyEndAllowThreads(__tstate
);
21906 if (PyErr_Occurred()) SWIG_fail
;
21909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21925 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21926 PyObject
*resultobj
= 0;
21927 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21934 PyObject
* obj0
= 0 ;
21935 PyObject
* obj1
= 0 ;
21936 char * kwnames
[] = {
21937 (char *) "self",(char *) "pos", NULL
21940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21942 if (!SWIG_IsOK(res1
)) {
21943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21945 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21946 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21947 if (!SWIG_IsOK(ecode2
)) {
21948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
21950 arg2
= static_cast< size_t >(val2
);
21952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21953 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
21954 wxPyEndAllowThreads(__tstate
);
21955 if (PyErr_Occurred()) SWIG_fail
;
21958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21966 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21967 PyObject
*resultobj
= 0;
21968 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21970 bool arg3
= (bool) true ;
21978 PyObject
* obj0
= 0 ;
21979 PyObject
* obj1
= 0 ;
21980 PyObject
* obj2
= 0 ;
21981 char * kwnames
[] = {
21982 (char *) "self",(char *) "pos",(char *) "expand", NULL
21985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21987 if (!SWIG_IsOK(res1
)) {
21988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21990 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21991 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21992 if (!SWIG_IsOK(ecode2
)) {
21993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
21995 arg2
= static_cast< size_t >(val2
);
21997 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21998 if (!SWIG_IsOK(ecode3
)) {
21999 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22001 arg3
= static_cast< bool >(val3
);
22004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22005 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22006 wxPyEndAllowThreads(__tstate
);
22007 if (PyErr_Occurred()) SWIG_fail
;
22010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22018 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22019 PyObject
*resultobj
= 0;
22020 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22027 PyObject
* obj0
= 0 ;
22028 PyObject
* obj1
= 0 ;
22029 char * kwnames
[] = {
22030 (char *) "self",(char *) "pos", NULL
22033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22035 if (!SWIG_IsOK(res1
)) {
22036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22038 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22039 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22040 if (!SWIG_IsOK(ecode2
)) {
22041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22043 arg2
= static_cast< size_t >(val2
);
22045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22046 result
= (bool)(arg1
)->CollapseNode(arg2
);
22047 wxPyEndAllowThreads(__tstate
);
22048 if (PyErr_Occurred()) SWIG_fail
;
22051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22059 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22060 PyObject
*resultobj
= 0;
22061 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22068 PyObject
* obj0
= 0 ;
22069 PyObject
* obj1
= 0 ;
22070 char * kwnames
[] = {
22071 (char *) "self",(char *) "pos", NULL
22074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22076 if (!SWIG_IsOK(res1
)) {
22077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22079 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22080 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22081 if (!SWIG_IsOK(ecode2
)) {
22082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22084 arg2
= static_cast< size_t >(val2
);
22086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22087 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22088 wxPyEndAllowThreads(__tstate
);
22089 if (PyErr_Occurred()) SWIG_fail
;
22091 resultobj
= SWIG_From_int(static_cast< int >(result
));
22098 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22099 PyObject
*resultobj
= 0;
22100 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22101 wxTreeCtrl
*result
= 0 ;
22104 PyObject
*swig_obj
[1] ;
22106 if (!args
) SWIG_fail
;
22107 swig_obj
[0] = args
;
22108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22109 if (!SWIG_IsOK(res1
)) {
22110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22112 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22115 result
= (wxTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22116 wxPyEndAllowThreads(__tstate
);
22117 if (PyErr_Occurred()) SWIG_fail
;
22119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeCtrl
, 0 | 0 );
22126 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22128 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22129 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22130 return SWIG_Py_Void();
22133 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22134 return SWIG_Python_InitShadowInstance(args
);
22137 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22138 PyObject
*resultobj
= 0;
22139 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22140 int arg2
= (int) 0 ;
22141 int arg3
= (int) wxNOT_FOUND
;
22142 int arg4
= (int) wxNOT_FOUND
;
22143 wxTreebookEvent
*result
= 0 ;
22152 PyObject
* obj0
= 0 ;
22153 PyObject
* obj1
= 0 ;
22154 PyObject
* obj2
= 0 ;
22155 PyObject
* obj3
= 0 ;
22156 char * kwnames
[] = {
22157 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22162 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22163 if (!SWIG_IsOK(ecode1
)) {
22164 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22166 arg1
= static_cast< wxEventType
>(val1
);
22169 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22170 if (!SWIG_IsOK(ecode2
)) {
22171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22173 arg2
= static_cast< int >(val2
);
22176 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22177 if (!SWIG_IsOK(ecode3
)) {
22178 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22180 arg3
= static_cast< int >(val3
);
22183 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22184 if (!SWIG_IsOK(ecode4
)) {
22185 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22187 arg4
= static_cast< int >(val4
);
22190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22191 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22192 wxPyEndAllowThreads(__tstate
);
22193 if (PyErr_Occurred()) SWIG_fail
;
22195 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22202 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22204 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22205 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22206 return SWIG_Py_Void();
22209 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22210 return SWIG_Python_InitShadowInstance(args
);
22213 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22214 PyObject
*resultobj
= 0;
22215 wxWindow
*arg1
= (wxWindow
*) 0 ;
22217 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22218 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22219 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22220 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22221 long arg5
= (long) wxBK_DEFAULT
;
22222 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22223 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22224 wxToolbook
*result
= 0 ;
22233 bool temp6
= 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 char * kwnames
[] = {
22241 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22246 if (!SWIG_IsOK(res1
)) {
22247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22249 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22250 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22251 if (!SWIG_IsOK(ecode2
)) {
22252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22254 arg2
= static_cast< int >(val2
);
22258 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22264 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22268 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22269 if (!SWIG_IsOK(ecode5
)) {
22270 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22272 arg5
= static_cast< long >(val5
);
22276 arg6
= wxString_in_helper(obj5
);
22277 if (arg6
== NULL
) SWIG_fail
;
22282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22283 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22284 wxPyEndAllowThreads(__tstate
);
22285 if (PyErr_Occurred()) SWIG_fail
;
22287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22302 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22303 PyObject
*resultobj
= 0;
22304 wxToolbook
*result
= 0 ;
22306 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22309 result
= (wxToolbook
*)new wxToolbook();
22310 wxPyEndAllowThreads(__tstate
);
22311 if (PyErr_Occurred()) SWIG_fail
;
22313 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22320 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22321 PyObject
*resultobj
= 0;
22322 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22323 wxWindow
*arg2
= (wxWindow
*) 0 ;
22325 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22326 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22327 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22328 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22329 long arg6
= (long) 0 ;
22330 wxString
const &arg7_defvalue
= wxEmptyString
;
22331 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22343 bool temp7
= false ;
22344 PyObject
* obj0
= 0 ;
22345 PyObject
* obj1
= 0 ;
22346 PyObject
* obj2
= 0 ;
22347 PyObject
* obj3
= 0 ;
22348 PyObject
* obj4
= 0 ;
22349 PyObject
* obj5
= 0 ;
22350 PyObject
* obj6
= 0 ;
22351 char * kwnames
[] = {
22352 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22357 if (!SWIG_IsOK(res1
)) {
22358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22360 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22361 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22362 if (!SWIG_IsOK(res2
)) {
22363 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22365 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22366 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22367 if (!SWIG_IsOK(ecode3
)) {
22368 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22370 arg3
= static_cast< int >(val3
);
22374 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22380 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22384 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22385 if (!SWIG_IsOK(ecode6
)) {
22386 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22388 arg6
= static_cast< long >(val6
);
22392 arg7
= wxString_in_helper(obj6
);
22393 if (arg7
== NULL
) SWIG_fail
;
22398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22399 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22400 wxPyEndAllowThreads(__tstate
);
22401 if (PyErr_Occurred()) SWIG_fail
;
22404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22420 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22421 PyObject
*resultobj
= 0;
22422 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22423 wxToolBarBase
*result
= 0 ;
22426 PyObject
*swig_obj
[1] ;
22428 if (!args
) SWIG_fail
;
22429 swig_obj
[0] = args
;
22430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22431 if (!SWIG_IsOK(res1
)) {
22432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22434 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22437 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22438 wxPyEndAllowThreads(__tstate
);
22439 if (PyErr_Occurred()) SWIG_fail
;
22442 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22450 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22451 PyObject
*resultobj
= 0;
22452 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22455 PyObject
*swig_obj
[1] ;
22457 if (!args
) SWIG_fail
;
22458 swig_obj
[0] = args
;
22459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22460 if (!SWIG_IsOK(res1
)) {
22461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22463 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22467 wxPyEndAllowThreads(__tstate
);
22468 if (PyErr_Occurred()) SWIG_fail
;
22470 resultobj
= SWIG_Py_Void();
22477 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22479 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22480 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22481 return SWIG_Py_Void();
22484 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22485 return SWIG_Python_InitShadowInstance(args
);
22488 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22489 PyObject
*resultobj
= 0;
22490 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22491 int arg2
= (int) 0 ;
22492 int arg3
= (int) wxNOT_FOUND
;
22493 int arg4
= (int) wxNOT_FOUND
;
22494 wxToolbookEvent
*result
= 0 ;
22503 PyObject
* obj0
= 0 ;
22504 PyObject
* obj1
= 0 ;
22505 PyObject
* obj2
= 0 ;
22506 PyObject
* obj3
= 0 ;
22507 char * kwnames
[] = {
22508 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22513 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22514 if (!SWIG_IsOK(ecode1
)) {
22515 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22517 arg1
= static_cast< wxEventType
>(val1
);
22520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22521 if (!SWIG_IsOK(ecode2
)) {
22522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22524 arg2
= static_cast< int >(val2
);
22527 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22528 if (!SWIG_IsOK(ecode3
)) {
22529 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22531 arg3
= static_cast< int >(val3
);
22534 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22535 if (!SWIG_IsOK(ecode4
)) {
22536 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22538 arg4
= static_cast< int >(val4
);
22541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22542 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22543 wxPyEndAllowThreads(__tstate
);
22544 if (PyErr_Occurred()) SWIG_fail
;
22546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22553 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22555 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22556 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22557 return SWIG_Py_Void();
22560 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22561 return SWIG_Python_InitShadowInstance(args
);
22564 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22565 PyObject
*resultobj
= 0;
22566 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22570 PyObject
*swig_obj
[1] ;
22572 if (!args
) SWIG_fail
;
22573 swig_obj
[0] = args
;
22574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22575 if (!SWIG_IsOK(res1
)) {
22576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22578 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22581 result
= (int)(arg1
)->GetId();
22582 wxPyEndAllowThreads(__tstate
);
22583 if (PyErr_Occurred()) SWIG_fail
;
22585 resultobj
= SWIG_From_int(static_cast< int >(result
));
22592 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22593 PyObject
*resultobj
= 0;
22594 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22595 wxControl
*result
= 0 ;
22598 PyObject
*swig_obj
[1] ;
22600 if (!args
) SWIG_fail
;
22601 swig_obj
[0] = args
;
22602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22603 if (!SWIG_IsOK(res1
)) {
22604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22606 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22609 result
= (wxControl
*)(arg1
)->GetControl();
22610 wxPyEndAllowThreads(__tstate
);
22611 if (PyErr_Occurred()) SWIG_fail
;
22614 resultobj
= wxPyMake_wxObject(result
, 0);
22622 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22623 PyObject
*resultobj
= 0;
22624 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22625 wxToolBarBase
*result
= 0 ;
22628 PyObject
*swig_obj
[1] ;
22630 if (!args
) SWIG_fail
;
22631 swig_obj
[0] = args
;
22632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22633 if (!SWIG_IsOK(res1
)) {
22634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22636 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22639 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22640 wxPyEndAllowThreads(__tstate
);
22641 if (PyErr_Occurred()) SWIG_fail
;
22644 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22652 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22653 PyObject
*resultobj
= 0;
22654 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22658 PyObject
*swig_obj
[1] ;
22660 if (!args
) SWIG_fail
;
22661 swig_obj
[0] = args
;
22662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22663 if (!SWIG_IsOK(res1
)) {
22664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22666 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22669 result
= (int)(arg1
)->IsButton();
22670 wxPyEndAllowThreads(__tstate
);
22671 if (PyErr_Occurred()) SWIG_fail
;
22673 resultobj
= SWIG_From_int(static_cast< int >(result
));
22680 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22681 PyObject
*resultobj
= 0;
22682 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22686 PyObject
*swig_obj
[1] ;
22688 if (!args
) SWIG_fail
;
22689 swig_obj
[0] = args
;
22690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22691 if (!SWIG_IsOK(res1
)) {
22692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22694 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22697 result
= (int)(arg1
)->IsControl();
22698 wxPyEndAllowThreads(__tstate
);
22699 if (PyErr_Occurred()) SWIG_fail
;
22701 resultobj
= SWIG_From_int(static_cast< int >(result
));
22708 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22709 PyObject
*resultobj
= 0;
22710 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22714 PyObject
*swig_obj
[1] ;
22716 if (!args
) SWIG_fail
;
22717 swig_obj
[0] = args
;
22718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22719 if (!SWIG_IsOK(res1
)) {
22720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22722 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22725 result
= (int)(arg1
)->IsSeparator();
22726 wxPyEndAllowThreads(__tstate
);
22727 if (PyErr_Occurred()) SWIG_fail
;
22729 resultobj
= SWIG_From_int(static_cast< int >(result
));
22736 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22737 PyObject
*resultobj
= 0;
22738 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22742 PyObject
*swig_obj
[1] ;
22744 if (!args
) SWIG_fail
;
22745 swig_obj
[0] = args
;
22746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22747 if (!SWIG_IsOK(res1
)) {
22748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22750 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22753 result
= (int)(arg1
)->GetStyle();
22754 wxPyEndAllowThreads(__tstate
);
22755 if (PyErr_Occurred()) SWIG_fail
;
22757 resultobj
= SWIG_From_int(static_cast< int >(result
));
22764 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22765 PyObject
*resultobj
= 0;
22766 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22770 PyObject
*swig_obj
[1] ;
22772 if (!args
) SWIG_fail
;
22773 swig_obj
[0] = args
;
22774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22775 if (!SWIG_IsOK(res1
)) {
22776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22778 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22781 result
= (wxItemKind
)(arg1
)->GetKind();
22782 wxPyEndAllowThreads(__tstate
);
22783 if (PyErr_Occurred()) SWIG_fail
;
22785 resultobj
= SWIG_From_int(static_cast< int >(result
));
22792 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22793 PyObject
*resultobj
= 0;
22794 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22798 PyObject
*swig_obj
[1] ;
22800 if (!args
) SWIG_fail
;
22801 swig_obj
[0] = args
;
22802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22803 if (!SWIG_IsOK(res1
)) {
22804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22806 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22809 result
= (bool)(arg1
)->IsEnabled();
22810 wxPyEndAllowThreads(__tstate
);
22811 if (PyErr_Occurred()) SWIG_fail
;
22814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22822 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22823 PyObject
*resultobj
= 0;
22824 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22828 PyObject
*swig_obj
[1] ;
22830 if (!args
) SWIG_fail
;
22831 swig_obj
[0] = args
;
22832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22833 if (!SWIG_IsOK(res1
)) {
22834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22836 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22839 result
= (bool)(arg1
)->IsToggled();
22840 wxPyEndAllowThreads(__tstate
);
22841 if (PyErr_Occurred()) SWIG_fail
;
22844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22852 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22853 PyObject
*resultobj
= 0;
22854 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22858 PyObject
*swig_obj
[1] ;
22860 if (!args
) SWIG_fail
;
22861 swig_obj
[0] = args
;
22862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22863 if (!SWIG_IsOK(res1
)) {
22864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22866 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22869 result
= (bool)(arg1
)->CanBeToggled();
22870 wxPyEndAllowThreads(__tstate
);
22871 if (PyErr_Occurred()) SWIG_fail
;
22874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22882 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22883 PyObject
*resultobj
= 0;
22884 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22885 wxBitmap
*result
= 0 ;
22888 PyObject
*swig_obj
[1] ;
22890 if (!args
) SWIG_fail
;
22891 swig_obj
[0] = args
;
22892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22893 if (!SWIG_IsOK(res1
)) {
22894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22896 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22900 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
22901 result
= (wxBitmap
*) &_result_ref
;
22903 wxPyEndAllowThreads(__tstate
);
22904 if (PyErr_Occurred()) SWIG_fail
;
22907 wxBitmap
* resultptr
= new wxBitmap(*result
);
22908 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22916 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22917 PyObject
*resultobj
= 0;
22918 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22919 wxBitmap
*result
= 0 ;
22922 PyObject
*swig_obj
[1] ;
22924 if (!args
) SWIG_fail
;
22925 swig_obj
[0] = args
;
22926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22927 if (!SWIG_IsOK(res1
)) {
22928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22930 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22934 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
22935 result
= (wxBitmap
*) &_result_ref
;
22937 wxPyEndAllowThreads(__tstate
);
22938 if (PyErr_Occurred()) SWIG_fail
;
22941 wxBitmap
* resultptr
= new wxBitmap(*result
);
22942 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22950 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22951 PyObject
*resultobj
= 0;
22952 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22956 PyObject
*swig_obj
[1] ;
22958 if (!args
) SWIG_fail
;
22959 swig_obj
[0] = args
;
22960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22961 if (!SWIG_IsOK(res1
)) {
22962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22964 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22967 result
= (arg1
)->GetBitmap();
22968 wxPyEndAllowThreads(__tstate
);
22969 if (PyErr_Occurred()) SWIG_fail
;
22971 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
22978 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22979 PyObject
*resultobj
= 0;
22980 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22984 PyObject
*swig_obj
[1] ;
22986 if (!args
) SWIG_fail
;
22987 swig_obj
[0] = args
;
22988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22989 if (!SWIG_IsOK(res1
)) {
22990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22992 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22995 result
= (arg1
)->GetLabel();
22996 wxPyEndAllowThreads(__tstate
);
22997 if (PyErr_Occurred()) SWIG_fail
;
23001 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23003 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23012 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23013 PyObject
*resultobj
= 0;
23014 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23018 PyObject
*swig_obj
[1] ;
23020 if (!args
) SWIG_fail
;
23021 swig_obj
[0] = args
;
23022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23023 if (!SWIG_IsOK(res1
)) {
23024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23026 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23029 result
= (arg1
)->GetShortHelp();
23030 wxPyEndAllowThreads(__tstate
);
23031 if (PyErr_Occurred()) SWIG_fail
;
23035 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23037 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23046 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23047 PyObject
*resultobj
= 0;
23048 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23052 PyObject
*swig_obj
[1] ;
23054 if (!args
) SWIG_fail
;
23055 swig_obj
[0] = args
;
23056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23057 if (!SWIG_IsOK(res1
)) {
23058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23060 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23063 result
= (arg1
)->GetLongHelp();
23064 wxPyEndAllowThreads(__tstate
);
23065 if (PyErr_Occurred()) SWIG_fail
;
23069 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23071 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23080 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23081 PyObject
*resultobj
= 0;
23082 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23089 PyObject
* obj0
= 0 ;
23090 PyObject
* obj1
= 0 ;
23091 char * kwnames
[] = {
23092 (char *) "self",(char *) "enable", NULL
23095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23097 if (!SWIG_IsOK(res1
)) {
23098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23100 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23101 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23102 if (!SWIG_IsOK(ecode2
)) {
23103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23105 arg2
= static_cast< bool >(val2
);
23107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23108 result
= (bool)(arg1
)->Enable(arg2
);
23109 wxPyEndAllowThreads(__tstate
);
23110 if (PyErr_Occurred()) SWIG_fail
;
23113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23121 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23122 PyObject
*resultobj
= 0;
23123 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23126 PyObject
*swig_obj
[1] ;
23128 if (!args
) SWIG_fail
;
23129 swig_obj
[0] = args
;
23130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23131 if (!SWIG_IsOK(res1
)) {
23132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23134 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23138 wxPyEndAllowThreads(__tstate
);
23139 if (PyErr_Occurred()) SWIG_fail
;
23141 resultobj
= SWIG_Py_Void();
23148 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23149 PyObject
*resultobj
= 0;
23150 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23157 PyObject
* obj0
= 0 ;
23158 PyObject
* obj1
= 0 ;
23159 char * kwnames
[] = {
23160 (char *) "self",(char *) "toggle", NULL
23163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23165 if (!SWIG_IsOK(res1
)) {
23166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23168 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23169 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23170 if (!SWIG_IsOK(ecode2
)) {
23171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23173 arg2
= static_cast< bool >(val2
);
23175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23176 result
= (bool)(arg1
)->SetToggle(arg2
);
23177 wxPyEndAllowThreads(__tstate
);
23178 if (PyErr_Occurred()) SWIG_fail
;
23181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23189 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23190 PyObject
*resultobj
= 0;
23191 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23192 wxString
*arg2
= 0 ;
23196 bool temp2
= false ;
23197 PyObject
* obj0
= 0 ;
23198 PyObject
* obj1
= 0 ;
23199 char * kwnames
[] = {
23200 (char *) "self",(char *) "help", NULL
23203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23205 if (!SWIG_IsOK(res1
)) {
23206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23208 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23210 arg2
= wxString_in_helper(obj1
);
23211 if (arg2
== NULL
) SWIG_fail
;
23215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23216 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23217 wxPyEndAllowThreads(__tstate
);
23218 if (PyErr_Occurred()) SWIG_fail
;
23221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23237 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23238 PyObject
*resultobj
= 0;
23239 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23240 wxString
*arg2
= 0 ;
23244 bool temp2
= false ;
23245 PyObject
* obj0
= 0 ;
23246 PyObject
* obj1
= 0 ;
23247 char * kwnames
[] = {
23248 (char *) "self",(char *) "help", NULL
23251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23253 if (!SWIG_IsOK(res1
)) {
23254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23256 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23258 arg2
= wxString_in_helper(obj1
);
23259 if (arg2
== NULL
) SWIG_fail
;
23263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23264 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23265 wxPyEndAllowThreads(__tstate
);
23266 if (PyErr_Occurred()) SWIG_fail
;
23269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23285 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23286 PyObject
*resultobj
= 0;
23287 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23288 wxBitmap
*arg2
= 0 ;
23293 PyObject
* obj0
= 0 ;
23294 PyObject
* obj1
= 0 ;
23295 char * kwnames
[] = {
23296 (char *) "self",(char *) "bmp", NULL
23299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23301 if (!SWIG_IsOK(res1
)) {
23302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23304 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23305 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23306 if (!SWIG_IsOK(res2
)) {
23307 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23310 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23312 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23315 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23316 wxPyEndAllowThreads(__tstate
);
23317 if (PyErr_Occurred()) SWIG_fail
;
23319 resultobj
= SWIG_Py_Void();
23326 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23327 PyObject
*resultobj
= 0;
23328 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23329 wxBitmap
*arg2
= 0 ;
23334 PyObject
* obj0
= 0 ;
23335 PyObject
* obj1
= 0 ;
23336 char * kwnames
[] = {
23337 (char *) "self",(char *) "bmp", NULL
23340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23342 if (!SWIG_IsOK(res1
)) {
23343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23345 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23346 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23347 if (!SWIG_IsOK(res2
)) {
23348 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23351 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23353 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23356 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23357 wxPyEndAllowThreads(__tstate
);
23358 if (PyErr_Occurred()) SWIG_fail
;
23360 resultobj
= SWIG_Py_Void();
23367 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23368 PyObject
*resultobj
= 0;
23369 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23370 wxString
*arg2
= 0 ;
23373 bool temp2
= false ;
23374 PyObject
* obj0
= 0 ;
23375 PyObject
* obj1
= 0 ;
23376 char * kwnames
[] = {
23377 (char *) "self",(char *) "label", NULL
23380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23382 if (!SWIG_IsOK(res1
)) {
23383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23385 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23387 arg2
= wxString_in_helper(obj1
);
23388 if (arg2
== NULL
) SWIG_fail
;
23392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23393 (arg1
)->SetLabel((wxString
const &)*arg2
);
23394 wxPyEndAllowThreads(__tstate
);
23395 if (PyErr_Occurred()) SWIG_fail
;
23397 resultobj
= SWIG_Py_Void();
23412 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23413 PyObject
*resultobj
= 0;
23414 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23417 PyObject
*swig_obj
[1] ;
23419 if (!args
) SWIG_fail
;
23420 swig_obj
[0] = args
;
23421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23422 if (!SWIG_IsOK(res1
)) {
23423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23425 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23429 wxPyEndAllowThreads(__tstate
);
23430 if (PyErr_Occurred()) SWIG_fail
;
23432 resultobj
= SWIG_Py_Void();
23439 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23440 PyObject
*resultobj
= 0;
23441 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23442 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23447 PyObject
* obj0
= 0 ;
23448 PyObject
* obj1
= 0 ;
23449 char * kwnames
[] = {
23450 (char *) "self",(char *) "tbar", NULL
23453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23455 if (!SWIG_IsOK(res1
)) {
23456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23458 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23459 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23460 if (!SWIG_IsOK(res2
)) {
23461 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23463 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23466 (arg1
)->Attach(arg2
);
23467 wxPyEndAllowThreads(__tstate
);
23468 if (PyErr_Occurred()) SWIG_fail
;
23470 resultobj
= SWIG_Py_Void();
23477 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23478 PyObject
*resultobj
= 0;
23479 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23480 PyObject
*result
= 0 ;
23483 PyObject
*swig_obj
[1] ;
23485 if (!args
) SWIG_fail
;
23486 swig_obj
[0] = args
;
23487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23488 if (!SWIG_IsOK(res1
)) {
23489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23491 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23494 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23495 wxPyEndAllowThreads(__tstate
);
23496 if (PyErr_Occurred()) SWIG_fail
;
23498 resultobj
= result
;
23505 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23506 PyObject
*resultobj
= 0;
23507 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23508 PyObject
*arg2
= (PyObject
*) 0 ;
23511 PyObject
* obj0
= 0 ;
23512 PyObject
* obj1
= 0 ;
23513 char * kwnames
[] = {
23514 (char *) "self",(char *) "clientData", NULL
23517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23519 if (!SWIG_IsOK(res1
)) {
23520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23522 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23526 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23527 wxPyEndAllowThreads(__tstate
);
23528 if (PyErr_Occurred()) SWIG_fail
;
23530 resultobj
= SWIG_Py_Void();
23537 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23539 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23540 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23541 return SWIG_Py_Void();
23544 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23545 PyObject
*resultobj
= 0;
23546 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23548 wxString
*arg3
= 0 ;
23549 wxBitmap
*arg4
= 0 ;
23550 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23551 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23552 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23553 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23554 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23555 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23556 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23557 PyObject
*arg9
= (PyObject
*) NULL
;
23558 wxToolBarToolBase
*result
= 0 ;
23563 bool temp3
= false ;
23570 bool temp7
= false ;
23571 bool temp8
= false ;
23572 PyObject
* obj0
= 0 ;
23573 PyObject
* obj1
= 0 ;
23574 PyObject
* obj2
= 0 ;
23575 PyObject
* obj3
= 0 ;
23576 PyObject
* obj4
= 0 ;
23577 PyObject
* obj5
= 0 ;
23578 PyObject
* obj6
= 0 ;
23579 PyObject
* obj7
= 0 ;
23580 PyObject
* obj8
= 0 ;
23581 char * kwnames
[] = {
23582 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23587 if (!SWIG_IsOK(res1
)) {
23588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23590 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23592 if (!SWIG_IsOK(ecode2
)) {
23593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23595 arg2
= static_cast< int >(val2
);
23597 arg3
= wxString_in_helper(obj2
);
23598 if (arg3
== NULL
) SWIG_fail
;
23601 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23602 if (!SWIG_IsOK(res4
)) {
23603 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23606 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23608 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23610 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23611 if (!SWIG_IsOK(res5
)) {
23612 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23615 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23617 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23620 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23621 if (!SWIG_IsOK(ecode6
)) {
23622 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23624 arg6
= static_cast< wxItemKind
>(val6
);
23628 arg7
= wxString_in_helper(obj6
);
23629 if (arg7
== NULL
) SWIG_fail
;
23635 arg8
= wxString_in_helper(obj7
);
23636 if (arg8
== NULL
) SWIG_fail
;
23644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23645 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23646 wxPyEndAllowThreads(__tstate
);
23647 if (PyErr_Occurred()) SWIG_fail
;
23650 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23682 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23683 PyObject
*resultobj
= 0;
23684 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23687 wxString
*arg4
= 0 ;
23688 wxBitmap
*arg5
= 0 ;
23689 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23690 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23691 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23692 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23693 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23694 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23695 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23696 PyObject
*arg10
= (PyObject
*) NULL
;
23697 wxToolBarToolBase
*result
= 0 ;
23704 bool temp4
= false ;
23711 bool temp8
= false ;
23712 bool temp9
= false ;
23713 PyObject
* obj0
= 0 ;
23714 PyObject
* obj1
= 0 ;
23715 PyObject
* obj2
= 0 ;
23716 PyObject
* obj3
= 0 ;
23717 PyObject
* obj4
= 0 ;
23718 PyObject
* obj5
= 0 ;
23719 PyObject
* obj6
= 0 ;
23720 PyObject
* obj7
= 0 ;
23721 PyObject
* obj8
= 0 ;
23722 PyObject
* obj9
= 0 ;
23723 char * kwnames
[] = {
23724 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23729 if (!SWIG_IsOK(res1
)) {
23730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23732 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23733 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23734 if (!SWIG_IsOK(ecode2
)) {
23735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23737 arg2
= static_cast< size_t >(val2
);
23738 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23739 if (!SWIG_IsOK(ecode3
)) {
23740 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23742 arg3
= static_cast< int >(val3
);
23744 arg4
= wxString_in_helper(obj3
);
23745 if (arg4
== NULL
) SWIG_fail
;
23748 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23749 if (!SWIG_IsOK(res5
)) {
23750 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23753 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23755 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23757 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23758 if (!SWIG_IsOK(res6
)) {
23759 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23762 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23764 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23767 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23768 if (!SWIG_IsOK(ecode7
)) {
23769 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23771 arg7
= static_cast< wxItemKind
>(val7
);
23775 arg8
= wxString_in_helper(obj7
);
23776 if (arg8
== NULL
) SWIG_fail
;
23782 arg9
= wxString_in_helper(obj8
);
23783 if (arg9
== NULL
) SWIG_fail
;
23791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23792 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
23793 wxPyEndAllowThreads(__tstate
);
23794 if (PyErr_Occurred()) SWIG_fail
;
23797 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23829 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23830 PyObject
*resultobj
= 0;
23831 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23832 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
23833 wxToolBarToolBase
*result
= 0 ;
23838 PyObject
* obj0
= 0 ;
23839 PyObject
* obj1
= 0 ;
23840 char * kwnames
[] = {
23841 (char *) "self",(char *) "tool", NULL
23844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23846 if (!SWIG_IsOK(res1
)) {
23847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23849 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23850 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23851 if (!SWIG_IsOK(res2
)) {
23852 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23854 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
23856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23857 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
23858 wxPyEndAllowThreads(__tstate
);
23859 if (PyErr_Occurred()) SWIG_fail
;
23862 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23870 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23871 PyObject
*resultobj
= 0;
23872 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23874 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
23875 wxToolBarToolBase
*result
= 0 ;
23882 PyObject
* obj0
= 0 ;
23883 PyObject
* obj1
= 0 ;
23884 PyObject
* obj2
= 0 ;
23885 char * kwnames
[] = {
23886 (char *) "self",(char *) "pos",(char *) "tool", NULL
23889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23891 if (!SWIG_IsOK(res1
)) {
23892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23894 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23895 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23896 if (!SWIG_IsOK(ecode2
)) {
23897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
23899 arg2
= static_cast< size_t >(val2
);
23900 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23901 if (!SWIG_IsOK(res3
)) {
23902 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
23904 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
23906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23907 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
23908 wxPyEndAllowThreads(__tstate
);
23909 if (PyErr_Occurred()) SWIG_fail
;
23912 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23920 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23921 PyObject
*resultobj
= 0;
23922 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23923 wxControl
*arg2
= (wxControl
*) 0 ;
23924 wxToolBarToolBase
*result
= 0 ;
23929 PyObject
* obj0
= 0 ;
23930 PyObject
* obj1
= 0 ;
23931 char * kwnames
[] = {
23932 (char *) "self",(char *) "control", NULL
23935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23937 if (!SWIG_IsOK(res1
)) {
23938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23940 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23941 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
23942 if (!SWIG_IsOK(res2
)) {
23943 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
23945 arg2
= reinterpret_cast< wxControl
* >(argp2
);
23947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23948 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
23949 wxPyEndAllowThreads(__tstate
);
23950 if (PyErr_Occurred()) SWIG_fail
;
23953 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23961 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23962 PyObject
*resultobj
= 0;
23963 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23965 wxControl
*arg3
= (wxControl
*) 0 ;
23966 wxToolBarToolBase
*result
= 0 ;
23973 PyObject
* obj0
= 0 ;
23974 PyObject
* obj1
= 0 ;
23975 PyObject
* obj2
= 0 ;
23976 char * kwnames
[] = {
23977 (char *) "self",(char *) "pos",(char *) "control", NULL
23980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23982 if (!SWIG_IsOK(res1
)) {
23983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23985 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23986 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23987 if (!SWIG_IsOK(ecode2
)) {
23988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
23990 arg2
= static_cast< size_t >(val2
);
23991 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
23992 if (!SWIG_IsOK(res3
)) {
23993 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
23995 arg3
= reinterpret_cast< wxControl
* >(argp3
);
23997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23998 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
23999 wxPyEndAllowThreads(__tstate
);
24000 if (PyErr_Occurred()) SWIG_fail
;
24003 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24011 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24012 PyObject
*resultobj
= 0;
24013 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24015 wxControl
*result
= 0 ;
24020 PyObject
* obj0
= 0 ;
24021 PyObject
* obj1
= 0 ;
24022 char * kwnames
[] = {
24023 (char *) "self",(char *) "id", NULL
24026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24028 if (!SWIG_IsOK(res1
)) {
24029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24031 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24033 if (!SWIG_IsOK(ecode2
)) {
24034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24036 arg2
= static_cast< int >(val2
);
24038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24039 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24040 wxPyEndAllowThreads(__tstate
);
24041 if (PyErr_Occurred()) SWIG_fail
;
24044 resultobj
= wxPyMake_wxObject(result
, 0);
24052 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24053 PyObject
*resultobj
= 0;
24054 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24055 wxToolBarToolBase
*result
= 0 ;
24058 PyObject
*swig_obj
[1] ;
24060 if (!args
) SWIG_fail
;
24061 swig_obj
[0] = args
;
24062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24063 if (!SWIG_IsOK(res1
)) {
24064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24066 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24069 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24070 wxPyEndAllowThreads(__tstate
);
24071 if (PyErr_Occurred()) SWIG_fail
;
24074 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24082 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24083 PyObject
*resultobj
= 0;
24084 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24086 wxToolBarToolBase
*result
= 0 ;
24091 PyObject
* obj0
= 0 ;
24092 PyObject
* obj1
= 0 ;
24093 char * kwnames
[] = {
24094 (char *) "self",(char *) "pos", NULL
24097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24099 if (!SWIG_IsOK(res1
)) {
24100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24102 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24103 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24104 if (!SWIG_IsOK(ecode2
)) {
24105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24107 arg2
= static_cast< size_t >(val2
);
24109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24110 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24111 wxPyEndAllowThreads(__tstate
);
24112 if (PyErr_Occurred()) SWIG_fail
;
24115 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24123 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24124 PyObject
*resultobj
= 0;
24125 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24127 wxToolBarToolBase
*result
= 0 ;
24132 PyObject
* obj0
= 0 ;
24133 PyObject
* obj1
= 0 ;
24134 char * kwnames
[] = {
24135 (char *) "self",(char *) "id", NULL
24138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24140 if (!SWIG_IsOK(res1
)) {
24141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24143 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24144 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24145 if (!SWIG_IsOK(ecode2
)) {
24146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24148 arg2
= static_cast< int >(val2
);
24150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24151 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24152 wxPyEndAllowThreads(__tstate
);
24153 if (PyErr_Occurred()) SWIG_fail
;
24156 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24164 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24165 PyObject
*resultobj
= 0;
24166 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24173 PyObject
* obj0
= 0 ;
24174 PyObject
* obj1
= 0 ;
24175 char * kwnames
[] = {
24176 (char *) "self",(char *) "pos", NULL
24179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24181 if (!SWIG_IsOK(res1
)) {
24182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24184 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24185 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24186 if (!SWIG_IsOK(ecode2
)) {
24187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24189 arg2
= static_cast< size_t >(val2
);
24191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24192 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24193 wxPyEndAllowThreads(__tstate
);
24194 if (PyErr_Occurred()) SWIG_fail
;
24197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24205 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24206 PyObject
*resultobj
= 0;
24207 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24214 PyObject
* obj0
= 0 ;
24215 PyObject
* obj1
= 0 ;
24216 char * kwnames
[] = {
24217 (char *) "self",(char *) "id", NULL
24220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24222 if (!SWIG_IsOK(res1
)) {
24223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24225 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24227 if (!SWIG_IsOK(ecode2
)) {
24228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24230 arg2
= static_cast< int >(val2
);
24232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24233 result
= (bool)(arg1
)->DeleteTool(arg2
);
24234 wxPyEndAllowThreads(__tstate
);
24235 if (PyErr_Occurred()) SWIG_fail
;
24238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24246 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24247 PyObject
*resultobj
= 0;
24248 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24251 PyObject
*swig_obj
[1] ;
24253 if (!args
) SWIG_fail
;
24254 swig_obj
[0] = args
;
24255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24256 if (!SWIG_IsOK(res1
)) {
24257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24259 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24262 (arg1
)->ClearTools();
24263 wxPyEndAllowThreads(__tstate
);
24264 if (PyErr_Occurred()) SWIG_fail
;
24266 resultobj
= SWIG_Py_Void();
24273 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24274 PyObject
*resultobj
= 0;
24275 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24279 PyObject
*swig_obj
[1] ;
24281 if (!args
) SWIG_fail
;
24282 swig_obj
[0] = args
;
24283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24284 if (!SWIG_IsOK(res1
)) {
24285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24287 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24290 result
= (bool)(arg1
)->Realize();
24291 wxPyEndAllowThreads(__tstate
);
24292 if (PyErr_Occurred()) SWIG_fail
;
24295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24303 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24304 PyObject
*resultobj
= 0;
24305 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24314 PyObject
* obj0
= 0 ;
24315 PyObject
* obj1
= 0 ;
24316 PyObject
* obj2
= 0 ;
24317 char * kwnames
[] = {
24318 (char *) "self",(char *) "id",(char *) "enable", NULL
24321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24323 if (!SWIG_IsOK(res1
)) {
24324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24326 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24328 if (!SWIG_IsOK(ecode2
)) {
24329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24331 arg2
= static_cast< int >(val2
);
24332 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24333 if (!SWIG_IsOK(ecode3
)) {
24334 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24336 arg3
= static_cast< bool >(val3
);
24338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24339 (arg1
)->EnableTool(arg2
,arg3
);
24340 wxPyEndAllowThreads(__tstate
);
24341 if (PyErr_Occurred()) SWIG_fail
;
24343 resultobj
= SWIG_Py_Void();
24350 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24351 PyObject
*resultobj
= 0;
24352 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24361 PyObject
* obj0
= 0 ;
24362 PyObject
* obj1
= 0 ;
24363 PyObject
* obj2
= 0 ;
24364 char * kwnames
[] = {
24365 (char *) "self",(char *) "id",(char *) "toggle", NULL
24368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24370 if (!SWIG_IsOK(res1
)) {
24371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24373 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24374 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24375 if (!SWIG_IsOK(ecode2
)) {
24376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24378 arg2
= static_cast< int >(val2
);
24379 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24380 if (!SWIG_IsOK(ecode3
)) {
24381 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24383 arg3
= static_cast< bool >(val3
);
24385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24386 (arg1
)->ToggleTool(arg2
,arg3
);
24387 wxPyEndAllowThreads(__tstate
);
24388 if (PyErr_Occurred()) SWIG_fail
;
24390 resultobj
= SWIG_Py_Void();
24397 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24398 PyObject
*resultobj
= 0;
24399 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24408 PyObject
* obj0
= 0 ;
24409 PyObject
* obj1
= 0 ;
24410 PyObject
* obj2
= 0 ;
24411 char * kwnames
[] = {
24412 (char *) "self",(char *) "id",(char *) "toggle", NULL
24415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24417 if (!SWIG_IsOK(res1
)) {
24418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24420 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24422 if (!SWIG_IsOK(ecode2
)) {
24423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24425 arg2
= static_cast< int >(val2
);
24426 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24427 if (!SWIG_IsOK(ecode3
)) {
24428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24430 arg3
= static_cast< bool >(val3
);
24432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24433 (arg1
)->SetToggle(arg2
,arg3
);
24434 wxPyEndAllowThreads(__tstate
);
24435 if (PyErr_Occurred()) SWIG_fail
;
24437 resultobj
= SWIG_Py_Void();
24444 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24445 PyObject
*resultobj
= 0;
24446 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24448 PyObject
*result
= 0 ;
24453 PyObject
* obj0
= 0 ;
24454 PyObject
* obj1
= 0 ;
24455 char * kwnames
[] = {
24456 (char *) "self",(char *) "id", NULL
24459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24461 if (!SWIG_IsOK(res1
)) {
24462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24464 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24466 if (!SWIG_IsOK(ecode2
)) {
24467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24469 arg2
= static_cast< int >(val2
);
24471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24472 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24473 wxPyEndAllowThreads(__tstate
);
24474 if (PyErr_Occurred()) SWIG_fail
;
24476 resultobj
= result
;
24483 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24484 PyObject
*resultobj
= 0;
24485 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24487 PyObject
*arg3
= (PyObject
*) 0 ;
24492 PyObject
* obj0
= 0 ;
24493 PyObject
* obj1
= 0 ;
24494 PyObject
* obj2
= 0 ;
24495 char * kwnames
[] = {
24496 (char *) "self",(char *) "id",(char *) "clientData", NULL
24499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24501 if (!SWIG_IsOK(res1
)) {
24502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24504 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24506 if (!SWIG_IsOK(ecode2
)) {
24507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24509 arg2
= static_cast< int >(val2
);
24512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24513 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24514 wxPyEndAllowThreads(__tstate
);
24515 if (PyErr_Occurred()) SWIG_fail
;
24517 resultobj
= SWIG_Py_Void();
24524 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24525 PyObject
*resultobj
= 0;
24526 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24533 PyObject
* obj0
= 0 ;
24534 PyObject
* obj1
= 0 ;
24535 char * kwnames
[] = {
24536 (char *) "self",(char *) "id", NULL
24539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24541 if (!SWIG_IsOK(res1
)) {
24542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24544 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24545 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24546 if (!SWIG_IsOK(ecode2
)) {
24547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24549 arg2
= static_cast< int >(val2
);
24551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24552 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24553 wxPyEndAllowThreads(__tstate
);
24554 if (PyErr_Occurred()) SWIG_fail
;
24556 resultobj
= SWIG_From_int(static_cast< int >(result
));
24563 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24564 PyObject
*resultobj
= 0;
24565 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24572 PyObject
* obj0
= 0 ;
24573 PyObject
* obj1
= 0 ;
24574 char * kwnames
[] = {
24575 (char *) "self",(char *) "id", NULL
24578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24580 if (!SWIG_IsOK(res1
)) {
24581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24583 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24585 if (!SWIG_IsOK(ecode2
)) {
24586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24588 arg2
= static_cast< int >(val2
);
24590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24591 result
= (bool)(arg1
)->GetToolState(arg2
);
24592 wxPyEndAllowThreads(__tstate
);
24593 if (PyErr_Occurred()) SWIG_fail
;
24596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24604 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24605 PyObject
*resultobj
= 0;
24606 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24613 PyObject
* obj0
= 0 ;
24614 PyObject
* obj1
= 0 ;
24615 char * kwnames
[] = {
24616 (char *) "self",(char *) "id", NULL
24619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24621 if (!SWIG_IsOK(res1
)) {
24622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24624 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24625 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24626 if (!SWIG_IsOK(ecode2
)) {
24627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24629 arg2
= static_cast< int >(val2
);
24631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24632 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24633 wxPyEndAllowThreads(__tstate
);
24634 if (PyErr_Occurred()) SWIG_fail
;
24637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24645 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24646 PyObject
*resultobj
= 0;
24647 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24649 wxString
*arg3
= 0 ;
24654 bool temp3
= false ;
24655 PyObject
* obj0
= 0 ;
24656 PyObject
* obj1
= 0 ;
24657 PyObject
* obj2
= 0 ;
24658 char * kwnames
[] = {
24659 (char *) "self",(char *) "id",(char *) "helpString", NULL
24662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24664 if (!SWIG_IsOK(res1
)) {
24665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24667 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24668 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24669 if (!SWIG_IsOK(ecode2
)) {
24670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24672 arg2
= static_cast< int >(val2
);
24674 arg3
= wxString_in_helper(obj2
);
24675 if (arg3
== NULL
) SWIG_fail
;
24679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24680 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24681 wxPyEndAllowThreads(__tstate
);
24682 if (PyErr_Occurred()) SWIG_fail
;
24684 resultobj
= SWIG_Py_Void();
24699 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24700 PyObject
*resultobj
= 0;
24701 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24708 PyObject
* obj0
= 0 ;
24709 PyObject
* obj1
= 0 ;
24710 char * kwnames
[] = {
24711 (char *) "self",(char *) "id", NULL
24714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24716 if (!SWIG_IsOK(res1
)) {
24717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24719 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24720 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24721 if (!SWIG_IsOK(ecode2
)) {
24722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24724 arg2
= static_cast< int >(val2
);
24726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24727 result
= (arg1
)->GetToolShortHelp(arg2
);
24728 wxPyEndAllowThreads(__tstate
);
24729 if (PyErr_Occurred()) SWIG_fail
;
24733 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24735 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24744 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24745 PyObject
*resultobj
= 0;
24746 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24748 wxString
*arg3
= 0 ;
24753 bool temp3
= false ;
24754 PyObject
* obj0
= 0 ;
24755 PyObject
* obj1
= 0 ;
24756 PyObject
* obj2
= 0 ;
24757 char * kwnames
[] = {
24758 (char *) "self",(char *) "id",(char *) "helpString", NULL
24761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24763 if (!SWIG_IsOK(res1
)) {
24764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24766 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24767 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24768 if (!SWIG_IsOK(ecode2
)) {
24769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24771 arg2
= static_cast< int >(val2
);
24773 arg3
= wxString_in_helper(obj2
);
24774 if (arg3
== NULL
) SWIG_fail
;
24778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24779 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
24780 wxPyEndAllowThreads(__tstate
);
24781 if (PyErr_Occurred()) SWIG_fail
;
24783 resultobj
= SWIG_Py_Void();
24798 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24799 PyObject
*resultobj
= 0;
24800 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24807 PyObject
* obj0
= 0 ;
24808 PyObject
* obj1
= 0 ;
24809 char * kwnames
[] = {
24810 (char *) "self",(char *) "id", NULL
24813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24815 if (!SWIG_IsOK(res1
)) {
24816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24818 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24819 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24820 if (!SWIG_IsOK(ecode2
)) {
24821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24823 arg2
= static_cast< int >(val2
);
24825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24826 result
= (arg1
)->GetToolLongHelp(arg2
);
24827 wxPyEndAllowThreads(__tstate
);
24828 if (PyErr_Occurred()) SWIG_fail
;
24832 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24834 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24843 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24844 PyObject
*resultobj
= 0;
24845 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24854 PyObject
* obj0
= 0 ;
24855 PyObject
* obj1
= 0 ;
24856 PyObject
* obj2
= 0 ;
24857 char * kwnames
[] = {
24858 (char *) "self",(char *) "x",(char *) "y", NULL
24861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24863 if (!SWIG_IsOK(res1
)) {
24864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24866 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24867 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24868 if (!SWIG_IsOK(ecode2
)) {
24869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24871 arg2
= static_cast< int >(val2
);
24872 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24873 if (!SWIG_IsOK(ecode3
)) {
24874 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
24876 arg3
= static_cast< int >(val3
);
24878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24879 (arg1
)->SetMargins(arg2
,arg3
);
24880 wxPyEndAllowThreads(__tstate
);
24881 if (PyErr_Occurred()) SWIG_fail
;
24883 resultobj
= SWIG_Py_Void();
24890 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24891 PyObject
*resultobj
= 0;
24892 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24897 PyObject
* obj0
= 0 ;
24898 PyObject
* obj1
= 0 ;
24899 char * kwnames
[] = {
24900 (char *) "self",(char *) "size", NULL
24903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24905 if (!SWIG_IsOK(res1
)) {
24906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24908 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24911 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24915 (arg1
)->SetMargins((wxSize
const &)*arg2
);
24916 wxPyEndAllowThreads(__tstate
);
24917 if (PyErr_Occurred()) SWIG_fail
;
24919 resultobj
= SWIG_Py_Void();
24926 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24927 PyObject
*resultobj
= 0;
24928 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24934 PyObject
* obj0
= 0 ;
24935 PyObject
* obj1
= 0 ;
24936 char * kwnames
[] = {
24937 (char *) "self",(char *) "packing", NULL
24940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24942 if (!SWIG_IsOK(res1
)) {
24943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24945 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24946 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24947 if (!SWIG_IsOK(ecode2
)) {
24948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
24950 arg2
= static_cast< int >(val2
);
24952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24953 (arg1
)->SetToolPacking(arg2
);
24954 wxPyEndAllowThreads(__tstate
);
24955 if (PyErr_Occurred()) SWIG_fail
;
24957 resultobj
= SWIG_Py_Void();
24964 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24965 PyObject
*resultobj
= 0;
24966 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24972 PyObject
* obj0
= 0 ;
24973 PyObject
* obj1
= 0 ;
24974 char * kwnames
[] = {
24975 (char *) "self",(char *) "separation", NULL
24978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24980 if (!SWIG_IsOK(res1
)) {
24981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24983 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24984 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24985 if (!SWIG_IsOK(ecode2
)) {
24986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
24988 arg2
= static_cast< int >(val2
);
24990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24991 (arg1
)->SetToolSeparation(arg2
);
24992 wxPyEndAllowThreads(__tstate
);
24993 if (PyErr_Occurred()) SWIG_fail
;
24995 resultobj
= SWIG_Py_Void();
25002 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25003 PyObject
*resultobj
= 0;
25004 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25008 PyObject
*swig_obj
[1] ;
25010 if (!args
) SWIG_fail
;
25011 swig_obj
[0] = args
;
25012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25013 if (!SWIG_IsOK(res1
)) {
25014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25016 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25019 result
= (arg1
)->GetToolMargins();
25020 wxPyEndAllowThreads(__tstate
);
25021 if (PyErr_Occurred()) SWIG_fail
;
25023 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25030 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25031 PyObject
*resultobj
= 0;
25032 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25036 PyObject
*swig_obj
[1] ;
25038 if (!args
) SWIG_fail
;
25039 swig_obj
[0] = args
;
25040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25041 if (!SWIG_IsOK(res1
)) {
25042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25044 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25047 result
= (arg1
)->GetMargins();
25048 wxPyEndAllowThreads(__tstate
);
25049 if (PyErr_Occurred()) SWIG_fail
;
25051 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25058 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25059 PyObject
*resultobj
= 0;
25060 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25064 PyObject
*swig_obj
[1] ;
25066 if (!args
) SWIG_fail
;
25067 swig_obj
[0] = args
;
25068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25069 if (!SWIG_IsOK(res1
)) {
25070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25072 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25075 result
= (int)(arg1
)->GetToolPacking();
25076 wxPyEndAllowThreads(__tstate
);
25077 if (PyErr_Occurred()) SWIG_fail
;
25079 resultobj
= SWIG_From_int(static_cast< int >(result
));
25086 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25087 PyObject
*resultobj
= 0;
25088 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25092 PyObject
*swig_obj
[1] ;
25094 if (!args
) SWIG_fail
;
25095 swig_obj
[0] = args
;
25096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25097 if (!SWIG_IsOK(res1
)) {
25098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25100 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25103 result
= (int)(arg1
)->GetToolSeparation();
25104 wxPyEndAllowThreads(__tstate
);
25105 if (PyErr_Occurred()) SWIG_fail
;
25107 resultobj
= SWIG_From_int(static_cast< int >(result
));
25114 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25115 PyObject
*resultobj
= 0;
25116 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25122 PyObject
* obj0
= 0 ;
25123 PyObject
* obj1
= 0 ;
25124 char * kwnames
[] = {
25125 (char *) "self",(char *) "nRows", NULL
25128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25130 if (!SWIG_IsOK(res1
)) {
25131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25133 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25134 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25135 if (!SWIG_IsOK(ecode2
)) {
25136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25138 arg2
= static_cast< int >(val2
);
25140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25141 (arg1
)->SetRows(arg2
);
25142 wxPyEndAllowThreads(__tstate
);
25143 if (PyErr_Occurred()) SWIG_fail
;
25145 resultobj
= SWIG_Py_Void();
25152 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25153 PyObject
*resultobj
= 0;
25154 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25163 PyObject
* obj0
= 0 ;
25164 PyObject
* obj1
= 0 ;
25165 PyObject
* obj2
= 0 ;
25166 char * kwnames
[] = {
25167 (char *) "self",(char *) "rows",(char *) "cols", NULL
25170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25172 if (!SWIG_IsOK(res1
)) {
25173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25175 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25176 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25177 if (!SWIG_IsOK(ecode2
)) {
25178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25180 arg2
= static_cast< int >(val2
);
25181 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25182 if (!SWIG_IsOK(ecode3
)) {
25183 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25185 arg3
= static_cast< int >(val3
);
25187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25188 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25189 wxPyEndAllowThreads(__tstate
);
25190 if (PyErr_Occurred()) SWIG_fail
;
25192 resultobj
= SWIG_Py_Void();
25199 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25200 PyObject
*resultobj
= 0;
25201 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25205 PyObject
*swig_obj
[1] ;
25207 if (!args
) SWIG_fail
;
25208 swig_obj
[0] = args
;
25209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25210 if (!SWIG_IsOK(res1
)) {
25211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25213 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25216 result
= (int)(arg1
)->GetMaxRows();
25217 wxPyEndAllowThreads(__tstate
);
25218 if (PyErr_Occurred()) SWIG_fail
;
25220 resultobj
= SWIG_From_int(static_cast< int >(result
));
25227 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25228 PyObject
*resultobj
= 0;
25229 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25233 PyObject
*swig_obj
[1] ;
25235 if (!args
) SWIG_fail
;
25236 swig_obj
[0] = args
;
25237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25238 if (!SWIG_IsOK(res1
)) {
25239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25241 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25244 result
= (int)(arg1
)->GetMaxCols();
25245 wxPyEndAllowThreads(__tstate
);
25246 if (PyErr_Occurred()) SWIG_fail
;
25248 resultobj
= SWIG_From_int(static_cast< int >(result
));
25255 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25256 PyObject
*resultobj
= 0;
25257 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25262 PyObject
* obj0
= 0 ;
25263 PyObject
* obj1
= 0 ;
25264 char * kwnames
[] = {
25265 (char *) "self",(char *) "size", NULL
25268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25270 if (!SWIG_IsOK(res1
)) {
25271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25273 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25276 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25280 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25281 wxPyEndAllowThreads(__tstate
);
25282 if (PyErr_Occurred()) SWIG_fail
;
25284 resultobj
= SWIG_Py_Void();
25291 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25292 PyObject
*resultobj
= 0;
25293 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25297 PyObject
*swig_obj
[1] ;
25299 if (!args
) SWIG_fail
;
25300 swig_obj
[0] = args
;
25301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25302 if (!SWIG_IsOK(res1
)) {
25303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25305 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25308 result
= (arg1
)->GetToolBitmapSize();
25309 wxPyEndAllowThreads(__tstate
);
25310 if (PyErr_Occurred()) SWIG_fail
;
25312 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25319 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25320 PyObject
*resultobj
= 0;
25321 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25325 PyObject
*swig_obj
[1] ;
25327 if (!args
) SWIG_fail
;
25328 swig_obj
[0] = args
;
25329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25330 if (!SWIG_IsOK(res1
)) {
25331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25333 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25336 result
= (arg1
)->GetToolSize();
25337 wxPyEndAllowThreads(__tstate
);
25338 if (PyErr_Occurred()) SWIG_fail
;
25340 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25347 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25348 PyObject
*resultobj
= 0;
25349 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25352 wxToolBarToolBase
*result
= 0 ;
25359 PyObject
* obj0
= 0 ;
25360 PyObject
* obj1
= 0 ;
25361 PyObject
* obj2
= 0 ;
25362 char * kwnames
[] = {
25363 (char *) "self",(char *) "x",(char *) "y", NULL
25366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25368 if (!SWIG_IsOK(res1
)) {
25369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25371 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25372 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25373 if (!SWIG_IsOK(ecode2
)) {
25374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25376 arg2
= static_cast< int >(val2
);
25377 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25378 if (!SWIG_IsOK(ecode3
)) {
25379 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25381 arg3
= static_cast< int >(val3
);
25383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25384 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25385 wxPyEndAllowThreads(__tstate
);
25386 if (PyErr_Occurred()) SWIG_fail
;
25389 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25397 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25398 PyObject
*resultobj
= 0;
25399 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25401 wxToolBarToolBase
*result
= 0 ;
25406 PyObject
* obj0
= 0 ;
25407 PyObject
* obj1
= 0 ;
25408 char * kwnames
[] = {
25409 (char *) "self",(char *) "toolid", NULL
25412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25414 if (!SWIG_IsOK(res1
)) {
25415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25417 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25419 if (!SWIG_IsOK(ecode2
)) {
25420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25422 arg2
= static_cast< int >(val2
);
25424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25425 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25426 wxPyEndAllowThreads(__tstate
);
25427 if (PyErr_Occurred()) SWIG_fail
;
25430 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25438 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25439 PyObject
*resultobj
= 0;
25440 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25444 PyObject
*swig_obj
[1] ;
25446 if (!args
) SWIG_fail
;
25447 swig_obj
[0] = args
;
25448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25449 if (!SWIG_IsOK(res1
)) {
25450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25452 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25455 result
= (bool)(arg1
)->IsVertical();
25456 wxPyEndAllowThreads(__tstate
);
25457 if (PyErr_Occurred()) SWIG_fail
;
25460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25468 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25469 PyObject
*resultobj
= 0;
25470 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25474 PyObject
*swig_obj
[1] ;
25476 if (!args
) SWIG_fail
;
25477 swig_obj
[0] = args
;
25478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25479 if (!SWIG_IsOK(res1
)) {
25480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25482 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25485 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25486 wxPyEndAllowThreads(__tstate
);
25487 if (PyErr_Occurred()) SWIG_fail
;
25489 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25496 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25498 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25499 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25500 return SWIG_Py_Void();
25503 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25504 PyObject
*resultobj
= 0;
25505 wxWindow
*arg1
= (wxWindow
*) 0 ;
25506 int arg2
= (int) -1 ;
25507 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25508 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25509 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25510 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25511 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25512 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25513 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25514 wxToolBar
*result
= 0 ;
25523 bool temp6
= false ;
25524 PyObject
* obj0
= 0 ;
25525 PyObject
* obj1
= 0 ;
25526 PyObject
* obj2
= 0 ;
25527 PyObject
* obj3
= 0 ;
25528 PyObject
* obj4
= 0 ;
25529 PyObject
* obj5
= 0 ;
25530 char * kwnames
[] = {
25531 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25536 if (!SWIG_IsOK(res1
)) {
25537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25539 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25542 if (!SWIG_IsOK(ecode2
)) {
25543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25545 arg2
= static_cast< int >(val2
);
25550 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25556 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25560 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25561 if (!SWIG_IsOK(ecode5
)) {
25562 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25564 arg5
= static_cast< long >(val5
);
25568 arg6
= wxString_in_helper(obj5
);
25569 if (arg6
== NULL
) SWIG_fail
;
25574 if (!wxPyCheckForApp()) SWIG_fail
;
25575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25576 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25577 wxPyEndAllowThreads(__tstate
);
25578 if (PyErr_Occurred()) SWIG_fail
;
25580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25595 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25596 PyObject
*resultobj
= 0;
25597 wxToolBar
*result
= 0 ;
25599 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25601 if (!wxPyCheckForApp()) SWIG_fail
;
25602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25603 result
= (wxToolBar
*)new wxToolBar();
25604 wxPyEndAllowThreads(__tstate
);
25605 if (PyErr_Occurred()) SWIG_fail
;
25607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25614 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25615 PyObject
*resultobj
= 0;
25616 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25617 wxWindow
*arg2
= (wxWindow
*) 0 ;
25618 int arg3
= (int) -1 ;
25619 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25620 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25621 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25622 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25623 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25624 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25625 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25637 bool temp7
= false ;
25638 PyObject
* obj0
= 0 ;
25639 PyObject
* obj1
= 0 ;
25640 PyObject
* obj2
= 0 ;
25641 PyObject
* obj3
= 0 ;
25642 PyObject
* obj4
= 0 ;
25643 PyObject
* obj5
= 0 ;
25644 PyObject
* obj6
= 0 ;
25645 char * kwnames
[] = {
25646 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25651 if (!SWIG_IsOK(res1
)) {
25652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25654 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25655 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25656 if (!SWIG_IsOK(res2
)) {
25657 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25659 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25661 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25662 if (!SWIG_IsOK(ecode3
)) {
25663 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25665 arg3
= static_cast< int >(val3
);
25670 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25676 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25680 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25681 if (!SWIG_IsOK(ecode6
)) {
25682 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25684 arg6
= static_cast< long >(val6
);
25688 arg7
= wxString_in_helper(obj6
);
25689 if (arg7
== NULL
) SWIG_fail
;
25694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25695 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25696 wxPyEndAllowThreads(__tstate
);
25697 if (PyErr_Occurred()) SWIG_fail
;
25700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25716 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25717 PyObject
*resultobj
= 0;
25718 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25719 SwigValueWrapper
<wxVisualAttributes
> result
;
25722 PyObject
* obj0
= 0 ;
25723 char * kwnames
[] = {
25724 (char *) "variant", NULL
25727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25729 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25730 if (!SWIG_IsOK(ecode1
)) {
25731 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25733 arg1
= static_cast< wxWindowVariant
>(val1
);
25736 if (!wxPyCheckForApp()) SWIG_fail
;
25737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25738 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25739 wxPyEndAllowThreads(__tstate
);
25740 if (PyErr_Occurred()) SWIG_fail
;
25742 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25749 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25751 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25752 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25753 return SWIG_Py_Void();
25756 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25757 return SWIG_Python_InitShadowInstance(args
);
25760 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25761 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25766 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25767 PyObject
*pyobj
= 0;
25771 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25773 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25780 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25781 PyObject
*resultobj
= 0;
25782 wxColour
const &arg1_defvalue
= wxNullColour
;
25783 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
25784 wxColour
const &arg2_defvalue
= wxNullColour
;
25785 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
25786 wxFont
const &arg3_defvalue
= wxNullFont
;
25787 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
25788 wxListItemAttr
*result
= 0 ;
25793 PyObject
* obj0
= 0 ;
25794 PyObject
* obj1
= 0 ;
25795 PyObject
* obj2
= 0 ;
25796 char * kwnames
[] = {
25797 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25804 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
25810 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25814 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
25815 if (!SWIG_IsOK(res3
)) {
25816 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25819 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25821 arg3
= reinterpret_cast< wxFont
* >(argp3
);
25824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25825 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
25826 wxPyEndAllowThreads(__tstate
);
25827 if (PyErr_Occurred()) SWIG_fail
;
25829 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
25836 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25837 PyObject
*resultobj
= 0;
25838 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25841 PyObject
*swig_obj
[1] ;
25843 if (!args
) SWIG_fail
;
25844 swig_obj
[0] = args
;
25845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
25846 if (!SWIG_IsOK(res1
)) {
25847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25849 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25854 wxPyEndAllowThreads(__tstate
);
25855 if (PyErr_Occurred()) SWIG_fail
;
25857 resultobj
= SWIG_Py_Void();
25864 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25865 PyObject
*resultobj
= 0;
25866 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25867 wxColour
*arg2
= 0 ;
25871 PyObject
* obj0
= 0 ;
25872 PyObject
* obj1
= 0 ;
25873 char * kwnames
[] = {
25874 (char *) "self",(char *) "colText", NULL
25877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25879 if (!SWIG_IsOK(res1
)) {
25880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25882 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25885 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25889 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25890 wxPyEndAllowThreads(__tstate
);
25891 if (PyErr_Occurred()) SWIG_fail
;
25893 resultobj
= SWIG_Py_Void();
25900 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25901 PyObject
*resultobj
= 0;
25902 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25903 wxColour
*arg2
= 0 ;
25907 PyObject
* obj0
= 0 ;
25908 PyObject
* obj1
= 0 ;
25909 char * kwnames
[] = {
25910 (char *) "self",(char *) "colBack", NULL
25913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25915 if (!SWIG_IsOK(res1
)) {
25916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25918 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25921 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25925 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25926 wxPyEndAllowThreads(__tstate
);
25927 if (PyErr_Occurred()) SWIG_fail
;
25929 resultobj
= SWIG_Py_Void();
25936 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25937 PyObject
*resultobj
= 0;
25938 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25944 PyObject
* obj0
= 0 ;
25945 PyObject
* obj1
= 0 ;
25946 char * kwnames
[] = {
25947 (char *) "self",(char *) "font", NULL
25950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25952 if (!SWIG_IsOK(res1
)) {
25953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25955 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25956 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25957 if (!SWIG_IsOK(res2
)) {
25958 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25961 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25963 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25966 (arg1
)->SetFont((wxFont
const &)*arg2
);
25967 wxPyEndAllowThreads(__tstate
);
25968 if (PyErr_Occurred()) SWIG_fail
;
25970 resultobj
= SWIG_Py_Void();
25977 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25978 PyObject
*resultobj
= 0;
25979 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25983 PyObject
*swig_obj
[1] ;
25985 if (!args
) SWIG_fail
;
25986 swig_obj
[0] = args
;
25987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25988 if (!SWIG_IsOK(res1
)) {
25989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25991 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25994 result
= (bool)(arg1
)->HasTextColour();
25995 wxPyEndAllowThreads(__tstate
);
25996 if (PyErr_Occurred()) SWIG_fail
;
25999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26007 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26008 PyObject
*resultobj
= 0;
26009 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26013 PyObject
*swig_obj
[1] ;
26015 if (!args
) SWIG_fail
;
26016 swig_obj
[0] = args
;
26017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26018 if (!SWIG_IsOK(res1
)) {
26019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26021 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26024 result
= (bool)(arg1
)->HasBackgroundColour();
26025 wxPyEndAllowThreads(__tstate
);
26026 if (PyErr_Occurred()) SWIG_fail
;
26029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26037 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26038 PyObject
*resultobj
= 0;
26039 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26043 PyObject
*swig_obj
[1] ;
26045 if (!args
) SWIG_fail
;
26046 swig_obj
[0] = args
;
26047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26048 if (!SWIG_IsOK(res1
)) {
26049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26051 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26054 result
= (bool)(arg1
)->HasFont();
26055 wxPyEndAllowThreads(__tstate
);
26056 if (PyErr_Occurred()) SWIG_fail
;
26059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26067 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26068 PyObject
*resultobj
= 0;
26069 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26073 PyObject
*swig_obj
[1] ;
26075 if (!args
) SWIG_fail
;
26076 swig_obj
[0] = args
;
26077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26078 if (!SWIG_IsOK(res1
)) {
26079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26081 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26084 result
= (arg1
)->GetTextColour();
26085 wxPyEndAllowThreads(__tstate
);
26086 if (PyErr_Occurred()) SWIG_fail
;
26088 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26095 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26096 PyObject
*resultobj
= 0;
26097 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26101 PyObject
*swig_obj
[1] ;
26103 if (!args
) SWIG_fail
;
26104 swig_obj
[0] = args
;
26105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26106 if (!SWIG_IsOK(res1
)) {
26107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26109 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26112 result
= (arg1
)->GetBackgroundColour();
26113 wxPyEndAllowThreads(__tstate
);
26114 if (PyErr_Occurred()) SWIG_fail
;
26116 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26123 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26124 PyObject
*resultobj
= 0;
26125 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26129 PyObject
*swig_obj
[1] ;
26131 if (!args
) SWIG_fail
;
26132 swig_obj
[0] = args
;
26133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26134 if (!SWIG_IsOK(res1
)) {
26135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26137 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26140 result
= (arg1
)->GetFont();
26141 wxPyEndAllowThreads(__tstate
);
26142 if (PyErr_Occurred()) SWIG_fail
;
26144 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26151 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26152 PyObject
*resultobj
= 0;
26153 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26154 wxListItemAttr
*arg2
= 0 ;
26159 PyObject
* obj0
= 0 ;
26160 PyObject
* obj1
= 0 ;
26161 char * kwnames
[] = {
26162 (char *) "self",(char *) "source", NULL
26165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26167 if (!SWIG_IsOK(res1
)) {
26168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26170 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26171 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26172 if (!SWIG_IsOK(res2
)) {
26173 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26176 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26178 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26181 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26182 wxPyEndAllowThreads(__tstate
);
26183 if (PyErr_Occurred()) SWIG_fail
;
26185 resultobj
= SWIG_Py_Void();
26192 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26193 PyObject
*resultobj
= 0;
26194 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26197 PyObject
*swig_obj
[1] ;
26199 if (!args
) SWIG_fail
;
26200 swig_obj
[0] = args
;
26201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26202 if (!SWIG_IsOK(res1
)) {
26203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26205 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26208 wxListItemAttr_Destroy(arg1
);
26209 wxPyEndAllowThreads(__tstate
);
26210 if (PyErr_Occurred()) SWIG_fail
;
26212 resultobj
= SWIG_Py_Void();
26219 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26221 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26222 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26223 return SWIG_Py_Void();
26226 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26227 return SWIG_Python_InitShadowInstance(args
);
26230 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26231 PyObject
*resultobj
= 0;
26232 wxListItem
*result
= 0 ;
26234 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26237 result
= (wxListItem
*)new wxListItem();
26238 wxPyEndAllowThreads(__tstate
);
26239 if (PyErr_Occurred()) SWIG_fail
;
26242 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
26250 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26251 PyObject
*resultobj
= 0;
26252 wxListItem
*arg1
= (wxListItem
*) 0 ;
26255 PyObject
*swig_obj
[1] ;
26257 if (!args
) SWIG_fail
;
26258 swig_obj
[0] = args
;
26259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26260 if (!SWIG_IsOK(res1
)) {
26261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26263 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26268 wxPyEndAllowThreads(__tstate
);
26269 if (PyErr_Occurred()) SWIG_fail
;
26271 resultobj
= SWIG_Py_Void();
26278 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26279 PyObject
*resultobj
= 0;
26280 wxListItem
*arg1
= (wxListItem
*) 0 ;
26283 PyObject
*swig_obj
[1] ;
26285 if (!args
) SWIG_fail
;
26286 swig_obj
[0] = args
;
26287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26288 if (!SWIG_IsOK(res1
)) {
26289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26291 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26295 wxPyEndAllowThreads(__tstate
);
26296 if (PyErr_Occurred()) SWIG_fail
;
26298 resultobj
= SWIG_Py_Void();
26305 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26306 PyObject
*resultobj
= 0;
26307 wxListItem
*arg1
= (wxListItem
*) 0 ;
26310 PyObject
*swig_obj
[1] ;
26312 if (!args
) SWIG_fail
;
26313 swig_obj
[0] = args
;
26314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26315 if (!SWIG_IsOK(res1
)) {
26316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26318 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26321 (arg1
)->ClearAttributes();
26322 wxPyEndAllowThreads(__tstate
);
26323 if (PyErr_Occurred()) SWIG_fail
;
26325 resultobj
= SWIG_Py_Void();
26332 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26333 PyObject
*resultobj
= 0;
26334 wxListItem
*arg1
= (wxListItem
*) 0 ;
26340 PyObject
* obj0
= 0 ;
26341 PyObject
* obj1
= 0 ;
26342 char * kwnames
[] = {
26343 (char *) "self",(char *) "mask", NULL
26346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26348 if (!SWIG_IsOK(res1
)) {
26349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26351 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26352 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26353 if (!SWIG_IsOK(ecode2
)) {
26354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26356 arg2
= static_cast< long >(val2
);
26358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26359 (arg1
)->SetMask(arg2
);
26360 wxPyEndAllowThreads(__tstate
);
26361 if (PyErr_Occurred()) SWIG_fail
;
26363 resultobj
= SWIG_Py_Void();
26370 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26371 PyObject
*resultobj
= 0;
26372 wxListItem
*arg1
= (wxListItem
*) 0 ;
26378 PyObject
* obj0
= 0 ;
26379 PyObject
* obj1
= 0 ;
26380 char * kwnames
[] = {
26381 (char *) "self",(char *) "id", NULL
26384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26386 if (!SWIG_IsOK(res1
)) {
26387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26389 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26390 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26391 if (!SWIG_IsOK(ecode2
)) {
26392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26394 arg2
= static_cast< long >(val2
);
26396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26397 (arg1
)->SetId(arg2
);
26398 wxPyEndAllowThreads(__tstate
);
26399 if (PyErr_Occurred()) SWIG_fail
;
26401 resultobj
= SWIG_Py_Void();
26408 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26409 PyObject
*resultobj
= 0;
26410 wxListItem
*arg1
= (wxListItem
*) 0 ;
26416 PyObject
* obj0
= 0 ;
26417 PyObject
* obj1
= 0 ;
26418 char * kwnames
[] = {
26419 (char *) "self",(char *) "col", NULL
26422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26424 if (!SWIG_IsOK(res1
)) {
26425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26427 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26428 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26429 if (!SWIG_IsOK(ecode2
)) {
26430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26432 arg2
= static_cast< int >(val2
);
26434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26435 (arg1
)->SetColumn(arg2
);
26436 wxPyEndAllowThreads(__tstate
);
26437 if (PyErr_Occurred()) SWIG_fail
;
26439 resultobj
= SWIG_Py_Void();
26446 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26447 PyObject
*resultobj
= 0;
26448 wxListItem
*arg1
= (wxListItem
*) 0 ;
26454 PyObject
* obj0
= 0 ;
26455 PyObject
* obj1
= 0 ;
26456 char * kwnames
[] = {
26457 (char *) "self",(char *) "state", NULL
26460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26462 if (!SWIG_IsOK(res1
)) {
26463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26465 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26466 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26467 if (!SWIG_IsOK(ecode2
)) {
26468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26470 arg2
= static_cast< long >(val2
);
26472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26473 (arg1
)->SetState(arg2
);
26474 wxPyEndAllowThreads(__tstate
);
26475 if (PyErr_Occurred()) SWIG_fail
;
26477 resultobj
= SWIG_Py_Void();
26484 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26485 PyObject
*resultobj
= 0;
26486 wxListItem
*arg1
= (wxListItem
*) 0 ;
26492 PyObject
* obj0
= 0 ;
26493 PyObject
* obj1
= 0 ;
26494 char * kwnames
[] = {
26495 (char *) "self",(char *) "stateMask", NULL
26498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26500 if (!SWIG_IsOK(res1
)) {
26501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26503 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26504 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26505 if (!SWIG_IsOK(ecode2
)) {
26506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26508 arg2
= static_cast< long >(val2
);
26510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26511 (arg1
)->SetStateMask(arg2
);
26512 wxPyEndAllowThreads(__tstate
);
26513 if (PyErr_Occurred()) SWIG_fail
;
26515 resultobj
= SWIG_Py_Void();
26522 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26523 PyObject
*resultobj
= 0;
26524 wxListItem
*arg1
= (wxListItem
*) 0 ;
26525 wxString
*arg2
= 0 ;
26528 bool temp2
= false ;
26529 PyObject
* obj0
= 0 ;
26530 PyObject
* obj1
= 0 ;
26531 char * kwnames
[] = {
26532 (char *) "self",(char *) "text", NULL
26535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26537 if (!SWIG_IsOK(res1
)) {
26538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26540 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26542 arg2
= wxString_in_helper(obj1
);
26543 if (arg2
== NULL
) SWIG_fail
;
26547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26548 (arg1
)->SetText((wxString
const &)*arg2
);
26549 wxPyEndAllowThreads(__tstate
);
26550 if (PyErr_Occurred()) SWIG_fail
;
26552 resultobj
= SWIG_Py_Void();
26567 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26568 PyObject
*resultobj
= 0;
26569 wxListItem
*arg1
= (wxListItem
*) 0 ;
26575 PyObject
* obj0
= 0 ;
26576 PyObject
* obj1
= 0 ;
26577 char * kwnames
[] = {
26578 (char *) "self",(char *) "image", NULL
26581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26583 if (!SWIG_IsOK(res1
)) {
26584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26586 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26588 if (!SWIG_IsOK(ecode2
)) {
26589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26591 arg2
= static_cast< int >(val2
);
26593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26594 (arg1
)->SetImage(arg2
);
26595 wxPyEndAllowThreads(__tstate
);
26596 if (PyErr_Occurred()) SWIG_fail
;
26598 resultobj
= SWIG_Py_Void();
26605 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26606 PyObject
*resultobj
= 0;
26607 wxListItem
*arg1
= (wxListItem
*) 0 ;
26613 PyObject
* obj0
= 0 ;
26614 PyObject
* obj1
= 0 ;
26615 char * kwnames
[] = {
26616 (char *) "self",(char *) "data", NULL
26619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26621 if (!SWIG_IsOK(res1
)) {
26622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26624 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26625 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26626 if (!SWIG_IsOK(ecode2
)) {
26627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26629 arg2
= static_cast< long >(val2
);
26631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26632 (arg1
)->SetData(arg2
);
26633 wxPyEndAllowThreads(__tstate
);
26634 if (PyErr_Occurred()) SWIG_fail
;
26636 resultobj
= SWIG_Py_Void();
26643 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26644 PyObject
*resultobj
= 0;
26645 wxListItem
*arg1
= (wxListItem
*) 0 ;
26651 PyObject
* obj0
= 0 ;
26652 PyObject
* obj1
= 0 ;
26653 char * kwnames
[] = {
26654 (char *) "self",(char *) "width", NULL
26657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26659 if (!SWIG_IsOK(res1
)) {
26660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26662 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26664 if (!SWIG_IsOK(ecode2
)) {
26665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26667 arg2
= static_cast< int >(val2
);
26669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26670 (arg1
)->SetWidth(arg2
);
26671 wxPyEndAllowThreads(__tstate
);
26672 if (PyErr_Occurred()) SWIG_fail
;
26674 resultobj
= SWIG_Py_Void();
26681 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26682 PyObject
*resultobj
= 0;
26683 wxListItem
*arg1
= (wxListItem
*) 0 ;
26684 wxListColumnFormat arg2
;
26689 PyObject
* obj0
= 0 ;
26690 PyObject
* obj1
= 0 ;
26691 char * kwnames
[] = {
26692 (char *) "self",(char *) "align", NULL
26695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",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_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26700 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26702 if (!SWIG_IsOK(ecode2
)) {
26703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26705 arg2
= static_cast< wxListColumnFormat
>(val2
);
26707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26708 (arg1
)->SetAlign(arg2
);
26709 wxPyEndAllowThreads(__tstate
);
26710 if (PyErr_Occurred()) SWIG_fail
;
26712 resultobj
= SWIG_Py_Void();
26719 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26720 PyObject
*resultobj
= 0;
26721 wxListItem
*arg1
= (wxListItem
*) 0 ;
26722 wxColour
*arg2
= 0 ;
26726 PyObject
* obj0
= 0 ;
26727 PyObject
* obj1
= 0 ;
26728 char * kwnames
[] = {
26729 (char *) "self",(char *) "colText", NULL
26732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26734 if (!SWIG_IsOK(res1
)) {
26735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26737 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26740 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26744 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26745 wxPyEndAllowThreads(__tstate
);
26746 if (PyErr_Occurred()) SWIG_fail
;
26748 resultobj
= SWIG_Py_Void();
26755 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26756 PyObject
*resultobj
= 0;
26757 wxListItem
*arg1
= (wxListItem
*) 0 ;
26758 wxColour
*arg2
= 0 ;
26762 PyObject
* obj0
= 0 ;
26763 PyObject
* obj1
= 0 ;
26764 char * kwnames
[] = {
26765 (char *) "self",(char *) "colBack", NULL
26768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26770 if (!SWIG_IsOK(res1
)) {
26771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26773 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26776 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26780 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26781 wxPyEndAllowThreads(__tstate
);
26782 if (PyErr_Occurred()) SWIG_fail
;
26784 resultobj
= SWIG_Py_Void();
26791 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26792 PyObject
*resultobj
= 0;
26793 wxListItem
*arg1
= (wxListItem
*) 0 ;
26799 PyObject
* obj0
= 0 ;
26800 PyObject
* obj1
= 0 ;
26801 char * kwnames
[] = {
26802 (char *) "self",(char *) "font", NULL
26805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26807 if (!SWIG_IsOK(res1
)) {
26808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26810 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26811 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26812 if (!SWIG_IsOK(res2
)) {
26813 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26816 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26818 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26821 (arg1
)->SetFont((wxFont
const &)*arg2
);
26822 wxPyEndAllowThreads(__tstate
);
26823 if (PyErr_Occurred()) SWIG_fail
;
26825 resultobj
= SWIG_Py_Void();
26832 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26833 PyObject
*resultobj
= 0;
26834 wxListItem
*arg1
= (wxListItem
*) 0 ;
26838 PyObject
*swig_obj
[1] ;
26840 if (!args
) SWIG_fail
;
26841 swig_obj
[0] = args
;
26842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26843 if (!SWIG_IsOK(res1
)) {
26844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26846 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26849 result
= (long)(arg1
)->GetMask();
26850 wxPyEndAllowThreads(__tstate
);
26851 if (PyErr_Occurred()) SWIG_fail
;
26853 resultobj
= SWIG_From_long(static_cast< long >(result
));
26860 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26861 PyObject
*resultobj
= 0;
26862 wxListItem
*arg1
= (wxListItem
*) 0 ;
26866 PyObject
*swig_obj
[1] ;
26868 if (!args
) SWIG_fail
;
26869 swig_obj
[0] = args
;
26870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26871 if (!SWIG_IsOK(res1
)) {
26872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26874 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26877 result
= (long)(arg1
)->GetId();
26878 wxPyEndAllowThreads(__tstate
);
26879 if (PyErr_Occurred()) SWIG_fail
;
26881 resultobj
= SWIG_From_long(static_cast< long >(result
));
26888 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26889 PyObject
*resultobj
= 0;
26890 wxListItem
*arg1
= (wxListItem
*) 0 ;
26894 PyObject
*swig_obj
[1] ;
26896 if (!args
) SWIG_fail
;
26897 swig_obj
[0] = args
;
26898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26899 if (!SWIG_IsOK(res1
)) {
26900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26902 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26905 result
= (int)(arg1
)->GetColumn();
26906 wxPyEndAllowThreads(__tstate
);
26907 if (PyErr_Occurred()) SWIG_fail
;
26909 resultobj
= SWIG_From_int(static_cast< int >(result
));
26916 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26917 PyObject
*resultobj
= 0;
26918 wxListItem
*arg1
= (wxListItem
*) 0 ;
26922 PyObject
*swig_obj
[1] ;
26924 if (!args
) SWIG_fail
;
26925 swig_obj
[0] = args
;
26926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26927 if (!SWIG_IsOK(res1
)) {
26928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26930 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26933 result
= (long)(arg1
)->GetState();
26934 wxPyEndAllowThreads(__tstate
);
26935 if (PyErr_Occurred()) SWIG_fail
;
26937 resultobj
= SWIG_From_long(static_cast< long >(result
));
26944 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26945 PyObject
*resultobj
= 0;
26946 wxListItem
*arg1
= (wxListItem
*) 0 ;
26947 wxString
*result
= 0 ;
26950 PyObject
*swig_obj
[1] ;
26952 if (!args
) SWIG_fail
;
26953 swig_obj
[0] = args
;
26954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26955 if (!SWIG_IsOK(res1
)) {
26956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26958 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26962 wxString
const &_result_ref
= (arg1
)->GetText();
26963 result
= (wxString
*) &_result_ref
;
26965 wxPyEndAllowThreads(__tstate
);
26966 if (PyErr_Occurred()) SWIG_fail
;
26970 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26972 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26981 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26982 PyObject
*resultobj
= 0;
26983 wxListItem
*arg1
= (wxListItem
*) 0 ;
26987 PyObject
*swig_obj
[1] ;
26989 if (!args
) SWIG_fail
;
26990 swig_obj
[0] = args
;
26991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26992 if (!SWIG_IsOK(res1
)) {
26993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26995 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26998 result
= (int)(arg1
)->GetImage();
26999 wxPyEndAllowThreads(__tstate
);
27000 if (PyErr_Occurred()) SWIG_fail
;
27002 resultobj
= SWIG_From_int(static_cast< int >(result
));
27009 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27010 PyObject
*resultobj
= 0;
27011 wxListItem
*arg1
= (wxListItem
*) 0 ;
27015 PyObject
*swig_obj
[1] ;
27017 if (!args
) SWIG_fail
;
27018 swig_obj
[0] = args
;
27019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27020 if (!SWIG_IsOK(res1
)) {
27021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27023 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27026 result
= (long)(arg1
)->GetData();
27027 wxPyEndAllowThreads(__tstate
);
27028 if (PyErr_Occurred()) SWIG_fail
;
27030 resultobj
= SWIG_From_long(static_cast< long >(result
));
27037 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27038 PyObject
*resultobj
= 0;
27039 wxListItem
*arg1
= (wxListItem
*) 0 ;
27043 PyObject
*swig_obj
[1] ;
27045 if (!args
) SWIG_fail
;
27046 swig_obj
[0] = args
;
27047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27048 if (!SWIG_IsOK(res1
)) {
27049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27051 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27054 result
= (int)(arg1
)->GetWidth();
27055 wxPyEndAllowThreads(__tstate
);
27056 if (PyErr_Occurred()) SWIG_fail
;
27058 resultobj
= SWIG_From_int(static_cast< int >(result
));
27065 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27066 PyObject
*resultobj
= 0;
27067 wxListItem
*arg1
= (wxListItem
*) 0 ;
27068 wxListColumnFormat result
;
27071 PyObject
*swig_obj
[1] ;
27073 if (!args
) SWIG_fail
;
27074 swig_obj
[0] = args
;
27075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27076 if (!SWIG_IsOK(res1
)) {
27077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27079 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27082 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27083 wxPyEndAllowThreads(__tstate
);
27084 if (PyErr_Occurred()) SWIG_fail
;
27086 resultobj
= SWIG_From_int(static_cast< int >(result
));
27093 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27094 PyObject
*resultobj
= 0;
27095 wxListItem
*arg1
= (wxListItem
*) 0 ;
27096 wxListItemAttr
*result
= 0 ;
27099 PyObject
*swig_obj
[1] ;
27101 if (!args
) SWIG_fail
;
27102 swig_obj
[0] = args
;
27103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27104 if (!SWIG_IsOK(res1
)) {
27105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27107 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27110 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27111 wxPyEndAllowThreads(__tstate
);
27112 if (PyErr_Occurred()) SWIG_fail
;
27114 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27121 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27122 PyObject
*resultobj
= 0;
27123 wxListItem
*arg1
= (wxListItem
*) 0 ;
27127 PyObject
*swig_obj
[1] ;
27129 if (!args
) SWIG_fail
;
27130 swig_obj
[0] = args
;
27131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27132 if (!SWIG_IsOK(res1
)) {
27133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27135 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27138 result
= (bool)(arg1
)->HasAttributes();
27139 wxPyEndAllowThreads(__tstate
);
27140 if (PyErr_Occurred()) SWIG_fail
;
27143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27151 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27152 PyObject
*resultobj
= 0;
27153 wxListItem
*arg1
= (wxListItem
*) 0 ;
27157 PyObject
*swig_obj
[1] ;
27159 if (!args
) SWIG_fail
;
27160 swig_obj
[0] = args
;
27161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27162 if (!SWIG_IsOK(res1
)) {
27163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27165 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27168 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27169 wxPyEndAllowThreads(__tstate
);
27170 if (PyErr_Occurred()) SWIG_fail
;
27172 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27179 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27180 PyObject
*resultobj
= 0;
27181 wxListItem
*arg1
= (wxListItem
*) 0 ;
27185 PyObject
*swig_obj
[1] ;
27187 if (!args
) SWIG_fail
;
27188 swig_obj
[0] = args
;
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_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27193 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27196 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27197 wxPyEndAllowThreads(__tstate
);
27198 if (PyErr_Occurred()) SWIG_fail
;
27200 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27207 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27208 PyObject
*resultobj
= 0;
27209 wxListItem
*arg1
= (wxListItem
*) 0 ;
27213 PyObject
*swig_obj
[1] ;
27215 if (!args
) SWIG_fail
;
27216 swig_obj
[0] = args
;
27217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27218 if (!SWIG_IsOK(res1
)) {
27219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27221 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27224 result
= ((wxListItem
const *)arg1
)->GetFont();
27225 wxPyEndAllowThreads(__tstate
);
27226 if (PyErr_Occurred()) SWIG_fail
;
27228 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27235 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27236 PyObject
*resultobj
= 0;
27237 wxListItem
*arg1
= (wxListItem
*) 0 ;
27243 PyObject
*swig_obj
[2] ;
27245 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27247 if (!SWIG_IsOK(res1
)) {
27248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27250 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27251 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27252 if (!SWIG_IsOK(ecode2
)) {
27253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27255 arg2
= static_cast< long >(val2
);
27256 if (arg1
) (arg1
)->m_mask
= arg2
;
27258 resultobj
= SWIG_Py_Void();
27265 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27266 PyObject
*resultobj
= 0;
27267 wxListItem
*arg1
= (wxListItem
*) 0 ;
27271 PyObject
*swig_obj
[1] ;
27273 if (!args
) SWIG_fail
;
27274 swig_obj
[0] = args
;
27275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27276 if (!SWIG_IsOK(res1
)) {
27277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27279 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27280 result
= (long) ((arg1
)->m_mask
);
27281 resultobj
= SWIG_From_long(static_cast< long >(result
));
27288 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27289 PyObject
*resultobj
= 0;
27290 wxListItem
*arg1
= (wxListItem
*) 0 ;
27296 PyObject
*swig_obj
[2] ;
27298 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27300 if (!SWIG_IsOK(res1
)) {
27301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27303 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27304 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27305 if (!SWIG_IsOK(ecode2
)) {
27306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27308 arg2
= static_cast< long >(val2
);
27309 if (arg1
) (arg1
)->m_itemId
= arg2
;
27311 resultobj
= SWIG_Py_Void();
27318 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27319 PyObject
*resultobj
= 0;
27320 wxListItem
*arg1
= (wxListItem
*) 0 ;
27324 PyObject
*swig_obj
[1] ;
27326 if (!args
) SWIG_fail
;
27327 swig_obj
[0] = args
;
27328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27329 if (!SWIG_IsOK(res1
)) {
27330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27332 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27333 result
= (long) ((arg1
)->m_itemId
);
27334 resultobj
= SWIG_From_long(static_cast< long >(result
));
27341 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27342 PyObject
*resultobj
= 0;
27343 wxListItem
*arg1
= (wxListItem
*) 0 ;
27349 PyObject
*swig_obj
[2] ;
27351 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27353 if (!SWIG_IsOK(res1
)) {
27354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27356 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27357 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27358 if (!SWIG_IsOK(ecode2
)) {
27359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27361 arg2
= static_cast< int >(val2
);
27362 if (arg1
) (arg1
)->m_col
= arg2
;
27364 resultobj
= SWIG_Py_Void();
27371 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27372 PyObject
*resultobj
= 0;
27373 wxListItem
*arg1
= (wxListItem
*) 0 ;
27377 PyObject
*swig_obj
[1] ;
27379 if (!args
) SWIG_fail
;
27380 swig_obj
[0] = args
;
27381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27382 if (!SWIG_IsOK(res1
)) {
27383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27385 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27386 result
= (int) ((arg1
)->m_col
);
27387 resultobj
= SWIG_From_int(static_cast< int >(result
));
27394 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27395 PyObject
*resultobj
= 0;
27396 wxListItem
*arg1
= (wxListItem
*) 0 ;
27402 PyObject
*swig_obj
[2] ;
27404 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27406 if (!SWIG_IsOK(res1
)) {
27407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27409 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27410 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27411 if (!SWIG_IsOK(ecode2
)) {
27412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27414 arg2
= static_cast< long >(val2
);
27415 if (arg1
) (arg1
)->m_state
= arg2
;
27417 resultobj
= SWIG_Py_Void();
27424 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27425 PyObject
*resultobj
= 0;
27426 wxListItem
*arg1
= (wxListItem
*) 0 ;
27430 PyObject
*swig_obj
[1] ;
27432 if (!args
) SWIG_fail
;
27433 swig_obj
[0] = args
;
27434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27435 if (!SWIG_IsOK(res1
)) {
27436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27438 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27439 result
= (long) ((arg1
)->m_state
);
27440 resultobj
= SWIG_From_long(static_cast< long >(result
));
27447 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27448 PyObject
*resultobj
= 0;
27449 wxListItem
*arg1
= (wxListItem
*) 0 ;
27455 PyObject
*swig_obj
[2] ;
27457 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27459 if (!SWIG_IsOK(res1
)) {
27460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27462 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27463 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27464 if (!SWIG_IsOK(ecode2
)) {
27465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27467 arg2
= static_cast< long >(val2
);
27468 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27470 resultobj
= SWIG_Py_Void();
27477 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27478 PyObject
*resultobj
= 0;
27479 wxListItem
*arg1
= (wxListItem
*) 0 ;
27483 PyObject
*swig_obj
[1] ;
27485 if (!args
) SWIG_fail
;
27486 swig_obj
[0] = args
;
27487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27488 if (!SWIG_IsOK(res1
)) {
27489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27491 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27492 result
= (long) ((arg1
)->m_stateMask
);
27493 resultobj
= SWIG_From_long(static_cast< long >(result
));
27500 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27501 PyObject
*resultobj
= 0;
27502 wxListItem
*arg1
= (wxListItem
*) 0 ;
27503 wxString
*arg2
= (wxString
*) 0 ;
27506 bool temp2
= false ;
27507 PyObject
*swig_obj
[2] ;
27509 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27511 if (!SWIG_IsOK(res1
)) {
27512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27514 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27516 arg2
= wxString_in_helper(swig_obj
[1]);
27517 if (arg2
== NULL
) SWIG_fail
;
27520 if (arg1
) (arg1
)->m_text
= *arg2
;
27522 resultobj
= SWIG_Py_Void();
27537 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27538 PyObject
*resultobj
= 0;
27539 wxListItem
*arg1
= (wxListItem
*) 0 ;
27540 wxString
*result
= 0 ;
27543 PyObject
*swig_obj
[1] ;
27545 if (!args
) SWIG_fail
;
27546 swig_obj
[0] = args
;
27547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27548 if (!SWIG_IsOK(res1
)) {
27549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27551 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27552 result
= (wxString
*)& ((arg1
)->m_text
);
27555 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27557 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27566 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27567 PyObject
*resultobj
= 0;
27568 wxListItem
*arg1
= (wxListItem
*) 0 ;
27574 PyObject
*swig_obj
[2] ;
27576 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27578 if (!SWIG_IsOK(res1
)) {
27579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27581 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27582 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27583 if (!SWIG_IsOK(ecode2
)) {
27584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27586 arg2
= static_cast< int >(val2
);
27587 if (arg1
) (arg1
)->m_image
= arg2
;
27589 resultobj
= SWIG_Py_Void();
27596 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27597 PyObject
*resultobj
= 0;
27598 wxListItem
*arg1
= (wxListItem
*) 0 ;
27602 PyObject
*swig_obj
[1] ;
27604 if (!args
) SWIG_fail
;
27605 swig_obj
[0] = args
;
27606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27607 if (!SWIG_IsOK(res1
)) {
27608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27610 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27611 result
= (int) ((arg1
)->m_image
);
27612 resultobj
= SWIG_From_int(static_cast< int >(result
));
27619 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27620 PyObject
*resultobj
= 0;
27621 wxListItem
*arg1
= (wxListItem
*) 0 ;
27627 PyObject
*swig_obj
[2] ;
27629 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27631 if (!SWIG_IsOK(res1
)) {
27632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27634 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27635 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27636 if (!SWIG_IsOK(ecode2
)) {
27637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27639 arg2
= static_cast< long >(val2
);
27640 if (arg1
) (arg1
)->m_data
= arg2
;
27642 resultobj
= SWIG_Py_Void();
27649 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27650 PyObject
*resultobj
= 0;
27651 wxListItem
*arg1
= (wxListItem
*) 0 ;
27655 PyObject
*swig_obj
[1] ;
27657 if (!args
) SWIG_fail
;
27658 swig_obj
[0] = args
;
27659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27660 if (!SWIG_IsOK(res1
)) {
27661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27663 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27664 result
= (long) ((arg1
)->m_data
);
27665 resultobj
= SWIG_From_long(static_cast< long >(result
));
27672 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27673 PyObject
*resultobj
= 0;
27674 wxListItem
*arg1
= (wxListItem
*) 0 ;
27680 PyObject
*swig_obj
[2] ;
27682 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27684 if (!SWIG_IsOK(res1
)) {
27685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27687 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27688 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27689 if (!SWIG_IsOK(ecode2
)) {
27690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27692 arg2
= static_cast< int >(val2
);
27693 if (arg1
) (arg1
)->m_format
= arg2
;
27695 resultobj
= SWIG_Py_Void();
27702 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27703 PyObject
*resultobj
= 0;
27704 wxListItem
*arg1
= (wxListItem
*) 0 ;
27708 PyObject
*swig_obj
[1] ;
27710 if (!args
) SWIG_fail
;
27711 swig_obj
[0] = args
;
27712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27713 if (!SWIG_IsOK(res1
)) {
27714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27716 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27717 result
= (int) ((arg1
)->m_format
);
27718 resultobj
= SWIG_From_int(static_cast< int >(result
));
27725 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27726 PyObject
*resultobj
= 0;
27727 wxListItem
*arg1
= (wxListItem
*) 0 ;
27733 PyObject
*swig_obj
[2] ;
27735 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27737 if (!SWIG_IsOK(res1
)) {
27738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27740 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27741 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27742 if (!SWIG_IsOK(ecode2
)) {
27743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27745 arg2
= static_cast< int >(val2
);
27746 if (arg1
) (arg1
)->m_width
= arg2
;
27748 resultobj
= SWIG_Py_Void();
27755 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27756 PyObject
*resultobj
= 0;
27757 wxListItem
*arg1
= (wxListItem
*) 0 ;
27761 PyObject
*swig_obj
[1] ;
27763 if (!args
) SWIG_fail
;
27764 swig_obj
[0] = args
;
27765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27766 if (!SWIG_IsOK(res1
)) {
27767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27769 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27770 result
= (int) ((arg1
)->m_width
);
27771 resultobj
= SWIG_From_int(static_cast< int >(result
));
27778 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27780 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27781 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
27782 return SWIG_Py_Void();
27785 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27786 return SWIG_Python_InitShadowInstance(args
);
27789 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27790 PyObject
*resultobj
= 0;
27791 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27792 int arg2
= (int) 0 ;
27793 wxListEvent
*result
= 0 ;
27798 PyObject
* obj0
= 0 ;
27799 PyObject
* obj1
= 0 ;
27800 char * kwnames
[] = {
27801 (char *) "commandType",(char *) "id", NULL
27804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27806 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27807 if (!SWIG_IsOK(ecode1
)) {
27808 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27810 arg1
= static_cast< wxEventType
>(val1
);
27813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27814 if (!SWIG_IsOK(ecode2
)) {
27815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27817 arg2
= static_cast< int >(val2
);
27820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27821 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
27822 wxPyEndAllowThreads(__tstate
);
27823 if (PyErr_Occurred()) SWIG_fail
;
27825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
27832 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27833 PyObject
*resultobj
= 0;
27834 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27840 PyObject
*swig_obj
[2] ;
27842 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
27843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27844 if (!SWIG_IsOK(res1
)) {
27845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27847 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27848 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27849 if (!SWIG_IsOK(ecode2
)) {
27850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27852 arg2
= static_cast< int >(val2
);
27853 if (arg1
) (arg1
)->m_code
= arg2
;
27855 resultobj
= SWIG_Py_Void();
27862 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27863 PyObject
*resultobj
= 0;
27864 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27868 PyObject
*swig_obj
[1] ;
27870 if (!args
) SWIG_fail
;
27871 swig_obj
[0] = args
;
27872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27873 if (!SWIG_IsOK(res1
)) {
27874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27876 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27877 result
= (int) ((arg1
)->m_code
);
27878 resultobj
= SWIG_From_int(static_cast< int >(result
));
27885 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27886 PyObject
*resultobj
= 0;
27887 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27893 PyObject
*swig_obj
[2] ;
27895 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27897 if (!SWIG_IsOK(res1
)) {
27898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27900 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27901 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27902 if (!SWIG_IsOK(ecode2
)) {
27903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
27905 arg2
= static_cast< long >(val2
);
27906 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
27908 resultobj
= SWIG_Py_Void();
27915 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27916 PyObject
*resultobj
= 0;
27917 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27921 PyObject
*swig_obj
[1] ;
27923 if (!args
) SWIG_fail
;
27924 swig_obj
[0] = args
;
27925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27926 if (!SWIG_IsOK(res1
)) {
27927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27929 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27930 result
= (long) ((arg1
)->m_oldItemIndex
);
27931 resultobj
= SWIG_From_long(static_cast< long >(result
));
27938 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27939 PyObject
*resultobj
= 0;
27940 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27946 PyObject
*swig_obj
[2] ;
27948 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27950 if (!SWIG_IsOK(res1
)) {
27951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27953 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27954 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27955 if (!SWIG_IsOK(ecode2
)) {
27956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
27958 arg2
= static_cast< long >(val2
);
27959 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
27961 resultobj
= SWIG_Py_Void();
27968 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27969 PyObject
*resultobj
= 0;
27970 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27974 PyObject
*swig_obj
[1] ;
27976 if (!args
) SWIG_fail
;
27977 swig_obj
[0] = args
;
27978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27979 if (!SWIG_IsOK(res1
)) {
27980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27982 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27983 result
= (long) ((arg1
)->m_itemIndex
);
27984 resultobj
= SWIG_From_long(static_cast< long >(result
));
27991 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27992 PyObject
*resultobj
= 0;
27993 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27999 PyObject
*swig_obj
[2] ;
28001 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28003 if (!SWIG_IsOK(res1
)) {
28004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28006 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28007 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28008 if (!SWIG_IsOK(ecode2
)) {
28009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28011 arg2
= static_cast< int >(val2
);
28012 if (arg1
) (arg1
)->m_col
= arg2
;
28014 resultobj
= SWIG_Py_Void();
28021 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28022 PyObject
*resultobj
= 0;
28023 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28027 PyObject
*swig_obj
[1] ;
28029 if (!args
) SWIG_fail
;
28030 swig_obj
[0] = args
;
28031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28032 if (!SWIG_IsOK(res1
)) {
28033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28035 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28036 result
= (int) ((arg1
)->m_col
);
28037 resultobj
= SWIG_From_int(static_cast< int >(result
));
28044 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28045 PyObject
*resultobj
= 0;
28046 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28047 wxPoint
*arg2
= (wxPoint
*) 0 ;
28052 PyObject
*swig_obj
[2] ;
28054 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28056 if (!SWIG_IsOK(res1
)) {
28057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28059 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28060 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28061 if (!SWIG_IsOK(res2
)) {
28062 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28064 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28065 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28067 resultobj
= SWIG_Py_Void();
28074 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28075 PyObject
*resultobj
= 0;
28076 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28077 wxPoint
*result
= 0 ;
28080 PyObject
*swig_obj
[1] ;
28082 if (!args
) SWIG_fail
;
28083 swig_obj
[0] = args
;
28084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28085 if (!SWIG_IsOK(res1
)) {
28086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28088 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28089 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28090 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28097 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28098 PyObject
*resultobj
= 0;
28099 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28100 wxListItem
*result
= 0 ;
28103 PyObject
*swig_obj
[1] ;
28105 if (!args
) SWIG_fail
;
28106 swig_obj
[0] = args
;
28107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28108 if (!SWIG_IsOK(res1
)) {
28109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28111 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28112 result
= (wxListItem
*)& ((arg1
)->m_item
);
28114 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28122 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28123 PyObject
*resultobj
= 0;
28124 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28128 PyObject
*swig_obj
[1] ;
28130 if (!args
) SWIG_fail
;
28131 swig_obj
[0] = args
;
28132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28133 if (!SWIG_IsOK(res1
)) {
28134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28136 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28139 result
= (int)(arg1
)->GetKeyCode();
28140 wxPyEndAllowThreads(__tstate
);
28141 if (PyErr_Occurred()) SWIG_fail
;
28143 resultobj
= SWIG_From_int(static_cast< int >(result
));
28150 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28151 PyObject
*resultobj
= 0;
28152 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28156 PyObject
*swig_obj
[1] ;
28158 if (!args
) SWIG_fail
;
28159 swig_obj
[0] = args
;
28160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28161 if (!SWIG_IsOK(res1
)) {
28162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28164 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28167 result
= (long)(arg1
)->GetIndex();
28168 wxPyEndAllowThreads(__tstate
);
28169 if (PyErr_Occurred()) SWIG_fail
;
28171 resultobj
= SWIG_From_long(static_cast< long >(result
));
28178 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28179 PyObject
*resultobj
= 0;
28180 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28184 PyObject
*swig_obj
[1] ;
28186 if (!args
) SWIG_fail
;
28187 swig_obj
[0] = args
;
28188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28189 if (!SWIG_IsOK(res1
)) {
28190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28192 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28195 result
= (int)(arg1
)->GetColumn();
28196 wxPyEndAllowThreads(__tstate
);
28197 if (PyErr_Occurred()) SWIG_fail
;
28199 resultobj
= SWIG_From_int(static_cast< int >(result
));
28206 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28207 PyObject
*resultobj
= 0;
28208 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28212 PyObject
*swig_obj
[1] ;
28214 if (!args
) SWIG_fail
;
28215 swig_obj
[0] = args
;
28216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28217 if (!SWIG_IsOK(res1
)) {
28218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28220 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28223 result
= (arg1
)->GetPoint();
28224 wxPyEndAllowThreads(__tstate
);
28225 if (PyErr_Occurred()) SWIG_fail
;
28227 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28234 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28235 PyObject
*resultobj
= 0;
28236 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28237 wxString
*result
= 0 ;
28240 PyObject
*swig_obj
[1] ;
28242 if (!args
) SWIG_fail
;
28243 swig_obj
[0] = args
;
28244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28245 if (!SWIG_IsOK(res1
)) {
28246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28248 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28252 wxString
const &_result_ref
= (arg1
)->GetLabel();
28253 result
= (wxString
*) &_result_ref
;
28255 wxPyEndAllowThreads(__tstate
);
28256 if (PyErr_Occurred()) SWIG_fail
;
28260 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28262 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28271 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28272 PyObject
*resultobj
= 0;
28273 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28274 wxString
*result
= 0 ;
28277 PyObject
*swig_obj
[1] ;
28279 if (!args
) SWIG_fail
;
28280 swig_obj
[0] = args
;
28281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28282 if (!SWIG_IsOK(res1
)) {
28283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28285 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28289 wxString
const &_result_ref
= (arg1
)->GetText();
28290 result
= (wxString
*) &_result_ref
;
28292 wxPyEndAllowThreads(__tstate
);
28293 if (PyErr_Occurred()) SWIG_fail
;
28297 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28299 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28308 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28309 PyObject
*resultobj
= 0;
28310 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28314 PyObject
*swig_obj
[1] ;
28316 if (!args
) SWIG_fail
;
28317 swig_obj
[0] = args
;
28318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28319 if (!SWIG_IsOK(res1
)) {
28320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28322 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28325 result
= (int)(arg1
)->GetImage();
28326 wxPyEndAllowThreads(__tstate
);
28327 if (PyErr_Occurred()) SWIG_fail
;
28329 resultobj
= SWIG_From_int(static_cast< int >(result
));
28336 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28337 PyObject
*resultobj
= 0;
28338 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28342 PyObject
*swig_obj
[1] ;
28344 if (!args
) SWIG_fail
;
28345 swig_obj
[0] = args
;
28346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28347 if (!SWIG_IsOK(res1
)) {
28348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28350 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28353 result
= (long)(arg1
)->GetData();
28354 wxPyEndAllowThreads(__tstate
);
28355 if (PyErr_Occurred()) SWIG_fail
;
28357 resultobj
= SWIG_From_long(static_cast< long >(result
));
28364 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28365 PyObject
*resultobj
= 0;
28366 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28370 PyObject
*swig_obj
[1] ;
28372 if (!args
) SWIG_fail
;
28373 swig_obj
[0] = args
;
28374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28375 if (!SWIG_IsOK(res1
)) {
28376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28378 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28381 result
= (long)(arg1
)->GetMask();
28382 wxPyEndAllowThreads(__tstate
);
28383 if (PyErr_Occurred()) SWIG_fail
;
28385 resultobj
= SWIG_From_long(static_cast< long >(result
));
28392 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28393 PyObject
*resultobj
= 0;
28394 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28395 wxListItem
*result
= 0 ;
28398 PyObject
*swig_obj
[1] ;
28400 if (!args
) SWIG_fail
;
28401 swig_obj
[0] = args
;
28402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28403 if (!SWIG_IsOK(res1
)) {
28404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28406 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28410 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28411 result
= (wxListItem
*) &_result_ref
;
28413 wxPyEndAllowThreads(__tstate
);
28414 if (PyErr_Occurred()) SWIG_fail
;
28416 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28423 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28424 PyObject
*resultobj
= 0;
28425 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28429 PyObject
*swig_obj
[1] ;
28431 if (!args
) SWIG_fail
;
28432 swig_obj
[0] = args
;
28433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28434 if (!SWIG_IsOK(res1
)) {
28435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28437 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28440 result
= (long)(arg1
)->GetCacheFrom();
28441 wxPyEndAllowThreads(__tstate
);
28442 if (PyErr_Occurred()) SWIG_fail
;
28444 resultobj
= SWIG_From_long(static_cast< long >(result
));
28451 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28452 PyObject
*resultobj
= 0;
28453 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28457 PyObject
*swig_obj
[1] ;
28459 if (!args
) SWIG_fail
;
28460 swig_obj
[0] = args
;
28461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28462 if (!SWIG_IsOK(res1
)) {
28463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28465 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28468 result
= (long)(arg1
)->GetCacheTo();
28469 wxPyEndAllowThreads(__tstate
);
28470 if (PyErr_Occurred()) SWIG_fail
;
28472 resultobj
= SWIG_From_long(static_cast< long >(result
));
28479 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28480 PyObject
*resultobj
= 0;
28481 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28485 PyObject
*swig_obj
[1] ;
28487 if (!args
) SWIG_fail
;
28488 swig_obj
[0] = args
;
28489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28490 if (!SWIG_IsOK(res1
)) {
28491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28493 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28496 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28497 wxPyEndAllowThreads(__tstate
);
28498 if (PyErr_Occurred()) SWIG_fail
;
28501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28509 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28510 PyObject
*resultobj
= 0;
28511 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28517 PyObject
* obj0
= 0 ;
28518 PyObject
* obj1
= 0 ;
28519 char * kwnames
[] = {
28520 (char *) "self",(char *) "editCancelled", NULL
28523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28525 if (!SWIG_IsOK(res1
)) {
28526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28528 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28529 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28530 if (!SWIG_IsOK(ecode2
)) {
28531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28533 arg2
= static_cast< bool >(val2
);
28535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28536 (arg1
)->SetEditCanceled(arg2
);
28537 wxPyEndAllowThreads(__tstate
);
28538 if (PyErr_Occurred()) SWIG_fail
;
28540 resultobj
= SWIG_Py_Void();
28547 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28549 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28550 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28551 return SWIG_Py_Void();
28554 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28555 return SWIG_Python_InitShadowInstance(args
);
28558 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28559 PyObject
*resultobj
= 0;
28560 wxWindow
*arg1
= (wxWindow
*) 0 ;
28561 int arg2
= (int) -1 ;
28562 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28563 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28564 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28565 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28566 long arg5
= (long) wxLC_ICON
;
28567 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28568 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28569 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28570 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28571 wxPyListCtrl
*result
= 0 ;
28582 bool temp7
= false ;
28583 PyObject
* obj0
= 0 ;
28584 PyObject
* obj1
= 0 ;
28585 PyObject
* obj2
= 0 ;
28586 PyObject
* obj3
= 0 ;
28587 PyObject
* obj4
= 0 ;
28588 PyObject
* obj5
= 0 ;
28589 PyObject
* obj6
= 0 ;
28590 char * kwnames
[] = {
28591 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28596 if (!SWIG_IsOK(res1
)) {
28597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28599 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28602 if (!SWIG_IsOK(ecode2
)) {
28603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28605 arg2
= static_cast< int >(val2
);
28610 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28616 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28620 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28621 if (!SWIG_IsOK(ecode5
)) {
28622 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28624 arg5
= static_cast< long >(val5
);
28627 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28628 if (!SWIG_IsOK(res6
)) {
28629 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28632 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28634 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28638 arg7
= wxString_in_helper(obj6
);
28639 if (arg7
== NULL
) SWIG_fail
;
28644 if (!wxPyCheckForApp()) SWIG_fail
;
28645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28646 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28647 wxPyEndAllowThreads(__tstate
);
28648 if (PyErr_Occurred()) SWIG_fail
;
28650 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28665 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28666 PyObject
*resultobj
= 0;
28667 wxPyListCtrl
*result
= 0 ;
28669 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28671 if (!wxPyCheckForApp()) SWIG_fail
;
28672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28673 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28674 wxPyEndAllowThreads(__tstate
);
28675 if (PyErr_Occurred()) SWIG_fail
;
28677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28684 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28685 PyObject
*resultobj
= 0;
28686 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28687 wxWindow
*arg2
= (wxWindow
*) 0 ;
28688 int arg3
= (int) -1 ;
28689 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28690 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28691 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28692 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28693 long arg6
= (long) wxLC_ICON
;
28694 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28695 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28696 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28697 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28711 bool temp8
= false ;
28712 PyObject
* obj0
= 0 ;
28713 PyObject
* obj1
= 0 ;
28714 PyObject
* obj2
= 0 ;
28715 PyObject
* obj3
= 0 ;
28716 PyObject
* obj4
= 0 ;
28717 PyObject
* obj5
= 0 ;
28718 PyObject
* obj6
= 0 ;
28719 PyObject
* obj7
= 0 ;
28720 char * kwnames
[] = {
28721 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28726 if (!SWIG_IsOK(res1
)) {
28727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28729 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28730 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28731 if (!SWIG_IsOK(res2
)) {
28732 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28734 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28736 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28737 if (!SWIG_IsOK(ecode3
)) {
28738 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28740 arg3
= static_cast< int >(val3
);
28745 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28751 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28755 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28756 if (!SWIG_IsOK(ecode6
)) {
28757 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28759 arg6
= static_cast< long >(val6
);
28762 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28763 if (!SWIG_IsOK(res7
)) {
28764 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28767 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28769 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28773 arg8
= wxString_in_helper(obj7
);
28774 if (arg8
== NULL
) SWIG_fail
;
28779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28780 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28781 wxPyEndAllowThreads(__tstate
);
28782 if (PyErr_Occurred()) SWIG_fail
;
28785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28801 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28802 PyObject
*resultobj
= 0;
28803 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28804 PyObject
*arg2
= (PyObject
*) 0 ;
28805 PyObject
*arg3
= (PyObject
*) 0 ;
28808 PyObject
* obj0
= 0 ;
28809 PyObject
* obj1
= 0 ;
28810 PyObject
* obj2
= 0 ;
28811 char * kwnames
[] = {
28812 (char *) "self",(char *) "self",(char *) "_class", NULL
28815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28817 if (!SWIG_IsOK(res1
)) {
28818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28820 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28825 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28826 wxPyEndAllowThreads(__tstate
);
28827 if (PyErr_Occurred()) SWIG_fail
;
28829 resultobj
= SWIG_Py_Void();
28836 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28837 PyObject
*resultobj
= 0;
28838 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28840 wxListItem
*result
= 0 ;
28845 PyObject
* obj0
= 0 ;
28846 PyObject
* obj1
= 0 ;
28847 char * kwnames
[] = {
28848 (char *) "self",(char *) "col", NULL
28851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28853 if (!SWIG_IsOK(res1
)) {
28854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28856 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28857 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28858 if (!SWIG_IsOK(ecode2
)) {
28859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28861 arg2
= static_cast< int >(val2
);
28863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28864 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
28865 wxPyEndAllowThreads(__tstate
);
28866 if (PyErr_Occurred()) SWIG_fail
;
28869 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28877 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28878 PyObject
*resultobj
= 0;
28879 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28881 wxListItem
*arg3
= 0 ;
28889 PyObject
* obj0
= 0 ;
28890 PyObject
* obj1
= 0 ;
28891 PyObject
* obj2
= 0 ;
28892 char * kwnames
[] = {
28893 (char *) "self",(char *) "col",(char *) "item", NULL
28896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28898 if (!SWIG_IsOK(res1
)) {
28899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28901 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28902 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28903 if (!SWIG_IsOK(ecode2
)) {
28904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
28906 arg2
= static_cast< int >(val2
);
28907 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
28908 if (!SWIG_IsOK(res3
)) {
28909 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28912 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28914 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
28916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28917 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
28918 wxPyEndAllowThreads(__tstate
);
28919 if (PyErr_Occurred()) SWIG_fail
;
28922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28930 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28931 PyObject
*resultobj
= 0;
28932 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28939 PyObject
* obj0
= 0 ;
28940 PyObject
* obj1
= 0 ;
28941 char * kwnames
[] = {
28942 (char *) "self",(char *) "col", NULL
28945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28947 if (!SWIG_IsOK(res1
)) {
28948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28950 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28951 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28952 if (!SWIG_IsOK(ecode2
)) {
28953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28955 arg2
= static_cast< int >(val2
);
28957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28958 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
28959 wxPyEndAllowThreads(__tstate
);
28960 if (PyErr_Occurred()) SWIG_fail
;
28962 resultobj
= SWIG_From_int(static_cast< int >(result
));
28969 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28970 PyObject
*resultobj
= 0;
28971 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28981 PyObject
* obj0
= 0 ;
28982 PyObject
* obj1
= 0 ;
28983 PyObject
* obj2
= 0 ;
28984 char * kwnames
[] = {
28985 (char *) "self",(char *) "col",(char *) "width", NULL
28988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28990 if (!SWIG_IsOK(res1
)) {
28991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28993 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28994 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28995 if (!SWIG_IsOK(ecode2
)) {
28996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28998 arg2
= static_cast< int >(val2
);
28999 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29000 if (!SWIG_IsOK(ecode3
)) {
29001 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29003 arg3
= static_cast< int >(val3
);
29005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29006 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29007 wxPyEndAllowThreads(__tstate
);
29008 if (PyErr_Occurred()) SWIG_fail
;
29011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29019 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29020 PyObject
*resultobj
= 0;
29021 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29025 PyObject
*swig_obj
[1] ;
29027 if (!args
) SWIG_fail
;
29028 swig_obj
[0] = args
;
29029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29030 if (!SWIG_IsOK(res1
)) {
29031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29033 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29036 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29037 wxPyEndAllowThreads(__tstate
);
29038 if (PyErr_Occurred()) SWIG_fail
;
29040 resultobj
= SWIG_From_int(static_cast< int >(result
));
29047 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29048 PyObject
*resultobj
= 0;
29049 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29053 PyObject
*swig_obj
[1] ;
29055 if (!args
) SWIG_fail
;
29056 swig_obj
[0] = args
;
29057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29058 if (!SWIG_IsOK(res1
)) {
29059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29061 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29064 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29065 wxPyEndAllowThreads(__tstate
);
29066 if (PyErr_Occurred()) SWIG_fail
;
29068 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29075 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29076 PyObject
*resultobj
= 0;
29077 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29078 wxTextCtrl
*result
= 0 ;
29081 PyObject
*swig_obj
[1] ;
29083 if (!args
) SWIG_fail
;
29084 swig_obj
[0] = args
;
29085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29086 if (!SWIG_IsOK(res1
)) {
29087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29089 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29092 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29093 wxPyEndAllowThreads(__tstate
);
29094 if (PyErr_Occurred()) SWIG_fail
;
29097 resultobj
= wxPyMake_wxObject(result
, 0);
29105 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29106 PyObject
*resultobj
= 0;
29107 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29109 int arg3
= (int) 0 ;
29110 wxListItem
*result
= 0 ;
29117 PyObject
* obj0
= 0 ;
29118 PyObject
* obj1
= 0 ;
29119 PyObject
* obj2
= 0 ;
29120 char * kwnames
[] = {
29121 (char *) "self",(char *) "itemId",(char *) "col", NULL
29124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29126 if (!SWIG_IsOK(res1
)) {
29127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29129 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29130 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29131 if (!SWIG_IsOK(ecode2
)) {
29132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29134 arg2
= static_cast< long >(val2
);
29136 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29137 if (!SWIG_IsOK(ecode3
)) {
29138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29140 arg3
= static_cast< int >(val3
);
29143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29144 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29145 wxPyEndAllowThreads(__tstate
);
29146 if (PyErr_Occurred()) SWIG_fail
;
29149 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29157 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29158 PyObject
*resultobj
= 0;
29159 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29160 wxListItem
*arg2
= 0 ;
29166 PyObject
* obj0
= 0 ;
29167 PyObject
* obj1
= 0 ;
29168 char * kwnames
[] = {
29169 (char *) "self",(char *) "info", NULL
29172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29174 if (!SWIG_IsOK(res1
)) {
29175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29177 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29178 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29179 if (!SWIG_IsOK(res2
)) {
29180 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29183 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29185 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29188 result
= (bool)(arg1
)->SetItem(*arg2
);
29189 wxPyEndAllowThreads(__tstate
);
29190 if (PyErr_Occurred()) SWIG_fail
;
29193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29201 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29202 PyObject
*resultobj
= 0;
29203 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29206 wxString
*arg4
= 0 ;
29207 int arg5
= (int) -1 ;
29215 bool temp4
= false ;
29218 PyObject
* obj0
= 0 ;
29219 PyObject
* obj1
= 0 ;
29220 PyObject
* obj2
= 0 ;
29221 PyObject
* obj3
= 0 ;
29222 PyObject
* obj4
= 0 ;
29223 char * kwnames
[] = {
29224 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29229 if (!SWIG_IsOK(res1
)) {
29230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29232 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29233 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29234 if (!SWIG_IsOK(ecode2
)) {
29235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29237 arg2
= static_cast< long >(val2
);
29238 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29239 if (!SWIG_IsOK(ecode3
)) {
29240 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29242 arg3
= static_cast< int >(val3
);
29244 arg4
= wxString_in_helper(obj3
);
29245 if (arg4
== NULL
) SWIG_fail
;
29249 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29250 if (!SWIG_IsOK(ecode5
)) {
29251 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29253 arg5
= static_cast< int >(val5
);
29256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29257 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29258 wxPyEndAllowThreads(__tstate
);
29259 if (PyErr_Occurred()) SWIG_fail
;
29261 resultobj
= SWIG_From_long(static_cast< long >(result
));
29276 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29277 PyObject
*resultobj
= 0;
29278 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29288 PyObject
* obj0
= 0 ;
29289 PyObject
* obj1
= 0 ;
29290 PyObject
* obj2
= 0 ;
29291 char * kwnames
[] = {
29292 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29297 if (!SWIG_IsOK(res1
)) {
29298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29300 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29301 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29302 if (!SWIG_IsOK(ecode2
)) {
29303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29305 arg2
= static_cast< long >(val2
);
29306 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29307 if (!SWIG_IsOK(ecode3
)) {
29308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29310 arg3
= static_cast< long >(val3
);
29312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29313 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29314 wxPyEndAllowThreads(__tstate
);
29315 if (PyErr_Occurred()) SWIG_fail
;
29317 resultobj
= SWIG_From_int(static_cast< int >(result
));
29324 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29325 PyObject
*resultobj
= 0;
29326 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29339 PyObject
* obj0
= 0 ;
29340 PyObject
* obj1
= 0 ;
29341 PyObject
* obj2
= 0 ;
29342 PyObject
* obj3
= 0 ;
29343 char * kwnames
[] = {
29344 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29349 if (!SWIG_IsOK(res1
)) {
29350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29352 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29353 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29354 if (!SWIG_IsOK(ecode2
)) {
29355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29357 arg2
= static_cast< long >(val2
);
29358 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29359 if (!SWIG_IsOK(ecode3
)) {
29360 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29362 arg3
= static_cast< long >(val3
);
29363 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29364 if (!SWIG_IsOK(ecode4
)) {
29365 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29367 arg4
= static_cast< long >(val4
);
29369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29370 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29371 wxPyEndAllowThreads(__tstate
);
29372 if (PyErr_Occurred()) SWIG_fail
;
29375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29383 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29384 PyObject
*resultobj
= 0;
29385 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29388 int arg4
= (int) -1 ;
29398 PyObject
* obj0
= 0 ;
29399 PyObject
* obj1
= 0 ;
29400 PyObject
* obj2
= 0 ;
29401 PyObject
* obj3
= 0 ;
29402 char * kwnames
[] = {
29403 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29408 if (!SWIG_IsOK(res1
)) {
29409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29411 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29412 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29413 if (!SWIG_IsOK(ecode2
)) {
29414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29416 arg2
= static_cast< long >(val2
);
29417 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29418 if (!SWIG_IsOK(ecode3
)) {
29419 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29421 arg3
= static_cast< int >(val3
);
29423 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29424 if (!SWIG_IsOK(ecode4
)) {
29425 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29427 arg4
= static_cast< int >(val4
);
29430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29431 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29432 wxPyEndAllowThreads(__tstate
);
29433 if (PyErr_Occurred()) SWIG_fail
;
29436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29444 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29445 PyObject
*resultobj
= 0;
29446 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29459 PyObject
* obj0
= 0 ;
29460 PyObject
* obj1
= 0 ;
29461 PyObject
* obj2
= 0 ;
29462 PyObject
* obj3
= 0 ;
29463 char * kwnames
[] = {
29464 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29469 if (!SWIG_IsOK(res1
)) {
29470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29472 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29473 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29474 if (!SWIG_IsOK(ecode2
)) {
29475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29477 arg2
= static_cast< long >(val2
);
29478 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29479 if (!SWIG_IsOK(ecode3
)) {
29480 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29482 arg3
= static_cast< long >(val3
);
29483 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29484 if (!SWIG_IsOK(ecode4
)) {
29485 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29487 arg4
= static_cast< int >(val4
);
29489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29490 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29491 wxPyEndAllowThreads(__tstate
);
29492 if (PyErr_Occurred()) SWIG_fail
;
29495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29503 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29504 PyObject
*resultobj
= 0;
29505 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29512 PyObject
* obj0
= 0 ;
29513 PyObject
* obj1
= 0 ;
29514 char * kwnames
[] = {
29515 (char *) "self",(char *) "item", NULL
29518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29520 if (!SWIG_IsOK(res1
)) {
29521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29523 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29524 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29525 if (!SWIG_IsOK(ecode2
)) {
29526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29528 arg2
= static_cast< long >(val2
);
29530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29531 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29532 wxPyEndAllowThreads(__tstate
);
29533 if (PyErr_Occurred()) SWIG_fail
;
29537 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29539 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29548 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29549 PyObject
*resultobj
= 0;
29550 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29552 wxString
*arg3
= 0 ;
29557 bool temp3
= false ;
29558 PyObject
* obj0
= 0 ;
29559 PyObject
* obj1
= 0 ;
29560 PyObject
* obj2
= 0 ;
29561 char * kwnames
[] = {
29562 (char *) "self",(char *) "item",(char *) "str", NULL
29565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29567 if (!SWIG_IsOK(res1
)) {
29568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29570 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29571 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29572 if (!SWIG_IsOK(ecode2
)) {
29573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29575 arg2
= static_cast< long >(val2
);
29577 arg3
= wxString_in_helper(obj2
);
29578 if (arg3
== NULL
) SWIG_fail
;
29582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29583 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29584 wxPyEndAllowThreads(__tstate
);
29585 if (PyErr_Occurred()) SWIG_fail
;
29587 resultobj
= SWIG_Py_Void();
29602 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29603 PyObject
*resultobj
= 0;
29604 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29611 PyObject
* obj0
= 0 ;
29612 PyObject
* obj1
= 0 ;
29613 char * kwnames
[] = {
29614 (char *) "self",(char *) "item", NULL
29617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29619 if (!SWIG_IsOK(res1
)) {
29620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29622 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29623 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29624 if (!SWIG_IsOK(ecode2
)) {
29625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29627 arg2
= static_cast< long >(val2
);
29629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29630 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29631 wxPyEndAllowThreads(__tstate
);
29632 if (PyErr_Occurred()) SWIG_fail
;
29634 resultobj
= SWIG_From_long(static_cast< long >(result
));
29641 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29642 PyObject
*resultobj
= 0;
29643 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29653 PyObject
* obj0
= 0 ;
29654 PyObject
* obj1
= 0 ;
29655 PyObject
* obj2
= 0 ;
29656 char * kwnames
[] = {
29657 (char *) "self",(char *) "item",(char *) "data", NULL
29660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29662 if (!SWIG_IsOK(res1
)) {
29663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29665 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29666 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29667 if (!SWIG_IsOK(ecode2
)) {
29668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29670 arg2
= static_cast< long >(val2
);
29671 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29672 if (!SWIG_IsOK(ecode3
)) {
29673 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29675 arg3
= static_cast< long >(val3
);
29677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29678 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29679 wxPyEndAllowThreads(__tstate
);
29680 if (PyErr_Occurred()) SWIG_fail
;
29683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29691 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29692 PyObject
*resultobj
= 0;
29693 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29700 PyObject
* obj0
= 0 ;
29701 PyObject
* obj1
= 0 ;
29702 char * kwnames
[] = {
29703 (char *) "self",(char *) "item", NULL
29706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29708 if (!SWIG_IsOK(res1
)) {
29709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29711 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29712 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29713 if (!SWIG_IsOK(ecode2
)) {
29714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29716 arg2
= static_cast< long >(val2
);
29718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29719 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29720 wxPyEndAllowThreads(__tstate
);
29721 if (PyErr_Occurred()) SWIG_fail
;
29723 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29730 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29731 PyObject
*resultobj
= 0;
29732 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29734 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29742 PyObject
* obj0
= 0 ;
29743 PyObject
* obj1
= 0 ;
29744 PyObject
* obj2
= 0 ;
29745 char * kwnames
[] = {
29746 (char *) "self",(char *) "item",(char *) "code", NULL
29749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29751 if (!SWIG_IsOK(res1
)) {
29752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29754 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29755 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29756 if (!SWIG_IsOK(ecode2
)) {
29757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29759 arg2
= static_cast< long >(val2
);
29761 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29762 if (!SWIG_IsOK(ecode3
)) {
29763 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29765 arg3
= static_cast< int >(val3
);
29768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29769 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29770 wxPyEndAllowThreads(__tstate
);
29771 if (PyErr_Occurred()) SWIG_fail
;
29773 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29780 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29781 PyObject
*resultobj
= 0;
29782 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29784 wxPoint
*arg3
= 0 ;
29791 PyObject
* obj0
= 0 ;
29792 PyObject
* obj1
= 0 ;
29793 PyObject
* obj2
= 0 ;
29794 char * kwnames
[] = {
29795 (char *) "self",(char *) "item",(char *) "pos", NULL
29798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29800 if (!SWIG_IsOK(res1
)) {
29801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29803 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29804 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29805 if (!SWIG_IsOK(ecode2
)) {
29806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29808 arg2
= static_cast< long >(val2
);
29811 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29815 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
29816 wxPyEndAllowThreads(__tstate
);
29817 if (PyErr_Occurred()) SWIG_fail
;
29820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29828 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29829 PyObject
*resultobj
= 0;
29830 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29834 PyObject
*swig_obj
[1] ;
29836 if (!args
) SWIG_fail
;
29837 swig_obj
[0] = args
;
29838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29839 if (!SWIG_IsOK(res1
)) {
29840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29842 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29845 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
29846 wxPyEndAllowThreads(__tstate
);
29847 if (PyErr_Occurred()) SWIG_fail
;
29849 resultobj
= SWIG_From_int(static_cast< int >(result
));
29856 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29857 PyObject
*resultobj
= 0;
29858 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29862 PyObject
*swig_obj
[1] ;
29864 if (!args
) SWIG_fail
;
29865 swig_obj
[0] = args
;
29866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29867 if (!SWIG_IsOK(res1
)) {
29868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29870 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29873 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
29874 wxPyEndAllowThreads(__tstate
);
29875 if (PyErr_Occurred()) SWIG_fail
;
29877 resultobj
= SWIG_From_int(static_cast< int >(result
));
29884 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29885 PyObject
*resultobj
= 0;
29886 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29890 PyObject
*swig_obj
[1] ;
29892 if (!args
) SWIG_fail
;
29893 swig_obj
[0] = args
;
29894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29895 if (!SWIG_IsOK(res1
)) {
29896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29898 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29901 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
29902 wxPyEndAllowThreads(__tstate
);
29903 if (PyErr_Occurred()) SWIG_fail
;
29905 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
29912 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29913 PyObject
*resultobj
= 0;
29914 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29916 bool arg3
= (bool) false ;
29923 PyObject
* obj0
= 0 ;
29924 PyObject
* obj1
= 0 ;
29925 PyObject
* obj2
= 0 ;
29926 char * kwnames
[] = {
29927 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
29930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29932 if (!SWIG_IsOK(res1
)) {
29933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29935 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29936 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29937 if (!SWIG_IsOK(ecode2
)) {
29938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
29940 arg2
= static_cast< int >(val2
);
29942 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29943 if (!SWIG_IsOK(ecode3
)) {
29944 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
29946 arg3
= static_cast< bool >(val3
);
29949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29950 (arg1
)->SetItemSpacing(arg2
,arg3
);
29951 wxPyEndAllowThreads(__tstate
);
29952 if (PyErr_Occurred()) SWIG_fail
;
29954 resultobj
= SWIG_Py_Void();
29961 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29962 PyObject
*resultobj
= 0;
29963 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29967 PyObject
*swig_obj
[1] ;
29969 if (!args
) SWIG_fail
;
29970 swig_obj
[0] = args
;
29971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29972 if (!SWIG_IsOK(res1
)) {
29973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29975 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29978 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
29979 wxPyEndAllowThreads(__tstate
);
29980 if (PyErr_Occurred()) SWIG_fail
;
29982 resultobj
= SWIG_From_int(static_cast< int >(result
));
29989 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29990 PyObject
*resultobj
= 0;
29991 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29995 PyObject
*swig_obj
[1] ;
29997 if (!args
) SWIG_fail
;
29998 swig_obj
[0] = args
;
29999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30000 if (!SWIG_IsOK(res1
)) {
30001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30003 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30006 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30007 wxPyEndAllowThreads(__tstate
);
30008 if (PyErr_Occurred()) SWIG_fail
;
30010 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30017 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30018 PyObject
*resultobj
= 0;
30019 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30020 wxColour
*arg2
= 0 ;
30024 PyObject
* obj0
= 0 ;
30025 PyObject
* obj1
= 0 ;
30026 char * kwnames
[] = {
30027 (char *) "self",(char *) "col", NULL
30030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30032 if (!SWIG_IsOK(res1
)) {
30033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30035 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30038 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30042 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30043 wxPyEndAllowThreads(__tstate
);
30044 if (PyErr_Occurred()) SWIG_fail
;
30046 resultobj
= SWIG_Py_Void();
30053 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30054 PyObject
*resultobj
= 0;
30055 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30059 PyObject
*swig_obj
[1] ;
30061 if (!args
) SWIG_fail
;
30062 swig_obj
[0] = args
;
30063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30064 if (!SWIG_IsOK(res1
)) {
30065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30067 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30070 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30071 wxPyEndAllowThreads(__tstate
);
30072 if (PyErr_Occurred()) SWIG_fail
;
30074 resultobj
= SWIG_From_long(static_cast< long >(result
));
30081 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30082 PyObject
*resultobj
= 0;
30083 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30085 bool arg3
= (bool) true ;
30092 PyObject
* obj0
= 0 ;
30093 PyObject
* obj1
= 0 ;
30094 PyObject
* obj2
= 0 ;
30095 char * kwnames
[] = {
30096 (char *) "self",(char *) "style",(char *) "add", NULL
30099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30101 if (!SWIG_IsOK(res1
)) {
30102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30104 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30105 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30106 if (!SWIG_IsOK(ecode2
)) {
30107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30109 arg2
= static_cast< long >(val2
);
30111 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30112 if (!SWIG_IsOK(ecode3
)) {
30113 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30115 arg3
= static_cast< bool >(val3
);
30118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30119 (arg1
)->SetSingleStyle(arg2
,arg3
);
30120 wxPyEndAllowThreads(__tstate
);
30121 if (PyErr_Occurred()) SWIG_fail
;
30123 resultobj
= SWIG_Py_Void();
30130 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30131 PyObject
*resultobj
= 0;
30132 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30134 int arg3
= (int) wxLIST_NEXT_ALL
;
30135 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30145 PyObject
* obj0
= 0 ;
30146 PyObject
* obj1
= 0 ;
30147 PyObject
* obj2
= 0 ;
30148 PyObject
* obj3
= 0 ;
30149 char * kwnames
[] = {
30150 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30155 if (!SWIG_IsOK(res1
)) {
30156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30158 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30159 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30160 if (!SWIG_IsOK(ecode2
)) {
30161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30163 arg2
= static_cast< long >(val2
);
30165 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30166 if (!SWIG_IsOK(ecode3
)) {
30167 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30169 arg3
= static_cast< int >(val3
);
30172 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30173 if (!SWIG_IsOK(ecode4
)) {
30174 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30176 arg4
= static_cast< int >(val4
);
30179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30180 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30181 wxPyEndAllowThreads(__tstate
);
30182 if (PyErr_Occurred()) SWIG_fail
;
30184 resultobj
= SWIG_From_long(static_cast< long >(result
));
30191 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30192 PyObject
*resultobj
= 0;
30193 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30195 wxImageList
*result
= 0 ;
30200 PyObject
* obj0
= 0 ;
30201 PyObject
* obj1
= 0 ;
30202 char * kwnames
[] = {
30203 (char *) "self",(char *) "which", NULL
30206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30208 if (!SWIG_IsOK(res1
)) {
30209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30211 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30212 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30213 if (!SWIG_IsOK(ecode2
)) {
30214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30216 arg2
= static_cast< int >(val2
);
30218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30219 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30220 wxPyEndAllowThreads(__tstate
);
30221 if (PyErr_Occurred()) SWIG_fail
;
30224 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30232 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30233 PyObject
*resultobj
= 0;
30234 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30235 wxImageList
*arg2
= (wxImageList
*) 0 ;
30243 PyObject
* obj0
= 0 ;
30244 PyObject
* obj1
= 0 ;
30245 PyObject
* obj2
= 0 ;
30246 char * kwnames
[] = {
30247 (char *) "self",(char *) "imageList",(char *) "which", NULL
30250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30252 if (!SWIG_IsOK(res1
)) {
30253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30255 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30256 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30257 if (!SWIG_IsOK(res2
)) {
30258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30260 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30261 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30262 if (!SWIG_IsOK(ecode3
)) {
30263 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30265 arg3
= static_cast< int >(val3
);
30267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30268 (arg1
)->SetImageList(arg2
,arg3
);
30269 wxPyEndAllowThreads(__tstate
);
30270 if (PyErr_Occurred()) SWIG_fail
;
30272 resultobj
= SWIG_Py_Void();
30279 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30280 PyObject
*resultobj
= 0;
30281 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30282 wxImageList
*arg2
= (wxImageList
*) 0 ;
30289 PyObject
* obj0
= 0 ;
30290 PyObject
* obj1
= 0 ;
30291 PyObject
* obj2
= 0 ;
30292 char * kwnames
[] = {
30293 (char *) "self",(char *) "imageList",(char *) "which", NULL
30296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30298 if (!SWIG_IsOK(res1
)) {
30299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30301 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30302 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30303 if (!SWIG_IsOK(res2
)) {
30304 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30306 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30307 if (!SWIG_IsOK(ecode3
)) {
30308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30310 arg3
= static_cast< int >(val3
);
30312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30313 (arg1
)->AssignImageList(arg2
,arg3
);
30314 wxPyEndAllowThreads(__tstate
);
30315 if (PyErr_Occurred()) SWIG_fail
;
30317 resultobj
= SWIG_Py_Void();
30324 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30325 PyObject
*resultobj
= 0;
30326 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30330 PyObject
*swig_obj
[1] ;
30332 if (!args
) SWIG_fail
;
30333 swig_obj
[0] = args
;
30334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30335 if (!SWIG_IsOK(res1
)) {
30336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30338 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30341 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30342 wxPyEndAllowThreads(__tstate
);
30343 if (PyErr_Occurred()) SWIG_fail
;
30346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30354 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30355 PyObject
*resultobj
= 0;
30356 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30360 PyObject
*swig_obj
[1] ;
30362 if (!args
) SWIG_fail
;
30363 swig_obj
[0] = args
;
30364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30365 if (!SWIG_IsOK(res1
)) {
30366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30368 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30371 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30372 wxPyEndAllowThreads(__tstate
);
30373 if (PyErr_Occurred()) SWIG_fail
;
30376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30384 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30385 PyObject
*resultobj
= 0;
30386 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30392 PyObject
* obj0
= 0 ;
30393 PyObject
* obj1
= 0 ;
30394 char * kwnames
[] = {
30395 (char *) "self",(char *) "item", NULL
30398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30400 if (!SWIG_IsOK(res1
)) {
30401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30403 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30404 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30405 if (!SWIG_IsOK(ecode2
)) {
30406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30408 arg2
= static_cast< long >(val2
);
30410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30411 (arg1
)->RefreshItem(arg2
);
30412 wxPyEndAllowThreads(__tstate
);
30413 if (PyErr_Occurred()) SWIG_fail
;
30415 resultobj
= SWIG_Py_Void();
30422 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30423 PyObject
*resultobj
= 0;
30424 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30433 PyObject
* obj0
= 0 ;
30434 PyObject
* obj1
= 0 ;
30435 PyObject
* obj2
= 0 ;
30436 char * kwnames
[] = {
30437 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30442 if (!SWIG_IsOK(res1
)) {
30443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30445 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30446 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30447 if (!SWIG_IsOK(ecode2
)) {
30448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30450 arg2
= static_cast< long >(val2
);
30451 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30452 if (!SWIG_IsOK(ecode3
)) {
30453 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30455 arg3
= static_cast< long >(val3
);
30457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30458 (arg1
)->RefreshItems(arg2
,arg3
);
30459 wxPyEndAllowThreads(__tstate
);
30460 if (PyErr_Occurred()) SWIG_fail
;
30462 resultobj
= SWIG_Py_Void();
30469 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30470 PyObject
*resultobj
= 0;
30471 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30472 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30478 PyObject
* obj0
= 0 ;
30479 PyObject
* obj1
= 0 ;
30480 char * kwnames
[] = {
30481 (char *) "self",(char *) "flag", NULL
30484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30486 if (!SWIG_IsOK(res1
)) {
30487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30489 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30491 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30492 if (!SWIG_IsOK(ecode2
)) {
30493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30495 arg2
= static_cast< int >(val2
);
30498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30499 result
= (bool)(arg1
)->Arrange(arg2
);
30500 wxPyEndAllowThreads(__tstate
);
30501 if (PyErr_Occurred()) SWIG_fail
;
30504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30512 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30513 PyObject
*resultobj
= 0;
30514 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30521 PyObject
* obj0
= 0 ;
30522 PyObject
* obj1
= 0 ;
30523 char * kwnames
[] = {
30524 (char *) "self",(char *) "item", NULL
30527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30529 if (!SWIG_IsOK(res1
)) {
30530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30532 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30533 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30534 if (!SWIG_IsOK(ecode2
)) {
30535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30537 arg2
= static_cast< long >(val2
);
30539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30540 result
= (bool)(arg1
)->DeleteItem(arg2
);
30541 wxPyEndAllowThreads(__tstate
);
30542 if (PyErr_Occurred()) SWIG_fail
;
30545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30553 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30554 PyObject
*resultobj
= 0;
30555 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30559 PyObject
*swig_obj
[1] ;
30561 if (!args
) SWIG_fail
;
30562 swig_obj
[0] = args
;
30563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30564 if (!SWIG_IsOK(res1
)) {
30565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30567 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30570 result
= (bool)(arg1
)->DeleteAllItems();
30571 wxPyEndAllowThreads(__tstate
);
30572 if (PyErr_Occurred()) SWIG_fail
;
30575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30583 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30584 PyObject
*resultobj
= 0;
30585 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30592 PyObject
* obj0
= 0 ;
30593 PyObject
* obj1
= 0 ;
30594 char * kwnames
[] = {
30595 (char *) "self",(char *) "col", NULL
30598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30600 if (!SWIG_IsOK(res1
)) {
30601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30603 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30604 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30605 if (!SWIG_IsOK(ecode2
)) {
30606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30608 arg2
= static_cast< int >(val2
);
30610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30611 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30612 wxPyEndAllowThreads(__tstate
);
30613 if (PyErr_Occurred()) SWIG_fail
;
30616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30624 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30625 PyObject
*resultobj
= 0;
30626 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30630 PyObject
*swig_obj
[1] ;
30632 if (!args
) SWIG_fail
;
30633 swig_obj
[0] = args
;
30634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30635 if (!SWIG_IsOK(res1
)) {
30636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30638 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30641 result
= (bool)(arg1
)->DeleteAllColumns();
30642 wxPyEndAllowThreads(__tstate
);
30643 if (PyErr_Occurred()) SWIG_fail
;
30646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30654 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30655 PyObject
*resultobj
= 0;
30656 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30659 PyObject
*swig_obj
[1] ;
30661 if (!args
) SWIG_fail
;
30662 swig_obj
[0] = args
;
30663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30664 if (!SWIG_IsOK(res1
)) {
30665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30667 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30670 (arg1
)->ClearAll();
30671 wxPyEndAllowThreads(__tstate
);
30672 if (PyErr_Occurred()) SWIG_fail
;
30674 resultobj
= SWIG_Py_Void();
30681 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30682 PyObject
*resultobj
= 0;
30683 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30689 PyObject
* obj0
= 0 ;
30690 PyObject
* obj1
= 0 ;
30691 char * kwnames
[] = {
30692 (char *) "self",(char *) "item", NULL
30695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30697 if (!SWIG_IsOK(res1
)) {
30698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30700 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30701 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30702 if (!SWIG_IsOK(ecode2
)) {
30703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30705 arg2
= static_cast< long >(val2
);
30707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30708 (arg1
)->EditLabel(arg2
);
30709 wxPyEndAllowThreads(__tstate
);
30710 if (PyErr_Occurred()) SWIG_fail
;
30712 resultobj
= SWIG_Py_Void();
30719 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30720 PyObject
*resultobj
= 0;
30721 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30728 PyObject
* obj0
= 0 ;
30729 PyObject
* obj1
= 0 ;
30730 char * kwnames
[] = {
30731 (char *) "self",(char *) "item", NULL
30734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30736 if (!SWIG_IsOK(res1
)) {
30737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30739 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30740 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30741 if (!SWIG_IsOK(ecode2
)) {
30742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30744 arg2
= static_cast< long >(val2
);
30746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30747 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30748 wxPyEndAllowThreads(__tstate
);
30749 if (PyErr_Occurred()) SWIG_fail
;
30752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30760 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30761 PyObject
*resultobj
= 0;
30762 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30764 wxString
*arg3
= 0 ;
30765 bool arg4
= (bool) false ;
30771 bool temp3
= false ;
30774 PyObject
* obj0
= 0 ;
30775 PyObject
* obj1
= 0 ;
30776 PyObject
* obj2
= 0 ;
30777 PyObject
* obj3
= 0 ;
30778 char * kwnames
[] = {
30779 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30784 if (!SWIG_IsOK(res1
)) {
30785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30787 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30788 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30789 if (!SWIG_IsOK(ecode2
)) {
30790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30792 arg2
= static_cast< long >(val2
);
30794 arg3
= wxString_in_helper(obj2
);
30795 if (arg3
== NULL
) SWIG_fail
;
30799 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30800 if (!SWIG_IsOK(ecode4
)) {
30801 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30803 arg4
= static_cast< bool >(val4
);
30806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30807 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
30808 wxPyEndAllowThreads(__tstate
);
30809 if (PyErr_Occurred()) SWIG_fail
;
30811 resultobj
= SWIG_From_long(static_cast< long >(result
));
30826 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30827 PyObject
*resultobj
= 0;
30828 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30838 PyObject
* obj0
= 0 ;
30839 PyObject
* obj1
= 0 ;
30840 PyObject
* obj2
= 0 ;
30841 char * kwnames
[] = {
30842 (char *) "self",(char *) "start",(char *) "data", NULL
30845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30847 if (!SWIG_IsOK(res1
)) {
30848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30850 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30851 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30852 if (!SWIG_IsOK(ecode2
)) {
30853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
30855 arg2
= static_cast< long >(val2
);
30856 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30857 if (!SWIG_IsOK(ecode3
)) {
30858 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
30860 arg3
= static_cast< long >(val3
);
30862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30863 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
30864 wxPyEndAllowThreads(__tstate
);
30865 if (PyErr_Occurred()) SWIG_fail
;
30867 resultobj
= SWIG_From_long(static_cast< long >(result
));
30874 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30875 PyObject
*resultobj
= 0;
30876 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30878 wxPoint
*arg3
= 0 ;
30888 PyObject
* obj0
= 0 ;
30889 PyObject
* obj1
= 0 ;
30890 PyObject
* obj2
= 0 ;
30891 PyObject
* obj3
= 0 ;
30892 char * kwnames
[] = {
30893 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
30896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30898 if (!SWIG_IsOK(res1
)) {
30899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30901 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30902 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30903 if (!SWIG_IsOK(ecode2
)) {
30904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
30906 arg2
= static_cast< long >(val2
);
30909 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30911 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30912 if (!SWIG_IsOK(ecode4
)) {
30913 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
30915 arg4
= static_cast< int >(val4
);
30917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30918 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
30919 wxPyEndAllowThreads(__tstate
);
30920 if (PyErr_Occurred()) SWIG_fail
;
30922 resultobj
= SWIG_From_long(static_cast< long >(result
));
30929 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30930 PyObject
*resultobj
= 0;
30931 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30932 wxPoint
*arg2
= 0 ;
30939 int res3
= SWIG_TMPOBJ
;
30940 PyObject
* obj0
= 0 ;
30941 PyObject
* obj1
= 0 ;
30942 char * kwnames
[] = {
30943 (char *) "self",(char *) "point", NULL
30947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30949 if (!SWIG_IsOK(res1
)) {
30950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30952 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30955 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30959 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30960 wxPyEndAllowThreads(__tstate
);
30961 if (PyErr_Occurred()) SWIG_fail
;
30963 resultobj
= SWIG_From_long(static_cast< long >(result
));
30964 if (SWIG_IsTmpObj(res3
)) {
30965 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30967 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30968 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30976 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30977 PyObject
*resultobj
= 0;
30978 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30979 wxPoint
*arg2
= 0 ;
30981 long *arg4
= (long *) 0 ;
30987 int res3
= SWIG_TMPOBJ
;
30989 int res4
= SWIG_TMPOBJ
;
30990 PyObject
* obj0
= 0 ;
30991 PyObject
* obj1
= 0 ;
30992 char * kwnames
[] = {
30993 (char *) "self",(char *) "point", NULL
30998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31000 if (!SWIG_IsOK(res1
)) {
31001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31003 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31006 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31010 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31011 wxPyEndAllowThreads(__tstate
);
31012 if (PyErr_Occurred()) SWIG_fail
;
31014 resultobj
= SWIG_From_long(static_cast< long >(result
));
31015 if (SWIG_IsTmpObj(res3
)) {
31016 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31018 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31019 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31021 if (SWIG_IsTmpObj(res4
)) {
31022 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31024 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31025 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31033 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31034 PyObject
*resultobj
= 0;
31035 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31036 wxListItem
*arg2
= 0 ;
31042 PyObject
* obj0
= 0 ;
31043 PyObject
* obj1
= 0 ;
31044 char * kwnames
[] = {
31045 (char *) "self",(char *) "info", NULL
31048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31050 if (!SWIG_IsOK(res1
)) {
31051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31053 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31054 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31055 if (!SWIG_IsOK(res2
)) {
31056 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31059 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31061 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31064 result
= (long)(arg1
)->InsertItem(*arg2
);
31065 wxPyEndAllowThreads(__tstate
);
31066 if (PyErr_Occurred()) SWIG_fail
;
31068 resultobj
= SWIG_From_long(static_cast< long >(result
));
31075 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31076 PyObject
*resultobj
= 0;
31077 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31079 wxString
*arg3
= 0 ;
31080 int arg4
= (int) -1 ;
31086 bool temp3
= false ;
31089 PyObject
* obj0
= 0 ;
31090 PyObject
* obj1
= 0 ;
31091 PyObject
* obj2
= 0 ;
31092 PyObject
* obj3
= 0 ;
31093 char * kwnames
[] = {
31094 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31099 if (!SWIG_IsOK(res1
)) {
31100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31102 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31103 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31104 if (!SWIG_IsOK(ecode2
)) {
31105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31107 arg2
= static_cast< long >(val2
);
31109 arg3
= wxString_in_helper(obj2
);
31110 if (arg3
== NULL
) SWIG_fail
;
31114 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31115 if (!SWIG_IsOK(ecode4
)) {
31116 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31118 arg4
= static_cast< int >(val4
);
31121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31122 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31123 wxPyEndAllowThreads(__tstate
);
31124 if (PyErr_Occurred()) SWIG_fail
;
31126 resultobj
= SWIG_From_long(static_cast< long >(result
));
31141 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31142 PyObject
*resultobj
= 0;
31143 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31153 PyObject
* obj0
= 0 ;
31154 PyObject
* obj1
= 0 ;
31155 PyObject
* obj2
= 0 ;
31156 char * kwnames
[] = {
31157 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31162 if (!SWIG_IsOK(res1
)) {
31163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31165 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31166 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31167 if (!SWIG_IsOK(ecode2
)) {
31168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31170 arg2
= static_cast< long >(val2
);
31171 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31172 if (!SWIG_IsOK(ecode3
)) {
31173 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31175 arg3
= static_cast< int >(val3
);
31177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31178 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31179 wxPyEndAllowThreads(__tstate
);
31180 if (PyErr_Occurred()) SWIG_fail
;
31182 resultobj
= SWIG_From_long(static_cast< long >(result
));
31189 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31190 PyObject
*resultobj
= 0;
31191 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31193 wxString
*arg3
= 0 ;
31200 bool temp3
= false ;
31203 PyObject
* obj0
= 0 ;
31204 PyObject
* obj1
= 0 ;
31205 PyObject
* obj2
= 0 ;
31206 PyObject
* obj3
= 0 ;
31207 char * kwnames
[] = {
31208 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31213 if (!SWIG_IsOK(res1
)) {
31214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31216 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31217 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31218 if (!SWIG_IsOK(ecode2
)) {
31219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31221 arg2
= static_cast< long >(val2
);
31223 arg3
= wxString_in_helper(obj2
);
31224 if (arg3
== NULL
) SWIG_fail
;
31227 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31228 if (!SWIG_IsOK(ecode4
)) {
31229 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31231 arg4
= static_cast< int >(val4
);
31233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31234 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31235 wxPyEndAllowThreads(__tstate
);
31236 if (PyErr_Occurred()) SWIG_fail
;
31238 resultobj
= SWIG_From_long(static_cast< long >(result
));
31253 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31254 PyObject
*resultobj
= 0;
31255 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31257 wxListItem
*arg3
= 0 ;
31265 PyObject
* obj0
= 0 ;
31266 PyObject
* obj1
= 0 ;
31267 PyObject
* obj2
= 0 ;
31268 char * kwnames
[] = {
31269 (char *) "self",(char *) "col",(char *) "info", NULL
31272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31274 if (!SWIG_IsOK(res1
)) {
31275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31277 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31278 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31279 if (!SWIG_IsOK(ecode2
)) {
31280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31282 arg2
= static_cast< long >(val2
);
31283 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31284 if (!SWIG_IsOK(res3
)) {
31285 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31288 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31290 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31293 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31294 wxPyEndAllowThreads(__tstate
);
31295 if (PyErr_Occurred()) SWIG_fail
;
31297 resultobj
= SWIG_From_long(static_cast< long >(result
));
31304 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31305 PyObject
*resultobj
= 0;
31306 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31308 wxString
*arg3
= 0 ;
31309 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31310 int arg5
= (int) -1 ;
31316 bool temp3
= false ;
31321 PyObject
* obj0
= 0 ;
31322 PyObject
* obj1
= 0 ;
31323 PyObject
* obj2
= 0 ;
31324 PyObject
* obj3
= 0 ;
31325 PyObject
* obj4
= 0 ;
31326 char * kwnames
[] = {
31327 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31332 if (!SWIG_IsOK(res1
)) {
31333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31335 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31336 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31337 if (!SWIG_IsOK(ecode2
)) {
31338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31340 arg2
= static_cast< long >(val2
);
31342 arg3
= wxString_in_helper(obj2
);
31343 if (arg3
== NULL
) SWIG_fail
;
31347 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31348 if (!SWIG_IsOK(ecode4
)) {
31349 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31351 arg4
= static_cast< int >(val4
);
31354 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31355 if (!SWIG_IsOK(ecode5
)) {
31356 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31358 arg5
= static_cast< int >(val5
);
31361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31362 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31363 wxPyEndAllowThreads(__tstate
);
31364 if (PyErr_Occurred()) SWIG_fail
;
31366 resultobj
= SWIG_From_long(static_cast< long >(result
));
31381 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31382 PyObject
*resultobj
= 0;
31383 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31389 PyObject
* obj0
= 0 ;
31390 PyObject
* obj1
= 0 ;
31391 char * kwnames
[] = {
31392 (char *) "self",(char *) "count", NULL
31395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31397 if (!SWIG_IsOK(res1
)) {
31398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31400 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31401 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31402 if (!SWIG_IsOK(ecode2
)) {
31403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31405 arg2
= static_cast< long >(val2
);
31407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31408 (arg1
)->SetItemCount(arg2
);
31409 wxPyEndAllowThreads(__tstate
);
31410 if (PyErr_Occurred()) SWIG_fail
;
31412 resultobj
= SWIG_Py_Void();
31419 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31420 PyObject
*resultobj
= 0;
31421 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31431 PyObject
* obj0
= 0 ;
31432 PyObject
* obj1
= 0 ;
31433 PyObject
* obj2
= 0 ;
31434 char * kwnames
[] = {
31435 (char *) "self",(char *) "dx",(char *) "dy", NULL
31438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31440 if (!SWIG_IsOK(res1
)) {
31441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31443 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31445 if (!SWIG_IsOK(ecode2
)) {
31446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31448 arg2
= static_cast< int >(val2
);
31449 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31450 if (!SWIG_IsOK(ecode3
)) {
31451 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31453 arg3
= static_cast< int >(val3
);
31455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31456 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31457 wxPyEndAllowThreads(__tstate
);
31458 if (PyErr_Occurred()) SWIG_fail
;
31461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31469 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31470 PyObject
*resultobj
= 0;
31471 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31473 wxColour
*arg3
= 0 ;
31479 PyObject
* obj0
= 0 ;
31480 PyObject
* obj1
= 0 ;
31481 PyObject
* obj2
= 0 ;
31482 char * kwnames
[] = {
31483 (char *) "self",(char *) "item",(char *) "col", NULL
31486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31488 if (!SWIG_IsOK(res1
)) {
31489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31491 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31492 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31493 if (!SWIG_IsOK(ecode2
)) {
31494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31496 arg2
= static_cast< long >(val2
);
31499 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31503 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31504 wxPyEndAllowThreads(__tstate
);
31505 if (PyErr_Occurred()) SWIG_fail
;
31507 resultobj
= SWIG_Py_Void();
31514 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31515 PyObject
*resultobj
= 0;
31516 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31523 PyObject
* obj0
= 0 ;
31524 PyObject
* obj1
= 0 ;
31525 char * kwnames
[] = {
31526 (char *) "self",(char *) "item", NULL
31529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31531 if (!SWIG_IsOK(res1
)) {
31532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31534 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31535 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31536 if (!SWIG_IsOK(ecode2
)) {
31537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31539 arg2
= static_cast< long >(val2
);
31541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31542 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31543 wxPyEndAllowThreads(__tstate
);
31544 if (PyErr_Occurred()) SWIG_fail
;
31546 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31553 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31554 PyObject
*resultobj
= 0;
31555 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31557 wxColour
*arg3
= 0 ;
31563 PyObject
* obj0
= 0 ;
31564 PyObject
* obj1
= 0 ;
31565 PyObject
* obj2
= 0 ;
31566 char * kwnames
[] = {
31567 (char *) "self",(char *) "item",(char *) "col", NULL
31570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31572 if (!SWIG_IsOK(res1
)) {
31573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31575 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31576 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31577 if (!SWIG_IsOK(ecode2
)) {
31578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31580 arg2
= static_cast< long >(val2
);
31583 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31587 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31588 wxPyEndAllowThreads(__tstate
);
31589 if (PyErr_Occurred()) SWIG_fail
;
31591 resultobj
= SWIG_Py_Void();
31598 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31599 PyObject
*resultobj
= 0;
31600 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31607 PyObject
* obj0
= 0 ;
31608 PyObject
* obj1
= 0 ;
31609 char * kwnames
[] = {
31610 (char *) "self",(char *) "item", NULL
31613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31615 if (!SWIG_IsOK(res1
)) {
31616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31618 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31619 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31620 if (!SWIG_IsOK(ecode2
)) {
31621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31623 arg2
= static_cast< long >(val2
);
31625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31626 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31627 wxPyEndAllowThreads(__tstate
);
31628 if (PyErr_Occurred()) SWIG_fail
;
31630 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31637 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31638 PyObject
*resultobj
= 0;
31639 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31648 PyObject
* obj0
= 0 ;
31649 PyObject
* obj1
= 0 ;
31650 PyObject
* obj2
= 0 ;
31651 char * kwnames
[] = {
31652 (char *) "self",(char *) "item",(char *) "f", NULL
31655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31657 if (!SWIG_IsOK(res1
)) {
31658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31660 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31661 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31662 if (!SWIG_IsOK(ecode2
)) {
31663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31665 arg2
= static_cast< long >(val2
);
31666 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31667 if (!SWIG_IsOK(res3
)) {
31668 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31671 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31673 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31676 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31677 wxPyEndAllowThreads(__tstate
);
31678 if (PyErr_Occurred()) SWIG_fail
;
31680 resultobj
= SWIG_Py_Void();
31687 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31688 PyObject
*resultobj
= 0;
31689 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31696 PyObject
* obj0
= 0 ;
31697 PyObject
* obj1
= 0 ;
31698 char * kwnames
[] = {
31699 (char *) "self",(char *) "item", NULL
31702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31704 if (!SWIG_IsOK(res1
)) {
31705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31707 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31708 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31709 if (!SWIG_IsOK(ecode2
)) {
31710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31712 arg2
= static_cast< long >(val2
);
31714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31715 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31716 wxPyEndAllowThreads(__tstate
);
31717 if (PyErr_Occurred()) SWIG_fail
;
31719 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31726 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31727 PyObject
*resultobj
= 0;
31728 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31729 PyObject
*arg2
= (PyObject
*) 0 ;
31733 PyObject
* obj0
= 0 ;
31734 PyObject
* obj1
= 0 ;
31735 char * kwnames
[] = {
31736 (char *) "self",(char *) "func", NULL
31739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31741 if (!SWIG_IsOK(res1
)) {
31742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31744 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31748 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31749 wxPyEndAllowThreads(__tstate
);
31750 if (PyErr_Occurred()) SWIG_fail
;
31753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31761 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31762 PyObject
*resultobj
= 0;
31763 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31764 wxWindow
*result
= 0 ;
31767 PyObject
*swig_obj
[1] ;
31769 if (!args
) SWIG_fail
;
31770 swig_obj
[0] = args
;
31771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31772 if (!SWIG_IsOK(res1
)) {
31773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31775 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31778 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31779 wxPyEndAllowThreads(__tstate
);
31780 if (PyErr_Occurred()) SWIG_fail
;
31783 resultobj
= wxPyMake_wxObject(result
, 0);
31791 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31792 PyObject
*resultobj
= 0;
31793 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31794 SwigValueWrapper
<wxVisualAttributes
> result
;
31797 PyObject
* obj0
= 0 ;
31798 char * kwnames
[] = {
31799 (char *) "variant", NULL
31802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
31804 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31805 if (!SWIG_IsOK(ecode1
)) {
31806 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31808 arg1
= static_cast< wxWindowVariant
>(val1
);
31811 if (!wxPyCheckForApp()) SWIG_fail
;
31812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31813 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
31814 wxPyEndAllowThreads(__tstate
);
31815 if (PyErr_Occurred()) SWIG_fail
;
31817 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
31824 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31826 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31827 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
31828 return SWIG_Py_Void();
31831 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31832 return SWIG_Python_InitShadowInstance(args
);
31835 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31836 PyObject
*resultobj
= 0;
31837 wxWindow
*arg1
= (wxWindow
*) 0 ;
31838 int arg2
= (int) -1 ;
31839 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31840 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31841 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31842 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31843 long arg5
= (long) wxLC_REPORT
;
31844 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31845 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31846 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
31847 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31848 wxListView
*result
= 0 ;
31859 bool temp7
= false ;
31860 PyObject
* obj0
= 0 ;
31861 PyObject
* obj1
= 0 ;
31862 PyObject
* obj2
= 0 ;
31863 PyObject
* obj3
= 0 ;
31864 PyObject
* obj4
= 0 ;
31865 PyObject
* obj5
= 0 ;
31866 PyObject
* obj6
= 0 ;
31867 char * kwnames
[] = {
31868 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31873 if (!SWIG_IsOK(res1
)) {
31874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31876 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31878 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31879 if (!SWIG_IsOK(ecode2
)) {
31880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
31882 arg2
= static_cast< int >(val2
);
31887 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31893 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31897 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31898 if (!SWIG_IsOK(ecode5
)) {
31899 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
31901 arg5
= static_cast< long >(val5
);
31904 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
31905 if (!SWIG_IsOK(res6
)) {
31906 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31909 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31911 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
31915 arg7
= wxString_in_helper(obj6
);
31916 if (arg7
== NULL
) SWIG_fail
;
31921 if (!wxPyCheckForApp()) SWIG_fail
;
31922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31923 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31924 wxPyEndAllowThreads(__tstate
);
31925 if (PyErr_Occurred()) SWIG_fail
;
31927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
31942 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31943 PyObject
*resultobj
= 0;
31944 wxListView
*result
= 0 ;
31946 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
31948 if (!wxPyCheckForApp()) SWIG_fail
;
31949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31950 result
= (wxListView
*)new wxListView();
31951 wxPyEndAllowThreads(__tstate
);
31952 if (PyErr_Occurred()) SWIG_fail
;
31954 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
31961 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31962 PyObject
*resultobj
= 0;
31963 wxListView
*arg1
= (wxListView
*) 0 ;
31964 wxWindow
*arg2
= (wxWindow
*) 0 ;
31965 int arg3
= (int) -1 ;
31966 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31967 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31968 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31969 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31970 long arg6
= (long) wxLC_REPORT
;
31971 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31972 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31973 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
31974 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31988 bool temp8
= false ;
31989 PyObject
* obj0
= 0 ;
31990 PyObject
* obj1
= 0 ;
31991 PyObject
* obj2
= 0 ;
31992 PyObject
* obj3
= 0 ;
31993 PyObject
* obj4
= 0 ;
31994 PyObject
* obj5
= 0 ;
31995 PyObject
* obj6
= 0 ;
31996 PyObject
* obj7
= 0 ;
31997 char * kwnames
[] = {
31998 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32003 if (!SWIG_IsOK(res1
)) {
32004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32006 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32007 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32008 if (!SWIG_IsOK(res2
)) {
32009 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32011 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32013 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32014 if (!SWIG_IsOK(ecode3
)) {
32015 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32017 arg3
= static_cast< int >(val3
);
32022 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32028 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32032 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32033 if (!SWIG_IsOK(ecode6
)) {
32034 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32036 arg6
= static_cast< long >(val6
);
32039 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32040 if (!SWIG_IsOK(res7
)) {
32041 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32044 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32046 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32050 arg8
= wxString_in_helper(obj7
);
32051 if (arg8
== NULL
) SWIG_fail
;
32056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32057 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32058 wxPyEndAllowThreads(__tstate
);
32059 if (PyErr_Occurred()) SWIG_fail
;
32062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32078 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32079 PyObject
*resultobj
= 0;
32080 wxListView
*arg1
= (wxListView
*) 0 ;
32082 bool arg3
= (bool) true ;
32089 PyObject
* obj0
= 0 ;
32090 PyObject
* obj1
= 0 ;
32091 PyObject
* obj2
= 0 ;
32092 char * kwnames
[] = {
32093 (char *) "self",(char *) "n",(char *) "on", NULL
32096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32098 if (!SWIG_IsOK(res1
)) {
32099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32101 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32102 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32103 if (!SWIG_IsOK(ecode2
)) {
32104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32106 arg2
= static_cast< long >(val2
);
32108 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32109 if (!SWIG_IsOK(ecode3
)) {
32110 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32112 arg3
= static_cast< bool >(val3
);
32115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32116 (arg1
)->Select(arg2
,arg3
);
32117 wxPyEndAllowThreads(__tstate
);
32118 if (PyErr_Occurred()) SWIG_fail
;
32120 resultobj
= SWIG_Py_Void();
32127 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32128 PyObject
*resultobj
= 0;
32129 wxListView
*arg1
= (wxListView
*) 0 ;
32135 PyObject
* obj0
= 0 ;
32136 PyObject
* obj1
= 0 ;
32137 char * kwnames
[] = {
32138 (char *) "self",(char *) "index", NULL
32141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32143 if (!SWIG_IsOK(res1
)) {
32144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32146 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32147 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32148 if (!SWIG_IsOK(ecode2
)) {
32149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32151 arg2
= static_cast< long >(val2
);
32153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32154 (arg1
)->Focus(arg2
);
32155 wxPyEndAllowThreads(__tstate
);
32156 if (PyErr_Occurred()) SWIG_fail
;
32158 resultobj
= SWIG_Py_Void();
32165 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32166 PyObject
*resultobj
= 0;
32167 wxListView
*arg1
= (wxListView
*) 0 ;
32171 PyObject
*swig_obj
[1] ;
32173 if (!args
) SWIG_fail
;
32174 swig_obj
[0] = args
;
32175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32176 if (!SWIG_IsOK(res1
)) {
32177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32179 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32182 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32183 wxPyEndAllowThreads(__tstate
);
32184 if (PyErr_Occurred()) SWIG_fail
;
32186 resultobj
= SWIG_From_long(static_cast< long >(result
));
32193 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32194 PyObject
*resultobj
= 0;
32195 wxListView
*arg1
= (wxListView
*) 0 ;
32202 PyObject
* obj0
= 0 ;
32203 PyObject
* obj1
= 0 ;
32204 char * kwnames
[] = {
32205 (char *) "self",(char *) "item", NULL
32208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32210 if (!SWIG_IsOK(res1
)) {
32211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32213 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32214 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32215 if (!SWIG_IsOK(ecode2
)) {
32216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32218 arg2
= static_cast< long >(val2
);
32220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32221 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32222 wxPyEndAllowThreads(__tstate
);
32223 if (PyErr_Occurred()) SWIG_fail
;
32225 resultobj
= SWIG_From_long(static_cast< long >(result
));
32232 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32233 PyObject
*resultobj
= 0;
32234 wxListView
*arg1
= (wxListView
*) 0 ;
32238 PyObject
*swig_obj
[1] ;
32240 if (!args
) SWIG_fail
;
32241 swig_obj
[0] = args
;
32242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32243 if (!SWIG_IsOK(res1
)) {
32244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32246 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32249 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32250 wxPyEndAllowThreads(__tstate
);
32251 if (PyErr_Occurred()) SWIG_fail
;
32253 resultobj
= SWIG_From_long(static_cast< long >(result
));
32260 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32261 PyObject
*resultobj
= 0;
32262 wxListView
*arg1
= (wxListView
*) 0 ;
32269 PyObject
* obj0
= 0 ;
32270 PyObject
* obj1
= 0 ;
32271 char * kwnames
[] = {
32272 (char *) "self",(char *) "index", NULL
32275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32277 if (!SWIG_IsOK(res1
)) {
32278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32280 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32281 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32282 if (!SWIG_IsOK(ecode2
)) {
32283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32285 arg2
= static_cast< long >(val2
);
32287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32288 result
= (bool)(arg1
)->IsSelected(arg2
);
32289 wxPyEndAllowThreads(__tstate
);
32290 if (PyErr_Occurred()) SWIG_fail
;
32293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32301 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32302 PyObject
*resultobj
= 0;
32303 wxListView
*arg1
= (wxListView
*) 0 ;
32312 PyObject
* obj0
= 0 ;
32313 PyObject
* obj1
= 0 ;
32314 PyObject
* obj2
= 0 ;
32315 char * kwnames
[] = {
32316 (char *) "self",(char *) "col",(char *) "image", NULL
32319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32321 if (!SWIG_IsOK(res1
)) {
32322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32324 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32325 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32326 if (!SWIG_IsOK(ecode2
)) {
32327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32329 arg2
= static_cast< int >(val2
);
32330 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32331 if (!SWIG_IsOK(ecode3
)) {
32332 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32334 arg3
= static_cast< int >(val3
);
32336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32337 (arg1
)->SetColumnImage(arg2
,arg3
);
32338 wxPyEndAllowThreads(__tstate
);
32339 if (PyErr_Occurred()) SWIG_fail
;
32341 resultobj
= SWIG_Py_Void();
32348 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32349 PyObject
*resultobj
= 0;
32350 wxListView
*arg1
= (wxListView
*) 0 ;
32356 PyObject
* obj0
= 0 ;
32357 PyObject
* obj1
= 0 ;
32358 char * kwnames
[] = {
32359 (char *) "self",(char *) "col", NULL
32362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32364 if (!SWIG_IsOK(res1
)) {
32365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32367 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32369 if (!SWIG_IsOK(ecode2
)) {
32370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32372 arg2
= static_cast< int >(val2
);
32374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32375 (arg1
)->ClearColumnImage(arg2
);
32376 wxPyEndAllowThreads(__tstate
);
32377 if (PyErr_Occurred()) SWIG_fail
;
32379 resultobj
= SWIG_Py_Void();
32386 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32388 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32389 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32390 return SWIG_Py_Void();
32393 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32394 return SWIG_Python_InitShadowInstance(args
);
32397 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32398 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32403 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32404 PyObject
*pyobj
= 0;
32408 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32410 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32417 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32418 PyObject
*resultobj
= 0;
32419 wxTreeItemId
*result
= 0 ;
32421 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32424 result
= (wxTreeItemId
*)new wxTreeItemId();
32425 wxPyEndAllowThreads(__tstate
);
32426 if (PyErr_Occurred()) SWIG_fail
;
32428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32435 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32436 PyObject
*resultobj
= 0;
32437 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32440 PyObject
*swig_obj
[1] ;
32442 if (!args
) SWIG_fail
;
32443 swig_obj
[0] = args
;
32444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32445 if (!SWIG_IsOK(res1
)) {
32446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32448 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32453 wxPyEndAllowThreads(__tstate
);
32454 if (PyErr_Occurred()) SWIG_fail
;
32456 resultobj
= SWIG_Py_Void();
32463 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32464 PyObject
*resultobj
= 0;
32465 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32469 PyObject
*swig_obj
[1] ;
32471 if (!args
) SWIG_fail
;
32472 swig_obj
[0] = args
;
32473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32474 if (!SWIG_IsOK(res1
)) {
32475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32477 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32480 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32481 wxPyEndAllowThreads(__tstate
);
32482 if (PyErr_Occurred()) SWIG_fail
;
32485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32493 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32494 PyObject
*resultobj
= 0;
32495 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32496 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32502 PyObject
* obj0
= 0 ;
32503 PyObject
* obj1
= 0 ;
32504 char * kwnames
[] = {
32505 (char *) "self",(char *) "other", NULL
32508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32510 if (!SWIG_IsOK(res1
)) {
32511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32513 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32514 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32515 if (!SWIG_IsOK(res2
)) {
32516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32518 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32521 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32522 wxPyEndAllowThreads(__tstate
);
32523 if (PyErr_Occurred()) SWIG_fail
;
32526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32534 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32535 PyObject
*resultobj
= 0;
32536 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32537 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32543 PyObject
* obj0
= 0 ;
32544 PyObject
* obj1
= 0 ;
32545 char * kwnames
[] = {
32546 (char *) "self",(char *) "other", NULL
32549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32551 if (!SWIG_IsOK(res1
)) {
32552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32554 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32555 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32556 if (!SWIG_IsOK(res2
)) {
32557 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32559 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32562 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32563 wxPyEndAllowThreads(__tstate
);
32564 if (PyErr_Occurred()) SWIG_fail
;
32567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32575 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32576 PyObject
*resultobj
= 0;
32577 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32578 void *arg2
= (void *) 0 ;
32582 PyObject
*swig_obj
[2] ;
32584 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32586 if (!SWIG_IsOK(res1
)) {
32587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32589 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32590 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32591 if (!SWIG_IsOK(res2
)) {
32592 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32594 if (arg1
) (arg1
)->m_pItem
= arg2
;
32596 resultobj
= SWIG_Py_Void();
32603 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32604 PyObject
*resultobj
= 0;
32605 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32609 PyObject
*swig_obj
[1] ;
32611 if (!args
) SWIG_fail
;
32612 swig_obj
[0] = args
;
32613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32614 if (!SWIG_IsOK(res1
)) {
32615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32617 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32618 result
= (void *) ((arg1
)->m_pItem
);
32619 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32626 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32628 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32629 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32630 return SWIG_Py_Void();
32633 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32634 return SWIG_Python_InitShadowInstance(args
);
32637 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32638 PyObject
*resultobj
= 0;
32639 PyObject
*arg1
= (PyObject
*) NULL
;
32640 wxPyTreeItemData
*result
= 0 ;
32641 PyObject
* obj0
= 0 ;
32642 char * kwnames
[] = {
32643 (char *) "obj", NULL
32646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32652 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32653 wxPyEndAllowThreads(__tstate
);
32654 if (PyErr_Occurred()) SWIG_fail
;
32656 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32663 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32664 PyObject
*resultobj
= 0;
32665 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32668 PyObject
*swig_obj
[1] ;
32670 if (!args
) SWIG_fail
;
32671 swig_obj
[0] = args
;
32672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32673 if (!SWIG_IsOK(res1
)) {
32674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32676 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32681 wxPyEndAllowThreads(__tstate
);
32682 if (PyErr_Occurred()) SWIG_fail
;
32684 resultobj
= SWIG_Py_Void();
32691 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32692 PyObject
*resultobj
= 0;
32693 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32694 PyObject
*result
= 0 ;
32697 PyObject
*swig_obj
[1] ;
32699 if (!args
) SWIG_fail
;
32700 swig_obj
[0] = args
;
32701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32702 if (!SWIG_IsOK(res1
)) {
32703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32705 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32708 result
= (PyObject
*)(arg1
)->GetData();
32709 wxPyEndAllowThreads(__tstate
);
32710 if (PyErr_Occurred()) SWIG_fail
;
32712 resultobj
= result
;
32719 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32720 PyObject
*resultobj
= 0;
32721 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32722 PyObject
*arg2
= (PyObject
*) 0 ;
32725 PyObject
* obj0
= 0 ;
32726 PyObject
* obj1
= 0 ;
32727 char * kwnames
[] = {
32728 (char *) "self",(char *) "obj", NULL
32731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32733 if (!SWIG_IsOK(res1
)) {
32734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32736 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32740 (arg1
)->SetData(arg2
);
32741 wxPyEndAllowThreads(__tstate
);
32742 if (PyErr_Occurred()) SWIG_fail
;
32744 resultobj
= SWIG_Py_Void();
32751 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32752 PyObject
*resultobj
= 0;
32753 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32754 wxTreeItemId
*result
= 0 ;
32757 PyObject
*swig_obj
[1] ;
32759 if (!args
) SWIG_fail
;
32760 swig_obj
[0] = args
;
32761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32762 if (!SWIG_IsOK(res1
)) {
32763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32765 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32769 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32770 result
= (wxTreeItemId
*) &_result_ref
;
32772 wxPyEndAllowThreads(__tstate
);
32773 if (PyErr_Occurred()) SWIG_fail
;
32775 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32782 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32783 PyObject
*resultobj
= 0;
32784 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32785 wxTreeItemId
*arg2
= 0 ;
32790 PyObject
* obj0
= 0 ;
32791 PyObject
* obj1
= 0 ;
32792 char * kwnames
[] = {
32793 (char *) "self",(char *) "id", NULL
32796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32798 if (!SWIG_IsOK(res1
)) {
32799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32801 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32802 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32803 if (!SWIG_IsOK(res2
)) {
32804 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32807 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32809 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32812 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
32813 wxPyEndAllowThreads(__tstate
);
32814 if (PyErr_Occurred()) SWIG_fail
;
32816 resultobj
= SWIG_Py_Void();
32823 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32824 PyObject
*resultobj
= 0;
32825 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32828 PyObject
*swig_obj
[1] ;
32830 if (!args
) SWIG_fail
;
32831 swig_obj
[0] = args
;
32832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32833 if (!SWIG_IsOK(res1
)) {
32834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32836 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32839 wxPyTreeItemData_Destroy(arg1
);
32840 wxPyEndAllowThreads(__tstate
);
32841 if (PyErr_Occurred()) SWIG_fail
;
32843 resultobj
= SWIG_Py_Void();
32850 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32852 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32853 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
32854 return SWIG_Py_Void();
32857 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32858 return SWIG_Python_InitShadowInstance(args
);
32861 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
32864 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32865 if (!SWIG_IsOK(res
)) {
32866 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
32869 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
32871 wxTreeItemId
* temp
;
32872 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
32873 wxNullTreeItemId
= *temp
;
32874 if (SWIG_IsNewObj(res
)) delete temp
;
32883 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
32884 PyObject
*pyobj
= 0;
32886 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
32891 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32892 PyObject
*resultobj
= 0;
32893 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32894 int arg2
= (int) 0 ;
32895 wxTreeEvent
*result
= 0 ;
32901 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
32903 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
32904 if (!SWIG_IsOK(ecode1
)) {
32905 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32907 arg1
= static_cast< wxEventType
>(val1
);
32910 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
32911 if (!SWIG_IsOK(ecode2
)) {
32912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
32914 arg2
= static_cast< int >(val2
);
32917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32918 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
32919 wxPyEndAllowThreads(__tstate
);
32920 if (PyErr_Occurred()) SWIG_fail
;
32922 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32929 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32930 PyObject
*resultobj
= 0;
32932 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
32933 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
32934 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
32935 wxTreeEvent
*result
= 0 ;
32943 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
32944 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
32945 if (!SWIG_IsOK(ecode1
)) {
32946 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32948 arg1
= static_cast< wxEventType
>(val1
);
32949 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
32950 if (!SWIG_IsOK(res2
)) {
32951 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
32953 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
32955 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
32956 if (!SWIG_IsOK(res3
)) {
32957 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
32960 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
32962 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
32965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32966 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
32967 wxPyEndAllowThreads(__tstate
);
32968 if (PyErr_Occurred()) SWIG_fail
;
32970 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32977 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
32981 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
32983 if ((argc
>= 0) && (argc
<= 2)) {
32988 int res
= SWIG_AsVal_int(argv
[1], NULL
);
32989 _v
= SWIG_CheckState(res
);
32992 if (!_v
) goto check_1
;
32994 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
32998 if ((argc
>= 2) && (argc
<= 3)) {
32999 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33003 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33008 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33009 PyObject
*resultobj
= 0;
33010 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33011 wxTreeItemId result
;
33014 PyObject
*swig_obj
[1] ;
33016 if (!args
) SWIG_fail
;
33017 swig_obj
[0] = args
;
33018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33019 if (!SWIG_IsOK(res1
)) {
33020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33022 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33025 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33026 wxPyEndAllowThreads(__tstate
);
33027 if (PyErr_Occurred()) SWIG_fail
;
33029 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33036 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33037 PyObject
*resultobj
= 0;
33038 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33039 wxTreeItemId
*arg2
= 0 ;
33044 PyObject
* obj0
= 0 ;
33045 PyObject
* obj1
= 0 ;
33046 char * kwnames
[] = {
33047 (char *) "self",(char *) "item", NULL
33050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33052 if (!SWIG_IsOK(res1
)) {
33053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33055 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33056 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33057 if (!SWIG_IsOK(res2
)) {
33058 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33061 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33063 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33066 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33067 wxPyEndAllowThreads(__tstate
);
33068 if (PyErr_Occurred()) SWIG_fail
;
33070 resultobj
= SWIG_Py_Void();
33077 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33078 PyObject
*resultobj
= 0;
33079 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33080 wxTreeItemId result
;
33083 PyObject
*swig_obj
[1] ;
33085 if (!args
) SWIG_fail
;
33086 swig_obj
[0] = args
;
33087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33088 if (!SWIG_IsOK(res1
)) {
33089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33091 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33094 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33095 wxPyEndAllowThreads(__tstate
);
33096 if (PyErr_Occurred()) SWIG_fail
;
33098 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33105 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33106 PyObject
*resultobj
= 0;
33107 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33108 wxTreeItemId
*arg2
= 0 ;
33113 PyObject
* obj0
= 0 ;
33114 PyObject
* obj1
= 0 ;
33115 char * kwnames
[] = {
33116 (char *) "self",(char *) "item", NULL
33119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33121 if (!SWIG_IsOK(res1
)) {
33122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33124 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33125 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33126 if (!SWIG_IsOK(res2
)) {
33127 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33130 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33132 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33135 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33136 wxPyEndAllowThreads(__tstate
);
33137 if (PyErr_Occurred()) SWIG_fail
;
33139 resultobj
= SWIG_Py_Void();
33146 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33147 PyObject
*resultobj
= 0;
33148 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33152 PyObject
*swig_obj
[1] ;
33154 if (!args
) SWIG_fail
;
33155 swig_obj
[0] = args
;
33156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33157 if (!SWIG_IsOK(res1
)) {
33158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33160 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33163 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33164 wxPyEndAllowThreads(__tstate
);
33165 if (PyErr_Occurred()) SWIG_fail
;
33167 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33174 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33175 PyObject
*resultobj
= 0;
33176 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33177 wxPoint
*arg2
= 0 ;
33181 PyObject
* obj0
= 0 ;
33182 PyObject
* obj1
= 0 ;
33183 char * kwnames
[] = {
33184 (char *) "self",(char *) "pt", NULL
33187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33189 if (!SWIG_IsOK(res1
)) {
33190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33192 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33195 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33199 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33200 wxPyEndAllowThreads(__tstate
);
33201 if (PyErr_Occurred()) SWIG_fail
;
33203 resultobj
= SWIG_Py_Void();
33210 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33211 PyObject
*resultobj
= 0;
33212 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33213 wxKeyEvent
*result
= 0 ;
33216 PyObject
*swig_obj
[1] ;
33218 if (!args
) SWIG_fail
;
33219 swig_obj
[0] = args
;
33220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33221 if (!SWIG_IsOK(res1
)) {
33222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33224 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33228 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33229 result
= (wxKeyEvent
*) &_result_ref
;
33231 wxPyEndAllowThreads(__tstate
);
33232 if (PyErr_Occurred()) SWIG_fail
;
33234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33241 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33242 PyObject
*resultobj
= 0;
33243 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33247 PyObject
*swig_obj
[1] ;
33249 if (!args
) SWIG_fail
;
33250 swig_obj
[0] = args
;
33251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33252 if (!SWIG_IsOK(res1
)) {
33253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33255 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33258 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33259 wxPyEndAllowThreads(__tstate
);
33260 if (PyErr_Occurred()) SWIG_fail
;
33262 resultobj
= SWIG_From_int(static_cast< int >(result
));
33269 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33270 PyObject
*resultobj
= 0;
33271 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33272 wxKeyEvent
*arg2
= 0 ;
33277 PyObject
* obj0
= 0 ;
33278 PyObject
* obj1
= 0 ;
33279 char * kwnames
[] = {
33280 (char *) "self",(char *) "evt", NULL
33283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33285 if (!SWIG_IsOK(res1
)) {
33286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33288 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33289 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33290 if (!SWIG_IsOK(res2
)) {
33291 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33294 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33296 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33299 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33300 wxPyEndAllowThreads(__tstate
);
33301 if (PyErr_Occurred()) SWIG_fail
;
33303 resultobj
= SWIG_Py_Void();
33310 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33311 PyObject
*resultobj
= 0;
33312 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33313 wxString
*result
= 0 ;
33316 PyObject
*swig_obj
[1] ;
33318 if (!args
) SWIG_fail
;
33319 swig_obj
[0] = args
;
33320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33321 if (!SWIG_IsOK(res1
)) {
33322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33324 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33328 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33329 result
= (wxString
*) &_result_ref
;
33331 wxPyEndAllowThreads(__tstate
);
33332 if (PyErr_Occurred()) SWIG_fail
;
33336 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33338 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33347 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33348 PyObject
*resultobj
= 0;
33349 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33350 wxString
*arg2
= 0 ;
33353 bool temp2
= false ;
33354 PyObject
* obj0
= 0 ;
33355 PyObject
* obj1
= 0 ;
33356 char * kwnames
[] = {
33357 (char *) "self",(char *) "label", NULL
33360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33362 if (!SWIG_IsOK(res1
)) {
33363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33365 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33367 arg2
= wxString_in_helper(obj1
);
33368 if (arg2
== NULL
) SWIG_fail
;
33372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33373 (arg1
)->SetLabel((wxString
const &)*arg2
);
33374 wxPyEndAllowThreads(__tstate
);
33375 if (PyErr_Occurred()) SWIG_fail
;
33377 resultobj
= SWIG_Py_Void();
33392 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33393 PyObject
*resultobj
= 0;
33394 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33398 PyObject
*swig_obj
[1] ;
33400 if (!args
) SWIG_fail
;
33401 swig_obj
[0] = args
;
33402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33403 if (!SWIG_IsOK(res1
)) {
33404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33406 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33409 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33410 wxPyEndAllowThreads(__tstate
);
33411 if (PyErr_Occurred()) SWIG_fail
;
33414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33422 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33423 PyObject
*resultobj
= 0;
33424 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33430 PyObject
* obj0
= 0 ;
33431 PyObject
* obj1
= 0 ;
33432 char * kwnames
[] = {
33433 (char *) "self",(char *) "editCancelled", NULL
33436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33438 if (!SWIG_IsOK(res1
)) {
33439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33441 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33442 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33443 if (!SWIG_IsOK(ecode2
)) {
33444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33446 arg2
= static_cast< bool >(val2
);
33448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33449 (arg1
)->SetEditCanceled(arg2
);
33450 wxPyEndAllowThreads(__tstate
);
33451 if (PyErr_Occurred()) SWIG_fail
;
33453 resultobj
= SWIG_Py_Void();
33460 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33461 PyObject
*resultobj
= 0;
33462 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33463 wxString
*arg2
= 0 ;
33466 bool temp2
= false ;
33467 PyObject
* obj0
= 0 ;
33468 PyObject
* obj1
= 0 ;
33469 char * kwnames
[] = {
33470 (char *) "self",(char *) "toolTip", NULL
33473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33475 if (!SWIG_IsOK(res1
)) {
33476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33478 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33480 arg2
= wxString_in_helper(obj1
);
33481 if (arg2
== NULL
) SWIG_fail
;
33485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33486 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33487 wxPyEndAllowThreads(__tstate
);
33488 if (PyErr_Occurred()) SWIG_fail
;
33490 resultobj
= SWIG_Py_Void();
33505 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33506 PyObject
*resultobj
= 0;
33507 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33511 PyObject
*swig_obj
[1] ;
33513 if (!args
) SWIG_fail
;
33514 swig_obj
[0] = args
;
33515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33516 if (!SWIG_IsOK(res1
)) {
33517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33519 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33522 result
= (arg1
)->GetToolTip();
33523 wxPyEndAllowThreads(__tstate
);
33524 if (PyErr_Occurred()) SWIG_fail
;
33528 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33530 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33539 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33541 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33542 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33543 return SWIG_Py_Void();
33546 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33547 return SWIG_Python_InitShadowInstance(args
);
33550 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33551 PyObject
*resultobj
= 0;
33552 wxWindow
*arg1
= (wxWindow
*) 0 ;
33553 int arg2
= (int) -1 ;
33554 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33555 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33556 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33557 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33558 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33559 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33560 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33561 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33562 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33563 wxPyTreeCtrl
*result
= 0 ;
33574 bool temp7
= false ;
33575 PyObject
* obj0
= 0 ;
33576 PyObject
* obj1
= 0 ;
33577 PyObject
* obj2
= 0 ;
33578 PyObject
* obj3
= 0 ;
33579 PyObject
* obj4
= 0 ;
33580 PyObject
* obj5
= 0 ;
33581 PyObject
* obj6
= 0 ;
33582 char * kwnames
[] = {
33583 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33588 if (!SWIG_IsOK(res1
)) {
33589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33591 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33594 if (!SWIG_IsOK(ecode2
)) {
33595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33597 arg2
= static_cast< int >(val2
);
33602 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33608 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33612 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33613 if (!SWIG_IsOK(ecode5
)) {
33614 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33616 arg5
= static_cast< long >(val5
);
33619 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33620 if (!SWIG_IsOK(res6
)) {
33621 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33624 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33626 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33630 arg7
= wxString_in_helper(obj6
);
33631 if (arg7
== NULL
) SWIG_fail
;
33636 if (!wxPyCheckForApp()) SWIG_fail
;
33637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33638 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33639 wxPyEndAllowThreads(__tstate
);
33640 if (PyErr_Occurred()) SWIG_fail
;
33642 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33657 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33658 PyObject
*resultobj
= 0;
33659 wxPyTreeCtrl
*result
= 0 ;
33661 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33663 if (!wxPyCheckForApp()) SWIG_fail
;
33664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33665 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33666 wxPyEndAllowThreads(__tstate
);
33667 if (PyErr_Occurred()) SWIG_fail
;
33669 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33676 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33677 PyObject
*resultobj
= 0;
33678 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33679 wxWindow
*arg2
= (wxWindow
*) 0 ;
33680 int arg3
= (int) -1 ;
33681 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33682 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33683 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33684 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33685 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33686 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33687 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33688 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33689 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33703 bool temp8
= false ;
33704 PyObject
* obj0
= 0 ;
33705 PyObject
* obj1
= 0 ;
33706 PyObject
* obj2
= 0 ;
33707 PyObject
* obj3
= 0 ;
33708 PyObject
* obj4
= 0 ;
33709 PyObject
* obj5
= 0 ;
33710 PyObject
* obj6
= 0 ;
33711 PyObject
* obj7
= 0 ;
33712 char * kwnames
[] = {
33713 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33718 if (!SWIG_IsOK(res1
)) {
33719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33721 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33722 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33723 if (!SWIG_IsOK(res2
)) {
33724 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33726 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33728 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33729 if (!SWIG_IsOK(ecode3
)) {
33730 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33732 arg3
= static_cast< int >(val3
);
33737 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33743 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33747 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33748 if (!SWIG_IsOK(ecode6
)) {
33749 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33751 arg6
= static_cast< long >(val6
);
33754 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33755 if (!SWIG_IsOK(res7
)) {
33756 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33759 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33761 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33765 arg8
= wxString_in_helper(obj7
);
33766 if (arg8
== NULL
) SWIG_fail
;
33771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33772 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33773 wxPyEndAllowThreads(__tstate
);
33774 if (PyErr_Occurred()) SWIG_fail
;
33777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33793 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33794 PyObject
*resultobj
= 0;
33795 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33796 PyObject
*arg2
= (PyObject
*) 0 ;
33797 PyObject
*arg3
= (PyObject
*) 0 ;
33800 PyObject
* obj0
= 0 ;
33801 PyObject
* obj1
= 0 ;
33802 PyObject
* obj2
= 0 ;
33803 char * kwnames
[] = {
33804 (char *) "self",(char *) "self",(char *) "_class", NULL
33807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33809 if (!SWIG_IsOK(res1
)) {
33810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33812 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33817 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33818 wxPyEndAllowThreads(__tstate
);
33819 if (PyErr_Occurred()) SWIG_fail
;
33821 resultobj
= SWIG_Py_Void();
33828 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33829 PyObject
*resultobj
= 0;
33830 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33831 unsigned int result
;
33834 PyObject
*swig_obj
[1] ;
33836 if (!args
) SWIG_fail
;
33837 swig_obj
[0] = args
;
33838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33839 if (!SWIG_IsOK(res1
)) {
33840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33842 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33845 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
33846 wxPyEndAllowThreads(__tstate
);
33847 if (PyErr_Occurred()) SWIG_fail
;
33849 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33856 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33857 PyObject
*resultobj
= 0;
33858 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33859 unsigned int result
;
33862 PyObject
*swig_obj
[1] ;
33864 if (!args
) SWIG_fail
;
33865 swig_obj
[0] = args
;
33866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33867 if (!SWIG_IsOK(res1
)) {
33868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33870 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33873 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
33874 wxPyEndAllowThreads(__tstate
);
33875 if (PyErr_Occurred()) SWIG_fail
;
33877 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33884 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33885 PyObject
*resultobj
= 0;
33886 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33887 unsigned int arg2
;
33890 unsigned int val2
;
33892 PyObject
* obj0
= 0 ;
33893 PyObject
* obj1
= 0 ;
33894 char * kwnames
[] = {
33895 (char *) "self",(char *) "indent", NULL
33898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33900 if (!SWIG_IsOK(res1
)) {
33901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33903 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33904 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33905 if (!SWIG_IsOK(ecode2
)) {
33906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
33908 arg2
= static_cast< unsigned int >(val2
);
33910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33911 (arg1
)->SetIndent(arg2
);
33912 wxPyEndAllowThreads(__tstate
);
33913 if (PyErr_Occurred()) SWIG_fail
;
33915 resultobj
= SWIG_Py_Void();
33922 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33923 PyObject
*resultobj
= 0;
33924 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33925 unsigned int result
;
33928 PyObject
*swig_obj
[1] ;
33930 if (!args
) SWIG_fail
;
33931 swig_obj
[0] = args
;
33932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33933 if (!SWIG_IsOK(res1
)) {
33934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33936 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33939 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
33940 wxPyEndAllowThreads(__tstate
);
33941 if (PyErr_Occurred()) SWIG_fail
;
33943 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33950 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33951 PyObject
*resultobj
= 0;
33952 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33953 unsigned int arg2
;
33956 unsigned int val2
;
33958 PyObject
* obj0
= 0 ;
33959 PyObject
* obj1
= 0 ;
33960 char * kwnames
[] = {
33961 (char *) "self",(char *) "spacing", NULL
33964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33966 if (!SWIG_IsOK(res1
)) {
33967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33969 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33970 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33971 if (!SWIG_IsOK(ecode2
)) {
33972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
33974 arg2
= static_cast< unsigned int >(val2
);
33976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33977 (arg1
)->SetSpacing(arg2
);
33978 wxPyEndAllowThreads(__tstate
);
33979 if (PyErr_Occurred()) SWIG_fail
;
33981 resultobj
= SWIG_Py_Void();
33988 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33989 PyObject
*resultobj
= 0;
33990 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33991 wxImageList
*result
= 0 ;
33994 PyObject
*swig_obj
[1] ;
33996 if (!args
) SWIG_fail
;
33997 swig_obj
[0] = args
;
33998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33999 if (!SWIG_IsOK(res1
)) {
34000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34002 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34005 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34006 wxPyEndAllowThreads(__tstate
);
34007 if (PyErr_Occurred()) SWIG_fail
;
34010 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34018 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34019 PyObject
*resultobj
= 0;
34020 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34021 wxImageList
*result
= 0 ;
34024 PyObject
*swig_obj
[1] ;
34026 if (!args
) SWIG_fail
;
34027 swig_obj
[0] = args
;
34028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34029 if (!SWIG_IsOK(res1
)) {
34030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34032 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34035 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34036 wxPyEndAllowThreads(__tstate
);
34037 if (PyErr_Occurred()) SWIG_fail
;
34040 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34048 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34049 PyObject
*resultobj
= 0;
34050 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34051 wxImageList
*arg2
= (wxImageList
*) 0 ;
34056 PyObject
* obj0
= 0 ;
34057 PyObject
* obj1
= 0 ;
34058 char * kwnames
[] = {
34059 (char *) "self",(char *) "imageList", NULL
34062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34064 if (!SWIG_IsOK(res1
)) {
34065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34067 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34068 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34069 if (!SWIG_IsOK(res2
)) {
34070 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34072 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34075 (arg1
)->SetImageList(arg2
);
34076 wxPyEndAllowThreads(__tstate
);
34077 if (PyErr_Occurred()) SWIG_fail
;
34079 resultobj
= SWIG_Py_Void();
34086 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34087 PyObject
*resultobj
= 0;
34088 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34089 wxImageList
*arg2
= (wxImageList
*) 0 ;
34094 PyObject
* obj0
= 0 ;
34095 PyObject
* obj1
= 0 ;
34096 char * kwnames
[] = {
34097 (char *) "self",(char *) "imageList", NULL
34100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34102 if (!SWIG_IsOK(res1
)) {
34103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34105 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34106 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34107 if (!SWIG_IsOK(res2
)) {
34108 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34110 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34113 (arg1
)->SetStateImageList(arg2
);
34114 wxPyEndAllowThreads(__tstate
);
34115 if (PyErr_Occurred()) SWIG_fail
;
34117 resultobj
= SWIG_Py_Void();
34124 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34125 PyObject
*resultobj
= 0;
34126 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34127 wxImageList
*arg2
= (wxImageList
*) 0 ;
34131 PyObject
* obj0
= 0 ;
34132 PyObject
* obj1
= 0 ;
34133 char * kwnames
[] = {
34134 (char *) "self",(char *) "imageList", NULL
34137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34139 if (!SWIG_IsOK(res1
)) {
34140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34142 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34143 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34144 if (!SWIG_IsOK(res2
)) {
34145 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34149 (arg1
)->AssignImageList(arg2
);
34150 wxPyEndAllowThreads(__tstate
);
34151 if (PyErr_Occurred()) SWIG_fail
;
34153 resultobj
= SWIG_Py_Void();
34160 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34161 PyObject
*resultobj
= 0;
34162 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34163 wxImageList
*arg2
= (wxImageList
*) 0 ;
34167 PyObject
* obj0
= 0 ;
34168 PyObject
* obj1
= 0 ;
34169 char * kwnames
[] = {
34170 (char *) "self",(char *) "imageList", NULL
34173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34175 if (!SWIG_IsOK(res1
)) {
34176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34178 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34179 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34180 if (!SWIG_IsOK(res2
)) {
34181 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34185 (arg1
)->AssignStateImageList(arg2
);
34186 wxPyEndAllowThreads(__tstate
);
34187 if (PyErr_Occurred()) SWIG_fail
;
34189 resultobj
= SWIG_Py_Void();
34196 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34197 PyObject
*resultobj
= 0;
34198 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34199 wxTreeItemId
*arg2
= 0 ;
34205 PyObject
* obj0
= 0 ;
34206 PyObject
* obj1
= 0 ;
34207 char * kwnames
[] = {
34208 (char *) "self",(char *) "item", NULL
34211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34213 if (!SWIG_IsOK(res1
)) {
34214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34216 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34217 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34218 if (!SWIG_IsOK(res2
)) {
34219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34222 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34224 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34227 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34228 wxPyEndAllowThreads(__tstate
);
34229 if (PyErr_Occurred()) SWIG_fail
;
34233 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34235 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34244 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34245 PyObject
*resultobj
= 0;
34246 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34247 wxTreeItemId
*arg2
= 0 ;
34248 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34256 PyObject
* obj0
= 0 ;
34257 PyObject
* obj1
= 0 ;
34258 PyObject
* obj2
= 0 ;
34259 char * kwnames
[] = {
34260 (char *) "self",(char *) "item",(char *) "which", NULL
34263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34265 if (!SWIG_IsOK(res1
)) {
34266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34268 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34269 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34270 if (!SWIG_IsOK(res2
)) {
34271 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34274 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34276 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34278 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34279 if (!SWIG_IsOK(ecode3
)) {
34280 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34282 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34286 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34287 wxPyEndAllowThreads(__tstate
);
34288 if (PyErr_Occurred()) SWIG_fail
;
34290 resultobj
= SWIG_From_int(static_cast< int >(result
));
34297 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34298 PyObject
*resultobj
= 0;
34299 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34300 wxTreeItemId
*arg2
= 0 ;
34301 wxPyTreeItemData
*result
= 0 ;
34306 PyObject
* obj0
= 0 ;
34307 PyObject
* obj1
= 0 ;
34308 char * kwnames
[] = {
34309 (char *) "self",(char *) "item", NULL
34312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34314 if (!SWIG_IsOK(res1
)) {
34315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34317 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34318 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34319 if (!SWIG_IsOK(res2
)) {
34320 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34323 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34325 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34328 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34329 wxPyEndAllowThreads(__tstate
);
34330 if (PyErr_Occurred()) SWIG_fail
;
34332 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34339 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34340 PyObject
*resultobj
= 0;
34341 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34342 wxTreeItemId
*arg2
= 0 ;
34343 PyObject
*result
= 0 ;
34348 PyObject
* obj0
= 0 ;
34349 PyObject
* obj1
= 0 ;
34350 char * kwnames
[] = {
34351 (char *) "self",(char *) "item", NULL
34354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34356 if (!SWIG_IsOK(res1
)) {
34357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34359 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34360 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34361 if (!SWIG_IsOK(res2
)) {
34362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34367 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34370 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34371 wxPyEndAllowThreads(__tstate
);
34372 if (PyErr_Occurred()) SWIG_fail
;
34374 resultobj
= result
;
34381 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34382 PyObject
*resultobj
= 0;
34383 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34384 wxTreeItemId
*arg2
= 0 ;
34390 PyObject
* obj0
= 0 ;
34391 PyObject
* obj1
= 0 ;
34392 char * kwnames
[] = {
34393 (char *) "self",(char *) "item", NULL
34396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34398 if (!SWIG_IsOK(res1
)) {
34399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34401 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34402 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34403 if (!SWIG_IsOK(res2
)) {
34404 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34407 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34409 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34412 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34413 wxPyEndAllowThreads(__tstate
);
34414 if (PyErr_Occurred()) SWIG_fail
;
34416 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34423 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34424 PyObject
*resultobj
= 0;
34425 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34426 wxTreeItemId
*arg2
= 0 ;
34432 PyObject
* obj0
= 0 ;
34433 PyObject
* obj1
= 0 ;
34434 char * kwnames
[] = {
34435 (char *) "self",(char *) "item", NULL
34438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34440 if (!SWIG_IsOK(res1
)) {
34441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34443 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34444 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34445 if (!SWIG_IsOK(res2
)) {
34446 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34449 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34451 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34454 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34455 wxPyEndAllowThreads(__tstate
);
34456 if (PyErr_Occurred()) SWIG_fail
;
34458 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34465 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34466 PyObject
*resultobj
= 0;
34467 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34468 wxTreeItemId
*arg2
= 0 ;
34474 PyObject
* obj0
= 0 ;
34475 PyObject
* obj1
= 0 ;
34476 char * kwnames
[] = {
34477 (char *) "self",(char *) "item", NULL
34480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34482 if (!SWIG_IsOK(res1
)) {
34483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34485 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34486 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34487 if (!SWIG_IsOK(res2
)) {
34488 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34491 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34493 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34496 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34497 wxPyEndAllowThreads(__tstate
);
34498 if (PyErr_Occurred()) SWIG_fail
;
34500 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34507 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34508 PyObject
*resultobj
= 0;
34509 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34510 wxTreeItemId
*arg2
= 0 ;
34511 wxString
*arg3
= 0 ;
34516 bool temp3
= false ;
34517 PyObject
* obj0
= 0 ;
34518 PyObject
* obj1
= 0 ;
34519 PyObject
* obj2
= 0 ;
34520 char * kwnames
[] = {
34521 (char *) "self",(char *) "item",(char *) "text", NULL
34524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34526 if (!SWIG_IsOK(res1
)) {
34527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34529 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34530 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34531 if (!SWIG_IsOK(res2
)) {
34532 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34535 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34537 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34539 arg3
= wxString_in_helper(obj2
);
34540 if (arg3
== NULL
) SWIG_fail
;
34544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34545 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34546 wxPyEndAllowThreads(__tstate
);
34547 if (PyErr_Occurred()) SWIG_fail
;
34549 resultobj
= SWIG_Py_Void();
34564 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34565 PyObject
*resultobj
= 0;
34566 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34567 wxTreeItemId
*arg2
= 0 ;
34569 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34578 PyObject
* obj0
= 0 ;
34579 PyObject
* obj1
= 0 ;
34580 PyObject
* obj2
= 0 ;
34581 PyObject
* obj3
= 0 ;
34582 char * kwnames
[] = {
34583 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34588 if (!SWIG_IsOK(res1
)) {
34589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34591 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34592 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34593 if (!SWIG_IsOK(res2
)) {
34594 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34597 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34599 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34600 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34601 if (!SWIG_IsOK(ecode3
)) {
34602 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34604 arg3
= static_cast< int >(val3
);
34606 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34607 if (!SWIG_IsOK(ecode4
)) {
34608 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34610 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34614 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34615 wxPyEndAllowThreads(__tstate
);
34616 if (PyErr_Occurred()) SWIG_fail
;
34618 resultobj
= SWIG_Py_Void();
34625 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34626 PyObject
*resultobj
= 0;
34627 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34628 wxTreeItemId
*arg2
= 0 ;
34629 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34635 PyObject
* obj0
= 0 ;
34636 PyObject
* obj1
= 0 ;
34637 PyObject
* obj2
= 0 ;
34638 char * kwnames
[] = {
34639 (char *) "self",(char *) "item",(char *) "data", NULL
34642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34644 if (!SWIG_IsOK(res1
)) {
34645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34647 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34648 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34649 if (!SWIG_IsOK(res2
)) {
34650 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34653 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34655 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34656 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34657 if (!SWIG_IsOK(res3
)) {
34658 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34662 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34663 wxPyEndAllowThreads(__tstate
);
34664 if (PyErr_Occurred()) SWIG_fail
;
34666 resultobj
= SWIG_Py_Void();
34673 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34674 PyObject
*resultobj
= 0;
34675 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34676 wxTreeItemId
*arg2
= 0 ;
34677 PyObject
*arg3
= (PyObject
*) 0 ;
34682 PyObject
* obj0
= 0 ;
34683 PyObject
* obj1
= 0 ;
34684 PyObject
* obj2
= 0 ;
34685 char * kwnames
[] = {
34686 (char *) "self",(char *) "item",(char *) "obj", NULL
34689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34691 if (!SWIG_IsOK(res1
)) {
34692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34694 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34695 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34696 if (!SWIG_IsOK(res2
)) {
34697 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34700 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34702 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34706 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34707 wxPyEndAllowThreads(__tstate
);
34708 if (PyErr_Occurred()) SWIG_fail
;
34710 resultobj
= SWIG_Py_Void();
34717 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34718 PyObject
*resultobj
= 0;
34719 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34720 wxTreeItemId
*arg2
= 0 ;
34721 bool arg3
= (bool) true ;
34728 PyObject
* obj0
= 0 ;
34729 PyObject
* obj1
= 0 ;
34730 PyObject
* obj2
= 0 ;
34731 char * kwnames
[] = {
34732 (char *) "self",(char *) "item",(char *) "has", NULL
34735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34737 if (!SWIG_IsOK(res1
)) {
34738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34740 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34741 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34742 if (!SWIG_IsOK(res2
)) {
34743 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34746 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34748 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34750 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34751 if (!SWIG_IsOK(ecode3
)) {
34752 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34754 arg3
= static_cast< bool >(val3
);
34757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34758 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34759 wxPyEndAllowThreads(__tstate
);
34760 if (PyErr_Occurred()) SWIG_fail
;
34762 resultobj
= SWIG_Py_Void();
34769 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34770 PyObject
*resultobj
= 0;
34771 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34772 wxTreeItemId
*arg2
= 0 ;
34773 bool arg3
= (bool) true ;
34780 PyObject
* obj0
= 0 ;
34781 PyObject
* obj1
= 0 ;
34782 PyObject
* obj2
= 0 ;
34783 char * kwnames
[] = {
34784 (char *) "self",(char *) "item",(char *) "bold", NULL
34787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34789 if (!SWIG_IsOK(res1
)) {
34790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34792 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34793 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34794 if (!SWIG_IsOK(res2
)) {
34795 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34798 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34800 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34802 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34803 if (!SWIG_IsOK(ecode3
)) {
34804 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34806 arg3
= static_cast< bool >(val3
);
34809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34810 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
34811 wxPyEndAllowThreads(__tstate
);
34812 if (PyErr_Occurred()) SWIG_fail
;
34814 resultobj
= SWIG_Py_Void();
34821 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34822 PyObject
*resultobj
= 0;
34823 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34824 wxTreeItemId
*arg2
= 0 ;
34825 bool arg3
= (bool) true ;
34832 PyObject
* obj0
= 0 ;
34833 PyObject
* obj1
= 0 ;
34834 PyObject
* obj2
= 0 ;
34835 char * kwnames
[] = {
34836 (char *) "self",(char *) "item",(char *) "highlight", NULL
34839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34841 if (!SWIG_IsOK(res1
)) {
34842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34844 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34845 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34846 if (!SWIG_IsOK(res2
)) {
34847 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34850 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34852 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34854 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34855 if (!SWIG_IsOK(ecode3
)) {
34856 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34858 arg3
= static_cast< bool >(val3
);
34861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34862 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
34863 wxPyEndAllowThreads(__tstate
);
34864 if (PyErr_Occurred()) SWIG_fail
;
34866 resultobj
= SWIG_Py_Void();
34873 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34874 PyObject
*resultobj
= 0;
34875 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34876 wxTreeItemId
*arg2
= 0 ;
34877 wxColour
*arg3
= 0 ;
34883 PyObject
* obj0
= 0 ;
34884 PyObject
* obj1
= 0 ;
34885 PyObject
* obj2
= 0 ;
34886 char * kwnames
[] = {
34887 (char *) "self",(char *) "item",(char *) "col", NULL
34890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34892 if (!SWIG_IsOK(res1
)) {
34893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34895 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34896 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34897 if (!SWIG_IsOK(res2
)) {
34898 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34901 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34903 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34906 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34910 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34911 wxPyEndAllowThreads(__tstate
);
34912 if (PyErr_Occurred()) SWIG_fail
;
34914 resultobj
= SWIG_Py_Void();
34921 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34922 PyObject
*resultobj
= 0;
34923 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34924 wxTreeItemId
*arg2
= 0 ;
34925 wxColour
*arg3
= 0 ;
34931 PyObject
* obj0
= 0 ;
34932 PyObject
* obj1
= 0 ;
34933 PyObject
* obj2
= 0 ;
34934 char * kwnames
[] = {
34935 (char *) "self",(char *) "item",(char *) "col", NULL
34938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34940 if (!SWIG_IsOK(res1
)) {
34941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34943 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34944 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34945 if (!SWIG_IsOK(res2
)) {
34946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34949 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34951 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34954 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34958 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34959 wxPyEndAllowThreads(__tstate
);
34960 if (PyErr_Occurred()) SWIG_fail
;
34962 resultobj
= SWIG_Py_Void();
34969 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34970 PyObject
*resultobj
= 0;
34971 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34972 wxTreeItemId
*arg2
= 0 ;
34980 PyObject
* obj0
= 0 ;
34981 PyObject
* obj1
= 0 ;
34982 PyObject
* obj2
= 0 ;
34983 char * kwnames
[] = {
34984 (char *) "self",(char *) "item",(char *) "font", NULL
34987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34989 if (!SWIG_IsOK(res1
)) {
34990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34992 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34993 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34994 if (!SWIG_IsOK(res2
)) {
34995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34998 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35000 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35001 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35002 if (!SWIG_IsOK(res3
)) {
35003 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35006 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35008 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35011 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35012 wxPyEndAllowThreads(__tstate
);
35013 if (PyErr_Occurred()) SWIG_fail
;
35015 resultobj
= SWIG_Py_Void();
35022 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35023 PyObject
*resultobj
= 0;
35024 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35025 wxTreeItemId
*arg2
= 0 ;
35031 PyObject
* obj0
= 0 ;
35032 PyObject
* obj1
= 0 ;
35033 char * kwnames
[] = {
35034 (char *) "self",(char *) "item", NULL
35037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35039 if (!SWIG_IsOK(res1
)) {
35040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35042 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35043 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35044 if (!SWIG_IsOK(res2
)) {
35045 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35048 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35050 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35053 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35054 wxPyEndAllowThreads(__tstate
);
35055 if (PyErr_Occurred()) SWIG_fail
;
35058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35066 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35067 PyObject
*resultobj
= 0;
35068 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35069 wxTreeItemId
*arg2
= 0 ;
35075 PyObject
* obj0
= 0 ;
35076 PyObject
* obj1
= 0 ;
35077 char * kwnames
[] = {
35078 (char *) "self",(char *) "item", NULL
35081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35083 if (!SWIG_IsOK(res1
)) {
35084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35086 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35087 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35088 if (!SWIG_IsOK(res2
)) {
35089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35092 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35094 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35097 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35098 wxPyEndAllowThreads(__tstate
);
35099 if (PyErr_Occurred()) SWIG_fail
;
35102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35110 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35111 PyObject
*resultobj
= 0;
35112 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35113 wxTreeItemId
*arg2
= 0 ;
35119 PyObject
* obj0
= 0 ;
35120 PyObject
* obj1
= 0 ;
35121 char * kwnames
[] = {
35122 (char *) "self",(char *) "item", NULL
35125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35127 if (!SWIG_IsOK(res1
)) {
35128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35130 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35131 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35132 if (!SWIG_IsOK(res2
)) {
35133 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35136 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35138 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35141 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35142 wxPyEndAllowThreads(__tstate
);
35143 if (PyErr_Occurred()) SWIG_fail
;
35146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35154 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35155 PyObject
*resultobj
= 0;
35156 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35157 wxTreeItemId
*arg2
= 0 ;
35163 PyObject
* obj0
= 0 ;
35164 PyObject
* obj1
= 0 ;
35165 char * kwnames
[] = {
35166 (char *) "self",(char *) "item", NULL
35169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35171 if (!SWIG_IsOK(res1
)) {
35172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35174 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35175 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35176 if (!SWIG_IsOK(res2
)) {
35177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35182 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35185 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35186 wxPyEndAllowThreads(__tstate
);
35187 if (PyErr_Occurred()) SWIG_fail
;
35190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35198 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35199 PyObject
*resultobj
= 0;
35200 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35201 wxTreeItemId
*arg2
= 0 ;
35207 PyObject
* obj0
= 0 ;
35208 PyObject
* obj1
= 0 ;
35209 char * kwnames
[] = {
35210 (char *) "self",(char *) "item", NULL
35213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35215 if (!SWIG_IsOK(res1
)) {
35216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35218 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35219 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35220 if (!SWIG_IsOK(res2
)) {
35221 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35224 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35226 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35229 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35230 wxPyEndAllowThreads(__tstate
);
35231 if (PyErr_Occurred()) SWIG_fail
;
35234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35242 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35243 PyObject
*resultobj
= 0;
35244 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35245 wxTreeItemId
*arg2
= 0 ;
35246 bool arg3
= (bool) true ;
35254 PyObject
* obj0
= 0 ;
35255 PyObject
* obj1
= 0 ;
35256 PyObject
* obj2
= 0 ;
35257 char * kwnames
[] = {
35258 (char *) "self",(char *) "item",(char *) "recursively", NULL
35261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35263 if (!SWIG_IsOK(res1
)) {
35264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35266 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35267 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35268 if (!SWIG_IsOK(res2
)) {
35269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35272 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35274 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35276 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35277 if (!SWIG_IsOK(ecode3
)) {
35278 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35280 arg3
= static_cast< bool >(val3
);
35283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35284 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35285 wxPyEndAllowThreads(__tstate
);
35286 if (PyErr_Occurred()) SWIG_fail
;
35288 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35295 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35296 PyObject
*resultobj
= 0;
35297 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35298 wxTreeItemId result
;
35301 PyObject
*swig_obj
[1] ;
35303 if (!args
) SWIG_fail
;
35304 swig_obj
[0] = args
;
35305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35306 if (!SWIG_IsOK(res1
)) {
35307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35309 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35312 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35313 wxPyEndAllowThreads(__tstate
);
35314 if (PyErr_Occurred()) SWIG_fail
;
35316 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35323 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35324 PyObject
*resultobj
= 0;
35325 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35326 wxTreeItemId result
;
35329 PyObject
*swig_obj
[1] ;
35331 if (!args
) SWIG_fail
;
35332 swig_obj
[0] = args
;
35333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35334 if (!SWIG_IsOK(res1
)) {
35335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35337 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35340 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35341 wxPyEndAllowThreads(__tstate
);
35342 if (PyErr_Occurred()) SWIG_fail
;
35344 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35351 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35352 PyObject
*resultobj
= 0;
35353 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35354 PyObject
*result
= 0 ;
35357 PyObject
*swig_obj
[1] ;
35359 if (!args
) SWIG_fail
;
35360 swig_obj
[0] = args
;
35361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35362 if (!SWIG_IsOK(res1
)) {
35363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35365 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35368 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35369 wxPyEndAllowThreads(__tstate
);
35370 if (PyErr_Occurred()) SWIG_fail
;
35372 resultobj
= result
;
35379 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35380 PyObject
*resultobj
= 0;
35381 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35382 wxTreeItemId
*arg2
= 0 ;
35383 wxTreeItemId result
;
35388 PyObject
* obj0
= 0 ;
35389 PyObject
* obj1
= 0 ;
35390 char * kwnames
[] = {
35391 (char *) "self",(char *) "item", NULL
35394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35396 if (!SWIG_IsOK(res1
)) {
35397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35399 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35400 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35401 if (!SWIG_IsOK(res2
)) {
35402 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35405 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35407 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35410 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35411 wxPyEndAllowThreads(__tstate
);
35412 if (PyErr_Occurred()) SWIG_fail
;
35414 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35421 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35422 PyObject
*resultobj
= 0;
35423 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35424 wxTreeItemId
*arg2
= 0 ;
35425 PyObject
*result
= 0 ;
35430 PyObject
* obj0
= 0 ;
35431 PyObject
* obj1
= 0 ;
35432 char * kwnames
[] = {
35433 (char *) "self",(char *) "item", NULL
35436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35438 if (!SWIG_IsOK(res1
)) {
35439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35441 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35442 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35443 if (!SWIG_IsOK(res2
)) {
35444 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35447 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35449 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35452 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35453 wxPyEndAllowThreads(__tstate
);
35454 if (PyErr_Occurred()) SWIG_fail
;
35456 resultobj
= result
;
35463 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35464 PyObject
*resultobj
= 0;
35465 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35466 wxTreeItemId
*arg2
= 0 ;
35467 void *arg3
= (void *) 0 ;
35468 PyObject
*result
= 0 ;
35474 PyObject
* obj0
= 0 ;
35475 PyObject
* obj1
= 0 ;
35476 PyObject
* obj2
= 0 ;
35477 char * kwnames
[] = {
35478 (char *) "self",(char *) "item",(char *) "cookie", NULL
35481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35483 if (!SWIG_IsOK(res1
)) {
35484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35486 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35487 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35488 if (!SWIG_IsOK(res2
)) {
35489 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35492 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35494 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35495 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35496 if (!SWIG_IsOK(res3
)) {
35497 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35501 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35502 wxPyEndAllowThreads(__tstate
);
35503 if (PyErr_Occurred()) SWIG_fail
;
35505 resultobj
= result
;
35512 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35513 PyObject
*resultobj
= 0;
35514 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35515 wxTreeItemId
*arg2
= 0 ;
35516 wxTreeItemId result
;
35521 PyObject
* obj0
= 0 ;
35522 PyObject
* obj1
= 0 ;
35523 char * kwnames
[] = {
35524 (char *) "self",(char *) "item", NULL
35527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35529 if (!SWIG_IsOK(res1
)) {
35530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35532 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35533 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35534 if (!SWIG_IsOK(res2
)) {
35535 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35538 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35540 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35543 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35544 wxPyEndAllowThreads(__tstate
);
35545 if (PyErr_Occurred()) SWIG_fail
;
35547 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35554 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35555 PyObject
*resultobj
= 0;
35556 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35557 wxTreeItemId
*arg2
= 0 ;
35558 wxTreeItemId result
;
35563 PyObject
* obj0
= 0 ;
35564 PyObject
* obj1
= 0 ;
35565 char * kwnames
[] = {
35566 (char *) "self",(char *) "item", NULL
35569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35571 if (!SWIG_IsOK(res1
)) {
35572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35574 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35575 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35576 if (!SWIG_IsOK(res2
)) {
35577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35580 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35582 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35585 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35586 wxPyEndAllowThreads(__tstate
);
35587 if (PyErr_Occurred()) SWIG_fail
;
35589 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35596 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35597 PyObject
*resultobj
= 0;
35598 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35599 wxTreeItemId
*arg2
= 0 ;
35600 wxTreeItemId result
;
35605 PyObject
* obj0
= 0 ;
35606 PyObject
* obj1
= 0 ;
35607 char * kwnames
[] = {
35608 (char *) "self",(char *) "item", NULL
35611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35613 if (!SWIG_IsOK(res1
)) {
35614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35616 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35617 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35618 if (!SWIG_IsOK(res2
)) {
35619 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35622 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35624 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35627 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35628 wxPyEndAllowThreads(__tstate
);
35629 if (PyErr_Occurred()) SWIG_fail
;
35631 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35638 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35639 PyObject
*resultobj
= 0;
35640 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35641 wxTreeItemId result
;
35644 PyObject
*swig_obj
[1] ;
35646 if (!args
) SWIG_fail
;
35647 swig_obj
[0] = args
;
35648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35649 if (!SWIG_IsOK(res1
)) {
35650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35652 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35655 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35656 wxPyEndAllowThreads(__tstate
);
35657 if (PyErr_Occurred()) SWIG_fail
;
35659 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35666 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35667 PyObject
*resultobj
= 0;
35668 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35669 wxTreeItemId
*arg2
= 0 ;
35670 wxTreeItemId result
;
35675 PyObject
* obj0
= 0 ;
35676 PyObject
* obj1
= 0 ;
35677 char * kwnames
[] = {
35678 (char *) "self",(char *) "item", NULL
35681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35683 if (!SWIG_IsOK(res1
)) {
35684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35686 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35687 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35688 if (!SWIG_IsOK(res2
)) {
35689 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35692 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35694 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35697 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35698 wxPyEndAllowThreads(__tstate
);
35699 if (PyErr_Occurred()) SWIG_fail
;
35701 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35708 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35709 PyObject
*resultobj
= 0;
35710 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35711 wxTreeItemId
*arg2
= 0 ;
35712 wxTreeItemId result
;
35717 PyObject
* obj0
= 0 ;
35718 PyObject
* obj1
= 0 ;
35719 char * kwnames
[] = {
35720 (char *) "self",(char *) "item", NULL
35723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35725 if (!SWIG_IsOK(res1
)) {
35726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35728 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35729 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35730 if (!SWIG_IsOK(res2
)) {
35731 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35734 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35736 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35739 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35740 wxPyEndAllowThreads(__tstate
);
35741 if (PyErr_Occurred()) SWIG_fail
;
35743 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35750 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35751 PyObject
*resultobj
= 0;
35752 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35753 wxString
*arg2
= 0 ;
35754 int arg3
= (int) -1 ;
35755 int arg4
= (int) -1 ;
35756 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35757 wxTreeItemId result
;
35760 bool temp2
= false ;
35766 PyObject
* obj0
= 0 ;
35767 PyObject
* obj1
= 0 ;
35768 PyObject
* obj2
= 0 ;
35769 PyObject
* obj3
= 0 ;
35770 PyObject
* obj4
= 0 ;
35771 char * kwnames
[] = {
35772 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35777 if (!SWIG_IsOK(res1
)) {
35778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35780 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35782 arg2
= wxString_in_helper(obj1
);
35783 if (arg2
== NULL
) SWIG_fail
;
35787 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35788 if (!SWIG_IsOK(ecode3
)) {
35789 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35791 arg3
= static_cast< int >(val3
);
35794 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35795 if (!SWIG_IsOK(ecode4
)) {
35796 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35798 arg4
= static_cast< int >(val4
);
35801 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35802 if (!SWIG_IsOK(res5
)) {
35803 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
35807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35808 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
35809 wxPyEndAllowThreads(__tstate
);
35810 if (PyErr_Occurred()) SWIG_fail
;
35812 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35827 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35828 PyObject
*resultobj
= 0;
35829 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35830 wxTreeItemId
*arg2
= 0 ;
35831 wxString
*arg3
= 0 ;
35832 int arg4
= (int) -1 ;
35833 int arg5
= (int) -1 ;
35834 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35835 wxTreeItemId result
;
35840 bool temp3
= false ;
35846 PyObject
* obj0
= 0 ;
35847 PyObject
* obj1
= 0 ;
35848 PyObject
* obj2
= 0 ;
35849 PyObject
* obj3
= 0 ;
35850 PyObject
* obj4
= 0 ;
35851 PyObject
* obj5
= 0 ;
35852 char * kwnames
[] = {
35853 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35858 if (!SWIG_IsOK(res1
)) {
35859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35861 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35862 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35863 if (!SWIG_IsOK(res2
)) {
35864 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35867 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35869 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35871 arg3
= wxString_in_helper(obj2
);
35872 if (arg3
== NULL
) SWIG_fail
;
35876 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35877 if (!SWIG_IsOK(ecode4
)) {
35878 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
35880 arg4
= static_cast< int >(val4
);
35883 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35884 if (!SWIG_IsOK(ecode5
)) {
35885 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
35887 arg5
= static_cast< int >(val5
);
35890 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35891 if (!SWIG_IsOK(res6
)) {
35892 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35897 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35898 wxPyEndAllowThreads(__tstate
);
35899 if (PyErr_Occurred()) SWIG_fail
;
35901 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35916 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35917 PyObject
*resultobj
= 0;
35918 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35919 wxTreeItemId
*arg2
= 0 ;
35920 wxTreeItemId
*arg3
= 0 ;
35921 wxString
*arg4
= 0 ;
35922 int arg5
= (int) -1 ;
35923 int arg6
= (int) -1 ;
35924 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35925 wxTreeItemId result
;
35932 bool temp4
= false ;
35938 PyObject
* obj0
= 0 ;
35939 PyObject
* obj1
= 0 ;
35940 PyObject
* obj2
= 0 ;
35941 PyObject
* obj3
= 0 ;
35942 PyObject
* obj4
= 0 ;
35943 PyObject
* obj5
= 0 ;
35944 PyObject
* obj6
= 0 ;
35945 char * kwnames
[] = {
35946 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35951 if (!SWIG_IsOK(res1
)) {
35952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35954 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35955 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35956 if (!SWIG_IsOK(res2
)) {
35957 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35960 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35962 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35963 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35964 if (!SWIG_IsOK(res3
)) {
35965 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35968 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35970 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
35972 arg4
= wxString_in_helper(obj3
);
35973 if (arg4
== NULL
) SWIG_fail
;
35977 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35978 if (!SWIG_IsOK(ecode5
)) {
35979 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
35981 arg5
= static_cast< int >(val5
);
35984 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35985 if (!SWIG_IsOK(ecode6
)) {
35986 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
35988 arg6
= static_cast< int >(val6
);
35991 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35992 if (!SWIG_IsOK(res7
)) {
35993 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35998 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35999 wxPyEndAllowThreads(__tstate
);
36000 if (PyErr_Occurred()) SWIG_fail
;
36002 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36017 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36018 PyObject
*resultobj
= 0;
36019 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36020 wxTreeItemId
*arg2
= 0 ;
36022 wxString
*arg4
= 0 ;
36023 int arg5
= (int) -1 ;
36024 int arg6
= (int) -1 ;
36025 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36026 wxTreeItemId result
;
36033 bool temp4
= false ;
36039 PyObject
* obj0
= 0 ;
36040 PyObject
* obj1
= 0 ;
36041 PyObject
* obj2
= 0 ;
36042 PyObject
* obj3
= 0 ;
36043 PyObject
* obj4
= 0 ;
36044 PyObject
* obj5
= 0 ;
36045 PyObject
* obj6
= 0 ;
36046 char * kwnames
[] = {
36047 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36052 if (!SWIG_IsOK(res1
)) {
36053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36055 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36056 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36057 if (!SWIG_IsOK(res2
)) {
36058 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36061 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36063 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36064 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36065 if (!SWIG_IsOK(ecode3
)) {
36066 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36068 arg3
= static_cast< size_t >(val3
);
36070 arg4
= wxString_in_helper(obj3
);
36071 if (arg4
== NULL
) SWIG_fail
;
36075 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36076 if (!SWIG_IsOK(ecode5
)) {
36077 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36079 arg5
= static_cast< int >(val5
);
36082 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36083 if (!SWIG_IsOK(ecode6
)) {
36084 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36086 arg6
= static_cast< int >(val6
);
36089 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36090 if (!SWIG_IsOK(res7
)) {
36091 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36096 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36097 wxPyEndAllowThreads(__tstate
);
36098 if (PyErr_Occurred()) SWIG_fail
;
36100 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36115 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36116 PyObject
*resultobj
= 0;
36117 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36118 wxTreeItemId
*arg2
= 0 ;
36119 wxString
*arg3
= 0 ;
36120 int arg4
= (int) -1 ;
36121 int arg5
= (int) -1 ;
36122 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36123 wxTreeItemId result
;
36128 bool temp3
= false ;
36134 PyObject
* obj0
= 0 ;
36135 PyObject
* obj1
= 0 ;
36136 PyObject
* obj2
= 0 ;
36137 PyObject
* obj3
= 0 ;
36138 PyObject
* obj4
= 0 ;
36139 PyObject
* obj5
= 0 ;
36140 char * kwnames
[] = {
36141 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36146 if (!SWIG_IsOK(res1
)) {
36147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36149 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36150 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36151 if (!SWIG_IsOK(res2
)) {
36152 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36155 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36157 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36159 arg3
= wxString_in_helper(obj2
);
36160 if (arg3
== NULL
) SWIG_fail
;
36164 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36165 if (!SWIG_IsOK(ecode4
)) {
36166 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36168 arg4
= static_cast< int >(val4
);
36171 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36172 if (!SWIG_IsOK(ecode5
)) {
36173 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36175 arg5
= static_cast< int >(val5
);
36178 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36179 if (!SWIG_IsOK(res6
)) {
36180 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36185 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36186 wxPyEndAllowThreads(__tstate
);
36187 if (PyErr_Occurred()) SWIG_fail
;
36189 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36204 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36205 PyObject
*resultobj
= 0;
36206 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36207 wxTreeItemId
*arg2
= 0 ;
36212 PyObject
* obj0
= 0 ;
36213 PyObject
* obj1
= 0 ;
36214 char * kwnames
[] = {
36215 (char *) "self",(char *) "item", NULL
36218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36220 if (!SWIG_IsOK(res1
)) {
36221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36223 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36224 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36225 if (!SWIG_IsOK(res2
)) {
36226 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36229 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36231 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36234 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36235 wxPyEndAllowThreads(__tstate
);
36236 if (PyErr_Occurred()) SWIG_fail
;
36238 resultobj
= SWIG_Py_Void();
36245 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36246 PyObject
*resultobj
= 0;
36247 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36248 wxTreeItemId
*arg2
= 0 ;
36253 PyObject
* obj0
= 0 ;
36254 PyObject
* obj1
= 0 ;
36255 char * kwnames
[] = {
36256 (char *) "self",(char *) "item", NULL
36259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36261 if (!SWIG_IsOK(res1
)) {
36262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36264 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36265 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36266 if (!SWIG_IsOK(res2
)) {
36267 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36270 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36272 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36275 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36276 wxPyEndAllowThreads(__tstate
);
36277 if (PyErr_Occurred()) SWIG_fail
;
36279 resultobj
= SWIG_Py_Void();
36286 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36287 PyObject
*resultobj
= 0;
36288 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36291 PyObject
*swig_obj
[1] ;
36293 if (!args
) SWIG_fail
;
36294 swig_obj
[0] = args
;
36295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36296 if (!SWIG_IsOK(res1
)) {
36297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36299 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36302 (arg1
)->DeleteAllItems();
36303 wxPyEndAllowThreads(__tstate
);
36304 if (PyErr_Occurred()) SWIG_fail
;
36306 resultobj
= SWIG_Py_Void();
36313 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36314 PyObject
*resultobj
= 0;
36315 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36316 wxTreeItemId
*arg2
= 0 ;
36321 PyObject
* obj0
= 0 ;
36322 PyObject
* obj1
= 0 ;
36323 char * kwnames
[] = {
36324 (char *) "self",(char *) "item", NULL
36327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36329 if (!SWIG_IsOK(res1
)) {
36330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36332 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36333 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36334 if (!SWIG_IsOK(res2
)) {
36335 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36338 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36340 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36343 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36344 wxPyEndAllowThreads(__tstate
);
36345 if (PyErr_Occurred()) SWIG_fail
;
36347 resultobj
= SWIG_Py_Void();
36354 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36355 PyObject
*resultobj
= 0;
36356 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36357 wxTreeItemId
*arg2
= 0 ;
36362 PyObject
* obj0
= 0 ;
36363 PyObject
* obj1
= 0 ;
36364 char * kwnames
[] = {
36365 (char *) "self",(char *) "item", NULL
36368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36370 if (!SWIG_IsOK(res1
)) {
36371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36373 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36374 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36375 if (!SWIG_IsOK(res2
)) {
36376 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36379 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36381 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36384 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36385 wxPyEndAllowThreads(__tstate
);
36386 if (PyErr_Occurred()) SWIG_fail
;
36388 resultobj
= SWIG_Py_Void();
36395 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36396 PyObject
*resultobj
= 0;
36397 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36398 wxTreeItemId
*arg2
= 0 ;
36403 PyObject
* obj0
= 0 ;
36404 PyObject
* obj1
= 0 ;
36405 char * kwnames
[] = {
36406 (char *) "self",(char *) "item", NULL
36409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36411 if (!SWIG_IsOK(res1
)) {
36412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36414 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36415 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36416 if (!SWIG_IsOK(res2
)) {
36417 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36420 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36422 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36425 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36426 wxPyEndAllowThreads(__tstate
);
36427 if (PyErr_Occurred()) SWIG_fail
;
36429 resultobj
= SWIG_Py_Void();
36436 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36437 PyObject
*resultobj
= 0;
36438 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36439 wxTreeItemId
*arg2
= 0 ;
36444 PyObject
* obj0
= 0 ;
36445 PyObject
* obj1
= 0 ;
36446 char * kwnames
[] = {
36447 (char *) "self",(char *) "item", NULL
36450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36452 if (!SWIG_IsOK(res1
)) {
36453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36455 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36456 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36457 if (!SWIG_IsOK(res2
)) {
36458 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36461 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36463 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36466 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36467 wxPyEndAllowThreads(__tstate
);
36468 if (PyErr_Occurred()) SWIG_fail
;
36470 resultobj
= SWIG_Py_Void();
36477 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36478 PyObject
*resultobj
= 0;
36479 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36482 PyObject
*swig_obj
[1] ;
36484 if (!args
) SWIG_fail
;
36485 swig_obj
[0] = args
;
36486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36487 if (!SWIG_IsOK(res1
)) {
36488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36490 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36493 (arg1
)->Unselect();
36494 wxPyEndAllowThreads(__tstate
);
36495 if (PyErr_Occurred()) SWIG_fail
;
36497 resultobj
= SWIG_Py_Void();
36504 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36505 PyObject
*resultobj
= 0;
36506 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36507 wxTreeItemId
*arg2
= 0 ;
36512 PyObject
* obj0
= 0 ;
36513 PyObject
* obj1
= 0 ;
36514 char * kwnames
[] = {
36515 (char *) "self",(char *) "item", NULL
36518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36520 if (!SWIG_IsOK(res1
)) {
36521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36523 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36524 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36525 if (!SWIG_IsOK(res2
)) {
36526 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36529 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36531 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36534 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36535 wxPyEndAllowThreads(__tstate
);
36536 if (PyErr_Occurred()) SWIG_fail
;
36538 resultobj
= SWIG_Py_Void();
36545 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36546 PyObject
*resultobj
= 0;
36547 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36550 PyObject
*swig_obj
[1] ;
36552 if (!args
) SWIG_fail
;
36553 swig_obj
[0] = args
;
36554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36555 if (!SWIG_IsOK(res1
)) {
36556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36558 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36561 (arg1
)->UnselectAll();
36562 wxPyEndAllowThreads(__tstate
);
36563 if (PyErr_Occurred()) SWIG_fail
;
36565 resultobj
= SWIG_Py_Void();
36572 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36573 PyObject
*resultobj
= 0;
36574 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36575 wxTreeItemId
*arg2
= 0 ;
36576 bool arg3
= (bool) true ;
36583 PyObject
* obj0
= 0 ;
36584 PyObject
* obj1
= 0 ;
36585 PyObject
* obj2
= 0 ;
36586 char * kwnames
[] = {
36587 (char *) "self",(char *) "item",(char *) "select", NULL
36590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36592 if (!SWIG_IsOK(res1
)) {
36593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36595 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36596 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36597 if (!SWIG_IsOK(res2
)) {
36598 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36601 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36603 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36605 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36606 if (!SWIG_IsOK(ecode3
)) {
36607 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36609 arg3
= static_cast< bool >(val3
);
36612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36613 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36614 wxPyEndAllowThreads(__tstate
);
36615 if (PyErr_Occurred()) SWIG_fail
;
36617 resultobj
= SWIG_Py_Void();
36624 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36625 PyObject
*resultobj
= 0;
36626 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36627 wxTreeItemId
*arg2
= 0 ;
36632 PyObject
* obj0
= 0 ;
36633 PyObject
* obj1
= 0 ;
36634 char * kwnames
[] = {
36635 (char *) "self",(char *) "item", NULL
36638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36640 if (!SWIG_IsOK(res1
)) {
36641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36643 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36644 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36645 if (!SWIG_IsOK(res2
)) {
36646 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36649 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36651 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36654 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36655 wxPyEndAllowThreads(__tstate
);
36656 if (PyErr_Occurred()) SWIG_fail
;
36658 resultobj
= SWIG_Py_Void();
36665 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36666 PyObject
*resultobj
= 0;
36667 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36668 wxTreeItemId
*arg2
= 0 ;
36673 PyObject
* obj0
= 0 ;
36674 PyObject
* obj1
= 0 ;
36675 char * kwnames
[] = {
36676 (char *) "self",(char *) "item", NULL
36679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36681 if (!SWIG_IsOK(res1
)) {
36682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36684 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36685 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36686 if (!SWIG_IsOK(res2
)) {
36687 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36690 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36692 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36695 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36696 wxPyEndAllowThreads(__tstate
);
36697 if (PyErr_Occurred()) SWIG_fail
;
36699 resultobj
= SWIG_Py_Void();
36706 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36707 PyObject
*resultobj
= 0;
36708 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36709 wxTreeItemId
*arg2
= 0 ;
36714 PyObject
* obj0
= 0 ;
36715 PyObject
* obj1
= 0 ;
36716 char * kwnames
[] = {
36717 (char *) "self",(char *) "item", NULL
36720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36722 if (!SWIG_IsOK(res1
)) {
36723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36725 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36726 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36727 if (!SWIG_IsOK(res2
)) {
36728 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36731 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36733 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36736 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
36737 wxPyEndAllowThreads(__tstate
);
36738 if (PyErr_Occurred()) SWIG_fail
;
36740 resultobj
= SWIG_Py_Void();
36747 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36748 PyObject
*resultobj
= 0;
36749 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36750 wxTreeItemId
*arg2
= 0 ;
36755 PyObject
* obj0
= 0 ;
36756 PyObject
* obj1
= 0 ;
36757 char * kwnames
[] = {
36758 (char *) "self",(char *) "item", NULL
36761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36763 if (!SWIG_IsOK(res1
)) {
36764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36766 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36767 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36768 if (!SWIG_IsOK(res2
)) {
36769 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36772 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36774 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36777 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
36778 wxPyEndAllowThreads(__tstate
);
36779 if (PyErr_Occurred()) SWIG_fail
;
36781 resultobj
= SWIG_Py_Void();
36788 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36789 PyObject
*resultobj
= 0;
36790 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36791 wxTextCtrl
*result
= 0 ;
36794 PyObject
*swig_obj
[1] ;
36796 if (!args
) SWIG_fail
;
36797 swig_obj
[0] = args
;
36798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36799 if (!SWIG_IsOK(res1
)) {
36800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36802 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36805 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
36806 wxPyEndAllowThreads(__tstate
);
36807 if (PyErr_Occurred()) SWIG_fail
;
36810 resultobj
= wxPyMake_wxObject(result
, 0);
36818 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36819 PyObject
*resultobj
= 0;
36820 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36821 wxTreeItemId
*arg2
= 0 ;
36826 PyObject
* obj0
= 0 ;
36827 PyObject
* obj1
= 0 ;
36828 char * kwnames
[] = {
36829 (char *) "self",(char *) "item", NULL
36832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36834 if (!SWIG_IsOK(res1
)) {
36835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36837 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36838 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36839 if (!SWIG_IsOK(res2
)) {
36840 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36843 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36845 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36848 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
36849 wxPyEndAllowThreads(__tstate
);
36850 if (PyErr_Occurred()) SWIG_fail
;
36852 resultobj
= SWIG_Py_Void();
36859 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36860 PyObject
*resultobj
= 0;
36861 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36862 wxPoint
*arg2
= 0 ;
36864 wxTreeItemId result
;
36869 int res3
= SWIG_TMPOBJ
;
36870 PyObject
* obj0
= 0 ;
36871 PyObject
* obj1
= 0 ;
36872 char * kwnames
[] = {
36873 (char *) "self",(char *) "point", NULL
36877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36879 if (!SWIG_IsOK(res1
)) {
36880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36882 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36885 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36889 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
36890 wxPyEndAllowThreads(__tstate
);
36891 if (PyErr_Occurred()) SWIG_fail
;
36893 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36894 if (SWIG_IsTmpObj(res3
)) {
36895 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
36897 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36898 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
36906 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36907 PyObject
*resultobj
= 0;
36908 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36909 wxTreeItemId
*arg2
= 0 ;
36910 bool arg3
= (bool) false ;
36911 PyObject
*result
= 0 ;
36918 PyObject
* obj0
= 0 ;
36919 PyObject
* obj1
= 0 ;
36920 PyObject
* obj2
= 0 ;
36921 char * kwnames
[] = {
36922 (char *) "self",(char *) "item",(char *) "textOnly", NULL
36925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36927 if (!SWIG_IsOK(res1
)) {
36928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36930 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36931 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36932 if (!SWIG_IsOK(res2
)) {
36933 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36936 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36938 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36940 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36941 if (!SWIG_IsOK(ecode3
)) {
36942 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
36944 arg3
= static_cast< bool >(val3
);
36947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36948 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
36949 wxPyEndAllowThreads(__tstate
);
36950 if (PyErr_Occurred()) SWIG_fail
;
36952 resultobj
= result
;
36959 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36960 PyObject
*resultobj
= 0;
36961 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
36962 SwigValueWrapper
<wxVisualAttributes
> result
;
36965 PyObject
* obj0
= 0 ;
36966 char * kwnames
[] = {
36967 (char *) "variant", NULL
36970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
36972 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
36973 if (!SWIG_IsOK(ecode1
)) {
36974 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
36976 arg1
= static_cast< wxWindowVariant
>(val1
);
36979 if (!wxPyCheckForApp()) SWIG_fail
;
36980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36981 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
36982 wxPyEndAllowThreads(__tstate
);
36983 if (PyErr_Occurred()) SWIG_fail
;
36985 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
36992 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36993 PyObject
*resultobj
= 0;
36994 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37000 PyObject
* obj0
= 0 ;
37001 PyObject
* obj1
= 0 ;
37002 char * kwnames
[] = {
37003 (char *) "self",(char *) "q", NULL
37006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37008 if (!SWIG_IsOK(res1
)) {
37009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37011 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37012 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37013 if (!SWIG_IsOK(ecode2
)) {
37014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37016 arg2
= static_cast< bool >(val2
);
37018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37019 (arg1
)->SetQuickBestSize(arg2
);
37020 wxPyEndAllowThreads(__tstate
);
37021 if (PyErr_Occurred()) SWIG_fail
;
37023 resultobj
= SWIG_Py_Void();
37030 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37031 PyObject
*resultobj
= 0;
37032 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37036 PyObject
*swig_obj
[1] ;
37038 if (!args
) SWIG_fail
;
37039 swig_obj
[0] = args
;
37040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37041 if (!SWIG_IsOK(res1
)) {
37042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37044 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37047 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37048 wxPyEndAllowThreads(__tstate
);
37049 if (PyErr_Occurred()) SWIG_fail
;
37052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37060 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37062 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37063 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37064 return SWIG_Py_Void();
37067 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37068 return SWIG_Python_InitShadowInstance(args
);
37071 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37072 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37077 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37078 PyObject
*pyobj
= 0;
37082 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37084 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37091 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37092 PyObject
*resultobj
= 0;
37093 wxWindow
*arg1
= (wxWindow
*) 0 ;
37094 int arg2
= (int) (int)-1 ;
37095 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37096 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37097 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37098 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37099 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37100 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37101 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37102 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37103 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37104 int arg8
= (int) 0 ;
37105 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37106 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37107 wxGenericDirCtrl
*result
= 0 ;
37112 bool temp3
= false ;
37117 bool temp7
= false ;
37120 bool temp9
= false ;
37121 PyObject
* obj0
= 0 ;
37122 PyObject
* obj1
= 0 ;
37123 PyObject
* obj2
= 0 ;
37124 PyObject
* obj3
= 0 ;
37125 PyObject
* obj4
= 0 ;
37126 PyObject
* obj5
= 0 ;
37127 PyObject
* obj6
= 0 ;
37128 PyObject
* obj7
= 0 ;
37129 PyObject
* obj8
= 0 ;
37130 char * kwnames
[] = {
37131 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37136 if (!SWIG_IsOK(res1
)) {
37137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37139 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37142 if (!SWIG_IsOK(ecode2
)) {
37143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37145 arg2
= static_cast< int >(val2
);
37149 arg3
= wxString_in_helper(obj2
);
37150 if (arg3
== NULL
) SWIG_fail
;
37157 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37163 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37167 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37168 if (!SWIG_IsOK(ecode6
)) {
37169 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37171 arg6
= static_cast< long >(val6
);
37175 arg7
= wxString_in_helper(obj6
);
37176 if (arg7
== NULL
) SWIG_fail
;
37181 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37182 if (!SWIG_IsOK(ecode8
)) {
37183 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37185 arg8
= static_cast< int >(val8
);
37189 arg9
= wxString_in_helper(obj8
);
37190 if (arg9
== NULL
) SWIG_fail
;
37195 if (!wxPyCheckForApp()) SWIG_fail
;
37196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37197 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37198 wxPyEndAllowThreads(__tstate
);
37199 if (PyErr_Occurred()) SWIG_fail
;
37201 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37232 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37233 PyObject
*resultobj
= 0;
37234 wxGenericDirCtrl
*result
= 0 ;
37236 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37238 if (!wxPyCheckForApp()) SWIG_fail
;
37239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37240 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37241 wxPyEndAllowThreads(__tstate
);
37242 if (PyErr_Occurred()) SWIG_fail
;
37244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37251 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37252 PyObject
*resultobj
= 0;
37253 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37254 wxWindow
*arg2
= (wxWindow
*) 0 ;
37255 int arg3
= (int) (int)-1 ;
37256 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37257 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37258 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37259 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37260 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37261 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37262 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37263 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37264 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37265 int arg9
= (int) 0 ;
37266 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37267 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37275 bool temp4
= false ;
37280 bool temp8
= false ;
37283 bool temp10
= false ;
37284 PyObject
* obj0
= 0 ;
37285 PyObject
* obj1
= 0 ;
37286 PyObject
* obj2
= 0 ;
37287 PyObject
* obj3
= 0 ;
37288 PyObject
* obj4
= 0 ;
37289 PyObject
* obj5
= 0 ;
37290 PyObject
* obj6
= 0 ;
37291 PyObject
* obj7
= 0 ;
37292 PyObject
* obj8
= 0 ;
37293 PyObject
* obj9
= 0 ;
37294 char * kwnames
[] = {
37295 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37300 if (!SWIG_IsOK(res1
)) {
37301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37303 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37304 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37305 if (!SWIG_IsOK(res2
)) {
37306 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37308 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37310 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37311 if (!SWIG_IsOK(ecode3
)) {
37312 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37314 arg3
= static_cast< int >(val3
);
37318 arg4
= wxString_in_helper(obj3
);
37319 if (arg4
== NULL
) SWIG_fail
;
37326 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37332 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37336 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37337 if (!SWIG_IsOK(ecode7
)) {
37338 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37340 arg7
= static_cast< long >(val7
);
37344 arg8
= wxString_in_helper(obj7
);
37345 if (arg8
== NULL
) SWIG_fail
;
37350 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37351 if (!SWIG_IsOK(ecode9
)) {
37352 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37354 arg9
= static_cast< int >(val9
);
37358 arg10
= wxString_in_helper(obj9
);
37359 if (arg10
== NULL
) SWIG_fail
;
37364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37365 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37366 wxPyEndAllowThreads(__tstate
);
37367 if (PyErr_Occurred()) SWIG_fail
;
37370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37402 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37403 PyObject
*resultobj
= 0;
37404 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37405 wxString
*arg2
= 0 ;
37409 bool temp2
= false ;
37410 PyObject
* obj0
= 0 ;
37411 PyObject
* obj1
= 0 ;
37412 char * kwnames
[] = {
37413 (char *) "self",(char *) "path", NULL
37416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37418 if (!SWIG_IsOK(res1
)) {
37419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37421 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37423 arg2
= wxString_in_helper(obj1
);
37424 if (arg2
== NULL
) SWIG_fail
;
37428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37429 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37430 wxPyEndAllowThreads(__tstate
);
37431 if (PyErr_Occurred()) SWIG_fail
;
37434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37450 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37451 PyObject
*resultobj
= 0;
37452 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37453 wxString
*arg2
= 0 ;
37457 bool temp2
= false ;
37458 PyObject
* obj0
= 0 ;
37459 PyObject
* obj1
= 0 ;
37460 char * kwnames
[] = {
37461 (char *) "self",(char *) "path", NULL
37464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37466 if (!SWIG_IsOK(res1
)) {
37467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37469 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37471 arg2
= wxString_in_helper(obj1
);
37472 if (arg2
== NULL
) SWIG_fail
;
37476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37477 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
37478 wxPyEndAllowThreads(__tstate
);
37479 if (PyErr_Occurred()) SWIG_fail
;
37482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37498 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37499 PyObject
*resultobj
= 0;
37500 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37504 PyObject
*swig_obj
[1] ;
37506 if (!args
) SWIG_fail
;
37507 swig_obj
[0] = args
;
37508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37509 if (!SWIG_IsOK(res1
)) {
37510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37512 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37515 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37516 wxPyEndAllowThreads(__tstate
);
37517 if (PyErr_Occurred()) SWIG_fail
;
37521 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37523 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37532 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37533 PyObject
*resultobj
= 0;
37534 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37535 wxString
*arg2
= 0 ;
37538 bool temp2
= false ;
37539 PyObject
* obj0
= 0 ;
37540 PyObject
* obj1
= 0 ;
37541 char * kwnames
[] = {
37542 (char *) "self",(char *) "path", NULL
37545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37547 if (!SWIG_IsOK(res1
)) {
37548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37550 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37552 arg2
= wxString_in_helper(obj1
);
37553 if (arg2
== NULL
) SWIG_fail
;
37557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37558 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37559 wxPyEndAllowThreads(__tstate
);
37560 if (PyErr_Occurred()) SWIG_fail
;
37562 resultobj
= SWIG_Py_Void();
37577 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37578 PyObject
*resultobj
= 0;
37579 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37583 PyObject
*swig_obj
[1] ;
37585 if (!args
) SWIG_fail
;
37586 swig_obj
[0] = args
;
37587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37588 if (!SWIG_IsOK(res1
)) {
37589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37591 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37594 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37595 wxPyEndAllowThreads(__tstate
);
37596 if (PyErr_Occurred()) SWIG_fail
;
37600 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37602 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37611 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37612 PyObject
*resultobj
= 0;
37613 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37617 PyObject
*swig_obj
[1] ;
37619 if (!args
) SWIG_fail
;
37620 swig_obj
[0] = args
;
37621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37622 if (!SWIG_IsOK(res1
)) {
37623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37625 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37628 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37629 wxPyEndAllowThreads(__tstate
);
37630 if (PyErr_Occurred()) SWIG_fail
;
37634 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37636 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37645 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37646 PyObject
*resultobj
= 0;
37647 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37648 wxString
*arg2
= 0 ;
37651 bool temp2
= false ;
37652 PyObject
* obj0
= 0 ;
37653 PyObject
* obj1
= 0 ;
37654 char * kwnames
[] = {
37655 (char *) "self",(char *) "path", NULL
37658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37660 if (!SWIG_IsOK(res1
)) {
37661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37663 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37665 arg2
= wxString_in_helper(obj1
);
37666 if (arg2
== NULL
) SWIG_fail
;
37670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37671 (arg1
)->SetPath((wxString
const &)*arg2
);
37672 wxPyEndAllowThreads(__tstate
);
37673 if (PyErr_Occurred()) SWIG_fail
;
37675 resultobj
= SWIG_Py_Void();
37690 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37691 PyObject
*resultobj
= 0;
37692 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37698 PyObject
* obj0
= 0 ;
37699 PyObject
* obj1
= 0 ;
37700 char * kwnames
[] = {
37701 (char *) "self",(char *) "show", NULL
37704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37706 if (!SWIG_IsOK(res1
)) {
37707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37709 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37710 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37711 if (!SWIG_IsOK(ecode2
)) {
37712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37714 arg2
= static_cast< bool >(val2
);
37716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37717 (arg1
)->ShowHidden(arg2
);
37718 wxPyEndAllowThreads(__tstate
);
37719 if (PyErr_Occurred()) SWIG_fail
;
37721 resultobj
= SWIG_Py_Void();
37728 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37729 PyObject
*resultobj
= 0;
37730 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37734 PyObject
*swig_obj
[1] ;
37736 if (!args
) SWIG_fail
;
37737 swig_obj
[0] = args
;
37738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37739 if (!SWIG_IsOK(res1
)) {
37740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37742 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37745 result
= (bool)(arg1
)->GetShowHidden();
37746 wxPyEndAllowThreads(__tstate
);
37747 if (PyErr_Occurred()) SWIG_fail
;
37750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37758 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37759 PyObject
*resultobj
= 0;
37760 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37764 PyObject
*swig_obj
[1] ;
37766 if (!args
) SWIG_fail
;
37767 swig_obj
[0] = args
;
37768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37769 if (!SWIG_IsOK(res1
)) {
37770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37772 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37775 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
37776 wxPyEndAllowThreads(__tstate
);
37777 if (PyErr_Occurred()) SWIG_fail
;
37781 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37783 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37792 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37793 PyObject
*resultobj
= 0;
37794 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37795 wxString
*arg2
= 0 ;
37798 bool temp2
= false ;
37799 PyObject
* obj0
= 0 ;
37800 PyObject
* obj1
= 0 ;
37801 char * kwnames
[] = {
37802 (char *) "self",(char *) "filter", NULL
37805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37807 if (!SWIG_IsOK(res1
)) {
37808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37810 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37812 arg2
= wxString_in_helper(obj1
);
37813 if (arg2
== NULL
) SWIG_fail
;
37817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37818 (arg1
)->SetFilter((wxString
const &)*arg2
);
37819 wxPyEndAllowThreads(__tstate
);
37820 if (PyErr_Occurred()) SWIG_fail
;
37822 resultobj
= SWIG_Py_Void();
37837 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37838 PyObject
*resultobj
= 0;
37839 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37843 PyObject
*swig_obj
[1] ;
37845 if (!args
) SWIG_fail
;
37846 swig_obj
[0] = args
;
37847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37848 if (!SWIG_IsOK(res1
)) {
37849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37851 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37854 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
37855 wxPyEndAllowThreads(__tstate
);
37856 if (PyErr_Occurred()) SWIG_fail
;
37858 resultobj
= SWIG_From_int(static_cast< int >(result
));
37865 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37866 PyObject
*resultobj
= 0;
37867 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37873 PyObject
* obj0
= 0 ;
37874 PyObject
* obj1
= 0 ;
37875 char * kwnames
[] = {
37876 (char *) "self",(char *) "n", NULL
37879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37881 if (!SWIG_IsOK(res1
)) {
37882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37884 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37886 if (!SWIG_IsOK(ecode2
)) {
37887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
37889 arg2
= static_cast< int >(val2
);
37891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37892 (arg1
)->SetFilterIndex(arg2
);
37893 wxPyEndAllowThreads(__tstate
);
37894 if (PyErr_Occurred()) SWIG_fail
;
37896 resultobj
= SWIG_Py_Void();
37903 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37904 PyObject
*resultobj
= 0;
37905 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37906 wxTreeItemId result
;
37909 PyObject
*swig_obj
[1] ;
37911 if (!args
) SWIG_fail
;
37912 swig_obj
[0] = args
;
37913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37914 if (!SWIG_IsOK(res1
)) {
37915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37917 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37920 result
= (arg1
)->GetRootId();
37921 wxPyEndAllowThreads(__tstate
);
37922 if (PyErr_Occurred()) SWIG_fail
;
37924 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37931 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37932 PyObject
*resultobj
= 0;
37933 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37934 wxPyTreeCtrl
*result
= 0 ;
37937 PyObject
*swig_obj
[1] ;
37939 if (!args
) SWIG_fail
;
37940 swig_obj
[0] = args
;
37941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37942 if (!SWIG_IsOK(res1
)) {
37943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37945 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37948 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
37949 wxPyEndAllowThreads(__tstate
);
37950 if (PyErr_Occurred()) SWIG_fail
;
37953 resultobj
= wxPyMake_wxObject(result
, 0);
37961 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37962 PyObject
*resultobj
= 0;
37963 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37964 wxDirFilterListCtrl
*result
= 0 ;
37967 PyObject
*swig_obj
[1] ;
37969 if (!args
) SWIG_fail
;
37970 swig_obj
[0] = args
;
37971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37972 if (!SWIG_IsOK(res1
)) {
37973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37975 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37978 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
37979 wxPyEndAllowThreads(__tstate
);
37980 if (PyErr_Occurred()) SWIG_fail
;
37982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37989 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37990 PyObject
*resultobj
= 0;
37991 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37992 wxTreeItemId arg2
;
37993 wxString
*arg3
= 0 ;
37995 wxTreeItemId result
;
38000 bool temp3
= false ;
38002 int res4
= SWIG_TMPOBJ
;
38003 PyObject
* obj0
= 0 ;
38004 PyObject
* obj1
= 0 ;
38005 PyObject
* obj2
= 0 ;
38006 char * kwnames
[] = {
38007 (char *) "self",(char *) "parentId",(char *) "path", NULL
38011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38013 if (!SWIG_IsOK(res1
)) {
38014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38016 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38018 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38019 if (!SWIG_IsOK(res2
)) {
38020 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38023 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38025 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38027 if (SWIG_IsNewObj(res2
)) delete temp
;
38031 arg3
= wxString_in_helper(obj2
);
38032 if (arg3
== NULL
) SWIG_fail
;
38036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38037 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38038 wxPyEndAllowThreads(__tstate
);
38039 if (PyErr_Occurred()) SWIG_fail
;
38041 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38042 if (SWIG_IsTmpObj(res4
)) {
38043 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38045 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38046 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38062 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38063 PyObject
*resultobj
= 0;
38064 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38067 PyObject
*swig_obj
[1] ;
38069 if (!args
) SWIG_fail
;
38070 swig_obj
[0] = args
;
38071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38072 if (!SWIG_IsOK(res1
)) {
38073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38075 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38078 (arg1
)->DoResize();
38079 wxPyEndAllowThreads(__tstate
);
38080 if (PyErr_Occurred()) SWIG_fail
;
38082 resultobj
= SWIG_Py_Void();
38089 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38090 PyObject
*resultobj
= 0;
38091 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38094 PyObject
*swig_obj
[1] ;
38096 if (!args
) SWIG_fail
;
38097 swig_obj
[0] = args
;
38098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38099 if (!SWIG_IsOK(res1
)) {
38100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38102 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38105 (arg1
)->ReCreateTree();
38106 wxPyEndAllowThreads(__tstate
);
38107 if (PyErr_Occurred()) SWIG_fail
;
38109 resultobj
= SWIG_Py_Void();
38116 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38118 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38119 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38120 return SWIG_Py_Void();
38123 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38124 return SWIG_Python_InitShadowInstance(args
);
38127 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38128 PyObject
*resultobj
= 0;
38129 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38130 int arg2
= (int) (int)-1 ;
38131 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38132 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38133 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38134 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38135 long arg5
= (long) 0 ;
38136 wxDirFilterListCtrl
*result
= 0 ;
38145 PyObject
* obj0
= 0 ;
38146 PyObject
* obj1
= 0 ;
38147 PyObject
* obj2
= 0 ;
38148 PyObject
* obj3
= 0 ;
38149 PyObject
* obj4
= 0 ;
38150 char * kwnames
[] = {
38151 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38156 if (!SWIG_IsOK(res1
)) {
38157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38159 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38162 if (!SWIG_IsOK(ecode2
)) {
38163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38165 arg2
= static_cast< int >(val2
);
38170 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38176 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38180 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38181 if (!SWIG_IsOK(ecode5
)) {
38182 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38184 arg5
= static_cast< long >(val5
);
38187 if (!wxPyCheckForApp()) SWIG_fail
;
38188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38189 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38190 wxPyEndAllowThreads(__tstate
);
38191 if (PyErr_Occurred()) SWIG_fail
;
38193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38200 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38201 PyObject
*resultobj
= 0;
38202 wxDirFilterListCtrl
*result
= 0 ;
38204 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38206 if (!wxPyCheckForApp()) SWIG_fail
;
38207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38208 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38209 wxPyEndAllowThreads(__tstate
);
38210 if (PyErr_Occurred()) SWIG_fail
;
38212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38219 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38220 PyObject
*resultobj
= 0;
38221 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38222 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38223 int arg3
= (int) (int)-1 ;
38224 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38225 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38226 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38227 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38228 long arg6
= (long) 0 ;
38240 PyObject
* obj0
= 0 ;
38241 PyObject
* obj1
= 0 ;
38242 PyObject
* obj2
= 0 ;
38243 PyObject
* obj3
= 0 ;
38244 PyObject
* obj4
= 0 ;
38245 PyObject
* obj5
= 0 ;
38246 char * kwnames
[] = {
38247 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38252 if (!SWIG_IsOK(res1
)) {
38253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38255 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38256 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38257 if (!SWIG_IsOK(res2
)) {
38258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38260 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38262 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38263 if (!SWIG_IsOK(ecode3
)) {
38264 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38266 arg3
= static_cast< int >(val3
);
38271 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38277 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38281 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38282 if (!SWIG_IsOK(ecode6
)) {
38283 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38285 arg6
= static_cast< long >(val6
);
38288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38289 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38290 wxPyEndAllowThreads(__tstate
);
38291 if (PyErr_Occurred()) SWIG_fail
;
38294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38302 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38303 PyObject
*resultobj
= 0;
38304 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38305 wxString
*arg2
= 0 ;
38309 bool temp2
= false ;
38312 PyObject
* obj0
= 0 ;
38313 PyObject
* obj1
= 0 ;
38314 PyObject
* obj2
= 0 ;
38315 char * kwnames
[] = {
38316 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38321 if (!SWIG_IsOK(res1
)) {
38322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38324 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38326 arg2
= wxString_in_helper(obj1
);
38327 if (arg2
== NULL
) SWIG_fail
;
38330 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38331 if (!SWIG_IsOK(ecode3
)) {
38332 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38334 arg3
= static_cast< int >(val3
);
38336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38337 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38338 wxPyEndAllowThreads(__tstate
);
38339 if (PyErr_Occurred()) SWIG_fail
;
38341 resultobj
= SWIG_Py_Void();
38356 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38358 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38359 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38360 return SWIG_Py_Void();
38363 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38364 return SWIG_Python_InitShadowInstance(args
);
38367 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38368 PyObject
*resultobj
= 0;
38369 wxWindow
*arg1
= (wxWindow
*) 0 ;
38370 int arg2
= (int) (int)-1 ;
38371 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38372 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38373 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38374 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38375 long arg5
= (long) 0 ;
38376 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38377 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38378 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38379 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38380 wxPyControl
*result
= 0 ;
38391 bool temp7
= false ;
38392 PyObject
* obj0
= 0 ;
38393 PyObject
* obj1
= 0 ;
38394 PyObject
* obj2
= 0 ;
38395 PyObject
* obj3
= 0 ;
38396 PyObject
* obj4
= 0 ;
38397 PyObject
* obj5
= 0 ;
38398 PyObject
* obj6
= 0 ;
38399 char * kwnames
[] = {
38400 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38405 if (!SWIG_IsOK(res1
)) {
38406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38408 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38411 if (!SWIG_IsOK(ecode2
)) {
38412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38414 arg2
= static_cast< int >(val2
);
38419 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38425 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38429 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38430 if (!SWIG_IsOK(ecode5
)) {
38431 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38433 arg5
= static_cast< long >(val5
);
38436 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38437 if (!SWIG_IsOK(res6
)) {
38438 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38441 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38443 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38447 arg7
= wxString_in_helper(obj6
);
38448 if (arg7
== NULL
) SWIG_fail
;
38453 if (!wxPyCheckForApp()) SWIG_fail
;
38454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38455 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38456 wxPyEndAllowThreads(__tstate
);
38457 if (PyErr_Occurred()) SWIG_fail
;
38459 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38474 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38475 PyObject
*resultobj
= 0;
38476 wxPyControl
*result
= 0 ;
38478 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38480 if (!wxPyCheckForApp()) SWIG_fail
;
38481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38482 result
= (wxPyControl
*)new wxPyControl();
38483 wxPyEndAllowThreads(__tstate
);
38484 if (PyErr_Occurred()) SWIG_fail
;
38486 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38493 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38494 PyObject
*resultobj
= 0;
38495 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38496 PyObject
*arg2
= (PyObject
*) 0 ;
38497 PyObject
*arg3
= (PyObject
*) 0 ;
38500 PyObject
* obj0
= 0 ;
38501 PyObject
* obj1
= 0 ;
38502 PyObject
* obj2
= 0 ;
38503 char * kwnames
[] = {
38504 (char *) "self",(char *) "self",(char *) "_class", NULL
38507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38509 if (!SWIG_IsOK(res1
)) {
38510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38512 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38517 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38518 wxPyEndAllowThreads(__tstate
);
38519 if (PyErr_Occurred()) SWIG_fail
;
38521 resultobj
= SWIG_Py_Void();
38528 SWIGINTERN PyObject
*_wrap_PyControl_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38529 PyObject
*resultobj
= 0;
38530 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38535 PyObject
* obj0
= 0 ;
38536 PyObject
* obj1
= 0 ;
38537 char * kwnames
[] = {
38538 (char *) "self",(char *) "size", NULL
38541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38543 if (!SWIG_IsOK(res1
)) {
38544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38546 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38549 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38553 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
38554 wxPyEndAllowThreads(__tstate
);
38555 if (PyErr_Occurred()) SWIG_fail
;
38557 resultobj
= SWIG_Py_Void();
38564 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38565 PyObject
*resultobj
= 0;
38566 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38567 wxDC
*arg2
= (wxDC
*) 0 ;
38573 PyObject
* obj0
= 0 ;
38574 PyObject
* obj1
= 0 ;
38575 char * kwnames
[] = {
38576 (char *) "self",(char *) "dc", NULL
38579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38581 if (!SWIG_IsOK(res1
)) {
38582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38584 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38585 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38586 if (!SWIG_IsOK(res2
)) {
38587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38589 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38592 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38593 wxPyEndAllowThreads(__tstate
);
38594 if (PyErr_Occurred()) SWIG_fail
;
38597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38605 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38606 PyObject
*resultobj
= 0;
38607 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38622 PyObject
* obj0
= 0 ;
38623 PyObject
* obj1
= 0 ;
38624 PyObject
* obj2
= 0 ;
38625 PyObject
* obj3
= 0 ;
38626 PyObject
* obj4
= 0 ;
38627 char * kwnames
[] = {
38628 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38633 if (!SWIG_IsOK(res1
)) {
38634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38636 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38637 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38638 if (!SWIG_IsOK(ecode2
)) {
38639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38641 arg2
= static_cast< int >(val2
);
38642 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38643 if (!SWIG_IsOK(ecode3
)) {
38644 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38646 arg3
= static_cast< int >(val3
);
38647 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38648 if (!SWIG_IsOK(ecode4
)) {
38649 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38651 arg4
= static_cast< int >(val4
);
38652 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38653 if (!SWIG_IsOK(ecode5
)) {
38654 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38656 arg5
= static_cast< int >(val5
);
38658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38659 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38660 wxPyEndAllowThreads(__tstate
);
38661 if (PyErr_Occurred()) SWIG_fail
;
38663 resultobj
= SWIG_Py_Void();
38670 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38671 PyObject
*resultobj
= 0;
38672 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38677 int arg6
= (int) wxSIZE_AUTO
;
38690 PyObject
* obj0
= 0 ;
38691 PyObject
* obj1
= 0 ;
38692 PyObject
* obj2
= 0 ;
38693 PyObject
* obj3
= 0 ;
38694 PyObject
* obj4
= 0 ;
38695 PyObject
* obj5
= 0 ;
38696 char * kwnames
[] = {
38697 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38702 if (!SWIG_IsOK(res1
)) {
38703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38705 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38706 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38707 if (!SWIG_IsOK(ecode2
)) {
38708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38710 arg2
= static_cast< int >(val2
);
38711 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38712 if (!SWIG_IsOK(ecode3
)) {
38713 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38715 arg3
= static_cast< int >(val3
);
38716 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38717 if (!SWIG_IsOK(ecode4
)) {
38718 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38720 arg4
= static_cast< int >(val4
);
38721 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38722 if (!SWIG_IsOK(ecode5
)) {
38723 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38725 arg5
= static_cast< int >(val5
);
38727 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38728 if (!SWIG_IsOK(ecode6
)) {
38729 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38731 arg6
= static_cast< int >(val6
);
38734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38735 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
38736 wxPyEndAllowThreads(__tstate
);
38737 if (PyErr_Occurred()) SWIG_fail
;
38739 resultobj
= SWIG_Py_Void();
38746 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38747 PyObject
*resultobj
= 0;
38748 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38757 PyObject
* obj0
= 0 ;
38758 PyObject
* obj1
= 0 ;
38759 PyObject
* obj2
= 0 ;
38760 char * kwnames
[] = {
38761 (char *) "self",(char *) "width",(char *) "height", NULL
38764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38766 if (!SWIG_IsOK(res1
)) {
38767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38769 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38770 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38771 if (!SWIG_IsOK(ecode2
)) {
38772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
38774 arg2
= static_cast< int >(val2
);
38775 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38776 if (!SWIG_IsOK(ecode3
)) {
38777 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
38779 arg3
= static_cast< int >(val3
);
38781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38782 (arg1
)->DoSetClientSize(arg2
,arg3
);
38783 wxPyEndAllowThreads(__tstate
);
38784 if (PyErr_Occurred()) SWIG_fail
;
38786 resultobj
= SWIG_Py_Void();
38793 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38794 PyObject
*resultobj
= 0;
38795 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38804 PyObject
* obj0
= 0 ;
38805 PyObject
* obj1
= 0 ;
38806 PyObject
* obj2
= 0 ;
38807 char * kwnames
[] = {
38808 (char *) "self",(char *) "x",(char *) "y", NULL
38811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38813 if (!SWIG_IsOK(res1
)) {
38814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38816 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38817 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38818 if (!SWIG_IsOK(ecode2
)) {
38819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
38821 arg2
= static_cast< int >(val2
);
38822 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38823 if (!SWIG_IsOK(ecode3
)) {
38824 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
38826 arg3
= static_cast< int >(val3
);
38828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38829 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
38830 wxPyEndAllowThreads(__tstate
);
38831 if (PyErr_Occurred()) SWIG_fail
;
38833 resultobj
= SWIG_Py_Void();
38840 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38841 PyObject
*resultobj
= 0;
38842 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38843 int *arg2
= (int *) 0 ;
38844 int *arg3
= (int *) 0 ;
38848 int res2
= SWIG_TMPOBJ
;
38850 int res3
= SWIG_TMPOBJ
;
38851 PyObject
*swig_obj
[1] ;
38855 if (!args
) SWIG_fail
;
38856 swig_obj
[0] = args
;
38857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38858 if (!SWIG_IsOK(res1
)) {
38859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38861 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38864 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
38865 wxPyEndAllowThreads(__tstate
);
38866 if (PyErr_Occurred()) SWIG_fail
;
38868 resultobj
= SWIG_Py_Void();
38869 if (SWIG_IsTmpObj(res2
)) {
38870 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38872 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38873 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38875 if (SWIG_IsTmpObj(res3
)) {
38876 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38878 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38879 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38887 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38888 PyObject
*resultobj
= 0;
38889 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38890 int *arg2
= (int *) 0 ;
38891 int *arg3
= (int *) 0 ;
38895 int res2
= SWIG_TMPOBJ
;
38897 int res3
= SWIG_TMPOBJ
;
38898 PyObject
*swig_obj
[1] ;
38902 if (!args
) SWIG_fail
;
38903 swig_obj
[0] = args
;
38904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38905 if (!SWIG_IsOK(res1
)) {
38906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38908 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38911 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
38912 wxPyEndAllowThreads(__tstate
);
38913 if (PyErr_Occurred()) SWIG_fail
;
38915 resultobj
= SWIG_Py_Void();
38916 if (SWIG_IsTmpObj(res2
)) {
38917 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38919 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38920 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38922 if (SWIG_IsTmpObj(res3
)) {
38923 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38925 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38926 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38934 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38935 PyObject
*resultobj
= 0;
38936 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38937 int *arg2
= (int *) 0 ;
38938 int *arg3
= (int *) 0 ;
38942 int res2
= SWIG_TMPOBJ
;
38944 int res3
= SWIG_TMPOBJ
;
38945 PyObject
*swig_obj
[1] ;
38949 if (!args
) SWIG_fail
;
38950 swig_obj
[0] = args
;
38951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38952 if (!SWIG_IsOK(res1
)) {
38953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38955 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38958 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
38959 wxPyEndAllowThreads(__tstate
);
38960 if (PyErr_Occurred()) SWIG_fail
;
38962 resultobj
= SWIG_Py_Void();
38963 if (SWIG_IsTmpObj(res2
)) {
38964 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38966 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38967 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38969 if (SWIG_IsTmpObj(res3
)) {
38970 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38972 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38973 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38981 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38982 PyObject
*resultobj
= 0;
38983 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38987 PyObject
*swig_obj
[1] ;
38989 if (!args
) SWIG_fail
;
38990 swig_obj
[0] = args
;
38991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38992 if (!SWIG_IsOK(res1
)) {
38993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38995 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38998 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
38999 wxPyEndAllowThreads(__tstate
);
39000 if (PyErr_Occurred()) SWIG_fail
;
39002 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39009 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39010 PyObject
*resultobj
= 0;
39011 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39015 PyObject
*swig_obj
[1] ;
39017 if (!args
) SWIG_fail
;
39018 swig_obj
[0] = args
;
39019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39020 if (!SWIG_IsOK(res1
)) {
39021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39023 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39026 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39027 wxPyEndAllowThreads(__tstate
);
39028 if (PyErr_Occurred()) SWIG_fail
;
39030 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39037 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39038 PyObject
*resultobj
= 0;
39039 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39040 SwigValueWrapper
<wxVisualAttributes
> result
;
39043 PyObject
*swig_obj
[1] ;
39045 if (!args
) SWIG_fail
;
39046 swig_obj
[0] = args
;
39047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39048 if (!SWIG_IsOK(res1
)) {
39049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39051 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39054 result
= (arg1
)->GetDefaultAttributes();
39055 wxPyEndAllowThreads(__tstate
);
39056 if (PyErr_Occurred()) SWIG_fail
;
39058 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39065 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39066 PyObject
*resultobj
= 0;
39067 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39070 PyObject
*swig_obj
[1] ;
39072 if (!args
) SWIG_fail
;
39073 swig_obj
[0] = args
;
39074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39075 if (!SWIG_IsOK(res1
)) {
39076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39078 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39081 (arg1
)->OnInternalIdle();
39082 wxPyEndAllowThreads(__tstate
);
39083 if (PyErr_Occurred()) SWIG_fail
;
39085 resultobj
= SWIG_Py_Void();
39092 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39094 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39095 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39096 return SWIG_Py_Void();
39099 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39100 return SWIG_Python_InitShadowInstance(args
);
39103 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39104 PyObject
*resultobj
= 0;
39105 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39106 int arg2
= (int) 0 ;
39107 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39108 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39109 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39110 wxHelpEvent
*result
= 0 ;
39118 PyObject
* obj0
= 0 ;
39119 PyObject
* obj1
= 0 ;
39120 PyObject
* obj2
= 0 ;
39121 PyObject
* obj3
= 0 ;
39122 char * kwnames
[] = {
39123 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39128 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39129 if (!SWIG_IsOK(ecode1
)) {
39130 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39132 arg1
= static_cast< wxEventType
>(val1
);
39135 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39136 if (!SWIG_IsOK(ecode2
)) {
39137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39139 arg2
= static_cast< int >(val2
);
39144 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39148 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39149 if (!SWIG_IsOK(ecode4
)) {
39150 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39152 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39156 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39157 wxPyEndAllowThreads(__tstate
);
39158 if (PyErr_Occurred()) SWIG_fail
;
39160 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39167 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39168 PyObject
*resultobj
= 0;
39169 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39173 PyObject
*swig_obj
[1] ;
39175 if (!args
) SWIG_fail
;
39176 swig_obj
[0] = args
;
39177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39178 if (!SWIG_IsOK(res1
)) {
39179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39181 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39184 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39185 wxPyEndAllowThreads(__tstate
);
39186 if (PyErr_Occurred()) SWIG_fail
;
39188 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39195 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39196 PyObject
*resultobj
= 0;
39197 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39198 wxPoint
*arg2
= 0 ;
39202 PyObject
* obj0
= 0 ;
39203 PyObject
* obj1
= 0 ;
39204 char * kwnames
[] = {
39205 (char *) "self",(char *) "pos", NULL
39208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39210 if (!SWIG_IsOK(res1
)) {
39211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39213 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39216 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39220 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39221 wxPyEndAllowThreads(__tstate
);
39222 if (PyErr_Occurred()) SWIG_fail
;
39224 resultobj
= SWIG_Py_Void();
39231 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39232 PyObject
*resultobj
= 0;
39233 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39234 wxString
*result
= 0 ;
39237 PyObject
*swig_obj
[1] ;
39239 if (!args
) SWIG_fail
;
39240 swig_obj
[0] = args
;
39241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39242 if (!SWIG_IsOK(res1
)) {
39243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39245 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39249 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39250 result
= (wxString
*) &_result_ref
;
39252 wxPyEndAllowThreads(__tstate
);
39253 if (PyErr_Occurred()) SWIG_fail
;
39257 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39259 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39268 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39269 PyObject
*resultobj
= 0;
39270 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39271 wxString
*arg2
= 0 ;
39274 bool temp2
= false ;
39275 PyObject
* obj0
= 0 ;
39276 PyObject
* obj1
= 0 ;
39277 char * kwnames
[] = {
39278 (char *) "self",(char *) "link", NULL
39281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39283 if (!SWIG_IsOK(res1
)) {
39284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39286 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39288 arg2
= wxString_in_helper(obj1
);
39289 if (arg2
== NULL
) SWIG_fail
;
39293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39294 (arg1
)->SetLink((wxString
const &)*arg2
);
39295 wxPyEndAllowThreads(__tstate
);
39296 if (PyErr_Occurred()) SWIG_fail
;
39298 resultobj
= SWIG_Py_Void();
39313 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39314 PyObject
*resultobj
= 0;
39315 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39316 wxString
*result
= 0 ;
39319 PyObject
*swig_obj
[1] ;
39321 if (!args
) SWIG_fail
;
39322 swig_obj
[0] = args
;
39323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39324 if (!SWIG_IsOK(res1
)) {
39325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39327 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39331 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39332 result
= (wxString
*) &_result_ref
;
39334 wxPyEndAllowThreads(__tstate
);
39335 if (PyErr_Occurred()) SWIG_fail
;
39339 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39341 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39350 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39351 PyObject
*resultobj
= 0;
39352 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39353 wxString
*arg2
= 0 ;
39356 bool temp2
= false ;
39357 PyObject
* obj0
= 0 ;
39358 PyObject
* obj1
= 0 ;
39359 char * kwnames
[] = {
39360 (char *) "self",(char *) "target", NULL
39363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39365 if (!SWIG_IsOK(res1
)) {
39366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39368 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39370 arg2
= wxString_in_helper(obj1
);
39371 if (arg2
== NULL
) SWIG_fail
;
39375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39376 (arg1
)->SetTarget((wxString
const &)*arg2
);
39377 wxPyEndAllowThreads(__tstate
);
39378 if (PyErr_Occurred()) SWIG_fail
;
39380 resultobj
= SWIG_Py_Void();
39395 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39396 PyObject
*resultobj
= 0;
39397 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39398 wxHelpEvent::Origin result
;
39401 PyObject
*swig_obj
[1] ;
39403 if (!args
) SWIG_fail
;
39404 swig_obj
[0] = args
;
39405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39406 if (!SWIG_IsOK(res1
)) {
39407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39409 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39412 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39413 wxPyEndAllowThreads(__tstate
);
39414 if (PyErr_Occurred()) SWIG_fail
;
39416 resultobj
= SWIG_From_int(static_cast< int >(result
));
39423 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39424 PyObject
*resultobj
= 0;
39425 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39426 wxHelpEvent::Origin arg2
;
39431 PyObject
* obj0
= 0 ;
39432 PyObject
* obj1
= 0 ;
39433 char * kwnames
[] = {
39434 (char *) "self",(char *) "origin", NULL
39437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39439 if (!SWIG_IsOK(res1
)) {
39440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39442 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39443 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39444 if (!SWIG_IsOK(ecode2
)) {
39445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39447 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39450 (arg1
)->SetOrigin(arg2
);
39451 wxPyEndAllowThreads(__tstate
);
39452 if (PyErr_Occurred()) SWIG_fail
;
39454 resultobj
= SWIG_Py_Void();
39461 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39463 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39464 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39465 return SWIG_Py_Void();
39468 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39469 return SWIG_Python_InitShadowInstance(args
);
39472 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39473 PyObject
*resultobj
= 0;
39474 wxWindow
*arg1
= (wxWindow
*) NULL
;
39475 bool arg2
= (bool) true ;
39476 wxContextHelp
*result
= 0 ;
39481 PyObject
* obj0
= 0 ;
39482 PyObject
* obj1
= 0 ;
39483 char * kwnames
[] = {
39484 (char *) "window",(char *) "doNow", NULL
39487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39490 if (!SWIG_IsOK(res1
)) {
39491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39493 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39496 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39497 if (!SWIG_IsOK(ecode2
)) {
39498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39500 arg2
= static_cast< bool >(val2
);
39503 if (!wxPyCheckForApp()) SWIG_fail
;
39504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39505 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39506 wxPyEndAllowThreads(__tstate
);
39507 if (PyErr_Occurred()) SWIG_fail
;
39509 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39516 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39517 PyObject
*resultobj
= 0;
39518 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39521 PyObject
*swig_obj
[1] ;
39523 if (!args
) SWIG_fail
;
39524 swig_obj
[0] = args
;
39525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39526 if (!SWIG_IsOK(res1
)) {
39527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39529 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39534 wxPyEndAllowThreads(__tstate
);
39535 if (PyErr_Occurred()) SWIG_fail
;
39537 resultobj
= SWIG_Py_Void();
39544 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39545 PyObject
*resultobj
= 0;
39546 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39547 wxWindow
*arg2
= (wxWindow
*) NULL
;
39553 PyObject
* obj0
= 0 ;
39554 PyObject
* obj1
= 0 ;
39555 char * kwnames
[] = {
39556 (char *) "self",(char *) "window", NULL
39559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39561 if (!SWIG_IsOK(res1
)) {
39562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39564 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39566 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39567 if (!SWIG_IsOK(res2
)) {
39568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39570 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39574 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39575 wxPyEndAllowThreads(__tstate
);
39576 if (PyErr_Occurred()) SWIG_fail
;
39579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39587 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39588 PyObject
*resultobj
= 0;
39589 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39593 PyObject
*swig_obj
[1] ;
39595 if (!args
) SWIG_fail
;
39596 swig_obj
[0] = args
;
39597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39598 if (!SWIG_IsOK(res1
)) {
39599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39601 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39604 result
= (bool)(arg1
)->EndContextHelp();
39605 wxPyEndAllowThreads(__tstate
);
39606 if (PyErr_Occurred()) SWIG_fail
;
39609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39617 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39619 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39620 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39621 return SWIG_Py_Void();
39624 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39625 return SWIG_Python_InitShadowInstance(args
);
39628 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39629 PyObject
*resultobj
= 0;
39630 wxWindow
*arg1
= (wxWindow
*) 0 ;
39631 int arg2
= (int) wxID_CONTEXT_HELP
;
39632 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39633 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39634 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39635 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39636 long arg5
= (long) wxBU_AUTODRAW
;
39637 wxContextHelpButton
*result
= 0 ;
39646 PyObject
* obj0
= 0 ;
39647 PyObject
* obj1
= 0 ;
39648 PyObject
* obj2
= 0 ;
39649 PyObject
* obj3
= 0 ;
39650 PyObject
* obj4
= 0 ;
39651 char * kwnames
[] = {
39652 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39657 if (!SWIG_IsOK(res1
)) {
39658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39660 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39663 if (!SWIG_IsOK(ecode2
)) {
39664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39666 arg2
= static_cast< int >(val2
);
39671 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39677 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39681 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39682 if (!SWIG_IsOK(ecode5
)) {
39683 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39685 arg5
= static_cast< long >(val5
);
39688 if (!wxPyCheckForApp()) SWIG_fail
;
39689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39690 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39691 wxPyEndAllowThreads(__tstate
);
39692 if (PyErr_Occurred()) SWIG_fail
;
39694 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
39701 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39703 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39704 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
39705 return SWIG_Py_Void();
39708 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39709 return SWIG_Python_InitShadowInstance(args
);
39712 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39713 PyObject
*resultobj
= 0;
39714 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39717 PyObject
*swig_obj
[1] ;
39719 if (!args
) SWIG_fail
;
39720 swig_obj
[0] = args
;
39721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39722 if (!SWIG_IsOK(res1
)) {
39723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39725 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39730 wxPyEndAllowThreads(__tstate
);
39731 if (PyErr_Occurred()) SWIG_fail
;
39733 resultobj
= SWIG_Py_Void();
39740 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39741 PyObject
*resultobj
= 0;
39742 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39743 wxHelpProvider
*result
= 0 ;
39745 PyObject
* obj0
= 0 ;
39746 char * kwnames
[] = {
39747 (char *) "helpProvider", NULL
39750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
39751 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39752 if (!SWIG_IsOK(res1
)) {
39753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39757 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
39758 wxPyEndAllowThreads(__tstate
);
39759 if (PyErr_Occurred()) SWIG_fail
;
39761 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
39768 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39769 PyObject
*resultobj
= 0;
39770 wxHelpProvider
*result
= 0 ;
39772 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
39774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39775 result
= (wxHelpProvider
*)wxHelpProvider::Get();
39776 wxPyEndAllowThreads(__tstate
);
39777 if (PyErr_Occurred()) SWIG_fail
;
39779 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39786 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39787 PyObject
*resultobj
= 0;
39788 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39789 wxWindow
*arg2
= (wxWindow
*) 0 ;
39795 PyObject
* obj0
= 0 ;
39796 PyObject
* obj1
= 0 ;
39797 char * kwnames
[] = {
39798 (char *) "self",(char *) "window", NULL
39801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39803 if (!SWIG_IsOK(res1
)) {
39804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39806 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39807 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39808 if (!SWIG_IsOK(res2
)) {
39809 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
39811 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39814 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
39815 wxPyEndAllowThreads(__tstate
);
39816 if (PyErr_Occurred()) SWIG_fail
;
39820 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39822 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39831 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39832 PyObject
*resultobj
= 0;
39833 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39834 wxWindow
*arg2
= (wxWindow
*) 0 ;
39840 PyObject
* obj0
= 0 ;
39841 PyObject
* obj1
= 0 ;
39842 char * kwnames
[] = {
39843 (char *) "self",(char *) "window", NULL
39846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39848 if (!SWIG_IsOK(res1
)) {
39849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39851 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39852 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39853 if (!SWIG_IsOK(res2
)) {
39854 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39856 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39859 result
= (bool)(arg1
)->ShowHelp(arg2
);
39860 wxPyEndAllowThreads(__tstate
);
39861 if (PyErr_Occurred()) SWIG_fail
;
39864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39872 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39873 PyObject
*resultobj
= 0;
39874 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39875 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
39876 wxPoint
*arg3
= 0 ;
39877 wxHelpEvent::Origin arg4
;
39886 PyObject
* obj0
= 0 ;
39887 PyObject
* obj1
= 0 ;
39888 PyObject
* obj2
= 0 ;
39889 PyObject
* obj3
= 0 ;
39890 char * kwnames
[] = {
39891 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
39894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39896 if (!SWIG_IsOK(res1
)) {
39897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39899 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39900 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
39901 if (!SWIG_IsOK(res2
)) {
39902 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
39904 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
39907 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39909 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39910 if (!SWIG_IsOK(ecode4
)) {
39911 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39913 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39916 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
39917 wxPyEndAllowThreads(__tstate
);
39918 if (PyErr_Occurred()) SWIG_fail
;
39921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39929 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39930 PyObject
*resultobj
= 0;
39931 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39932 wxWindow
*arg2
= (wxWindow
*) 0 ;
39933 wxString
*arg3
= 0 ;
39938 bool temp3
= false ;
39939 PyObject
* obj0
= 0 ;
39940 PyObject
* obj1
= 0 ;
39941 PyObject
* obj2
= 0 ;
39942 char * kwnames
[] = {
39943 (char *) "self",(char *) "window",(char *) "text", NULL
39946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39948 if (!SWIG_IsOK(res1
)) {
39949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39951 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39952 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39953 if (!SWIG_IsOK(res2
)) {
39954 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39956 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39958 arg3
= wxString_in_helper(obj2
);
39959 if (arg3
== NULL
) SWIG_fail
;
39963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39964 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39965 wxPyEndAllowThreads(__tstate
);
39966 if (PyErr_Occurred()) SWIG_fail
;
39968 resultobj
= SWIG_Py_Void();
39983 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39984 PyObject
*resultobj
= 0;
39985 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39987 wxString
*arg3
= 0 ;
39992 bool temp3
= false ;
39993 PyObject
* obj0
= 0 ;
39994 PyObject
* obj1
= 0 ;
39995 PyObject
* obj2
= 0 ;
39996 char * kwnames
[] = {
39997 (char *) "self",(char *) "id",(char *) "text", NULL
40000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40002 if (!SWIG_IsOK(res1
)) {
40003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40005 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40007 if (!SWIG_IsOK(ecode2
)) {
40008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40010 arg2
= static_cast< int >(val2
);
40012 arg3
= wxString_in_helper(obj2
);
40013 if (arg3
== NULL
) SWIG_fail
;
40017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40018 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40019 wxPyEndAllowThreads(__tstate
);
40020 if (PyErr_Occurred()) SWIG_fail
;
40022 resultobj
= SWIG_Py_Void();
40037 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40038 PyObject
*resultobj
= 0;
40039 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40040 wxWindow
*arg2
= (wxWindow
*) 0 ;
40045 PyObject
* obj0
= 0 ;
40046 PyObject
* obj1
= 0 ;
40047 char * kwnames
[] = {
40048 (char *) "self",(char *) "window", NULL
40051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40053 if (!SWIG_IsOK(res1
)) {
40054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40056 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40057 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40058 if (!SWIG_IsOK(res2
)) {
40059 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40061 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40064 (arg1
)->RemoveHelp(arg2
);
40065 wxPyEndAllowThreads(__tstate
);
40066 if (PyErr_Occurred()) SWIG_fail
;
40068 resultobj
= SWIG_Py_Void();
40075 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40076 PyObject
*resultobj
= 0;
40077 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40080 PyObject
*swig_obj
[1] ;
40082 if (!args
) SWIG_fail
;
40083 swig_obj
[0] = args
;
40084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40085 if (!SWIG_IsOK(res1
)) {
40086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40088 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40091 wxHelpProvider_Destroy(arg1
);
40092 wxPyEndAllowThreads(__tstate
);
40093 if (PyErr_Occurred()) SWIG_fail
;
40095 resultobj
= SWIG_Py_Void();
40102 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40104 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40105 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40106 return SWIG_Py_Void();
40109 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40110 PyObject
*resultobj
= 0;
40111 wxSimpleHelpProvider
*result
= 0 ;
40113 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40116 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40117 wxPyEndAllowThreads(__tstate
);
40118 if (PyErr_Occurred()) SWIG_fail
;
40120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40127 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40129 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40130 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40131 return SWIG_Py_Void();
40134 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40135 return SWIG_Python_InitShadowInstance(args
);
40138 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40139 PyObject
*resultobj
= 0;
40140 wxBitmap
*arg1
= 0 ;
40141 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40142 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40143 wxGenericDragImage
*result
= 0 ;
40148 PyObject
* obj0
= 0 ;
40149 PyObject
* obj1
= 0 ;
40150 char * kwnames
[] = {
40151 (char *) "image",(char *) "cursor", NULL
40154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40155 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40156 if (!SWIG_IsOK(res1
)) {
40157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40160 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40162 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40164 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40165 if (!SWIG_IsOK(res2
)) {
40166 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40169 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40171 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40174 if (!wxPyCheckForApp()) SWIG_fail
;
40175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40176 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40177 wxPyEndAllowThreads(__tstate
);
40178 if (PyErr_Occurred()) SWIG_fail
;
40180 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40187 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40188 PyObject
*resultobj
= 0;
40190 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40191 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40192 wxGenericDragImage
*result
= 0 ;
40197 PyObject
* obj0
= 0 ;
40198 PyObject
* obj1
= 0 ;
40199 char * kwnames
[] = {
40200 (char *) "image",(char *) "cursor", NULL
40203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40204 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40205 if (!SWIG_IsOK(res1
)) {
40206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40209 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40211 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40213 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40214 if (!SWIG_IsOK(res2
)) {
40215 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40218 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40220 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40223 if (!wxPyCheckForApp()) SWIG_fail
;
40224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40225 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40226 wxPyEndAllowThreads(__tstate
);
40227 if (PyErr_Occurred()) SWIG_fail
;
40229 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40236 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40237 PyObject
*resultobj
= 0;
40238 wxString
*arg1
= 0 ;
40239 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40240 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40241 wxGenericDragImage
*result
= 0 ;
40242 bool temp1
= false ;
40245 PyObject
* obj0
= 0 ;
40246 PyObject
* obj1
= 0 ;
40247 char * kwnames
[] = {
40248 (char *) "str",(char *) "cursor", NULL
40251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40253 arg1
= wxString_in_helper(obj0
);
40254 if (arg1
== NULL
) SWIG_fail
;
40258 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40259 if (!SWIG_IsOK(res2
)) {
40260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40263 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40265 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40268 if (!wxPyCheckForApp()) SWIG_fail
;
40269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40270 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40271 wxPyEndAllowThreads(__tstate
);
40272 if (PyErr_Occurred()) SWIG_fail
;
40274 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40289 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40290 PyObject
*resultobj
= 0;
40291 wxPyTreeCtrl
*arg1
= 0 ;
40292 wxTreeItemId
*arg2
= 0 ;
40293 wxGenericDragImage
*result
= 0 ;
40298 PyObject
* obj0
= 0 ;
40299 PyObject
* obj1
= 0 ;
40300 char * kwnames
[] = {
40301 (char *) "treeCtrl",(char *) "id", NULL
40304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40305 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40306 if (!SWIG_IsOK(res1
)) {
40307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40310 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40312 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40313 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40314 if (!SWIG_IsOK(res2
)) {
40315 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40318 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40320 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40322 if (!wxPyCheckForApp()) SWIG_fail
;
40323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40324 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40325 wxPyEndAllowThreads(__tstate
);
40326 if (PyErr_Occurred()) SWIG_fail
;
40328 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40335 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40336 PyObject
*resultobj
= 0;
40337 wxPyListCtrl
*arg1
= 0 ;
40339 wxGenericDragImage
*result
= 0 ;
40344 PyObject
* obj0
= 0 ;
40345 PyObject
* obj1
= 0 ;
40346 char * kwnames
[] = {
40347 (char *) "listCtrl",(char *) "id", NULL
40350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40351 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40352 if (!SWIG_IsOK(res1
)) {
40353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40356 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40358 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40359 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40360 if (!SWIG_IsOK(ecode2
)) {
40361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40363 arg2
= static_cast< long >(val2
);
40365 if (!wxPyCheckForApp()) SWIG_fail
;
40366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40367 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40368 wxPyEndAllowThreads(__tstate
);
40369 if (PyErr_Occurred()) SWIG_fail
;
40371 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40378 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40379 PyObject
*resultobj
= 0;
40380 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40383 PyObject
*swig_obj
[1] ;
40385 if (!args
) SWIG_fail
;
40386 swig_obj
[0] = args
;
40387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40388 if (!SWIG_IsOK(res1
)) {
40389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40391 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40396 wxPyEndAllowThreads(__tstate
);
40397 if (PyErr_Occurred()) SWIG_fail
;
40399 resultobj
= SWIG_Py_Void();
40406 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40407 PyObject
*resultobj
= 0;
40408 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40409 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40414 PyObject
* obj0
= 0 ;
40415 PyObject
* obj1
= 0 ;
40416 char * kwnames
[] = {
40417 (char *) "self",(char *) "bitmap", NULL
40420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40422 if (!SWIG_IsOK(res1
)) {
40423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40425 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40426 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40427 if (!SWIG_IsOK(res2
)) {
40428 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40430 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40433 (arg1
)->SetBackingBitmap(arg2
);
40434 wxPyEndAllowThreads(__tstate
);
40435 if (PyErr_Occurred()) SWIG_fail
;
40437 resultobj
= SWIG_Py_Void();
40444 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40445 PyObject
*resultobj
= 0;
40446 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40447 wxPoint
*arg2
= 0 ;
40448 wxWindow
*arg3
= (wxWindow
*) 0 ;
40449 bool arg4
= (bool) false ;
40450 wxRect
*arg5
= (wxRect
*) NULL
;
40461 PyObject
* obj0
= 0 ;
40462 PyObject
* obj1
= 0 ;
40463 PyObject
* obj2
= 0 ;
40464 PyObject
* obj3
= 0 ;
40465 PyObject
* obj4
= 0 ;
40466 char * kwnames
[] = {
40467 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40472 if (!SWIG_IsOK(res1
)) {
40473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40475 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40478 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40480 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40481 if (!SWIG_IsOK(res3
)) {
40482 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40484 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40486 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40487 if (!SWIG_IsOK(ecode4
)) {
40488 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40490 arg4
= static_cast< bool >(val4
);
40493 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40494 if (!SWIG_IsOK(res5
)) {
40495 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40497 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40501 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40502 wxPyEndAllowThreads(__tstate
);
40503 if (PyErr_Occurred()) SWIG_fail
;
40506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40514 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40515 PyObject
*resultobj
= 0;
40516 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40517 wxPoint
*arg2
= 0 ;
40518 wxWindow
*arg3
= (wxWindow
*) 0 ;
40519 wxWindow
*arg4
= (wxWindow
*) 0 ;
40528 PyObject
* obj0
= 0 ;
40529 PyObject
* obj1
= 0 ;
40530 PyObject
* obj2
= 0 ;
40531 PyObject
* obj3
= 0 ;
40532 char * kwnames
[] = {
40533 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40538 if (!SWIG_IsOK(res1
)) {
40539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40541 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40544 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40546 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40547 if (!SWIG_IsOK(res3
)) {
40548 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40550 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40551 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40552 if (!SWIG_IsOK(res4
)) {
40553 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40555 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40558 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40559 wxPyEndAllowThreads(__tstate
);
40560 if (PyErr_Occurred()) SWIG_fail
;
40563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40571 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40572 PyObject
*resultobj
= 0;
40573 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40577 PyObject
*swig_obj
[1] ;
40579 if (!args
) SWIG_fail
;
40580 swig_obj
[0] = args
;
40581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40582 if (!SWIG_IsOK(res1
)) {
40583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40585 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40588 result
= (bool)(arg1
)->EndDrag();
40589 wxPyEndAllowThreads(__tstate
);
40590 if (PyErr_Occurred()) SWIG_fail
;
40593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40601 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40602 PyObject
*resultobj
= 0;
40603 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40604 wxPoint
*arg2
= 0 ;
40609 PyObject
* obj0
= 0 ;
40610 PyObject
* obj1
= 0 ;
40611 char * kwnames
[] = {
40612 (char *) "self",(char *) "pt", NULL
40615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40617 if (!SWIG_IsOK(res1
)) {
40618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40620 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40623 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40627 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40628 wxPyEndAllowThreads(__tstate
);
40629 if (PyErr_Occurred()) SWIG_fail
;
40632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40640 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40641 PyObject
*resultobj
= 0;
40642 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40646 PyObject
*swig_obj
[1] ;
40648 if (!args
) SWIG_fail
;
40649 swig_obj
[0] = args
;
40650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40651 if (!SWIG_IsOK(res1
)) {
40652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40654 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40657 result
= (bool)(arg1
)->Show();
40658 wxPyEndAllowThreads(__tstate
);
40659 if (PyErr_Occurred()) SWIG_fail
;
40662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40670 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40671 PyObject
*resultobj
= 0;
40672 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40676 PyObject
*swig_obj
[1] ;
40678 if (!args
) SWIG_fail
;
40679 swig_obj
[0] = args
;
40680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40681 if (!SWIG_IsOK(res1
)) {
40682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40684 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40687 result
= (bool)(arg1
)->Hide();
40688 wxPyEndAllowThreads(__tstate
);
40689 if (PyErr_Occurred()) SWIG_fail
;
40692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40700 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40701 PyObject
*resultobj
= 0;
40702 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40703 wxPoint
*arg2
= 0 ;
40708 PyObject
* obj0
= 0 ;
40709 PyObject
* obj1
= 0 ;
40710 char * kwnames
[] = {
40711 (char *) "self",(char *) "pos", NULL
40714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40716 if (!SWIG_IsOK(res1
)) {
40717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40719 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40722 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40726 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
40727 wxPyEndAllowThreads(__tstate
);
40728 if (PyErr_Occurred()) SWIG_fail
;
40730 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
40737 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40738 PyObject
*resultobj
= 0;
40739 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40741 wxPoint
*arg3
= 0 ;
40748 PyObject
* obj0
= 0 ;
40749 PyObject
* obj1
= 0 ;
40750 PyObject
* obj2
= 0 ;
40751 char * kwnames
[] = {
40752 (char *) "self",(char *) "dc",(char *) "pos", NULL
40755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40757 if (!SWIG_IsOK(res1
)) {
40758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40760 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40761 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40762 if (!SWIG_IsOK(res2
)) {
40763 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40766 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40768 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40771 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40775 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
40776 wxPyEndAllowThreads(__tstate
);
40777 if (PyErr_Occurred()) SWIG_fail
;
40780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40788 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40789 PyObject
*resultobj
= 0;
40790 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40792 wxMemoryDC
*arg3
= 0 ;
40804 PyObject
* obj0
= 0 ;
40805 PyObject
* obj1
= 0 ;
40806 PyObject
* obj2
= 0 ;
40807 PyObject
* obj3
= 0 ;
40808 PyObject
* obj4
= 0 ;
40809 char * kwnames
[] = {
40810 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
40813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40815 if (!SWIG_IsOK(res1
)) {
40816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40818 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40819 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40820 if (!SWIG_IsOK(res2
)) {
40821 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40824 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40826 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40827 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
40828 if (!SWIG_IsOK(res3
)) {
40829 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40832 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40834 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
40837 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
40841 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
40844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40845 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
40846 wxPyEndAllowThreads(__tstate
);
40847 if (PyErr_Occurred()) SWIG_fail
;
40850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40858 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40859 PyObject
*resultobj
= 0;
40860 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40861 wxPoint
*arg2
= 0 ;
40862 wxPoint
*arg3
= 0 ;
40874 PyObject
* obj0
= 0 ;
40875 PyObject
* obj1
= 0 ;
40876 PyObject
* obj2
= 0 ;
40877 PyObject
* obj3
= 0 ;
40878 PyObject
* obj4
= 0 ;
40879 char * kwnames
[] = {
40880 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
40883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40885 if (!SWIG_IsOK(res1
)) {
40886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40888 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40891 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40895 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40897 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40898 if (!SWIG_IsOK(ecode4
)) {
40899 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
40901 arg4
= static_cast< bool >(val4
);
40902 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
40903 if (!SWIG_IsOK(ecode5
)) {
40904 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
40906 arg5
= static_cast< bool >(val5
);
40908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40909 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
40910 wxPyEndAllowThreads(__tstate
);
40911 if (PyErr_Occurred()) SWIG_fail
;
40914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40922 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40924 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40925 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
40926 return SWIG_Py_Void();
40929 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40930 return SWIG_Python_InitShadowInstance(args
);
40933 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
40934 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
40939 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
40940 PyObject
*pyobj
= 0;
40944 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40946 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40953 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40954 PyObject
*resultobj
= 0;
40955 wxWindow
*arg1
= (wxWindow
*) 0 ;
40956 int arg2
= (int) -1 ;
40957 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
40958 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
40959 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
40960 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
40961 wxSize
const &arg5_defvalue
= wxDefaultSize
;
40962 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
40963 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40964 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
40965 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
40966 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
40967 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
40968 wxDatePickerCtrl
*result
= 0 ;
40981 bool temp8
= false ;
40982 PyObject
* obj0
= 0 ;
40983 PyObject
* obj1
= 0 ;
40984 PyObject
* obj2
= 0 ;
40985 PyObject
* obj3
= 0 ;
40986 PyObject
* obj4
= 0 ;
40987 PyObject
* obj5
= 0 ;
40988 PyObject
* obj6
= 0 ;
40989 PyObject
* obj7
= 0 ;
40990 char * kwnames
[] = {
40991 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
40995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40996 if (!SWIG_IsOK(res1
)) {
40997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
40999 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41001 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41002 if (!SWIG_IsOK(ecode2
)) {
41003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41005 arg2
= static_cast< int >(val2
);
41008 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41009 if (!SWIG_IsOK(res3
)) {
41010 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41013 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41015 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41020 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41026 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41030 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41031 if (!SWIG_IsOK(ecode6
)) {
41032 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41034 arg6
= static_cast< long >(val6
);
41037 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41038 if (!SWIG_IsOK(res7
)) {
41039 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41042 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41044 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41048 arg8
= wxString_in_helper(obj7
);
41049 if (arg8
== NULL
) SWIG_fail
;
41054 if (!wxPyCheckForApp()) SWIG_fail
;
41055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41056 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41057 wxPyEndAllowThreads(__tstate
);
41058 if (PyErr_Occurred()) SWIG_fail
;
41060 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41075 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41076 PyObject
*resultobj
= 0;
41077 wxDatePickerCtrl
*result
= 0 ;
41079 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41081 if (!wxPyCheckForApp()) SWIG_fail
;
41082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41083 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41084 wxPyEndAllowThreads(__tstate
);
41085 if (PyErr_Occurred()) SWIG_fail
;
41087 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41094 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41095 PyObject
*resultobj
= 0;
41096 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41097 wxWindow
*arg2
= (wxWindow
*) 0 ;
41098 int arg3
= (int) -1 ;
41099 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41100 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41101 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41102 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41103 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41104 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41105 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41106 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41107 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41108 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41109 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41125 bool temp9
= false ;
41126 PyObject
* obj0
= 0 ;
41127 PyObject
* obj1
= 0 ;
41128 PyObject
* obj2
= 0 ;
41129 PyObject
* obj3
= 0 ;
41130 PyObject
* obj4
= 0 ;
41131 PyObject
* obj5
= 0 ;
41132 PyObject
* obj6
= 0 ;
41133 PyObject
* obj7
= 0 ;
41134 PyObject
* obj8
= 0 ;
41135 char * kwnames
[] = {
41136 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41141 if (!SWIG_IsOK(res1
)) {
41142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41144 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41145 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41146 if (!SWIG_IsOK(res2
)) {
41147 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41149 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41151 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41152 if (!SWIG_IsOK(ecode3
)) {
41153 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41155 arg3
= static_cast< int >(val3
);
41158 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41159 if (!SWIG_IsOK(res4
)) {
41160 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41163 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41165 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41170 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41176 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41180 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41181 if (!SWIG_IsOK(ecode7
)) {
41182 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41184 arg7
= static_cast< long >(val7
);
41187 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41188 if (!SWIG_IsOK(res8
)) {
41189 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41192 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41194 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41198 arg9
= wxString_in_helper(obj8
);
41199 if (arg9
== NULL
) SWIG_fail
;
41204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41205 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41206 wxPyEndAllowThreads(__tstate
);
41207 if (PyErr_Occurred()) SWIG_fail
;
41210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41226 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41227 PyObject
*resultobj
= 0;
41228 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41229 wxDateTime
*arg2
= 0 ;
41234 PyObject
* obj0
= 0 ;
41235 PyObject
* obj1
= 0 ;
41236 char * kwnames
[] = {
41237 (char *) "self",(char *) "dt", NULL
41240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41242 if (!SWIG_IsOK(res1
)) {
41243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41245 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41246 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41247 if (!SWIG_IsOK(res2
)) {
41248 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41251 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41253 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41256 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41257 wxPyEndAllowThreads(__tstate
);
41258 if (PyErr_Occurred()) SWIG_fail
;
41260 resultobj
= SWIG_Py_Void();
41267 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41268 PyObject
*resultobj
= 0;
41269 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41273 PyObject
*swig_obj
[1] ;
41275 if (!args
) SWIG_fail
;
41276 swig_obj
[0] = args
;
41277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41278 if (!SWIG_IsOK(res1
)) {
41279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41281 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41284 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41285 wxPyEndAllowThreads(__tstate
);
41286 if (PyErr_Occurred()) SWIG_fail
;
41288 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41295 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41296 PyObject
*resultobj
= 0;
41297 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41298 wxDateTime
*arg2
= 0 ;
41299 wxDateTime
*arg3
= 0 ;
41306 PyObject
* obj0
= 0 ;
41307 PyObject
* obj1
= 0 ;
41308 PyObject
* obj2
= 0 ;
41309 char * kwnames
[] = {
41310 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41315 if (!SWIG_IsOK(res1
)) {
41316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41318 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41319 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41320 if (!SWIG_IsOK(res2
)) {
41321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41326 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41327 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41328 if (!SWIG_IsOK(res3
)) {
41329 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41332 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41334 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41337 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41338 wxPyEndAllowThreads(__tstate
);
41339 if (PyErr_Occurred()) SWIG_fail
;
41341 resultobj
= SWIG_Py_Void();
41348 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41349 PyObject
*resultobj
= 0;
41350 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41354 PyObject
*swig_obj
[1] ;
41356 if (!args
) SWIG_fail
;
41357 swig_obj
[0] = args
;
41358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41359 if (!SWIG_IsOK(res1
)) {
41360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41362 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41365 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41366 wxPyEndAllowThreads(__tstate
);
41367 if (PyErr_Occurred()) SWIG_fail
;
41369 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41376 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41377 PyObject
*resultobj
= 0;
41378 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41382 PyObject
*swig_obj
[1] ;
41384 if (!args
) SWIG_fail
;
41385 swig_obj
[0] = args
;
41386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41387 if (!SWIG_IsOK(res1
)) {
41388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41390 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41393 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41394 wxPyEndAllowThreads(__tstate
);
41395 if (PyErr_Occurred()) SWIG_fail
;
41397 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41404 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41406 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41407 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41408 return SWIG_Py_Void();
41411 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41412 return SWIG_Python_InitShadowInstance(args
);
41415 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41416 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41421 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41422 PyObject
*pyobj
= 0;
41426 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41428 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41435 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41436 PyObject
*resultobj
= 0;
41437 wxWindow
*arg1
= (wxWindow
*) 0 ;
41439 wxString
*arg3
= 0 ;
41440 wxString
*arg4
= 0 ;
41441 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41442 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41443 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41444 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41445 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41446 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41447 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41448 wxHyperlinkCtrl
*result
= 0 ;
41453 bool temp3
= false ;
41454 bool temp4
= false ;
41459 bool temp8
= false ;
41460 PyObject
* obj0
= 0 ;
41461 PyObject
* obj1
= 0 ;
41462 PyObject
* obj2
= 0 ;
41463 PyObject
* obj3
= 0 ;
41464 PyObject
* obj4
= 0 ;
41465 PyObject
* obj5
= 0 ;
41466 PyObject
* obj6
= 0 ;
41467 PyObject
* obj7
= 0 ;
41468 char * kwnames
[] = {
41469 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41474 if (!SWIG_IsOK(res1
)) {
41475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41477 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41478 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41479 if (!SWIG_IsOK(ecode2
)) {
41480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41482 arg2
= static_cast< int >(val2
);
41484 arg3
= wxString_in_helper(obj2
);
41485 if (arg3
== NULL
) SWIG_fail
;
41489 arg4
= wxString_in_helper(obj3
);
41490 if (arg4
== NULL
) SWIG_fail
;
41496 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41502 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41506 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41507 if (!SWIG_IsOK(ecode7
)) {
41508 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41510 arg7
= static_cast< long >(val7
);
41514 arg8
= wxString_in_helper(obj7
);
41515 if (arg8
== NULL
) SWIG_fail
;
41520 if (!wxPyCheckForApp()) SWIG_fail
;
41521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41522 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
41523 wxPyEndAllowThreads(__tstate
);
41524 if (PyErr_Occurred()) SWIG_fail
;
41526 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
41557 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41558 PyObject
*resultobj
= 0;
41559 wxHyperlinkCtrl
*result
= 0 ;
41561 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
41563 if (!wxPyCheckForApp()) SWIG_fail
;
41564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41565 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
41566 wxPyEndAllowThreads(__tstate
);
41567 if (PyErr_Occurred()) SWIG_fail
;
41569 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
41576 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41577 PyObject
*resultobj
= 0;
41578 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41579 wxWindow
*arg2
= (wxWindow
*) 0 ;
41581 wxString
*arg4
= 0 ;
41582 wxString
*arg5
= 0 ;
41583 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
41584 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
41585 wxSize
const &arg7_defvalue
= wxDefaultSize
;
41586 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
41587 long arg8
= (long) wxHL_DEFAULT_STYLE
;
41588 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
41589 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41597 bool temp4
= false ;
41598 bool temp5
= false ;
41603 bool temp9
= false ;
41604 PyObject
* obj0
= 0 ;
41605 PyObject
* obj1
= 0 ;
41606 PyObject
* obj2
= 0 ;
41607 PyObject
* obj3
= 0 ;
41608 PyObject
* obj4
= 0 ;
41609 PyObject
* obj5
= 0 ;
41610 PyObject
* obj6
= 0 ;
41611 PyObject
* obj7
= 0 ;
41612 PyObject
* obj8
= 0 ;
41613 char * kwnames
[] = {
41614 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41619 if (!SWIG_IsOK(res1
)) {
41620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41622 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41623 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41624 if (!SWIG_IsOK(res2
)) {
41625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41627 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41628 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41629 if (!SWIG_IsOK(ecode3
)) {
41630 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41632 arg3
= static_cast< int >(val3
);
41634 arg4
= wxString_in_helper(obj3
);
41635 if (arg4
== NULL
) SWIG_fail
;
41639 arg5
= wxString_in_helper(obj4
);
41640 if (arg5
== NULL
) SWIG_fail
;
41646 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
41652 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
41656 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
41657 if (!SWIG_IsOK(ecode8
)) {
41658 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41660 arg8
= static_cast< long >(val8
);
41664 arg9
= wxString_in_helper(obj8
);
41665 if (arg9
== NULL
) SWIG_fail
;
41670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41671 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
41672 wxPyEndAllowThreads(__tstate
);
41673 if (PyErr_Occurred()) SWIG_fail
;
41676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41708 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41709 PyObject
*resultobj
= 0;
41710 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41714 PyObject
*swig_obj
[1] ;
41716 if (!args
) SWIG_fail
;
41717 swig_obj
[0] = args
;
41718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41719 if (!SWIG_IsOK(res1
)) {
41720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41722 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41725 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
41726 wxPyEndAllowThreads(__tstate
);
41727 if (PyErr_Occurred()) SWIG_fail
;
41729 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41736 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41737 PyObject
*resultobj
= 0;
41738 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41739 wxColour
*arg2
= 0 ;
41743 PyObject
* obj0
= 0 ;
41744 PyObject
* obj1
= 0 ;
41745 char * kwnames
[] = {
41746 (char *) "self",(char *) "colour", NULL
41749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41751 if (!SWIG_IsOK(res1
)) {
41752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41754 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41757 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41761 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
41762 wxPyEndAllowThreads(__tstate
);
41763 if (PyErr_Occurred()) SWIG_fail
;
41765 resultobj
= SWIG_Py_Void();
41772 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41773 PyObject
*resultobj
= 0;
41774 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41778 PyObject
*swig_obj
[1] ;
41780 if (!args
) SWIG_fail
;
41781 swig_obj
[0] = args
;
41782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41783 if (!SWIG_IsOK(res1
)) {
41784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41786 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41789 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
41790 wxPyEndAllowThreads(__tstate
);
41791 if (PyErr_Occurred()) SWIG_fail
;
41793 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41800 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41801 PyObject
*resultobj
= 0;
41802 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41803 wxColour
*arg2
= 0 ;
41807 PyObject
* obj0
= 0 ;
41808 PyObject
* obj1
= 0 ;
41809 char * kwnames
[] = {
41810 (char *) "self",(char *) "colour", NULL
41813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41815 if (!SWIG_IsOK(res1
)) {
41816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41818 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41821 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41825 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
41826 wxPyEndAllowThreads(__tstate
);
41827 if (PyErr_Occurred()) SWIG_fail
;
41829 resultobj
= SWIG_Py_Void();
41836 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41837 PyObject
*resultobj
= 0;
41838 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41842 PyObject
*swig_obj
[1] ;
41844 if (!args
) SWIG_fail
;
41845 swig_obj
[0] = args
;
41846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41847 if (!SWIG_IsOK(res1
)) {
41848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41850 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41853 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
41854 wxPyEndAllowThreads(__tstate
);
41855 if (PyErr_Occurred()) SWIG_fail
;
41857 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41864 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41865 PyObject
*resultobj
= 0;
41866 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41867 wxColour
*arg2
= 0 ;
41871 PyObject
* obj0
= 0 ;
41872 PyObject
* obj1
= 0 ;
41873 char * kwnames
[] = {
41874 (char *) "self",(char *) "colour", NULL
41877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41879 if (!SWIG_IsOK(res1
)) {
41880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41882 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41885 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41889 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
41890 wxPyEndAllowThreads(__tstate
);
41891 if (PyErr_Occurred()) SWIG_fail
;
41893 resultobj
= SWIG_Py_Void();
41900 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41901 PyObject
*resultobj
= 0;
41902 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41906 PyObject
*swig_obj
[1] ;
41908 if (!args
) SWIG_fail
;
41909 swig_obj
[0] = args
;
41910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41911 if (!SWIG_IsOK(res1
)) {
41912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41914 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41917 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
41918 wxPyEndAllowThreads(__tstate
);
41919 if (PyErr_Occurred()) SWIG_fail
;
41923 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41925 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41934 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41935 PyObject
*resultobj
= 0;
41936 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41937 wxString
*arg2
= 0 ;
41940 bool temp2
= false ;
41941 PyObject
* obj0
= 0 ;
41942 PyObject
* obj1
= 0 ;
41943 char * kwnames
[] = {
41944 (char *) "self",(char *) "url", NULL
41947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41949 if (!SWIG_IsOK(res1
)) {
41950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41952 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41954 arg2
= wxString_in_helper(obj1
);
41955 if (arg2
== NULL
) SWIG_fail
;
41959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41960 (arg1
)->SetURL((wxString
const &)*arg2
);
41961 wxPyEndAllowThreads(__tstate
);
41962 if (PyErr_Occurred()) SWIG_fail
;
41964 resultobj
= SWIG_Py_Void();
41979 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41980 PyObject
*resultobj
= 0;
41981 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41982 bool arg2
= (bool) true ;
41987 PyObject
* obj0
= 0 ;
41988 PyObject
* obj1
= 0 ;
41989 char * kwnames
[] = {
41990 (char *) "self",(char *) "visited", NULL
41993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41995 if (!SWIG_IsOK(res1
)) {
41996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41998 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42000 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42001 if (!SWIG_IsOK(ecode2
)) {
42002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42004 arg2
= static_cast< bool >(val2
);
42007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42008 (arg1
)->SetVisited(arg2
);
42009 wxPyEndAllowThreads(__tstate
);
42010 if (PyErr_Occurred()) SWIG_fail
;
42012 resultobj
= SWIG_Py_Void();
42019 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42020 PyObject
*resultobj
= 0;
42021 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42025 PyObject
*swig_obj
[1] ;
42027 if (!args
) SWIG_fail
;
42028 swig_obj
[0] = args
;
42029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42030 if (!SWIG_IsOK(res1
)) {
42031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42033 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42036 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42037 wxPyEndAllowThreads(__tstate
);
42038 if (PyErr_Occurred()) SWIG_fail
;
42041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42049 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42051 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42052 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42053 return SWIG_Py_Void();
42056 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42057 return SWIG_Python_InitShadowInstance(args
);
42060 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42061 PyObject
*resultobj
= 0;
42062 wxObject
*arg1
= (wxObject
*) 0 ;
42064 wxString
*arg3
= 0 ;
42065 wxHyperlinkEvent
*result
= 0 ;
42070 bool temp3
= false ;
42071 PyObject
* obj0
= 0 ;
42072 PyObject
* obj1
= 0 ;
42073 PyObject
* obj2
= 0 ;
42074 char * kwnames
[] = {
42075 (char *) "generator",(char *) "id",(char *) "url", NULL
42078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42080 if (!SWIG_IsOK(res1
)) {
42081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42083 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42084 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42085 if (!SWIG_IsOK(ecode2
)) {
42086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42088 arg2
= static_cast< int >(val2
);
42090 arg3
= wxString_in_helper(obj2
);
42091 if (arg3
== NULL
) SWIG_fail
;
42095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42096 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42097 wxPyEndAllowThreads(__tstate
);
42098 if (PyErr_Occurred()) SWIG_fail
;
42100 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42115 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42116 PyObject
*resultobj
= 0;
42117 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42121 PyObject
*swig_obj
[1] ;
42123 if (!args
) SWIG_fail
;
42124 swig_obj
[0] = args
;
42125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42126 if (!SWIG_IsOK(res1
)) {
42127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42129 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42132 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42133 wxPyEndAllowThreads(__tstate
);
42134 if (PyErr_Occurred()) SWIG_fail
;
42138 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42140 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42149 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42150 PyObject
*resultobj
= 0;
42151 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42152 wxString
*arg2
= 0 ;
42155 bool temp2
= false ;
42156 PyObject
* obj0
= 0 ;
42157 PyObject
* obj1
= 0 ;
42158 char * kwnames
[] = {
42159 (char *) "self",(char *) "url", NULL
42162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42164 if (!SWIG_IsOK(res1
)) {
42165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42167 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42169 arg2
= wxString_in_helper(obj1
);
42170 if (arg2
== NULL
) SWIG_fail
;
42174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42175 (arg1
)->SetURL((wxString
const &)*arg2
);
42176 wxPyEndAllowThreads(__tstate
);
42177 if (PyErr_Occurred()) SWIG_fail
;
42179 resultobj
= SWIG_Py_Void();
42194 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42196 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42197 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42198 return SWIG_Py_Void();
42201 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42202 return SWIG_Python_InitShadowInstance(args
);
42205 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42206 PyObject
*resultobj
= 0;
42207 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42208 wxWindow
*arg2
= (wxWindow
*) 0 ;
42210 wxString
const &arg4_defvalue
= wxEmptyString
;
42211 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42212 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42213 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42214 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42215 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42216 long arg7
= (long) 0 ;
42217 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42218 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42219 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42220 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42228 bool temp4
= false ;
42235 bool temp9
= false ;
42236 PyObject
* obj0
= 0 ;
42237 PyObject
* obj1
= 0 ;
42238 PyObject
* obj2
= 0 ;
42239 PyObject
* obj3
= 0 ;
42240 PyObject
* obj4
= 0 ;
42241 PyObject
* obj5
= 0 ;
42242 PyObject
* obj6
= 0 ;
42243 PyObject
* obj7
= 0 ;
42244 PyObject
* obj8
= 0 ;
42245 char * kwnames
[] = {
42246 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42251 if (!SWIG_IsOK(res1
)) {
42252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42254 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42255 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42256 if (!SWIG_IsOK(res2
)) {
42257 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42259 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42260 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42261 if (!SWIG_IsOK(ecode3
)) {
42262 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42264 arg3
= static_cast< int >(val3
);
42267 arg4
= wxString_in_helper(obj3
);
42268 if (arg4
== NULL
) SWIG_fail
;
42275 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42281 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42285 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42286 if (!SWIG_IsOK(ecode7
)) {
42287 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42289 arg7
= static_cast< long >(val7
);
42292 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42293 if (!SWIG_IsOK(res8
)) {
42294 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42297 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42299 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42303 arg9
= wxString_in_helper(obj8
);
42304 if (arg9
== NULL
) SWIG_fail
;
42309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42310 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42311 wxPyEndAllowThreads(__tstate
);
42312 if (PyErr_Occurred()) SWIG_fail
;
42315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42339 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42340 PyObject
*resultobj
= 0;
42341 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42347 PyObject
* obj0
= 0 ;
42348 PyObject
* obj1
= 0 ;
42349 char * kwnames
[] = {
42350 (char *) "self",(char *) "newmargin", NULL
42353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42355 if (!SWIG_IsOK(res1
)) {
42356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42358 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42360 if (!SWIG_IsOK(ecode2
)) {
42361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42363 arg2
= static_cast< int >(val2
);
42365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42366 (arg1
)->SetInternalMargin(arg2
);
42367 wxPyEndAllowThreads(__tstate
);
42368 if (PyErr_Occurred()) SWIG_fail
;
42370 resultobj
= SWIG_Py_Void();
42377 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42378 PyObject
*resultobj
= 0;
42379 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42383 PyObject
*swig_obj
[1] ;
42385 if (!args
) SWIG_fail
;
42386 swig_obj
[0] = args
;
42387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42388 if (!SWIG_IsOK(res1
)) {
42389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42391 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42394 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42395 wxPyEndAllowThreads(__tstate
);
42396 if (PyErr_Occurred()) SWIG_fail
;
42398 resultobj
= SWIG_From_int(static_cast< int >(result
));
42405 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42406 PyObject
*resultobj
= 0;
42407 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42413 PyObject
* obj0
= 0 ;
42414 PyObject
* obj1
= 0 ;
42415 char * kwnames
[] = {
42416 (char *) "self",(char *) "prop", NULL
42419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42421 if (!SWIG_IsOK(res1
)) {
42422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42424 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42425 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42426 if (!SWIG_IsOK(ecode2
)) {
42427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42429 arg2
= static_cast< int >(val2
);
42431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42432 (arg1
)->SetTextCtrlProportion(arg2
);
42433 wxPyEndAllowThreads(__tstate
);
42434 if (PyErr_Occurred()) SWIG_fail
;
42436 resultobj
= SWIG_Py_Void();
42443 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42444 PyObject
*resultobj
= 0;
42445 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42449 PyObject
*swig_obj
[1] ;
42451 if (!args
) SWIG_fail
;
42452 swig_obj
[0] = args
;
42453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42454 if (!SWIG_IsOK(res1
)) {
42455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42457 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42460 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42461 wxPyEndAllowThreads(__tstate
);
42462 if (PyErr_Occurred()) SWIG_fail
;
42464 resultobj
= SWIG_From_int(static_cast< int >(result
));
42471 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42472 PyObject
*resultobj
= 0;
42473 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42477 PyObject
*swig_obj
[1] ;
42479 if (!args
) SWIG_fail
;
42480 swig_obj
[0] = args
;
42481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42482 if (!SWIG_IsOK(res1
)) {
42483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42485 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42488 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
42489 wxPyEndAllowThreads(__tstate
);
42490 if (PyErr_Occurred()) SWIG_fail
;
42493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42501 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42502 PyObject
*resultobj
= 0;
42503 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42504 bool arg2
= (bool) true ;
42509 PyObject
* obj0
= 0 ;
42510 PyObject
* obj1
= 0 ;
42511 char * kwnames
[] = {
42512 (char *) "self",(char *) "grow", NULL
42515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42517 if (!SWIG_IsOK(res1
)) {
42518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42520 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42522 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42523 if (!SWIG_IsOK(ecode2
)) {
42524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42526 arg2
= static_cast< bool >(val2
);
42529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42530 (arg1
)->SetTextCtrlGrowable(arg2
);
42531 wxPyEndAllowThreads(__tstate
);
42532 if (PyErr_Occurred()) SWIG_fail
;
42534 resultobj
= SWIG_Py_Void();
42541 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42542 PyObject
*resultobj
= 0;
42543 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42547 PyObject
*swig_obj
[1] ;
42549 if (!args
) SWIG_fail
;
42550 swig_obj
[0] = args
;
42551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42552 if (!SWIG_IsOK(res1
)) {
42553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42555 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42558 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
42559 wxPyEndAllowThreads(__tstate
);
42560 if (PyErr_Occurred()) SWIG_fail
;
42563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42571 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42572 PyObject
*resultobj
= 0;
42573 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42574 bool arg2
= (bool) true ;
42579 PyObject
* obj0
= 0 ;
42580 PyObject
* obj1
= 0 ;
42581 char * kwnames
[] = {
42582 (char *) "self",(char *) "grow", NULL
42585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42587 if (!SWIG_IsOK(res1
)) {
42588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42590 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42592 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42593 if (!SWIG_IsOK(ecode2
)) {
42594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42596 arg2
= static_cast< bool >(val2
);
42599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42600 (arg1
)->SetPickerCtrlGrowable(arg2
);
42601 wxPyEndAllowThreads(__tstate
);
42602 if (PyErr_Occurred()) SWIG_fail
;
42604 resultobj
= SWIG_Py_Void();
42611 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42612 PyObject
*resultobj
= 0;
42613 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42617 PyObject
*swig_obj
[1] ;
42619 if (!args
) SWIG_fail
;
42620 swig_obj
[0] = args
;
42621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42622 if (!SWIG_IsOK(res1
)) {
42623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42625 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42628 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
42629 wxPyEndAllowThreads(__tstate
);
42630 if (PyErr_Occurred()) SWIG_fail
;
42633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42641 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42642 PyObject
*resultobj
= 0;
42643 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42644 wxTextCtrl
*result
= 0 ;
42647 PyObject
*swig_obj
[1] ;
42649 if (!args
) SWIG_fail
;
42650 swig_obj
[0] = args
;
42651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42652 if (!SWIG_IsOK(res1
)) {
42653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42655 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42658 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
42659 wxPyEndAllowThreads(__tstate
);
42660 if (PyErr_Occurred()) SWIG_fail
;
42663 resultobj
= wxPyMake_wxObject(result
, 0);
42671 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42672 PyObject
*resultobj
= 0;
42673 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42674 wxControl
*result
= 0 ;
42677 PyObject
*swig_obj
[1] ;
42679 if (!args
) SWIG_fail
;
42680 swig_obj
[0] = args
;
42681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42682 if (!SWIG_IsOK(res1
)) {
42683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42685 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42688 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
42689 wxPyEndAllowThreads(__tstate
);
42690 if (PyErr_Occurred()) SWIG_fail
;
42693 resultobj
= wxPyMake_wxObject(result
, 0);
42701 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42703 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42704 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
42705 return SWIG_Py_Void();
42708 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
42709 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
42714 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
42715 PyObject
*pyobj
= 0;
42719 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
42721 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
42728 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42729 PyObject
*resultobj
= 0;
42730 wxWindow
*arg1
= (wxWindow
*) 0 ;
42731 int arg2
= (int) -1 ;
42732 wxColour
const &arg3_defvalue
= *wxBLACK
;
42733 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
42734 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
42735 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
42736 wxSize
const &arg5_defvalue
= wxDefaultSize
;
42737 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
42738 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
42739 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
42740 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
42741 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
42742 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
42743 wxColourPickerCtrl
*result
= 0 ;
42755 bool temp8
= false ;
42756 PyObject
* obj0
= 0 ;
42757 PyObject
* obj1
= 0 ;
42758 PyObject
* obj2
= 0 ;
42759 PyObject
* obj3
= 0 ;
42760 PyObject
* obj4
= 0 ;
42761 PyObject
* obj5
= 0 ;
42762 PyObject
* obj6
= 0 ;
42763 PyObject
* obj7
= 0 ;
42764 char * kwnames
[] = {
42765 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
42769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42770 if (!SWIG_IsOK(res1
)) {
42771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
42773 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
42775 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42776 if (!SWIG_IsOK(ecode2
)) {
42777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
42779 arg2
= static_cast< int >(val2
);
42784 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
42790 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
42796 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
42800 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
42801 if (!SWIG_IsOK(ecode6
)) {
42802 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
42804 arg6
= static_cast< long >(val6
);
42807 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
42808 if (!SWIG_IsOK(res7
)) {
42809 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
42812 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
42814 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
42818 arg8
= wxString_in_helper(obj7
);
42819 if (arg8
== NULL
) SWIG_fail
;
42824 if (!wxPyCheckForApp()) SWIG_fail
;
42825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42826 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
42827 wxPyEndAllowThreads(__tstate
);
42828 if (PyErr_Occurred()) SWIG_fail
;
42830 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
42845 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42846 PyObject
*resultobj
= 0;
42847 wxColourPickerCtrl
*result
= 0 ;
42849 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
42851 if (!wxPyCheckForApp()) SWIG_fail
;
42852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42853 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
42854 wxPyEndAllowThreads(__tstate
);
42855 if (PyErr_Occurred()) SWIG_fail
;
42857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
42864 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42865 PyObject
*resultobj
= 0;
42866 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
42867 wxWindow
*arg2
= (wxWindow
*) 0 ;
42869 wxColour
const &arg4_defvalue
= *wxBLACK
;
42870 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
42871 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42872 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42873 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42874 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42875 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
42876 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42877 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42878 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
42879 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42894 bool temp9
= false ;
42895 PyObject
* obj0
= 0 ;
42896 PyObject
* obj1
= 0 ;
42897 PyObject
* obj2
= 0 ;
42898 PyObject
* obj3
= 0 ;
42899 PyObject
* obj4
= 0 ;
42900 PyObject
* obj5
= 0 ;
42901 PyObject
* obj6
= 0 ;
42902 PyObject
* obj7
= 0 ;
42903 PyObject
* obj8
= 0 ;
42904 char * kwnames
[] = {
42905 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
42910 if (!SWIG_IsOK(res1
)) {
42911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
42913 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
42914 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42915 if (!SWIG_IsOK(res2
)) {
42916 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42918 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42919 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42920 if (!SWIG_IsOK(ecode3
)) {
42921 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42923 arg3
= static_cast< int >(val3
);
42927 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
42933 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42939 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42943 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42944 if (!SWIG_IsOK(ecode7
)) {
42945 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
42947 arg7
= static_cast< long >(val7
);
42950 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42951 if (!SWIG_IsOK(res8
)) {
42952 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
42955 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
42957 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42961 arg9
= wxString_in_helper(obj8
);
42962 if (arg9
== NULL
) SWIG_fail
;
42967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42968 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42969 wxPyEndAllowThreads(__tstate
);
42970 if (PyErr_Occurred()) SWIG_fail
;
42973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42989 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42990 PyObject
*resultobj
= 0;
42991 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
42995 PyObject
*swig_obj
[1] ;
42997 if (!args
) SWIG_fail
;
42998 swig_obj
[0] = args
;
42999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43000 if (!SWIG_IsOK(res1
)) {
43001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43003 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43006 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43007 wxPyEndAllowThreads(__tstate
);
43008 if (PyErr_Occurred()) SWIG_fail
;
43010 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43017 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43018 PyObject
*resultobj
= 0;
43019 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43020 wxColour
*arg2
= 0 ;
43024 PyObject
* obj0
= 0 ;
43025 PyObject
* obj1
= 0 ;
43026 char * kwnames
[] = {
43027 (char *) "self",(char *) "col", NULL
43030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43032 if (!SWIG_IsOK(res1
)) {
43033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43035 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43038 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43042 (arg1
)->SetColour((wxColour
const &)*arg2
);
43043 wxPyEndAllowThreads(__tstate
);
43044 if (PyErr_Occurred()) SWIG_fail
;
43046 resultobj
= SWIG_Py_Void();
43053 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43055 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43056 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43057 return SWIG_Py_Void();
43060 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43061 return SWIG_Python_InitShadowInstance(args
);
43064 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43065 PyObject
*resultobj
= 0;
43066 wxObject
*arg1
= (wxObject
*) 0 ;
43068 wxColour
*arg3
= 0 ;
43069 wxColourPickerEvent
*result
= 0 ;
43075 PyObject
* obj0
= 0 ;
43076 PyObject
* obj1
= 0 ;
43077 PyObject
* obj2
= 0 ;
43078 char * kwnames
[] = {
43079 (char *) "generator",(char *) "id",(char *) "col", NULL
43082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43084 if (!SWIG_IsOK(res1
)) {
43085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43087 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43088 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43089 if (!SWIG_IsOK(ecode2
)) {
43090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43092 arg2
= static_cast< int >(val2
);
43095 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43099 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43100 wxPyEndAllowThreads(__tstate
);
43101 if (PyErr_Occurred()) SWIG_fail
;
43103 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43110 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43111 PyObject
*resultobj
= 0;
43112 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43116 PyObject
*swig_obj
[1] ;
43118 if (!args
) SWIG_fail
;
43119 swig_obj
[0] = args
;
43120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43121 if (!SWIG_IsOK(res1
)) {
43122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43124 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43127 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43128 wxPyEndAllowThreads(__tstate
);
43129 if (PyErr_Occurred()) SWIG_fail
;
43131 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43138 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43139 PyObject
*resultobj
= 0;
43140 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43141 wxColour
*arg2
= 0 ;
43145 PyObject
* obj0
= 0 ;
43146 PyObject
* obj1
= 0 ;
43147 char * kwnames
[] = {
43148 (char *) "self",(char *) "c", NULL
43151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43153 if (!SWIG_IsOK(res1
)) {
43154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43156 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43159 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43163 (arg1
)->SetColour((wxColour
const &)*arg2
);
43164 wxPyEndAllowThreads(__tstate
);
43165 if (PyErr_Occurred()) SWIG_fail
;
43167 resultobj
= SWIG_Py_Void();
43174 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43176 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43177 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43178 return SWIG_Py_Void();
43181 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43182 return SWIG_Python_InitShadowInstance(args
);
43185 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43186 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43191 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43192 PyObject
*pyobj
= 0;
43196 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43198 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43205 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43206 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43211 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43212 PyObject
*pyobj
= 0;
43216 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43218 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43225 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43226 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43231 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43232 PyObject
*pyobj
= 0;
43236 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43238 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43245 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43246 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43251 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43252 PyObject
*pyobj
= 0;
43256 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43258 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43265 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43266 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43271 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43272 PyObject
*pyobj
= 0;
43276 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43278 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43285 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43286 PyObject
*resultobj
= 0;
43287 wxWindow
*arg1
= (wxWindow
*) 0 ;
43288 int arg2
= (int) -1 ;
43289 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43290 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43291 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43292 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43293 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43294 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43295 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43296 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43297 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43298 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43299 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43300 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43301 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43302 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43303 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43304 wxFilePickerCtrl
*result
= 0 ;
43309 bool temp3
= false ;
43310 bool temp4
= false ;
43311 bool temp5
= false ;
43318 bool temp10
= false ;
43319 PyObject
* obj0
= 0 ;
43320 PyObject
* obj1
= 0 ;
43321 PyObject
* obj2
= 0 ;
43322 PyObject
* obj3
= 0 ;
43323 PyObject
* obj4
= 0 ;
43324 PyObject
* obj5
= 0 ;
43325 PyObject
* obj6
= 0 ;
43326 PyObject
* obj7
= 0 ;
43327 PyObject
* obj8
= 0 ;
43328 PyObject
* obj9
= 0 ;
43329 char * kwnames
[] = {
43330 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43335 if (!SWIG_IsOK(res1
)) {
43336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43338 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43340 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43341 if (!SWIG_IsOK(ecode2
)) {
43342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43344 arg2
= static_cast< int >(val2
);
43348 arg3
= wxString_in_helper(obj2
);
43349 if (arg3
== NULL
) SWIG_fail
;
43355 arg4
= wxString_in_helper(obj3
);
43356 if (arg4
== NULL
) SWIG_fail
;
43362 arg5
= wxString_in_helper(obj4
);
43363 if (arg5
== NULL
) SWIG_fail
;
43370 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43376 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43380 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43381 if (!SWIG_IsOK(ecode8
)) {
43382 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43384 arg8
= static_cast< long >(val8
);
43387 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43388 if (!SWIG_IsOK(res9
)) {
43389 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43392 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43394 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43398 arg10
= wxString_in_helper(obj9
);
43399 if (arg10
== NULL
) SWIG_fail
;
43404 if (!wxPyCheckForApp()) SWIG_fail
;
43405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43406 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
);
43407 wxPyEndAllowThreads(__tstate
);
43408 if (PyErr_Occurred()) SWIG_fail
;
43410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
43449 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43450 PyObject
*resultobj
= 0;
43451 wxFilePickerCtrl
*result
= 0 ;
43453 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
43455 if (!wxPyCheckForApp()) SWIG_fail
;
43456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43457 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
43458 wxPyEndAllowThreads(__tstate
);
43459 if (PyErr_Occurred()) SWIG_fail
;
43461 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
43468 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43469 PyObject
*resultobj
= 0;
43470 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43471 wxWindow
*arg2
= (wxWindow
*) 0 ;
43472 int arg3
= (int) -1 ;
43473 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43474 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43475 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
43476 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43477 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43478 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
43479 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
43480 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
43481 wxSize
const &arg8_defvalue
= wxDefaultSize
;
43482 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
43483 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
43484 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
43485 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
43486 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
43487 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
43495 bool temp4
= false ;
43496 bool temp5
= false ;
43497 bool temp6
= false ;
43504 bool temp11
= false ;
43505 PyObject
* obj0
= 0 ;
43506 PyObject
* obj1
= 0 ;
43507 PyObject
* obj2
= 0 ;
43508 PyObject
* obj3
= 0 ;
43509 PyObject
* obj4
= 0 ;
43510 PyObject
* obj5
= 0 ;
43511 PyObject
* obj6
= 0 ;
43512 PyObject
* obj7
= 0 ;
43513 PyObject
* obj8
= 0 ;
43514 PyObject
* obj9
= 0 ;
43515 PyObject
* obj10
= 0 ;
43516 char * kwnames
[] = {
43517 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
43521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43522 if (!SWIG_IsOK(res1
)) {
43523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43525 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43526 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43527 if (!SWIG_IsOK(res2
)) {
43528 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43530 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43532 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43533 if (!SWIG_IsOK(ecode3
)) {
43534 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43536 arg3
= static_cast< int >(val3
);
43540 arg4
= wxString_in_helper(obj3
);
43541 if (arg4
== NULL
) SWIG_fail
;
43547 arg5
= wxString_in_helper(obj4
);
43548 if (arg5
== NULL
) SWIG_fail
;
43554 arg6
= wxString_in_helper(obj5
);
43555 if (arg6
== NULL
) SWIG_fail
;
43562 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
43568 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
43572 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
43573 if (!SWIG_IsOK(ecode9
)) {
43574 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
43576 arg9
= static_cast< long >(val9
);
43579 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
43580 if (!SWIG_IsOK(res10
)) {
43581 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43584 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43586 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
43590 arg11
= wxString_in_helper(obj10
);
43591 if (arg11
== NULL
) SWIG_fail
;
43596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43597 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
);
43598 wxPyEndAllowThreads(__tstate
);
43599 if (PyErr_Occurred()) SWIG_fail
;
43602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43642 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43643 PyObject
*resultobj
= 0;
43644 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43648 PyObject
*swig_obj
[1] ;
43650 if (!args
) SWIG_fail
;
43651 swig_obj
[0] = args
;
43652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43653 if (!SWIG_IsOK(res1
)) {
43654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43656 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43659 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
43660 wxPyEndAllowThreads(__tstate
);
43661 if (PyErr_Occurred()) SWIG_fail
;
43665 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43667 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43676 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43677 PyObject
*resultobj
= 0;
43678 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43679 wxString
*arg2
= 0 ;
43682 bool temp2
= false ;
43683 PyObject
* obj0
= 0 ;
43684 PyObject
* obj1
= 0 ;
43685 char * kwnames
[] = {
43686 (char *) "self",(char *) "str", NULL
43689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43691 if (!SWIG_IsOK(res1
)) {
43692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43694 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43696 arg2
= wxString_in_helper(obj1
);
43697 if (arg2
== NULL
) SWIG_fail
;
43701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43702 (arg1
)->SetPath((wxString
const &)*arg2
);
43703 wxPyEndAllowThreads(__tstate
);
43704 if (PyErr_Occurred()) SWIG_fail
;
43706 resultobj
= SWIG_Py_Void();
43721 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43722 PyObject
*resultobj
= 0;
43723 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43724 wxString
*arg2
= 0 ;
43728 bool temp2
= false ;
43729 PyObject
* obj0
= 0 ;
43730 PyObject
* obj1
= 0 ;
43731 char * kwnames
[] = {
43732 (char *) "self",(char *) "path", NULL
43735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43737 if (!SWIG_IsOK(res1
)) {
43738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43740 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43742 arg2
= wxString_in_helper(obj1
);
43743 if (arg2
== NULL
) SWIG_fail
;
43747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43748 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
43749 wxPyEndAllowThreads(__tstate
);
43750 if (PyErr_Occurred()) SWIG_fail
;
43753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43769 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43770 PyObject
*resultobj
= 0;
43771 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43775 PyObject
*swig_obj
[1] ;
43777 if (!args
) SWIG_fail
;
43778 swig_obj
[0] = args
;
43779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43780 if (!SWIG_IsOK(res1
)) {
43781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43783 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43786 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
43787 wxPyEndAllowThreads(__tstate
);
43788 if (PyErr_Occurred()) SWIG_fail
;
43792 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43794 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43803 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43805 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43806 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
43807 return SWIG_Py_Void();
43810 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43811 return SWIG_Python_InitShadowInstance(args
);
43814 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43815 PyObject
*resultobj
= 0;
43816 wxWindow
*arg1
= (wxWindow
*) 0 ;
43817 int arg2
= (int) -1 ;
43818 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43819 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43820 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
43821 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43822 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43823 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43824 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43825 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43826 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
43827 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43828 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43829 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
43830 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43831 wxDirPickerCtrl
*result
= 0 ;
43836 bool temp3
= false ;
43837 bool temp4
= false ;
43844 bool temp9
= false ;
43845 PyObject
* obj0
= 0 ;
43846 PyObject
* obj1
= 0 ;
43847 PyObject
* obj2
= 0 ;
43848 PyObject
* obj3
= 0 ;
43849 PyObject
* obj4
= 0 ;
43850 PyObject
* obj5
= 0 ;
43851 PyObject
* obj6
= 0 ;
43852 PyObject
* obj7
= 0 ;
43853 PyObject
* obj8
= 0 ;
43854 char * kwnames
[] = {
43855 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43860 if (!SWIG_IsOK(res1
)) {
43861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43863 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43866 if (!SWIG_IsOK(ecode2
)) {
43867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43869 arg2
= static_cast< int >(val2
);
43873 arg3
= wxString_in_helper(obj2
);
43874 if (arg3
== NULL
) SWIG_fail
;
43880 arg4
= wxString_in_helper(obj3
);
43881 if (arg4
== NULL
) SWIG_fail
;
43888 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43894 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43898 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43899 if (!SWIG_IsOK(ecode7
)) {
43900 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
43902 arg7
= static_cast< long >(val7
);
43905 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43906 if (!SWIG_IsOK(res8
)) {
43907 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
43910 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
43912 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43916 arg9
= wxString_in_helper(obj8
);
43917 if (arg9
== NULL
) SWIG_fail
;
43922 if (!wxPyCheckForApp()) SWIG_fail
;
43923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43924 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
);
43925 wxPyEndAllowThreads(__tstate
);
43926 if (PyErr_Occurred()) SWIG_fail
;
43928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43959 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43960 PyObject
*resultobj
= 0;
43961 wxDirPickerCtrl
*result
= 0 ;
43963 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
43965 if (!wxPyCheckForApp()) SWIG_fail
;
43966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43967 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
43968 wxPyEndAllowThreads(__tstate
);
43969 if (PyErr_Occurred()) SWIG_fail
;
43971 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43978 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43979 PyObject
*resultobj
= 0;
43980 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
43981 wxWindow
*arg2
= (wxWindow
*) 0 ;
43982 int arg3
= (int) -1 ;
43983 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43984 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43985 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
43986 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43987 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43988 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43989 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43990 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43991 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
43992 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43993 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43994 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
43995 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44003 bool temp4
= false ;
44004 bool temp5
= false ;
44011 bool temp10
= false ;
44012 PyObject
* obj0
= 0 ;
44013 PyObject
* obj1
= 0 ;
44014 PyObject
* obj2
= 0 ;
44015 PyObject
* obj3
= 0 ;
44016 PyObject
* obj4
= 0 ;
44017 PyObject
* obj5
= 0 ;
44018 PyObject
* obj6
= 0 ;
44019 PyObject
* obj7
= 0 ;
44020 PyObject
* obj8
= 0 ;
44021 PyObject
* obj9
= 0 ;
44022 char * kwnames
[] = {
44023 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44028 if (!SWIG_IsOK(res1
)) {
44029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44031 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44032 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44033 if (!SWIG_IsOK(res2
)) {
44034 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44036 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44038 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44039 if (!SWIG_IsOK(ecode3
)) {
44040 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44042 arg3
= static_cast< int >(val3
);
44046 arg4
= wxString_in_helper(obj3
);
44047 if (arg4
== NULL
) SWIG_fail
;
44053 arg5
= wxString_in_helper(obj4
);
44054 if (arg5
== NULL
) SWIG_fail
;
44061 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44067 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44071 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44072 if (!SWIG_IsOK(ecode8
)) {
44073 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44075 arg8
= static_cast< long >(val8
);
44078 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44079 if (!SWIG_IsOK(res9
)) {
44080 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44083 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44085 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44089 arg10
= wxString_in_helper(obj9
);
44090 if (arg10
== NULL
) SWIG_fail
;
44095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44096 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
);
44097 wxPyEndAllowThreads(__tstate
);
44098 if (PyErr_Occurred()) SWIG_fail
;
44101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44133 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44134 PyObject
*resultobj
= 0;
44135 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44139 PyObject
*swig_obj
[1] ;
44141 if (!args
) SWIG_fail
;
44142 swig_obj
[0] = args
;
44143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44144 if (!SWIG_IsOK(res1
)) {
44145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44147 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44150 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44151 wxPyEndAllowThreads(__tstate
);
44152 if (PyErr_Occurred()) SWIG_fail
;
44156 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44158 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44167 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44168 PyObject
*resultobj
= 0;
44169 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44170 wxString
*arg2
= 0 ;
44173 bool temp2
= false ;
44174 PyObject
* obj0
= 0 ;
44175 PyObject
* obj1
= 0 ;
44176 char * kwnames
[] = {
44177 (char *) "self",(char *) "str", NULL
44180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44182 if (!SWIG_IsOK(res1
)) {
44183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44185 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44187 arg2
= wxString_in_helper(obj1
);
44188 if (arg2
== NULL
) SWIG_fail
;
44192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44193 (arg1
)->SetPath((wxString
const &)*arg2
);
44194 wxPyEndAllowThreads(__tstate
);
44195 if (PyErr_Occurred()) SWIG_fail
;
44197 resultobj
= SWIG_Py_Void();
44212 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44213 PyObject
*resultobj
= 0;
44214 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44215 wxString
*arg2
= 0 ;
44219 bool temp2
= false ;
44220 PyObject
* obj0
= 0 ;
44221 PyObject
* obj1
= 0 ;
44222 char * kwnames
[] = {
44223 (char *) "self",(char *) "path", NULL
44226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44228 if (!SWIG_IsOK(res1
)) {
44229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44231 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44233 arg2
= wxString_in_helper(obj1
);
44234 if (arg2
== NULL
) SWIG_fail
;
44238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44239 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44240 wxPyEndAllowThreads(__tstate
);
44241 if (PyErr_Occurred()) SWIG_fail
;
44244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44260 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44261 PyObject
*resultobj
= 0;
44262 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44266 PyObject
*swig_obj
[1] ;
44268 if (!args
) SWIG_fail
;
44269 swig_obj
[0] = args
;
44270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44271 if (!SWIG_IsOK(res1
)) {
44272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44274 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44277 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44278 wxPyEndAllowThreads(__tstate
);
44279 if (PyErr_Occurred()) SWIG_fail
;
44283 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44285 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44294 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44296 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44297 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44298 return SWIG_Py_Void();
44301 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44302 return SWIG_Python_InitShadowInstance(args
);
44305 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44306 PyObject
*resultobj
= 0;
44308 wxObject
*arg2
= (wxObject
*) 0 ;
44310 wxString
*arg4
= 0 ;
44311 wxFileDirPickerEvent
*result
= 0 ;
44318 bool temp4
= false ;
44319 PyObject
* obj0
= 0 ;
44320 PyObject
* obj1
= 0 ;
44321 PyObject
* obj2
= 0 ;
44322 PyObject
* obj3
= 0 ;
44323 char * kwnames
[] = {
44324 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44328 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44329 if (!SWIG_IsOK(ecode1
)) {
44330 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44332 arg1
= static_cast< wxEventType
>(val1
);
44333 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44334 if (!SWIG_IsOK(res2
)) {
44335 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44337 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44338 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44339 if (!SWIG_IsOK(ecode3
)) {
44340 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44342 arg3
= static_cast< int >(val3
);
44344 arg4
= wxString_in_helper(obj3
);
44345 if (arg4
== NULL
) SWIG_fail
;
44349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44350 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44351 wxPyEndAllowThreads(__tstate
);
44352 if (PyErr_Occurred()) SWIG_fail
;
44354 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
44369 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44370 PyObject
*resultobj
= 0;
44371 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44375 PyObject
*swig_obj
[1] ;
44377 if (!args
) SWIG_fail
;
44378 swig_obj
[0] = args
;
44379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44380 if (!SWIG_IsOK(res1
)) {
44381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44383 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44386 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
44387 wxPyEndAllowThreads(__tstate
);
44388 if (PyErr_Occurred()) SWIG_fail
;
44392 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44394 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44403 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44404 PyObject
*resultobj
= 0;
44405 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44406 wxString
*arg2
= 0 ;
44409 bool temp2
= false ;
44410 PyObject
* obj0
= 0 ;
44411 PyObject
* obj1
= 0 ;
44412 char * kwnames
[] = {
44413 (char *) "self",(char *) "p", NULL
44416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44418 if (!SWIG_IsOK(res1
)) {
44419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44421 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44423 arg2
= wxString_in_helper(obj1
);
44424 if (arg2
== NULL
) SWIG_fail
;
44428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44429 (arg1
)->SetPath((wxString
const &)*arg2
);
44430 wxPyEndAllowThreads(__tstate
);
44431 if (PyErr_Occurred()) SWIG_fail
;
44433 resultobj
= SWIG_Py_Void();
44448 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44450 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44451 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
44452 return SWIG_Py_Void();
44455 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44456 return SWIG_Python_InitShadowInstance(args
);
44459 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
44460 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
44465 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
44466 PyObject
*pyobj
= 0;
44470 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44472 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44479 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44480 PyObject
*resultobj
= 0;
44481 wxWindow
*arg1
= (wxWindow
*) 0 ;
44482 int arg2
= (int) -1 ;
44483 wxFont
const &arg3_defvalue
= *wxNORMAL_FONT
;
44484 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
44485 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
44486 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
44487 wxSize
const &arg5_defvalue
= wxDefaultSize
;
44488 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
44489 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
44490 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
44491 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
44492 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
44493 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
44494 wxFontPickerCtrl
*result
= 0 ;
44507 bool temp8
= false ;
44508 PyObject
* obj0
= 0 ;
44509 PyObject
* obj1
= 0 ;
44510 PyObject
* obj2
= 0 ;
44511 PyObject
* obj3
= 0 ;
44512 PyObject
* obj4
= 0 ;
44513 PyObject
* obj5
= 0 ;
44514 PyObject
* obj6
= 0 ;
44515 PyObject
* obj7
= 0 ;
44516 char * kwnames
[] = {
44517 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
44521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44522 if (!SWIG_IsOK(res1
)) {
44523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44525 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44527 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44528 if (!SWIG_IsOK(ecode2
)) {
44529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44531 arg2
= static_cast< int >(val2
);
44534 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44535 if (!SWIG_IsOK(res3
)) {
44536 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44539 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44541 arg3
= reinterpret_cast< wxFont
* >(argp3
);
44546 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
44552 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
44556 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
44557 if (!SWIG_IsOK(ecode6
)) {
44558 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
44560 arg6
= static_cast< long >(val6
);
44563 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
44564 if (!SWIG_IsOK(res7
)) {
44565 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44570 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
44574 arg8
= wxString_in_helper(obj7
);
44575 if (arg8
== NULL
) SWIG_fail
;
44580 if (!wxPyCheckForApp()) SWIG_fail
;
44581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44582 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
44583 wxPyEndAllowThreads(__tstate
);
44584 if (PyErr_Occurred()) SWIG_fail
;
44586 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44601 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44602 PyObject
*resultobj
= 0;
44603 wxFontPickerCtrl
*result
= 0 ;
44605 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
44607 if (!wxPyCheckForApp()) SWIG_fail
;
44608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44609 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
44610 wxPyEndAllowThreads(__tstate
);
44611 if (PyErr_Occurred()) SWIG_fail
;
44613 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44620 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44621 PyObject
*resultobj
= 0;
44622 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44623 wxWindow
*arg2
= (wxWindow
*) 0 ;
44624 int arg3
= (int) -1 ;
44625 wxFont
const &arg4_defvalue
= *wxNORMAL_FONT
;
44626 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
44627 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44628 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44629 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44630 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44631 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
44632 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44633 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44634 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
44635 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44651 bool temp9
= false ;
44652 PyObject
* obj0
= 0 ;
44653 PyObject
* obj1
= 0 ;
44654 PyObject
* obj2
= 0 ;
44655 PyObject
* obj3
= 0 ;
44656 PyObject
* obj4
= 0 ;
44657 PyObject
* obj5
= 0 ;
44658 PyObject
* obj6
= 0 ;
44659 PyObject
* obj7
= 0 ;
44660 PyObject
* obj8
= 0 ;
44661 char * kwnames
[] = {
44662 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44667 if (!SWIG_IsOK(res1
)) {
44668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44670 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44671 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44672 if (!SWIG_IsOK(res2
)) {
44673 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44675 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44677 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44678 if (!SWIG_IsOK(ecode3
)) {
44679 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44681 arg3
= static_cast< int >(val3
);
44684 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
44685 if (!SWIG_IsOK(res4
)) {
44686 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44689 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44691 arg4
= reinterpret_cast< wxFont
* >(argp4
);
44696 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44702 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44706 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44707 if (!SWIG_IsOK(ecode7
)) {
44708 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
44710 arg7
= static_cast< long >(val7
);
44713 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44714 if (!SWIG_IsOK(res8
)) {
44715 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
44718 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
44720 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44724 arg9
= wxString_in_helper(obj8
);
44725 if (arg9
== NULL
) SWIG_fail
;
44730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44731 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
44732 wxPyEndAllowThreads(__tstate
);
44733 if (PyErr_Occurred()) SWIG_fail
;
44736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44752 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44753 PyObject
*resultobj
= 0;
44754 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44758 PyObject
*swig_obj
[1] ;
44760 if (!args
) SWIG_fail
;
44761 swig_obj
[0] = args
;
44762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44763 if (!SWIG_IsOK(res1
)) {
44764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
44766 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44769 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
44770 wxPyEndAllowThreads(__tstate
);
44771 if (PyErr_Occurred()) SWIG_fail
;
44773 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
44780 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44781 PyObject
*resultobj
= 0;
44782 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44788 PyObject
* obj0
= 0 ;
44789 PyObject
* obj1
= 0 ;
44790 char * kwnames
[] = {
44791 (char *) "self",(char *) "f", NULL
44794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44796 if (!SWIG_IsOK(res1
)) {
44797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44799 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44800 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
44801 if (!SWIG_IsOK(res2
)) {
44802 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44805 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44807 arg2
= reinterpret_cast< wxFont
* >(argp2
);
44809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44810 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
44811 wxPyEndAllowThreads(__tstate
);
44812 if (PyErr_Occurred()) SWIG_fail
;
44814 resultobj
= SWIG_Py_Void();
44821 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44822 PyObject
*resultobj
= 0;
44823 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44824 unsigned int arg2
;
44827 unsigned int val2
;
44829 PyObject
* obj0
= 0 ;
44830 PyObject
* obj1
= 0 ;
44831 char * kwnames
[] = {
44832 (char *) "self",(char *) "max", NULL
44835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44837 if (!SWIG_IsOK(res1
)) {
44838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44840 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44841 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44842 if (!SWIG_IsOK(ecode2
)) {
44843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
44845 arg2
= static_cast< unsigned int >(val2
);
44847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44848 (arg1
)->SetMaxPointSize(arg2
);
44849 wxPyEndAllowThreads(__tstate
);
44850 if (PyErr_Occurred()) SWIG_fail
;
44852 resultobj
= SWIG_Py_Void();
44859 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44860 PyObject
*resultobj
= 0;
44861 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44862 unsigned int result
;
44865 PyObject
*swig_obj
[1] ;
44867 if (!args
) SWIG_fail
;
44868 swig_obj
[0] = args
;
44869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44870 if (!SWIG_IsOK(res1
)) {
44871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
44873 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44876 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
44877 wxPyEndAllowThreads(__tstate
);
44878 if (PyErr_Occurred()) SWIG_fail
;
44880 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
44887 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44889 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44890 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
44891 return SWIG_Py_Void();
44894 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44895 return SWIG_Python_InitShadowInstance(args
);
44898 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44899 PyObject
*resultobj
= 0;
44900 wxObject
*arg1
= (wxObject
*) 0 ;
44903 wxFontPickerEvent
*result
= 0 ;
44910 PyObject
* obj0
= 0 ;
44911 PyObject
* obj1
= 0 ;
44912 PyObject
* obj2
= 0 ;
44913 char * kwnames
[] = {
44914 (char *) "generator",(char *) "id",(char *) "f", NULL
44917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
44919 if (!SWIG_IsOK(res1
)) {
44920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
44922 arg1
= reinterpret_cast< wxObject
* >(argp1
);
44923 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44924 if (!SWIG_IsOK(ecode2
)) {
44925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
44927 arg2
= static_cast< int >(val2
);
44928 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44929 if (!SWIG_IsOK(res3
)) {
44930 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
44933 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
44935 arg3
= reinterpret_cast< wxFont
* >(argp3
);
44937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44938 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
44939 wxPyEndAllowThreads(__tstate
);
44940 if (PyErr_Occurred()) SWIG_fail
;
44942 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
44949 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44950 PyObject
*resultobj
= 0;
44951 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
44955 PyObject
*swig_obj
[1] ;
44957 if (!args
) SWIG_fail
;
44958 swig_obj
[0] = args
;
44959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
44960 if (!SWIG_IsOK(res1
)) {
44961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
44963 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
44965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44966 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
44967 wxPyEndAllowThreads(__tstate
);
44968 if (PyErr_Occurred()) SWIG_fail
;
44970 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
44977 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44978 PyObject
*resultobj
= 0;
44979 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
44985 PyObject
* obj0
= 0 ;
44986 PyObject
* obj1
= 0 ;
44987 char * kwnames
[] = {
44988 (char *) "self",(char *) "c", NULL
44991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
44993 if (!SWIG_IsOK(res1
)) {
44994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
44996 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
44997 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
44998 if (!SWIG_IsOK(res2
)) {
44999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45002 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45004 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45007 (arg1
)->SetFont((wxFont
const &)*arg2
);
45008 wxPyEndAllowThreads(__tstate
);
45009 if (PyErr_Occurred()) SWIG_fail
;
45011 resultobj
= SWIG_Py_Void();
45018 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45020 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45021 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45022 return SWIG_Py_Void();
45025 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45026 return SWIG_Python_InitShadowInstance(args
);
45029 static PyMethodDef SwigMethods
[] = {
45030 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45031 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
45032 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45033 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
45034 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
45035 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45036 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
45037 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
45038 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45039 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
45040 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45041 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
45042 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
45043 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
45044 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
45045 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
45046 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45047 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45048 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45049 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45050 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45051 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45052 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
45053 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
45054 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
45055 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
45056 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45057 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
45058 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45059 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
45060 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
45061 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45062 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
45063 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45064 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
45065 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
45066 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45067 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
45068 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
45069 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45070 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
45071 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45072 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
45073 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45074 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
45075 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
45076 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45077 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
45078 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45079 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
45080 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45081 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
45082 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
45083 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
45084 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45085 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
45086 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
45087 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45088 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45089 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
45090 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
45091 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45092 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45093 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45094 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
45095 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45096 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
45097 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
45098 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
45099 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
45100 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
45101 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
45102 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
45103 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
45104 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
45105 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45106 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
45107 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
45108 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45109 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
45110 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45111 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45112 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
45113 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45114 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
45115 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
45116 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45117 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
45118 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45119 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
45120 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45121 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
45122 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
45123 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45124 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
45125 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45126 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45127 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
45128 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
45129 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45130 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
45131 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45132 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
45133 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
45134 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45135 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
45136 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
45137 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45138 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
45139 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45140 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45141 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45142 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
45143 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
45144 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45145 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
45146 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45147 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
45148 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45149 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45150 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45151 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
45152 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
45153 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45154 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
45155 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45156 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45157 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45158 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45159 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45160 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45161 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45162 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45163 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45164 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45165 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
45166 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45167 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45168 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45169 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45170 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
45171 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45172 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45173 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45174 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45175 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45176 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
45177 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
45178 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45179 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
45180 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45181 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45182 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45183 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
45184 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
45185 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
45186 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45187 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
45188 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
45189 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45190 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45191 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45192 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45193 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45194 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45195 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45196 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45197 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45198 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
45199 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
45200 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
45201 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
45202 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
45203 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
45204 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
45205 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45206 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
45207 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
45208 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
45209 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
45210 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
45211 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
45212 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
45213 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
45214 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
45215 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
45216 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45217 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
45218 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
45219 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45220 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
45221 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45222 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
45223 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45224 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45225 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45226 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45227 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
45228 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
45229 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
45230 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
45231 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
45232 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
45233 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
45234 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
45235 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45236 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45237 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45238 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45239 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
45240 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
45241 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45242 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45243 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45244 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45245 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45246 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45247 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45248 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45249 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
45250 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45251 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45252 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45253 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45254 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45255 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
45256 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
45257 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
45258 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
45259 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
45260 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
45261 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
45262 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
45263 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
45264 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
45265 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45266 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
45267 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
45268 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
45269 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45270 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
45271 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45272 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45273 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45274 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45275 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
45276 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
45277 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45278 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
45279 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
45280 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
45281 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
45282 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
45283 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45284 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
45285 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45286 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
45287 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
45288 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
45289 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
45290 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
45291 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45292 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45293 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
45294 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
45295 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45296 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
45297 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45298 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
45299 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
45300 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
45301 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45302 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45303 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45304 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45305 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
45306 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45307 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
45308 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
45309 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45310 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
45311 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45312 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
45313 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45314 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45315 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45316 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
45317 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
45318 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45319 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45320 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
45321 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
45322 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45323 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
45324 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45325 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
45326 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
45327 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45328 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
45329 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45330 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45331 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
45332 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
45333 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45334 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
45335 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45336 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45337 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45338 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45339 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45340 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45341 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45342 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
45343 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
45344 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45345 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45346 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45347 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45348 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45349 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45350 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
45351 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
45352 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45353 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
45354 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45355 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
45356 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45357 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45358 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
45359 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
45360 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
45362 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45363 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
45364 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45365 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
45367 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
45368 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45369 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45370 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45371 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45372 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
45373 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
45374 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45375 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
45376 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45377 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
45378 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
45379 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45380 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
45381 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
45382 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
45383 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45385 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
45386 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
45387 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45388 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
45389 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45390 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45391 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
45392 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
45394 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
45395 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
45396 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45397 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
45398 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
45399 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45400 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45401 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45402 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
45404 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45406 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45407 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45408 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
45409 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
45411 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45412 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
45413 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45414 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
45415 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
45416 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45417 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
45419 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45421 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45423 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45424 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45425 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
45426 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45427 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
45428 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
45430 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45431 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
45432 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
45433 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45434 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
45435 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
45437 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
45440 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
45442 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
45443 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
45445 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
45446 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
45448 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
45450 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
45451 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
45452 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
45454 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
45455 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
45457 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
45459 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
45460 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
45461 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
45463 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
45464 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
45466 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45467 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45469 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
45474 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
45475 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
45476 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
45478 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
45479 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
45481 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
45483 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
45484 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
45485 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
45486 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
45488 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
45489 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
45490 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
45491 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
45492 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
45493 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
45494 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
45495 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
45496 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
45497 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
45498 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
45499 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
45500 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
45501 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
45502 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
45503 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
45504 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
45505 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
45506 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
45508 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45513 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
45515 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
45517 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
45519 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45523 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
45527 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
45532 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
45533 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45546 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45549 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
45550 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
45551 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
45552 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
45553 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45555 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
45556 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
45557 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45558 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
45559 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
45560 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
45563 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
45564 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
45565 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45566 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
45567 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45568 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45569 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
45570 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
45571 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
45573 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45574 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
45577 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
45578 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
45579 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
45580 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
45581 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
45582 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45583 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
45584 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
45585 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
45586 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
45587 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
45588 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
45589 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
45590 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45592 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45595 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45596 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45599 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45600 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45601 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45603 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
45604 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
45605 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
45606 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
45607 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
45608 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
45609 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
45610 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
45611 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
45612 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
45613 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
45614 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
45615 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
45616 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
45617 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
45618 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
45619 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
45620 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
45621 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
45622 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
45623 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
45624 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
45625 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
45626 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
45627 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
45628 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
45629 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
45630 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
45631 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
45632 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
45633 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
45634 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
45635 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
45636 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
45637 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
45638 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
45639 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45640 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
45641 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
45642 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
45643 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
45644 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
45645 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
45646 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
45647 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
45648 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
45649 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
45650 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
45651 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
45652 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
45653 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
45654 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
45655 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
45656 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
45657 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
45658 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
45659 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
45660 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
45661 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
45662 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
45663 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
45664 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
45666 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
45667 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45668 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
45669 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45670 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45671 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45672 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45673 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45674 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45675 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
45676 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
45677 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
45678 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45680 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45682 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45684 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45685 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45688 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45689 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45690 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45692 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
45693 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
45694 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
45695 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45696 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
45697 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
45698 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45699 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
45700 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45701 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45702 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45703 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45704 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45705 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
45706 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
45707 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45708 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45709 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45710 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45711 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
45712 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
45714 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
45715 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45717 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45718 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45719 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45720 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45721 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45722 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45724 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45725 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45726 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45727 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45729 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45731 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45732 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45734 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45736 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45737 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
45738 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45739 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
45740 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
45741 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
45743 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45744 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45745 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45746 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
45747 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45748 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
45749 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45750 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45751 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45752 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
45753 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
45754 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
45755 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
45756 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
45757 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45759 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
45760 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
45761 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
45762 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
45763 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45764 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
45765 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
45766 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45767 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
45768 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45769 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
45770 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
45771 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
45772 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
45773 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
45774 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
45776 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45777 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
45778 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45779 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
45780 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
45781 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
45783 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
45785 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45786 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
45788 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
45789 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
45790 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45791 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
45792 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45793 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45794 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
45795 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
45796 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
45798 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
45800 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
45801 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45803 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45805 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45807 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45808 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45810 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45812 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45817 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45822 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45824 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45825 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45826 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45827 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45828 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
45829 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
45830 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
45831 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45832 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45833 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45834 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45835 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45836 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45837 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
45838 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45839 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45840 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45841 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45842 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45843 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45844 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45845 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45846 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
45848 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45849 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45851 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45852 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
45853 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45854 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
45855 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45856 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45857 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45858 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45859 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45860 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
45861 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45862 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45863 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45864 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45865 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45866 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
45867 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
45868 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
45869 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45870 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
45871 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45872 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45873 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45874 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
45875 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45876 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
45877 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
45878 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45879 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45880 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
45881 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
45882 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45883 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
45884 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45885 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
45886 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
45887 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
45888 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45889 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
45890 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
45891 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
45892 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
45893 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45894 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
45895 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45896 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45897 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
45898 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
45899 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45900 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
45901 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45903 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45906 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45907 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45908 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
45909 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
45910 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
45911 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
45912 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
45913 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
45914 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
45915 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
45916 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
45917 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45918 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
45919 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45920 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
45921 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45922 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
45923 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45924 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
45925 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45926 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
45927 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
45928 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45929 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
45930 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45931 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
45932 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
45933 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
45934 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
45936 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
45937 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
45938 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
45940 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45941 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45946 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
45947 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
45948 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
45949 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
45950 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
45951 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45954 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
45957 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45958 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45959 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
45961 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45962 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
45963 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
45964 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45968 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
45969 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
45970 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45971 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
45972 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
45975 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
45977 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
45978 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
45979 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
45980 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45981 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
45982 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
45984 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
45986 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
45988 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
45990 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45991 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
45993 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
45994 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
45995 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
45997 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
45999 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
46000 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
46003 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
46005 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
46006 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46007 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
46008 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46009 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
46010 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
46011 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
46012 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
46013 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46014 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
46015 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
46017 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46019 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46020 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
46022 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46024 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46025 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
46027 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
46029 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46031 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46032 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46033 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46034 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
46036 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
46038 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46040 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46041 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46042 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46043 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
46045 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46047 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46048 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
46050 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
46052 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
46055 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46056 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46057 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46058 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
46059 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46061 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46062 { NULL
, NULL
, 0, NULL
}
46066 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46068 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46069 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46071 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46072 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46074 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46075 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46077 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46078 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46080 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46081 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46083 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
46084 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46086 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
46087 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46089 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46090 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46092 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
46093 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
46095 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
46096 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
46098 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
46099 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
46101 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46102 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46104 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46105 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46107 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
46108 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
46110 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46111 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46113 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46114 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46116 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
46117 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
46119 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
46120 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46122 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
46123 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46125 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
46126 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46128 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
46129 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46131 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
46132 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46134 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
46135 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
46137 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46138 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46140 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46141 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46143 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46144 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46146 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46147 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46149 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46150 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46152 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46153 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46155 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46156 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46158 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46159 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46161 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46162 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46164 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
46165 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
46167 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46168 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46170 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46171 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46173 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46174 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46176 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46177 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46179 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46180 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46182 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46183 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46185 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46186 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46188 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
46189 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
46191 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46192 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46194 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46195 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46197 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46198 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46200 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46201 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46203 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46204 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46206 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46207 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46209 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46210 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46212 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46213 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46215 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46216 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46218 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46219 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46221 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
46222 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46224 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
46225 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46227 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
46228 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46230 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
46231 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46233 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
46234 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46236 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
46237 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
46239 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
46240 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46242 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
46243 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
46245 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46246 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46248 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
46249 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
46251 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
46252 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46254 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
46255 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
46257 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
46258 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
46260 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
46261 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
46263 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
46264 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
46266 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
46267 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
46269 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
46270 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
46272 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
46273 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
46275 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
46276 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
46278 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
46279 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46281 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
46282 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
46284 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
46285 return (void *)((wxControl
*) ((wxComboBox
*) x
));
46287 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
46288 return (void *)((wxControl
*) ((wxPyControl
*) x
));
46290 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
46291 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
46293 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
46294 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
46296 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46297 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46299 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
46300 return (void *)((wxControl
*) ((wxGauge
*) x
));
46302 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
46303 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
46305 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
46306 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46308 static void *_p_wxListbookTo_p_wxControl(void *x
) {
46309 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
46311 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
46312 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
46314 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
46315 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
46317 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
46318 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
46320 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
46321 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
46323 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
46324 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
46326 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
46327 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
46329 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
46330 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46332 static void *_p_wxListViewTo_p_wxControl(void *x
) {
46333 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
46335 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
46336 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
46338 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
46339 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
46341 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
46342 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
46344 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
46345 return (void *)((wxControl
*) ((wxStaticText
*) x
));
46347 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
46348 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
46350 static void *_p_wxSliderTo_p_wxControl(void *x
) {
46351 return (void *)((wxControl
*) ((wxSlider
*) x
));
46353 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
46354 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
46356 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
46357 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
46359 static void *_p_wxButtonTo_p_wxControl(void *x
) {
46360 return (void *)((wxControl
*) ((wxButton
*) x
));
46362 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
46363 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
46365 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
46366 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46368 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
46369 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
46371 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
46372 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46374 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
46375 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46377 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
46378 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46380 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
46381 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46383 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
46384 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
46386 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
46387 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
46389 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
46390 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46392 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
46393 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46395 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
46396 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46398 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
46399 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
46401 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
46402 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46404 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
46405 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46407 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
46408 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46410 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
46411 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46413 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
46414 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46416 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
46417 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46419 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
46420 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46422 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
46423 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
46425 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
46426 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
46428 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
46429 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
46431 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
46432 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
46434 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46435 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46437 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
46438 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
46440 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46441 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46443 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46444 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46446 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
46447 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
46449 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
46450 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
46452 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46453 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46455 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
46456 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
46458 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
46459 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
46461 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
46462 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
46464 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46465 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46467 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46468 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46470 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
46471 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
46473 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
46474 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
46476 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
46477 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
46479 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
46480 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46482 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
46483 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
46485 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46486 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46488 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
46489 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
46491 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
46492 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
46494 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46495 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46497 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
46498 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
46500 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
46501 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
46503 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
46504 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46506 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
46507 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
46509 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
46510 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
46512 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
46513 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
46515 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
46516 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
46518 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
46519 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
46521 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
46522 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46524 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
46525 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
46527 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
46528 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
46530 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
46531 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
46533 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
46534 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
46536 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
46537 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
46539 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
46540 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
46542 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
46543 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
46545 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
46546 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
46548 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
46549 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
46551 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
46552 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
46554 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
46555 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
46557 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
46558 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
46560 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
46561 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
46563 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
46564 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46566 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
46567 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
46569 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
46570 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46572 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
46573 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46575 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
46576 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46578 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
46579 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46581 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
46582 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
46584 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
46585 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
46587 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
46588 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
46590 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
46591 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46593 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
46594 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46596 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
46597 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
46599 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46600 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46602 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
46603 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
46605 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46606 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46608 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46609 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46611 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46612 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46614 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46615 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46617 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
46618 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
46620 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46621 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46623 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46624 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46626 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46627 return (void *)((wxObject
*) ((wxSizer
*) x
));
46629 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46630 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46632 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
46633 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
46635 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
46636 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
46638 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46639 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46641 static void *_p_wxEventTo_p_wxObject(void *x
) {
46642 return (void *)((wxObject
*) ((wxEvent
*) x
));
46644 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46645 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46647 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46648 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46650 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46651 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46653 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
46654 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
46656 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
46657 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
46659 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
46660 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
46662 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
46663 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46665 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
46666 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
46668 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46669 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46671 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46672 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46674 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46675 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46677 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46678 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46680 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46681 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46683 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46684 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46686 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
46687 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
46689 static void *_p_wxControlTo_p_wxObject(void *x
) {
46690 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46692 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
46693 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
46695 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
46696 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
46698 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
46699 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
46701 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
46702 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
46704 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
46705 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
46707 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46708 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46710 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
46711 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
46713 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
46714 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
46716 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
46717 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
46719 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
46720 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
46722 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46723 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46725 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46726 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46728 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
46729 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
46731 static void *_p_wxListViewTo_p_wxObject(void *x
) {
46732 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
46734 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
46735 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
46737 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
46738 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
46740 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
46741 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
46743 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46744 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46746 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46747 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46749 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
46750 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46752 static void *_p_wxListbookTo_p_wxObject(void *x
) {
46753 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
46755 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46756 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46758 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
46759 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
46761 static void *_p_wxSliderTo_p_wxObject(void *x
) {
46762 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
46764 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46765 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46767 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46768 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46770 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46771 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46773 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46774 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46776 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46777 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46779 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
46780 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
46782 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
46783 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
46785 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
46786 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
46788 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
46789 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
46791 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
46792 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
46794 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
46795 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
46797 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
46798 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
46800 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
46801 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
46803 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
46804 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
46806 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
46807 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
46809 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
46810 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
46812 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
46813 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
46815 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
46816 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
46818 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
46819 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46821 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
46822 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46824 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
46825 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
46827 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
46828 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
46830 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
46831 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
46833 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
46834 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
46836 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
46837 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
46839 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
46840 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
46842 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
46843 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
46845 static void *_p_wxListEventTo_p_wxObject(void *x
) {
46846 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
46848 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
46849 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
46851 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
46852 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46854 static void *_p_wxButtonTo_p_wxObject(void *x
) {
46855 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
46857 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
46858 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
46860 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
46861 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
46863 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
46864 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46866 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
46867 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46869 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
46870 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
46872 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
46873 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
46875 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
46876 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
46878 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
46879 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
46881 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
46882 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
46884 static void *_p_wxListItemTo_p_wxObject(void *x
) {
46885 return (void *)((wxObject
*) ((wxListItem
*) x
));
46887 static void *_p_wxImageTo_p_wxObject(void *x
) {
46888 return (void *)((wxObject
*) ((wxImage
*) x
));
46890 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
46891 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
46893 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
46894 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46896 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
46897 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
46899 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
46900 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
46902 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
46903 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46905 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
46906 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46908 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
46909 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46911 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
46912 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46914 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
46915 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46917 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
46918 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46920 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
46921 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46923 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
46924 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
46926 static void *_p_wxWindowTo_p_wxObject(void *x
) {
46927 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
46929 static void *_p_wxMenuTo_p_wxObject(void *x
) {
46930 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
46932 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
46933 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
46935 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
46936 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
46938 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
46939 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46941 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
46942 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
46944 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
46945 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
46947 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
46948 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
46950 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
46951 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
46953 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
46954 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
46956 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
46957 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46959 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
46960 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46962 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
46963 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46965 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
46966 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
46968 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
46969 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
46971 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
46972 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
46974 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
46975 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
46977 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
46978 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46980 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
46981 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
46983 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
46984 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46986 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
46987 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46989 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
46990 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46992 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
46993 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46995 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
46996 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46998 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
46999 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
47001 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
47002 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
47004 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
47005 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47007 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47008 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47010 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47011 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47013 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47014 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47016 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
47017 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
47019 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
47020 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47022 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
47023 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
47025 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
47026 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
47028 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
47029 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
47031 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
47032 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47034 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47035 return (void *)((wxWindow
*) ((wxControl
*) x
));
47037 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
47038 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
47040 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
47041 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
47043 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
47044 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
47046 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
47047 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47049 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
47050 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
47052 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
47053 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
47055 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
47056 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
47058 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47059 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47061 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
47062 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
47064 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
47065 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
47067 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
47068 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47070 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
47071 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47073 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
47074 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
47076 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
47077 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
47079 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
47080 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
47082 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
47083 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
47085 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
47086 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47088 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
47089 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47091 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
47092 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47094 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
47095 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47097 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
47098 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47100 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
47101 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
47103 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
47104 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
47106 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
47107 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
47109 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
47110 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
47112 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
47113 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
47115 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
47116 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47118 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
47119 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
47121 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
47122 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
47124 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
47125 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47127 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
47128 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47130 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
47131 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
47133 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
47134 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47136 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
47137 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47139 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
47140 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47142 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
47143 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47145 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
47146 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
47148 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47149 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47151 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47152 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47154 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47155 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47157 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47158 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47160 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47161 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47163 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47164 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47166 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
47167 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47169 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
47170 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47172 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
47173 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47175 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
47176 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47178 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
47179 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47181 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
47182 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47184 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47185 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47187 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47188 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47190 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47191 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47193 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47194 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47196 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
47197 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47199 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
47200 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47202 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
47203 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47205 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
47206 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47208 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
47209 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47211 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47212 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47214 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47215 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47217 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
47218 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
47220 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
47221 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47223 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
47224 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47226 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
47227 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47229 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
47230 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
47232 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47233 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47235 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47236 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47238 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
47239 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47241 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
47242 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
47244 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
47245 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
47247 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
47248 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
47250 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47251 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47253 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
47254 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
47255 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};
47256 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
47257 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
47258 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
47259 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
47260 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
47261 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
47262 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
47263 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
47264 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
47265 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
47266 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
47267 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
47268 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
47269 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
47270 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
47271 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
47272 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
47273 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
47274 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
47275 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
47276 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
47277 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
47278 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
47279 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
47280 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
47281 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
47282 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
47283 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
47284 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
47285 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
47286 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
47287 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
47288 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
47289 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
47290 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
47291 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
47292 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
47293 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
47294 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
47295 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
47296 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
47297 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
47298 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
47299 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
47300 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
47301 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
47302 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
47303 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
47304 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
47305 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
47306 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
47307 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
47308 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
47309 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
47310 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
47311 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
47312 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
47313 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
47314 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
47315 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
47316 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
47317 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
47318 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
47319 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
47320 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
47321 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
47322 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
47323 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
47324 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
47325 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
47326 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
47327 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
47328 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
47329 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
47330 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
47331 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
47332 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
47333 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
47334 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
47335 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
47336 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
47337 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
47338 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
47339 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
47340 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
47341 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
47342 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
47343 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
47344 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
47345 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
47346 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
47347 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
47348 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
47349 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
47350 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
47351 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
47352 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
47353 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
47354 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
47355 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
47356 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
47357 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
47358 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
47359 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
47360 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
47361 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
47362 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
47363 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
47364 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
47365 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
47366 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
47367 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
47368 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
47369 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
47370 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
47371 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
47372 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
47373 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
47374 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
47375 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
47376 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
47377 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
47378 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
47379 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
47380 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
47381 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
47382 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
47383 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
47384 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
47385 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
47386 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
47387 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
47388 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
47389 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
47390 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
47391 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
47392 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
47393 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
47394 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
47395 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
47396 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
47397 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
47398 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
47399 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
47400 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
47401 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
47402 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
47403 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
47404 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
47405 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
47406 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
47407 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
47408 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
47409 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
47410 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
47411 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
47412 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
47413 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
47414 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
47415 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
47416 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
47417 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
47418 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
47419 static swig_type_info _swigt__p_wxTreeCtrl
= {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
47420 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
47421 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
47422 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
47423 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
47424 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
47425 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
47426 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
47427 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
47429 static swig_type_info
*swig_type_initial
[] = {
47432 &_swigt__p_form_ops_t
,
47435 &_swigt__p_unsigned_char
,
47436 &_swigt__p_unsigned_int
,
47437 &_swigt__p_unsigned_long
,
47439 &_swigt__p_wxANIHandler
,
47440 &_swigt__p_wxAcceleratorTable
,
47441 &_swigt__p_wxActivateEvent
,
47442 &_swigt__p_wxArrayInt
,
47443 &_swigt__p_wxArrayString
,
47444 &_swigt__p_wxBMPHandler
,
47445 &_swigt__p_wxBitmap
,
47446 &_swigt__p_wxBitmapButton
,
47447 &_swigt__p_wxBookCtrlBase
,
47448 &_swigt__p_wxBookCtrlBaseEvent
,
47449 &_swigt__p_wxBoxSizer
,
47450 &_swigt__p_wxButton
,
47451 &_swigt__p_wxCURHandler
,
47452 &_swigt__p_wxCheckBox
,
47453 &_swigt__p_wxCheckListBox
,
47454 &_swigt__p_wxChildFocusEvent
,
47455 &_swigt__p_wxChoice
,
47456 &_swigt__p_wxChoicebook
,
47457 &_swigt__p_wxChoicebookEvent
,
47458 &_swigt__p_wxClipboardTextEvent
,
47459 &_swigt__p_wxCloseEvent
,
47460 &_swigt__p_wxColour
,
47461 &_swigt__p_wxColourPickerCtrl
,
47462 &_swigt__p_wxColourPickerEvent
,
47463 &_swigt__p_wxComboBox
,
47464 &_swigt__p_wxCommandEvent
,
47465 &_swigt__p_wxContextHelp
,
47466 &_swigt__p_wxContextHelpButton
,
47467 &_swigt__p_wxContextMenuEvent
,
47468 &_swigt__p_wxControl
,
47469 &_swigt__p_wxControlWithItems
,
47470 &_swigt__p_wxCursor
,
47472 &_swigt__p_wxDateEvent
,
47473 &_swigt__p_wxDatePickerCtrl
,
47474 &_swigt__p_wxDateTime
,
47475 &_swigt__p_wxDirFilterListCtrl
,
47476 &_swigt__p_wxDirPickerCtrl
,
47477 &_swigt__p_wxDisplayChangedEvent
,
47478 &_swigt__p_wxDropFilesEvent
,
47479 &_swigt__p_wxDuplexMode
,
47480 &_swigt__p_wxEraseEvent
,
47481 &_swigt__p_wxEvent
,
47482 &_swigt__p_wxEvtHandler
,
47483 &_swigt__p_wxFSFile
,
47484 &_swigt__p_wxFileDirPickerEvent
,
47485 &_swigt__p_wxFilePickerCtrl
,
47486 &_swigt__p_wxFileSystem
,
47487 &_swigt__p_wxFlexGridSizer
,
47488 &_swigt__p_wxFocusEvent
,
47490 &_swigt__p_wxFontPickerCtrl
,
47491 &_swigt__p_wxFontPickerEvent
,
47492 &_swigt__p_wxGBSizerItem
,
47493 &_swigt__p_wxGIFHandler
,
47494 &_swigt__p_wxGauge
,
47495 &_swigt__p_wxGenericDirCtrl
,
47496 &_swigt__p_wxGenericDragImage
,
47497 &_swigt__p_wxGridBagSizer
,
47498 &_swigt__p_wxGridSizer
,
47499 &_swigt__p_wxHelpEvent
,
47500 &_swigt__p_wxHelpProvider
,
47501 &_swigt__p_wxHyperlinkCtrl
,
47502 &_swigt__p_wxHyperlinkEvent
,
47503 &_swigt__p_wxICOHandler
,
47505 &_swigt__p_wxIconizeEvent
,
47506 &_swigt__p_wxIdleEvent
,
47507 &_swigt__p_wxImage
,
47508 &_swigt__p_wxImageHandler
,
47509 &_swigt__p_wxImageList
,
47510 &_swigt__p_wxIndividualLayoutConstraint
,
47511 &_swigt__p_wxInitDialogEvent
,
47512 &_swigt__p_wxItemContainer
,
47513 &_swigt__p_wxJPEGHandler
,
47514 &_swigt__p_wxKeyEvent
,
47515 &_swigt__p_wxLayoutConstraints
,
47516 &_swigt__p_wxListBox
,
47517 &_swigt__p_wxListEvent
,
47518 &_swigt__p_wxListItem
,
47519 &_swigt__p_wxListItemAttr
,
47520 &_swigt__p_wxListView
,
47521 &_swigt__p_wxListbook
,
47522 &_swigt__p_wxListbookEvent
,
47523 &_swigt__p_wxMaximizeEvent
,
47524 &_swigt__p_wxMemoryDC
,
47526 &_swigt__p_wxMenuBar
,
47527 &_swigt__p_wxMenuEvent
,
47528 &_swigt__p_wxMenuItem
,
47529 &_swigt__p_wxMouseCaptureChangedEvent
,
47530 &_swigt__p_wxMouseEvent
,
47531 &_swigt__p_wxMoveEvent
,
47532 &_swigt__p_wxNavigationKeyEvent
,
47533 &_swigt__p_wxNcPaintEvent
,
47534 &_swigt__p_wxNotebook
,
47535 &_swigt__p_wxNotebookEvent
,
47536 &_swigt__p_wxNotifyEvent
,
47537 &_swigt__p_wxObject
,
47538 &_swigt__p_wxPCXHandler
,
47539 &_swigt__p_wxPNGHandler
,
47540 &_swigt__p_wxPNMHandler
,
47541 &_swigt__p_wxPaintEvent
,
47542 &_swigt__p_wxPaletteChangedEvent
,
47543 &_swigt__p_wxPaperSize
,
47544 &_swigt__p_wxPickerBase
,
47545 &_swigt__p_wxPoint
,
47546 &_swigt__p_wxPyApp
,
47547 &_swigt__p_wxPyCommandEvent
,
47548 &_swigt__p_wxPyControl
,
47549 &_swigt__p_wxPyEvent
,
47550 &_swigt__p_wxPyImageHandler
,
47551 &_swigt__p_wxPyListCtrl
,
47552 &_swigt__p_wxPySizer
,
47553 &_swigt__p_wxPyTreeCtrl
,
47554 &_swigt__p_wxPyTreeItemData
,
47555 &_swigt__p_wxPyValidator
,
47556 &_swigt__p_wxQueryNewPaletteEvent
,
47557 &_swigt__p_wxRadioBox
,
47558 &_swigt__p_wxRadioButton
,
47560 &_swigt__p_wxScrollBar
,
47561 &_swigt__p_wxScrollEvent
,
47562 &_swigt__p_wxScrollWinEvent
,
47563 &_swigt__p_wxSetCursorEvent
,
47564 &_swigt__p_wxShowEvent
,
47565 &_swigt__p_wxSimpleHelpProvider
,
47567 &_swigt__p_wxSizeEvent
,
47568 &_swigt__p_wxSizer
,
47569 &_swigt__p_wxSizerItem
,
47570 &_swigt__p_wxSlider
,
47571 &_swigt__p_wxSpinButton
,
47572 &_swigt__p_wxSpinCtrl
,
47573 &_swigt__p_wxSpinEvent
,
47574 &_swigt__p_wxStaticBitmap
,
47575 &_swigt__p_wxStaticBox
,
47576 &_swigt__p_wxStaticBoxSizer
,
47577 &_swigt__p_wxStaticLine
,
47578 &_swigt__p_wxStaticText
,
47579 &_swigt__p_wxStdDialogButtonSizer
,
47580 &_swigt__p_wxString
,
47581 &_swigt__p_wxSysColourChangedEvent
,
47582 &_swigt__p_wxTIFFHandler
,
47583 &_swigt__p_wxTextAttr
,
47584 &_swigt__p_wxTextCtrl
,
47585 &_swigt__p_wxTextUrlEvent
,
47586 &_swigt__p_wxToggleButton
,
47587 &_swigt__p_wxToolBar
,
47588 &_swigt__p_wxToolBarBase
,
47589 &_swigt__p_wxToolBarToolBase
,
47590 &_swigt__p_wxToolbook
,
47591 &_swigt__p_wxToolbookEvent
,
47592 &_swigt__p_wxTreeCtrl
,
47593 &_swigt__p_wxTreeEvent
,
47594 &_swigt__p_wxTreeItemId
,
47595 &_swigt__p_wxTreebook
,
47596 &_swigt__p_wxTreebookEvent
,
47597 &_swigt__p_wxUpdateUIEvent
,
47598 &_swigt__p_wxValidator
,
47599 &_swigt__p_wxVisualAttributes
,
47600 &_swigt__p_wxWindow
,
47601 &_swigt__p_wxWindowBase
,
47602 &_swigt__p_wxWindowCreateEvent
,
47603 &_swigt__p_wxWindowDestroyEvent
,
47604 &_swigt__p_wxXPMHandler
,
47607 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
47608 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
47609 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
47610 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
47611 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
47612 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
47613 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
47614 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
47615 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
47616 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
47617 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
47618 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
47619 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}};
47620 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}};
47621 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}};
47622 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}};
47623 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
47624 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
47625 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}};
47626 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
47627 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47628 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
47629 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47630 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47631 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
47632 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47633 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
47634 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
47635 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
47636 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
47637 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
47638 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47639 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47640 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
47641 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}};
47642 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
47643 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
47644 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}};
47645 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}};
47646 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
47647 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
47648 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47649 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
47650 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47651 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47652 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
47653 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
47654 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47655 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47656 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
47657 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
47658 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47659 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
47660 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
47661 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47662 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47663 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47664 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47665 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
47666 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
47667 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
47668 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47669 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47670 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47671 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47672 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
47673 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
47674 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
47675 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47676 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
47677 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}};
47678 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
47679 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
47680 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
47681 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
47682 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}};
47683 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47684 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47685 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
47686 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47687 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47688 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
47689 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47690 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
47691 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
47692 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}};
47693 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47694 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
47695 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
47696 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
47697 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}};
47698 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47699 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}};
47700 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
47701 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
47702 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
47703 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
47704 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
47705 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47706 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
47707 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47708 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
47709 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47710 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}};
47711 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
47712 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
47713 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
47714 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
47715 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47716 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47717 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47718 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
47719 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
47720 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
47721 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
47722 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
47723 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
47724 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
47725 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
47726 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
47727 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
47728 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
47729 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
47730 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
47731 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
47732 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
47733 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
47734 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
47735 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
47736 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
47737 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
47738 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
47739 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
47740 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
47741 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}};
47742 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
47743 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}};
47744 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
47745 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
47746 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}};
47747 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47748 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
47749 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
47750 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
47751 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
47752 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
47753 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
47754 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
47755 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
47756 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
47757 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47758 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
47759 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
47760 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
47761 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
47762 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
47763 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
47764 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
47765 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47766 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
47767 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
47768 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
47769 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}};
47770 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
47771 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
47772 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47773 static swig_cast_info _swigc__p_wxTreeCtrl
[] = { {&_swigt__p_wxTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47774 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47775 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
47776 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
47777 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47778 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}};
47779 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
47780 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}};
47781 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
47783 static swig_cast_info
*swig_cast_initial
[] = {
47786 _swigc__p_form_ops_t
,
47789 _swigc__p_unsigned_char
,
47790 _swigc__p_unsigned_int
,
47791 _swigc__p_unsigned_long
,
47793 _swigc__p_wxANIHandler
,
47794 _swigc__p_wxAcceleratorTable
,
47795 _swigc__p_wxActivateEvent
,
47796 _swigc__p_wxArrayInt
,
47797 _swigc__p_wxArrayString
,
47798 _swigc__p_wxBMPHandler
,
47799 _swigc__p_wxBitmap
,
47800 _swigc__p_wxBitmapButton
,
47801 _swigc__p_wxBookCtrlBase
,
47802 _swigc__p_wxBookCtrlBaseEvent
,
47803 _swigc__p_wxBoxSizer
,
47804 _swigc__p_wxButton
,
47805 _swigc__p_wxCURHandler
,
47806 _swigc__p_wxCheckBox
,
47807 _swigc__p_wxCheckListBox
,
47808 _swigc__p_wxChildFocusEvent
,
47809 _swigc__p_wxChoice
,
47810 _swigc__p_wxChoicebook
,
47811 _swigc__p_wxChoicebookEvent
,
47812 _swigc__p_wxClipboardTextEvent
,
47813 _swigc__p_wxCloseEvent
,
47814 _swigc__p_wxColour
,
47815 _swigc__p_wxColourPickerCtrl
,
47816 _swigc__p_wxColourPickerEvent
,
47817 _swigc__p_wxComboBox
,
47818 _swigc__p_wxCommandEvent
,
47819 _swigc__p_wxContextHelp
,
47820 _swigc__p_wxContextHelpButton
,
47821 _swigc__p_wxContextMenuEvent
,
47822 _swigc__p_wxControl
,
47823 _swigc__p_wxControlWithItems
,
47824 _swigc__p_wxCursor
,
47826 _swigc__p_wxDateEvent
,
47827 _swigc__p_wxDatePickerCtrl
,
47828 _swigc__p_wxDateTime
,
47829 _swigc__p_wxDirFilterListCtrl
,
47830 _swigc__p_wxDirPickerCtrl
,
47831 _swigc__p_wxDisplayChangedEvent
,
47832 _swigc__p_wxDropFilesEvent
,
47833 _swigc__p_wxDuplexMode
,
47834 _swigc__p_wxEraseEvent
,
47836 _swigc__p_wxEvtHandler
,
47837 _swigc__p_wxFSFile
,
47838 _swigc__p_wxFileDirPickerEvent
,
47839 _swigc__p_wxFilePickerCtrl
,
47840 _swigc__p_wxFileSystem
,
47841 _swigc__p_wxFlexGridSizer
,
47842 _swigc__p_wxFocusEvent
,
47844 _swigc__p_wxFontPickerCtrl
,
47845 _swigc__p_wxFontPickerEvent
,
47846 _swigc__p_wxGBSizerItem
,
47847 _swigc__p_wxGIFHandler
,
47849 _swigc__p_wxGenericDirCtrl
,
47850 _swigc__p_wxGenericDragImage
,
47851 _swigc__p_wxGridBagSizer
,
47852 _swigc__p_wxGridSizer
,
47853 _swigc__p_wxHelpEvent
,
47854 _swigc__p_wxHelpProvider
,
47855 _swigc__p_wxHyperlinkCtrl
,
47856 _swigc__p_wxHyperlinkEvent
,
47857 _swigc__p_wxICOHandler
,
47859 _swigc__p_wxIconizeEvent
,
47860 _swigc__p_wxIdleEvent
,
47862 _swigc__p_wxImageHandler
,
47863 _swigc__p_wxImageList
,
47864 _swigc__p_wxIndividualLayoutConstraint
,
47865 _swigc__p_wxInitDialogEvent
,
47866 _swigc__p_wxItemContainer
,
47867 _swigc__p_wxJPEGHandler
,
47868 _swigc__p_wxKeyEvent
,
47869 _swigc__p_wxLayoutConstraints
,
47870 _swigc__p_wxListBox
,
47871 _swigc__p_wxListEvent
,
47872 _swigc__p_wxListItem
,
47873 _swigc__p_wxListItemAttr
,
47874 _swigc__p_wxListView
,
47875 _swigc__p_wxListbook
,
47876 _swigc__p_wxListbookEvent
,
47877 _swigc__p_wxMaximizeEvent
,
47878 _swigc__p_wxMemoryDC
,
47880 _swigc__p_wxMenuBar
,
47881 _swigc__p_wxMenuEvent
,
47882 _swigc__p_wxMenuItem
,
47883 _swigc__p_wxMouseCaptureChangedEvent
,
47884 _swigc__p_wxMouseEvent
,
47885 _swigc__p_wxMoveEvent
,
47886 _swigc__p_wxNavigationKeyEvent
,
47887 _swigc__p_wxNcPaintEvent
,
47888 _swigc__p_wxNotebook
,
47889 _swigc__p_wxNotebookEvent
,
47890 _swigc__p_wxNotifyEvent
,
47891 _swigc__p_wxObject
,
47892 _swigc__p_wxPCXHandler
,
47893 _swigc__p_wxPNGHandler
,
47894 _swigc__p_wxPNMHandler
,
47895 _swigc__p_wxPaintEvent
,
47896 _swigc__p_wxPaletteChangedEvent
,
47897 _swigc__p_wxPaperSize
,
47898 _swigc__p_wxPickerBase
,
47901 _swigc__p_wxPyCommandEvent
,
47902 _swigc__p_wxPyControl
,
47903 _swigc__p_wxPyEvent
,
47904 _swigc__p_wxPyImageHandler
,
47905 _swigc__p_wxPyListCtrl
,
47906 _swigc__p_wxPySizer
,
47907 _swigc__p_wxPyTreeCtrl
,
47908 _swigc__p_wxPyTreeItemData
,
47909 _swigc__p_wxPyValidator
,
47910 _swigc__p_wxQueryNewPaletteEvent
,
47911 _swigc__p_wxRadioBox
,
47912 _swigc__p_wxRadioButton
,
47914 _swigc__p_wxScrollBar
,
47915 _swigc__p_wxScrollEvent
,
47916 _swigc__p_wxScrollWinEvent
,
47917 _swigc__p_wxSetCursorEvent
,
47918 _swigc__p_wxShowEvent
,
47919 _swigc__p_wxSimpleHelpProvider
,
47921 _swigc__p_wxSizeEvent
,
47923 _swigc__p_wxSizerItem
,
47924 _swigc__p_wxSlider
,
47925 _swigc__p_wxSpinButton
,
47926 _swigc__p_wxSpinCtrl
,
47927 _swigc__p_wxSpinEvent
,
47928 _swigc__p_wxStaticBitmap
,
47929 _swigc__p_wxStaticBox
,
47930 _swigc__p_wxStaticBoxSizer
,
47931 _swigc__p_wxStaticLine
,
47932 _swigc__p_wxStaticText
,
47933 _swigc__p_wxStdDialogButtonSizer
,
47934 _swigc__p_wxString
,
47935 _swigc__p_wxSysColourChangedEvent
,
47936 _swigc__p_wxTIFFHandler
,
47937 _swigc__p_wxTextAttr
,
47938 _swigc__p_wxTextCtrl
,
47939 _swigc__p_wxTextUrlEvent
,
47940 _swigc__p_wxToggleButton
,
47941 _swigc__p_wxToolBar
,
47942 _swigc__p_wxToolBarBase
,
47943 _swigc__p_wxToolBarToolBase
,
47944 _swigc__p_wxToolbook
,
47945 _swigc__p_wxToolbookEvent
,
47946 _swigc__p_wxTreeCtrl
,
47947 _swigc__p_wxTreeEvent
,
47948 _swigc__p_wxTreeItemId
,
47949 _swigc__p_wxTreebook
,
47950 _swigc__p_wxTreebookEvent
,
47951 _swigc__p_wxUpdateUIEvent
,
47952 _swigc__p_wxValidator
,
47953 _swigc__p_wxVisualAttributes
,
47954 _swigc__p_wxWindow
,
47955 _swigc__p_wxWindowBase
,
47956 _swigc__p_wxWindowCreateEvent
,
47957 _swigc__p_wxWindowDestroyEvent
,
47958 _swigc__p_wxXPMHandler
,
47962 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
47964 static swig_const_info swig_const_table
[] = {
47965 {0, 0, 0, 0.0, 0, 0}};
47970 /* -----------------------------------------------------------------------------
47971 * Type initialization:
47972 * This problem is tough by the requirement that no dynamic
47973 * memory is used. Also, since swig_type_info structures store pointers to
47974 * swig_cast_info structures and swig_cast_info structures store pointers back
47975 * to swig_type_info structures, we need some lookup code at initialization.
47976 * The idea is that swig generates all the structures that are needed.
47977 * The runtime then collects these partially filled structures.
47978 * The SWIG_InitializeModule function takes these initial arrays out of
47979 * swig_module, and does all the lookup, filling in the swig_module.types
47980 * array with the correct data and linking the correct swig_cast_info
47981 * structures together.
47983 * The generated swig_type_info structures are assigned staticly to an initial
47984 * array. We just loop though that array, and handle each type individually.
47985 * First we lookup if this type has been already loaded, and if so, use the
47986 * loaded structure instead of the generated one. Then we have to fill in the
47987 * cast linked list. The cast data is initially stored in something like a
47988 * two-dimensional array. Each row corresponds to a type (there are the same
47989 * number of rows as there are in the swig_type_initial array). Each entry in
47990 * a column is one of the swig_cast_info structures for that type.
47991 * The cast_initial array is actually an array of arrays, because each row has
47992 * a variable number of columns. So to actually build the cast linked list,
47993 * we find the array of casts associated with the type, and loop through it
47994 * adding the casts to the list. The one last trick we need to do is making
47995 * sure the type pointer in the swig_cast_info struct is correct.
47997 * First off, we lookup the cast->type name to see if it is already loaded.
47998 * There are three cases to handle:
47999 * 1) If the cast->type has already been loaded AND the type we are adding
48000 * casting info to has not been loaded (it is in this module), THEN we
48001 * replace the cast->type pointer with the type pointer that has already
48003 * 2) If BOTH types (the one we are adding casting info to, and the
48004 * cast->type) are loaded, THEN the cast info has already been loaded by
48005 * the previous module so we just ignore it.
48006 * 3) Finally, if cast->type has not already been loaded, then we add that
48007 * swig_cast_info to the linked list (because the cast->type) pointer will
48009 * ----------------------------------------------------------------------------- */
48019 #define SWIGRUNTIME_DEBUG
48023 SWIG_InitializeModule(void *clientdata
) {
48025 swig_module_info
*module_head
;
48026 static int init_run
= 0;
48028 clientdata
= clientdata
;
48030 if (init_run
) return;
48033 /* Initialize the swig_module */
48034 swig_module
.type_initial
= swig_type_initial
;
48035 swig_module
.cast_initial
= swig_cast_initial
;
48037 /* Try and load any already created modules */
48038 module_head
= SWIG_GetModule(clientdata
);
48040 swig_module
.next
= module_head
->next
;
48041 module_head
->next
= &swig_module
;
48043 /* This is the first module loaded */
48044 swig_module
.next
= &swig_module
;
48045 SWIG_SetModule(clientdata
, &swig_module
);
48048 /* Now work on filling in swig_module.types */
48049 #ifdef SWIGRUNTIME_DEBUG
48050 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
48052 for (i
= 0; i
< swig_module
.size
; ++i
) {
48053 swig_type_info
*type
= 0;
48054 swig_type_info
*ret
;
48055 swig_cast_info
*cast
;
48057 #ifdef SWIGRUNTIME_DEBUG
48058 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
48061 /* if there is another module already loaded */
48062 if (swig_module
.next
!= &swig_module
) {
48063 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
48066 /* Overwrite clientdata field */
48067 #ifdef SWIGRUNTIME_DEBUG
48068 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
48070 if (swig_module
.type_initial
[i
]->clientdata
) {
48071 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
48072 #ifdef SWIGRUNTIME_DEBUG
48073 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
48077 type
= swig_module
.type_initial
[i
];
48080 /* Insert casting types */
48081 cast
= swig_module
.cast_initial
[i
];
48082 while (cast
->type
) {
48083 /* Don't need to add information already in the list */
48085 #ifdef SWIGRUNTIME_DEBUG
48086 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
48088 if (swig_module
.next
!= &swig_module
) {
48089 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
48090 #ifdef SWIGRUNTIME_DEBUG
48091 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
48095 if (type
== swig_module
.type_initial
[i
]) {
48096 #ifdef SWIGRUNTIME_DEBUG
48097 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
48102 /* Check for casting already in the list */
48103 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
48104 #ifdef SWIGRUNTIME_DEBUG
48105 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
48107 if (!ocast
) ret
= 0;
48112 #ifdef SWIGRUNTIME_DEBUG
48113 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
48116 type
->cast
->prev
= cast
;
48117 cast
->next
= type
->cast
;
48123 /* Set entry in modules->types array equal to the type */
48124 swig_module
.types
[i
] = type
;
48126 swig_module
.types
[i
] = 0;
48128 #ifdef SWIGRUNTIME_DEBUG
48129 printf("**** SWIG_InitializeModule: Cast List ******\n");
48130 for (i
= 0; i
< swig_module
.size
; ++i
) {
48132 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
48133 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
48134 while (cast
->type
) {
48135 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
48139 printf("---- Total casts: %d\n",j
);
48141 printf("**** SWIG_InitializeModule: Cast List ******\n");
48145 /* This function will propagate the clientdata field of type to
48146 * any new swig_type_info structures that have been added into the list
48147 * of equivalent types. It is like calling
48148 * SWIG_TypeClientData(type, clientdata) a second time.
48151 SWIG_PropagateClientData(void) {
48153 swig_cast_info
*equiv
;
48154 static int init_run
= 0;
48156 if (init_run
) return;
48159 for (i
= 0; i
< swig_module
.size
; i
++) {
48160 if (swig_module
.types
[i
]->clientdata
) {
48161 equiv
= swig_module
.types
[i
]->cast
;
48163 if (!equiv
->converter
) {
48164 if (equiv
->type
&& !equiv
->type
->clientdata
)
48165 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
48167 equiv
= equiv
->next
;
48187 /* Python-specific SWIG API */
48188 #define SWIG_newvarlink() SWIG_Python_newvarlink()
48189 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
48190 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
48192 /* -----------------------------------------------------------------------------
48193 * global variable support code.
48194 * ----------------------------------------------------------------------------- */
48196 typedef struct swig_globalvar
{
48197 char *name
; /* Name of global variable */
48198 PyObject
*(*get_attr
)(void); /* Return the current value */
48199 int (*set_attr
)(PyObject
*); /* Set the value */
48200 struct swig_globalvar
*next
;
48203 typedef struct swig_varlinkobject
{
48205 swig_globalvar
*vars
;
48206 } swig_varlinkobject
;
48208 SWIGINTERN PyObject
*
48209 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
48210 return PyString_FromString("<Swig global variables>");
48213 SWIGINTERN PyObject
*
48214 swig_varlink_str(swig_varlinkobject
*v
) {
48215 PyObject
*str
= PyString_FromString("(");
48216 swig_globalvar
*var
;
48217 for (var
= v
->vars
; var
; var
=var
->next
) {
48218 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
48219 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
48221 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
48226 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
48227 PyObject
*str
= swig_varlink_str(v
);
48228 fprintf(fp
,"Swig global variables ");
48229 fprintf(fp
,"%s\n", PyString_AsString(str
));
48235 swig_varlink_dealloc(swig_varlinkobject
*v
) {
48236 swig_globalvar
*var
= v
->vars
;
48238 swig_globalvar
*n
= var
->next
;
48245 SWIGINTERN PyObject
*
48246 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
48247 PyObject
*res
= NULL
;
48248 swig_globalvar
*var
= v
->vars
;
48250 if (strcmp(var
->name
,n
) == 0) {
48251 res
= (*var
->get_attr
)();
48256 if (res
== NULL
&& !PyErr_Occurred()) {
48257 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48263 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
48265 swig_globalvar
*var
= v
->vars
;
48267 if (strcmp(var
->name
,n
) == 0) {
48268 res
= (*var
->set_attr
)(p
);
48273 if (res
== 1 && !PyErr_Occurred()) {
48274 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48279 SWIGINTERN PyTypeObject
*
48280 swig_varlink_type(void) {
48281 static char varlink__doc__
[] = "Swig var link object";
48282 static PyTypeObject varlink_type
;
48283 static int type_init
= 0;
48285 const PyTypeObject tmp
48287 PyObject_HEAD_INIT(NULL
)
48288 0, /* Number of items in variable part (ob_size) */
48289 (char *)"swigvarlink", /* Type name (tp_name) */
48290 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
48291 0, /* Itemsize (tp_itemsize) */
48292 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
48293 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
48294 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
48295 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
48296 0, /* tp_compare */
48297 (reprfunc
) swig_varlink_repr
, /* tp_repr */
48298 0, /* tp_as_number */
48299 0, /* tp_as_sequence */
48300 0, /* tp_as_mapping */
48303 (reprfunc
)swig_varlink_str
, /* tp_str */
48304 0, /* tp_getattro */
48305 0, /* tp_setattro */
48306 0, /* tp_as_buffer */
48308 varlink__doc__
, /* tp_doc */
48309 0, /* tp_traverse */
48311 0, /* tp_richcompare */
48312 0, /* tp_weaklistoffset */
48313 #if PY_VERSION_HEX >= 0x02020000
48314 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
48316 #if PY_VERSION_HEX >= 0x02030000
48319 #ifdef COUNT_ALLOCS
48320 0,0,0,0 /* tp_alloc -> tp_next */
48323 varlink_type
= tmp
;
48324 varlink_type
.ob_type
= &PyType_Type
;
48327 return &varlink_type
;
48330 /* Create a variable linking object for use later */
48331 SWIGINTERN PyObject
*
48332 SWIG_Python_newvarlink(void) {
48333 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
48337 return ((PyObject
*) result
);
48341 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
48342 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
48343 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
48345 size_t size
= strlen(name
)+1;
48346 gv
->name
= (char *)malloc(size
);
48348 strncpy(gv
->name
,name
,size
);
48349 gv
->get_attr
= get_attr
;
48350 gv
->set_attr
= set_attr
;
48351 gv
->next
= v
->vars
;
48357 SWIGINTERN PyObject
*
48359 static PyObject
*_SWIG_globals
= 0;
48360 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
48361 return _SWIG_globals
;
48364 /* -----------------------------------------------------------------------------
48365 * constants/methods manipulation
48366 * ----------------------------------------------------------------------------- */
48368 /* Install Constants */
48370 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
48373 for (i
= 0; constants
[i
].type
; ++i
) {
48374 switch(constants
[i
].type
) {
48375 case SWIG_PY_POINTER
:
48376 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
48378 case SWIG_PY_BINARY
:
48379 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
48386 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
48392 /* -----------------------------------------------------------------------------*/
48393 /* Fix SwigMethods to carry the callback ptrs when needed */
48394 /* -----------------------------------------------------------------------------*/
48397 SWIG_Python_FixMethods(PyMethodDef
*methods
,
48398 swig_const_info
*const_table
,
48399 swig_type_info
**types
,
48400 swig_type_info
**types_initial
) {
48402 for (i
= 0; methods
[i
].ml_name
; ++i
) {
48403 char *c
= methods
[i
].ml_doc
;
48404 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
48406 swig_const_info
*ci
= 0;
48407 char *name
= c
+ 10;
48408 for (j
= 0; const_table
[j
].type
; ++j
) {
48409 if (strncmp(const_table
[j
].name
, name
,
48410 strlen(const_table
[j
].name
)) == 0) {
48411 ci
= &(const_table
[j
]);
48416 size_t shift
= (ci
->ptype
) - types
;
48417 swig_type_info
*ty
= types_initial
[shift
];
48418 size_t ldoc
= (c
- methods
[i
].ml_doc
);
48419 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
48420 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
48423 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
48425 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
48427 strncpy(buff
, "swig_ptr: ", 10);
48429 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
48430 methods
[i
].ml_doc
= ndoc
;
48442 /* -----------------------------------------------------------------------------*
48443 * Partial Init method
48444 * -----------------------------------------------------------------------------*/
48449 SWIGEXPORT
void SWIG_init(void) {
48452 /* Fix SwigMethods to carry the callback ptrs when needed */
48453 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
48455 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
48456 d
= PyModule_GetDict(m
);
48458 SWIG_InitializeModule(0);
48459 SWIG_InstallConstants(d
,swig_const_table
);
48462 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
48463 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
48464 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
48465 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
48466 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
48467 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
48468 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
48469 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
48470 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
48471 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
48472 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
48473 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
48474 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
48475 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
48476 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
48477 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
48478 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
48479 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
48480 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
48481 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
48482 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
48483 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
48484 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
48485 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
48486 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
48487 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
48488 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
48489 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
48490 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
48491 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
48492 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
48493 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
48494 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
48495 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
48496 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
48497 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
48498 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
48499 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
48500 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
48501 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
48502 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
48503 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
48504 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
48505 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
48506 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
48507 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
48508 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
48509 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
48510 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
48511 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
48512 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
48513 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
48514 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
48515 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
48516 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
48517 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
48518 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
48519 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
48520 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
48521 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
48522 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
48523 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
48524 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
48525 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
48526 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
48527 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
48528 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
48529 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
48530 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
48531 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
48532 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
48533 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
48534 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
48535 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
48536 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
48537 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
48538 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
48539 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
48540 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
48541 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
48542 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
48543 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
48544 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
48545 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
48546 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
48547 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
48548 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
48549 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
48550 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
48551 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
48552 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
48553 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
48554 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
48555 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
48556 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
48557 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
48558 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
48559 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
48560 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
48561 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
48562 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
48563 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
48564 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
48565 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
48566 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
48567 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
48568 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
48569 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
48570 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
48571 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
48572 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
48573 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
48574 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
48575 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
48576 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
48577 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
48578 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
48579 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
48580 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
48581 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
48582 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
48583 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
48584 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
48585 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
48586 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
48587 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
48588 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
48589 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
48590 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
48591 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
48592 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
48593 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
48594 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
48595 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
48596 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
48597 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
48598 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
48599 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
48600 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
48601 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
48602 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
48603 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
48604 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
48605 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
48606 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
48607 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
48608 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
48609 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
48610 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
48611 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
48612 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
48613 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
48614 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
48615 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
48616 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
48617 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
48618 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
48619 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
48620 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
48621 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
48622 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
48623 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
48624 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
48625 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
48626 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
48627 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
48628 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
48629 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
48630 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
48631 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
48632 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
48633 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
48634 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
48635 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
48636 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
48637 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
48638 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
48639 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
48640 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
48641 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
48642 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
48643 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
48644 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
48645 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
48646 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
48647 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
48648 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
48649 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
48650 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
48651 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
48652 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
48653 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
48654 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
48655 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
48656 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
48657 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
48658 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
48659 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
48660 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
48661 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
48662 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
48663 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
48664 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
48665 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
48666 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
48667 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
48668 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
48669 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
48670 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
48671 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
48672 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
48673 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
48674 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
48675 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
48676 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
48677 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
48678 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
48679 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
48680 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
48681 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
48682 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
48683 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
48684 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
48685 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
48686 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
48687 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
48688 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
48689 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
48690 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
48691 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
48692 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
48693 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
48694 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
48695 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
48696 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
48697 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
48698 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
48699 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
48700 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
48701 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
48702 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
48703 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
48704 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
48705 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
48706 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
48707 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
48708 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
48709 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
48710 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
48711 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
48713 // Map renamed classes back to their common name for OOR
48714 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
48716 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
48717 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
48718 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
48719 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
48720 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
48721 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
48722 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
48723 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
48724 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
48725 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
48726 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
48727 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
48728 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
48729 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
48730 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
48731 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
48732 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
48733 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
48734 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
48735 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
48736 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
48737 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
48738 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
48739 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
48740 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
48741 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
48742 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
48743 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
48744 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
48745 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
48746 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
48747 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
48748 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
48749 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
48750 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
48751 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
48752 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
48753 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
48754 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
48755 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
48756 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
48757 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
48758 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
48759 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
48760 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
48761 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
48762 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
48763 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
48764 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
48765 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
48766 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
48767 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
48768 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
48769 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
48770 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
48771 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
48773 // Map renamed classes back to their common name for OOR
48774 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
48775 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
48777 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
48778 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
48779 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
48780 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
48781 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
48782 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
48783 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
48784 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
48785 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
48786 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
48787 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
48788 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
48789 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
48791 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
48793 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
48794 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
48795 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
48796 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
48797 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
48798 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
48799 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
48800 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
48801 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
48802 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
48803 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
48804 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
48805 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
48806 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
48807 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
48808 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
48809 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
48810 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
48811 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
48812 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
48813 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
48814 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
48815 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
48816 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
48817 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
48818 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
48819 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
48820 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
48821 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
48822 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
48823 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
48824 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
48825 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
48826 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
48827 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
48828 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
48829 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
48830 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
48831 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
48832 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));