1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_long swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2479 #define SWIGTYPE_p_wxArrayString swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2483 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2484 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2486 #define SWIGTYPE_p_wxButton swig_types[20]
2487 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2488 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2489 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxChoice swig_types[25]
2492 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2493 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2494 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2495 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2496 #define SWIGTYPE_p_wxColour swig_types[30]
2497 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[31]
2498 #define SWIGTYPE_p_wxColourPickerEvent swig_types[32]
2499 #define SWIGTYPE_p_wxComboBox swig_types[33]
2500 #define SWIGTYPE_p_wxCommandEvent swig_types[34]
2501 #define SWIGTYPE_p_wxContextHelp swig_types[35]
2502 #define SWIGTYPE_p_wxContextHelpButton swig_types[36]
2503 #define SWIGTYPE_p_wxContextMenuEvent swig_types[37]
2504 #define SWIGTYPE_p_wxControl swig_types[38]
2505 #define SWIGTYPE_p_wxControlWithItems swig_types[39]
2506 #define SWIGTYPE_p_wxCursor swig_types[40]
2507 #define SWIGTYPE_p_wxDC swig_types[41]
2508 #define SWIGTYPE_p_wxDateEvent swig_types[42]
2509 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[43]
2510 #define SWIGTYPE_p_wxDateTime swig_types[44]
2511 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[46]
2513 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[47]
2514 #define SWIGTYPE_p_wxDropFilesEvent swig_types[48]
2515 #define SWIGTYPE_p_wxDuplexMode swig_types[49]
2516 #define SWIGTYPE_p_wxEraseEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvent swig_types[51]
2518 #define SWIGTYPE_p_wxEvtHandler swig_types[52]
2519 #define SWIGTYPE_p_wxFSFile swig_types[53]
2520 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[54]
2521 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[55]
2522 #define SWIGTYPE_p_wxFileSystem swig_types[56]
2523 #define SWIGTYPE_p_wxFlexGridSizer swig_types[57]
2524 #define SWIGTYPE_p_wxFocusEvent swig_types[58]
2525 #define SWIGTYPE_p_wxFont swig_types[59]
2526 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[60]
2527 #define SWIGTYPE_p_wxFontPickerEvent swig_types[61]
2528 #define SWIGTYPE_p_wxGBSizerItem swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGauge swig_types[64]
2531 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[65]
2532 #define SWIGTYPE_p_wxGenericDragImage swig_types[66]
2533 #define SWIGTYPE_p_wxGridBagSizer swig_types[67]
2534 #define SWIGTYPE_p_wxGridSizer swig_types[68]
2535 #define SWIGTYPE_p_wxHelpEvent swig_types[69]
2536 #define SWIGTYPE_p_wxHelpProvider swig_types[70]
2537 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[71]
2538 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[72]
2539 #define SWIGTYPE_p_wxICOHandler swig_types[73]
2540 #define SWIGTYPE_p_wxIcon swig_types[74]
2541 #define SWIGTYPE_p_wxIconizeEvent swig_types[75]
2542 #define SWIGTYPE_p_wxIdleEvent swig_types[76]
2543 #define SWIGTYPE_p_wxImage swig_types[77]
2544 #define SWIGTYPE_p_wxImageHandler swig_types[78]
2545 #define SWIGTYPE_p_wxImageList swig_types[79]
2546 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[80]
2547 #define SWIGTYPE_p_wxInitDialogEvent swig_types[81]
2548 #define SWIGTYPE_p_wxItemContainer swig_types[82]
2549 #define SWIGTYPE_p_wxJPEGHandler swig_types[83]
2550 #define SWIGTYPE_p_wxKeyEvent swig_types[84]
2551 #define SWIGTYPE_p_wxLayoutConstraints swig_types[85]
2552 #define SWIGTYPE_p_wxListBox swig_types[86]
2553 #define SWIGTYPE_p_wxListEvent swig_types[87]
2554 #define SWIGTYPE_p_wxListItem swig_types[88]
2555 #define SWIGTYPE_p_wxListItemAttr swig_types[89]
2556 #define SWIGTYPE_p_wxListView swig_types[90]
2557 #define SWIGTYPE_p_wxListbook swig_types[91]
2558 #define SWIGTYPE_p_wxListbookEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMaximizeEvent swig_types[93]
2560 #define SWIGTYPE_p_wxMemoryDC swig_types[94]
2561 #define SWIGTYPE_p_wxMenu swig_types[95]
2562 #define SWIGTYPE_p_wxMenuBar swig_types[96]
2563 #define SWIGTYPE_p_wxMenuEvent swig_types[97]
2564 #define SWIGTYPE_p_wxMenuItem swig_types[98]
2565 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMouseEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMoveEvent swig_types[101]
2568 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[102]
2569 #define SWIGTYPE_p_wxNcPaintEvent swig_types[103]
2570 #define SWIGTYPE_p_wxNotebook swig_types[104]
2571 #define SWIGTYPE_p_wxNotebookEvent swig_types[105]
2572 #define SWIGTYPE_p_wxNotifyEvent swig_types[106]
2573 #define SWIGTYPE_p_wxObject swig_types[107]
2574 #define SWIGTYPE_p_wxPCXHandler swig_types[108]
2575 #define SWIGTYPE_p_wxPNGHandler swig_types[109]
2576 #define SWIGTYPE_p_wxPNMHandler swig_types[110]
2577 #define SWIGTYPE_p_wxPaintEvent swig_types[111]
2578 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPaperSize swig_types[113]
2580 #define SWIGTYPE_p_wxPickerBase swig_types[114]
2581 #define SWIGTYPE_p_wxPoint swig_types[115]
2582 #define SWIGTYPE_p_wxPyApp swig_types[116]
2583 #define SWIGTYPE_p_wxPyCommandEvent swig_types[117]
2584 #define SWIGTYPE_p_wxPyControl swig_types[118]
2585 #define SWIGTYPE_p_wxPyEvent swig_types[119]
2586 #define SWIGTYPE_p_wxPyImageHandler swig_types[120]
2587 #define SWIGTYPE_p_wxPyListCtrl swig_types[121]
2588 #define SWIGTYPE_p_wxPySizer swig_types[122]
2589 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[123]
2590 #define SWIGTYPE_p_wxPyTreeItemData swig_types[124]
2591 #define SWIGTYPE_p_wxPyValidator swig_types[125]
2592 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2593 #define SWIGTYPE_p_wxRadioBox swig_types[127]
2594 #define SWIGTYPE_p_wxRadioButton swig_types[128]
2595 #define SWIGTYPE_p_wxRect swig_types[129]
2596 #define SWIGTYPE_p_wxScrollBar swig_types[130]
2597 #define SWIGTYPE_p_wxScrollEvent swig_types[131]
2598 #define SWIGTYPE_p_wxScrollWinEvent swig_types[132]
2599 #define SWIGTYPE_p_wxSetCursorEvent swig_types[133]
2600 #define SWIGTYPE_p_wxShowEvent swig_types[134]
2601 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[135]
2602 #define SWIGTYPE_p_wxSize swig_types[136]
2603 #define SWIGTYPE_p_wxSizeEvent swig_types[137]
2604 #define SWIGTYPE_p_wxSizer swig_types[138]
2605 #define SWIGTYPE_p_wxSizerItem swig_types[139]
2606 #define SWIGTYPE_p_wxSlider swig_types[140]
2607 #define SWIGTYPE_p_wxSpinButton swig_types[141]
2608 #define SWIGTYPE_p_wxSpinCtrl swig_types[142]
2609 #define SWIGTYPE_p_wxSpinEvent swig_types[143]
2610 #define SWIGTYPE_p_wxStaticBitmap swig_types[144]
2611 #define SWIGTYPE_p_wxStaticBox swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStaticLine swig_types[147]
2614 #define SWIGTYPE_p_wxStaticText swig_types[148]
2615 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[149]
2616 #define SWIGTYPE_p_wxString swig_types[150]
2617 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[151]
2618 #define SWIGTYPE_p_wxTIFFHandler swig_types[152]
2619 #define SWIGTYPE_p_wxTextAttr swig_types[153]
2620 #define SWIGTYPE_p_wxTextCtrl swig_types[154]
2621 #define SWIGTYPE_p_wxTextUrlEvent swig_types[155]
2622 #define SWIGTYPE_p_wxToggleButton swig_types[156]
2623 #define SWIGTYPE_p_wxToolBar swig_types[157]
2624 #define SWIGTYPE_p_wxToolBarBase swig_types[158]
2625 #define SWIGTYPE_p_wxToolBarToolBase swig_types[159]
2626 #define SWIGTYPE_p_wxToolbook swig_types[160]
2627 #define SWIGTYPE_p_wxToolbookEvent swig_types[161]
2628 #define SWIGTYPE_p_wxTreeEvent swig_types[162]
2629 #define SWIGTYPE_p_wxTreeItemId swig_types[163]
2630 #define SWIGTYPE_p_wxTreebook swig_types[164]
2631 #define SWIGTYPE_p_wxTreebookEvent swig_types[165]
2632 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[166]
2633 #define SWIGTYPE_p_wxValidator swig_types[167]
2634 #define SWIGTYPE_p_wxVisualAttributes swig_types[168]
2635 #define SWIGTYPE_p_wxWindow swig_types[169]
2636 #define SWIGTYPE_p_wxWindowBase swig_types[170]
2637 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[171]
2638 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[172]
2639 #define SWIGTYPE_p_wxXPMHandler swig_types[173]
2640 static swig_type_info
*swig_types
[175];
2641 static swig_module_info swig_module
= {swig_types
, 174, 0, 0, 0, 0};
2642 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2643 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2645 /* -------- TYPES TABLE (END) -------- */
2647 #if (PY_VERSION_HEX <= 0x02000000)
2648 # if !defined(SWIG_PYTHON_CLASSIC)
2649 # error "This python version requires to use swig with the '-classic' option"
2652 #if (PY_VERSION_HEX <= 0x02020000)
2653 # error "This python version requires to use swig with the '-nomodern' option"
2655 #if (PY_VERSION_HEX <= 0x02020000)
2656 # error "This python version requires to use swig with the '-nomodernargs' option"
2659 # error "This python version requires to use swig with the '-nofastunpack' option"
2662 /*-----------------------------------------------
2663 @(target):= _controls_.so
2664 ------------------------------------------------*/
2665 #define SWIG_init init_controls_
2667 #define SWIG_name "_controls_"
2669 #define SWIGVERSION 0x010329
2672 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2673 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2676 #include <stdexcept>
2680 class PyObject_ptr
{
2685 PyObject_ptr() :_obj(0)
2689 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2694 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2696 if (initial_ref
) Py_XINCREF(_obj
);
2699 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2701 Py_XINCREF(item
._obj
);
2712 operator PyObject
*() const
2717 PyObject
*operator->() const
2726 struct PyObject_var
: PyObject_ptr
{
2727 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2729 PyObject_var
& operator = (PyObject
* obj
)
2739 #include "wx/wxPython/wxPython.h"
2740 #include "wx/wxPython/pyclasses.h"
2742 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2743 static const wxString
wxPyEmptyString(wxEmptyString
);
2744 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2746 const wxArrayString wxPyEmptyStringArray
;
2748 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2750 #define SWIG_From_long PyInt_FromLong
2753 SWIGINTERNINLINE PyObject
*
2754 SWIG_From_int (int value
)
2756 return SWIG_From_long (value
);
2762 # define LLONG_MIN LONG_LONG_MIN
2765 # define LLONG_MAX LONG_LONG_MAX
2768 # define ULLONG_MAX ULONG_LONG_MAX
2773 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2775 if (PyNumber_Check(obj
)) {
2776 if (val
) *val
= PyInt_AsLong(obj
);
2779 return SWIG_TypeError
;
2784 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2787 int res
= SWIG_AsVal_long (obj
, &v
);
2788 if (SWIG_IsOK(res
)) {
2789 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2790 return SWIG_OverflowError
;
2792 if (val
) *val
= static_cast< int >(v
);
2798 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2801 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2803 if (obj
== Py_True
) {
2804 if (val
) *val
= true;
2806 } else if (obj
== Py_False
) {
2807 if (val
) *val
= false;
2811 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2812 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2817 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2818 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2819 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2820 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2821 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2822 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2824 #include <wx/checklst.h>
2826 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2827 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2830 wxPyClientData
* data
= new wxPyClientData(clientData
);
2831 self
->Insert(item
, pos
, data
);
2834 self
->Insert(item
, pos
);
2838 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2841 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2842 return SWIG_TypeError
;
2845 *val
= (unsigned long)v
;
2851 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2854 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2855 if (SWIG_IsOK(res
)) {
2856 if ((v
> UINT_MAX
)) {
2857 return SWIG_OverflowError
;
2859 if (val
) *val
= static_cast< unsigned int >(v
);
2865 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2866 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2868 self
->GetSelections(lst
);
2869 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2870 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2872 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2874 wxPyEndBlockThreads(blocked
);
2877 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2879 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2880 self
->GetItem(item
)->SetTextColour(c
);
2883 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2885 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2886 self
->GetItem(item
)->SetBackgroundColour(c
);
2889 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2891 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2892 self
->GetItem(item
)->SetFont(f
);
2895 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2896 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2897 self
->AppendText(text
);
2899 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2900 return self
->GetValue().Mid(from
, to
- from
);
2902 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2903 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2904 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2905 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2906 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2908 SWIGINTERNINLINE PyObject
*
2909 SWIG_From_unsigned_SS_long (unsigned long value
)
2911 return (value
> LONG_MAX
) ?
2912 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2916 SWIGINTERNINLINE PyObject
*
2917 SWIG_From_size_t (size_t value
)
2919 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2923 SWIGINTERNINLINE PyObject
*
2924 SWIG_From_unsigned_SS_int (unsigned int value
)
2926 return SWIG_From_unsigned_SS_long (value
);
2930 #include <wx/slider.h>
2933 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2934 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2936 #if !wxUSE_TOGGLEBTN
2937 // implement dummy items for platforms that don't have this class
2939 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2941 class wxToggleButton
: public wxControl
2944 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2945 const wxPoint
&, const wxSize
&, long,
2946 const wxValidator
&, const wxString
&)
2947 { wxPyRaiseNotImplemented(); }
2950 { wxPyRaiseNotImplemented(); }
2954 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2956 SWIGINTERNINLINE
int
2957 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2960 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2961 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2965 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2966 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2967 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2969 Py_INCREF(udata
->m_obj
);
2970 return udata
->m_obj
;
2976 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2977 self
->SetClientData(new wxPyUserData(clientData
));
2979 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
){
2980 wxPyUserData
* udata
= NULL
;
2981 if (clientData
&& clientData
!= Py_None
)
2982 udata
= new wxPyUserData(clientData
);
2983 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2984 shortHelp
, longHelp
, udata
);
2986 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
){
2987 wxPyUserData
* udata
= NULL
;
2988 if (clientData
&& clientData
!= Py_None
)
2989 udata
= new wxPyUserData(clientData
);
2990 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2991 shortHelp
, longHelp
, udata
);
2993 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2994 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
2996 Py_INCREF(udata
->m_obj
);
2997 return udata
->m_obj
;
3003 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3004 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3007 #include <wx/listctrl.h>
3009 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3010 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3011 // Python aware sorting function for wxPyListCtrl
3012 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3014 PyObject
* func
= (PyObject
*)funcPtr
;
3015 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3017 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3018 PyObject
* result
= PyEval_CallObject(func
, args
);
3021 retval
= PyInt_AsLong(result
);
3025 wxPyEndBlockThreads(blocked
);
3029 // C++ Version of a Python aware class
3030 class wxPyListCtrl
: public wxListCtrl
{
3031 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3033 wxPyListCtrl() : wxListCtrl() {}
3034 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3038 const wxValidator
& validator
,
3039 const wxString
& name
) :
3040 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3042 bool Create(wxWindow
* parent
, wxWindowID id
,
3046 const wxValidator
& validator
,
3047 const wxString
& name
) {
3048 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3051 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3052 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3054 // use the virtual version to avoid a confusing assert in the base class
3055 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3056 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3061 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3063 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3064 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3065 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3066 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3069 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3071 item
.SetMask( wxLIST_MASK_STATE
|
3079 if (self
->GetColumn(col
, item
))
3080 return new wxListItem(item
);
3084 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3085 wxListItem
* info
= new wxListItem
;
3086 info
->m_itemId
= itemId
;
3088 info
->m_mask
= 0xFFFF;
3089 self
->GetItem(*info
);
3092 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3094 self
->GetItemPosition(item
, pos
);
3097 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3099 self
->GetItemRect(item
, rect
, code
);
3102 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3103 if (!PyCallable_Check(func
))
3105 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3107 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3111 return (wxWindow
*)self
->m_mainWin
;
3115 #include <wx/treectrl.h>
3116 #include "wx/wxPython/pytree.h"
3118 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3119 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3120 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3121 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3123 static wxTreeItemId wxNullTreeItemId
;
3125 // C++ version of Python aware wxTreeCtrl
3126 class wxPyTreeCtrl
: public wxTreeCtrl
{
3127 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3129 wxPyTreeCtrl() : wxTreeCtrl() {}
3130 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3134 const wxValidator
& validator
,
3135 const wxString
& name
) :
3136 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3138 bool Create(wxWindow
*parent
, wxWindowID id
,
3142 const wxValidator
& validator
,
3143 const wxString
& name
) {
3144 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3148 int OnCompareItems(const wxTreeItemId
& item1
,
3149 const wxTreeItemId
& item2
) {
3152 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3153 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3154 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3155 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3156 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3160 wxPyEndBlockThreads(blocked
);
3162 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3168 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3171 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3172 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3174 data
= new wxPyTreeItemData();
3175 data
->SetId(item
); // set the id
3176 self
->SetItemData(item
, data
);
3180 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3181 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3183 data
= new wxPyTreeItemData();
3184 data
->SetId(item
); // set the id
3185 self
->SetItemData(item
, data
);
3187 return data
->GetData();
3189 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3190 data
->SetId(item
); // set the id
3191 self
->SetItemData(item
, data
);
3193 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3194 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3196 data
= new wxPyTreeItemData(obj
);
3197 data
->SetId(item
); // set the id
3198 self
->SetItemData(item
, data
);
3202 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3203 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3204 PyObject
* rval
= PyList_New(0);
3205 wxArrayTreeItemIds array
;
3207 num
= self
->GetSelections(array
);
3208 for (x
=0; x
< num
; x
++) {
3209 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3210 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3211 PyList_Append(rval
, item
);
3214 wxPyEndBlockThreads(blocked
);
3217 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3219 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3220 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3221 PyObject
* tup
= PyTuple_New(2);
3222 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3223 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3224 wxPyEndBlockThreads(blocked
);
3227 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3228 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3229 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3230 PyObject
* tup
= PyTuple_New(2);
3231 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3232 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3233 wxPyEndBlockThreads(blocked
);
3236 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3238 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3239 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3240 wxRect
* r
= new wxRect(rect
);
3241 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3242 wxPyEndBlockThreads(blocked
);
3248 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3250 SWIGINTERNINLINE PyObject
*
3251 SWIG_From_bool (bool value
)
3253 return PyBool_FromLong(value
? 1 : 0);
3256 // C++ version of Python aware wxControl
3257 class wxPyControl
: public wxControl
3259 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3261 wxPyControl() : wxControl() {}
3262 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3263 const wxPoint
& pos
= wxDefaultPosition
,
3264 const wxSize
& size
= wxDefaultSize
,
3266 const wxValidator
& validator
=wxDefaultValidator
,
3267 const wxString
& name
= wxPyControlNameStr
)
3268 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3270 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
3272 bool DoEraseBackground(wxDC
* dc
) {
3274 return wxWindow::DoEraseBackground(dc
->GetHDC());
3276 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3282 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3283 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3284 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3285 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3287 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3288 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3289 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3291 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3292 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3294 DEC_PYCALLBACK__(InitDialog
);
3295 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3296 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3297 DEC_PYCALLBACK_BOOL_(Validate
);
3299 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3300 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3301 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3303 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3304 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3306 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3307 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3309 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3311 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3316 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3318 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3319 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3320 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3321 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3323 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3324 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3325 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3327 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3328 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3330 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3331 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3332 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3333 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3335 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3336 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3337 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3339 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3340 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3342 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3343 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3345 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3347 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3351 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3353 #include <wx/generic/dragimgg.h>
3355 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3356 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3358 self
->GetRange(&rv
, NULL
);
3361 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3363 self
->GetRange(NULL
, &rv
);
3366 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3367 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3368 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3369 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3370 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3371 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3372 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3373 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3377 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3378 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3383 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3384 PyObject
*pyobj
= 0;
3388 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3390 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3397 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3398 PyObject
*resultobj
= 0;
3399 wxWindow
*arg1
= (wxWindow
*) 0 ;
3400 int arg2
= (int) -1 ;
3401 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3402 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3403 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3404 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3405 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3406 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3407 long arg6
= (long) 0 ;
3408 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3409 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3410 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3411 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3412 wxButton
*result
= 0 ;
3417 bool temp3
= false ;
3424 bool temp8
= false ;
3425 PyObject
* obj0
= 0 ;
3426 PyObject
* obj1
= 0 ;
3427 PyObject
* obj2
= 0 ;
3428 PyObject
* obj3
= 0 ;
3429 PyObject
* obj4
= 0 ;
3430 PyObject
* obj5
= 0 ;
3431 PyObject
* obj6
= 0 ;
3432 PyObject
* obj7
= 0 ;
3433 char * kwnames
[] = {
3434 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3439 if (!SWIG_IsOK(res1
)) {
3440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3442 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3445 if (!SWIG_IsOK(ecode2
)) {
3446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3448 arg2
= static_cast< int >(val2
);
3452 arg3
= wxString_in_helper(obj2
);
3453 if (arg3
== NULL
) SWIG_fail
;
3460 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3466 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3470 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3471 if (!SWIG_IsOK(ecode6
)) {
3472 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3474 arg6
= static_cast< long >(val6
);
3477 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3478 if (!SWIG_IsOK(res7
)) {
3479 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3482 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3484 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3488 arg8
= wxString_in_helper(obj7
);
3489 if (arg8
== NULL
) SWIG_fail
;
3494 if (!wxPyCheckForApp()) SWIG_fail
;
3495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3496 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3497 wxPyEndAllowThreads(__tstate
);
3498 if (PyErr_Occurred()) SWIG_fail
;
3500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3523 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3524 PyObject
*resultobj
= 0;
3525 wxButton
*result
= 0 ;
3527 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3529 if (!wxPyCheckForApp()) SWIG_fail
;
3530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3531 result
= (wxButton
*)new wxButton();
3532 wxPyEndAllowThreads(__tstate
);
3533 if (PyErr_Occurred()) SWIG_fail
;
3535 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3542 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3543 PyObject
*resultobj
= 0;
3544 wxButton
*arg1
= (wxButton
*) 0 ;
3545 wxWindow
*arg2
= (wxWindow
*) 0 ;
3546 int arg3
= (int) -1 ;
3547 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3548 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3549 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3550 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3551 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3552 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3553 long arg7
= (long) 0 ;
3554 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3555 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3556 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3557 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3565 bool temp4
= false ;
3572 bool temp9
= false ;
3573 PyObject
* obj0
= 0 ;
3574 PyObject
* obj1
= 0 ;
3575 PyObject
* obj2
= 0 ;
3576 PyObject
* obj3
= 0 ;
3577 PyObject
* obj4
= 0 ;
3578 PyObject
* obj5
= 0 ;
3579 PyObject
* obj6
= 0 ;
3580 PyObject
* obj7
= 0 ;
3581 PyObject
* obj8
= 0 ;
3582 char * kwnames
[] = {
3583 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3588 if (!SWIG_IsOK(res1
)) {
3589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3591 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3592 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3593 if (!SWIG_IsOK(res2
)) {
3594 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3596 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3598 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3599 if (!SWIG_IsOK(ecode3
)) {
3600 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3602 arg3
= static_cast< int >(val3
);
3606 arg4
= wxString_in_helper(obj3
);
3607 if (arg4
== NULL
) SWIG_fail
;
3614 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3620 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3624 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3625 if (!SWIG_IsOK(ecode7
)) {
3626 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3628 arg7
= static_cast< long >(val7
);
3631 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3632 if (!SWIG_IsOK(res8
)) {
3633 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3636 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3638 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3642 arg9
= wxString_in_helper(obj8
);
3643 if (arg9
== NULL
) SWIG_fail
;
3648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3649 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3650 wxPyEndAllowThreads(__tstate
);
3651 if (PyErr_Occurred()) SWIG_fail
;
3654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3678 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3679 PyObject
*resultobj
= 0;
3680 wxButton
*arg1
= (wxButton
*) 0 ;
3683 PyObject
*swig_obj
[1] ;
3685 if (!args
) SWIG_fail
;
3687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3688 if (!SWIG_IsOK(res1
)) {
3689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3691 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3694 (arg1
)->SetDefault();
3695 wxPyEndAllowThreads(__tstate
);
3696 if (PyErr_Occurred()) SWIG_fail
;
3698 resultobj
= SWIG_Py_Void();
3705 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3706 PyObject
*resultobj
= 0;
3709 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3712 result
= wxButton::GetDefaultSize();
3713 wxPyEndAllowThreads(__tstate
);
3714 if (PyErr_Occurred()) SWIG_fail
;
3716 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3723 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3724 PyObject
*resultobj
= 0;
3725 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3726 SwigValueWrapper
<wxVisualAttributes
> result
;
3729 PyObject
* obj0
= 0 ;
3730 char * kwnames
[] = {
3731 (char *) "variant", NULL
3734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3736 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3737 if (!SWIG_IsOK(ecode1
)) {
3738 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3740 arg1
= static_cast< wxWindowVariant
>(val1
);
3743 if (!wxPyCheckForApp()) SWIG_fail
;
3744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3745 result
= wxButton::GetClassDefaultAttributes(arg1
);
3746 wxPyEndAllowThreads(__tstate
);
3747 if (PyErr_Occurred()) SWIG_fail
;
3749 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3756 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3758 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3759 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3760 return SWIG_Py_Void();
3763 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3764 return SWIG_Python_InitShadowInstance(args
);
3767 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3768 PyObject
*resultobj
= 0;
3769 wxWindow
*arg1
= (wxWindow
*) 0 ;
3770 int arg2
= (int) -1 ;
3771 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3772 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3773 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3774 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3775 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3776 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3777 long arg6
= (long) wxBU_AUTODRAW
;
3778 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3779 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3780 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3781 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3782 wxBitmapButton
*result
= 0 ;
3795 bool temp8
= false ;
3796 PyObject
* obj0
= 0 ;
3797 PyObject
* obj1
= 0 ;
3798 PyObject
* obj2
= 0 ;
3799 PyObject
* obj3
= 0 ;
3800 PyObject
* obj4
= 0 ;
3801 PyObject
* obj5
= 0 ;
3802 PyObject
* obj6
= 0 ;
3803 PyObject
* obj7
= 0 ;
3804 char * kwnames
[] = {
3805 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3810 if (!SWIG_IsOK(res1
)) {
3811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3813 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3816 if (!SWIG_IsOK(ecode2
)) {
3817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3819 arg2
= static_cast< int >(val2
);
3822 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3823 if (!SWIG_IsOK(res3
)) {
3824 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3827 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3829 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3834 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3840 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3844 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3845 if (!SWIG_IsOK(ecode6
)) {
3846 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3848 arg6
= static_cast< long >(val6
);
3851 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3852 if (!SWIG_IsOK(res7
)) {
3853 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3856 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3858 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3862 arg8
= wxString_in_helper(obj7
);
3863 if (arg8
== NULL
) SWIG_fail
;
3868 if (!wxPyCheckForApp()) SWIG_fail
;
3869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3870 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3871 wxPyEndAllowThreads(__tstate
);
3872 if (PyErr_Occurred()) SWIG_fail
;
3874 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3889 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3890 PyObject
*resultobj
= 0;
3891 wxBitmapButton
*result
= 0 ;
3893 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3895 if (!wxPyCheckForApp()) SWIG_fail
;
3896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3897 result
= (wxBitmapButton
*)new wxBitmapButton();
3898 wxPyEndAllowThreads(__tstate
);
3899 if (PyErr_Occurred()) SWIG_fail
;
3901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3908 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3909 PyObject
*resultobj
= 0;
3910 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3911 wxWindow
*arg2
= (wxWindow
*) 0 ;
3912 int arg3
= (int) -1 ;
3913 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3914 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3915 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3916 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3917 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3918 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3919 long arg7
= (long) wxBU_AUTODRAW
;
3920 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3921 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3922 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3923 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3939 bool temp9
= false ;
3940 PyObject
* obj0
= 0 ;
3941 PyObject
* obj1
= 0 ;
3942 PyObject
* obj2
= 0 ;
3943 PyObject
* obj3
= 0 ;
3944 PyObject
* obj4
= 0 ;
3945 PyObject
* obj5
= 0 ;
3946 PyObject
* obj6
= 0 ;
3947 PyObject
* obj7
= 0 ;
3948 PyObject
* obj8
= 0 ;
3949 char * kwnames
[] = {
3950 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3955 if (!SWIG_IsOK(res1
)) {
3956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3958 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3959 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3960 if (!SWIG_IsOK(res2
)) {
3961 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3963 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3965 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3966 if (!SWIG_IsOK(ecode3
)) {
3967 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3969 arg3
= static_cast< int >(val3
);
3972 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3973 if (!SWIG_IsOK(res4
)) {
3974 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3977 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3979 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3984 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3990 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3994 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3995 if (!SWIG_IsOK(ecode7
)) {
3996 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3998 arg7
= static_cast< long >(val7
);
4001 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4002 if (!SWIG_IsOK(res8
)) {
4003 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4006 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4008 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4012 arg9
= wxString_in_helper(obj8
);
4013 if (arg9
== NULL
) SWIG_fail
;
4018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4019 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4020 wxPyEndAllowThreads(__tstate
);
4021 if (PyErr_Occurred()) SWIG_fail
;
4024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4040 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4041 PyObject
*resultobj
= 0;
4042 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4046 PyObject
*swig_obj
[1] ;
4048 if (!args
) SWIG_fail
;
4050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4051 if (!SWIG_IsOK(res1
)) {
4052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4054 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4057 result
= (arg1
)->GetBitmapLabel();
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) SWIG_fail
;
4061 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4068 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4069 PyObject
*resultobj
= 0;
4070 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4074 PyObject
*swig_obj
[1] ;
4076 if (!args
) SWIG_fail
;
4078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4079 if (!SWIG_IsOK(res1
)) {
4080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4082 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4085 result
= (arg1
)->GetBitmapDisabled();
4086 wxPyEndAllowThreads(__tstate
);
4087 if (PyErr_Occurred()) SWIG_fail
;
4089 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4096 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4097 PyObject
*resultobj
= 0;
4098 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4102 PyObject
*swig_obj
[1] ;
4104 if (!args
) SWIG_fail
;
4106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4107 if (!SWIG_IsOK(res1
)) {
4108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4110 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4113 result
= (arg1
)->GetBitmapFocus();
4114 wxPyEndAllowThreads(__tstate
);
4115 if (PyErr_Occurred()) SWIG_fail
;
4117 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4124 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4125 PyObject
*resultobj
= 0;
4126 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4130 PyObject
*swig_obj
[1] ;
4132 if (!args
) SWIG_fail
;
4134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4135 if (!SWIG_IsOK(res1
)) {
4136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4138 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4141 result
= (arg1
)->GetBitmapSelected();
4142 wxPyEndAllowThreads(__tstate
);
4143 if (PyErr_Occurred()) SWIG_fail
;
4145 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4152 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4153 PyObject
*resultobj
= 0;
4154 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4158 PyObject
*swig_obj
[1] ;
4160 if (!args
) SWIG_fail
;
4162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4163 if (!SWIG_IsOK(res1
)) {
4164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4166 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4169 result
= (arg1
)->GetBitmapHover();
4170 wxPyEndAllowThreads(__tstate
);
4171 if (PyErr_Occurred()) SWIG_fail
;
4173 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4180 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4181 PyObject
*resultobj
= 0;
4182 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4183 wxBitmap
*arg2
= 0 ;
4188 PyObject
* obj0
= 0 ;
4189 PyObject
* obj1
= 0 ;
4190 char * kwnames
[] = {
4191 (char *) "self",(char *) "bitmap", NULL
4194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4196 if (!SWIG_IsOK(res1
)) {
4197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4199 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4200 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4201 if (!SWIG_IsOK(res2
)) {
4202 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4205 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4207 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4210 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4211 wxPyEndAllowThreads(__tstate
);
4212 if (PyErr_Occurred()) SWIG_fail
;
4214 resultobj
= SWIG_Py_Void();
4221 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4222 PyObject
*resultobj
= 0;
4223 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4224 wxBitmap
*arg2
= 0 ;
4229 PyObject
* obj0
= 0 ;
4230 PyObject
* obj1
= 0 ;
4231 char * kwnames
[] = {
4232 (char *) "self",(char *) "bitmap", NULL
4235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4237 if (!SWIG_IsOK(res1
)) {
4238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4240 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4241 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4242 if (!SWIG_IsOK(res2
)) {
4243 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4246 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4248 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4251 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4252 wxPyEndAllowThreads(__tstate
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4255 resultobj
= SWIG_Py_Void();
4262 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
*resultobj
= 0;
4264 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4265 wxBitmap
*arg2
= 0 ;
4270 PyObject
* obj0
= 0 ;
4271 PyObject
* obj1
= 0 ;
4272 char * kwnames
[] = {
4273 (char *) "self",(char *) "bitmap", NULL
4276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4278 if (!SWIG_IsOK(res1
)) {
4279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4281 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4282 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4283 if (!SWIG_IsOK(res2
)) {
4284 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4287 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4289 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4292 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4293 wxPyEndAllowThreads(__tstate
);
4294 if (PyErr_Occurred()) SWIG_fail
;
4296 resultobj
= SWIG_Py_Void();
4303 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4304 PyObject
*resultobj
= 0;
4305 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4306 wxBitmap
*arg2
= 0 ;
4311 PyObject
* obj0
= 0 ;
4312 PyObject
* obj1
= 0 ;
4313 char * kwnames
[] = {
4314 (char *) "self",(char *) "bitmap", NULL
4317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4319 if (!SWIG_IsOK(res1
)) {
4320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4322 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4323 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4324 if (!SWIG_IsOK(res2
)) {
4325 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4328 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4330 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4333 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4334 wxPyEndAllowThreads(__tstate
);
4335 if (PyErr_Occurred()) SWIG_fail
;
4337 resultobj
= SWIG_Py_Void();
4344 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4345 PyObject
*resultobj
= 0;
4346 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4347 wxBitmap
*arg2
= 0 ;
4352 PyObject
* obj0
= 0 ;
4353 PyObject
* obj1
= 0 ;
4354 char * kwnames
[] = {
4355 (char *) "self",(char *) "hover", NULL
4358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4360 if (!SWIG_IsOK(res1
)) {
4361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4363 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4364 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4365 if (!SWIG_IsOK(res2
)) {
4366 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4369 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4371 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4374 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4375 wxPyEndAllowThreads(__tstate
);
4376 if (PyErr_Occurred()) SWIG_fail
;
4378 resultobj
= SWIG_Py_Void();
4385 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4386 PyObject
*resultobj
= 0;
4387 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4396 PyObject
* obj0
= 0 ;
4397 PyObject
* obj1
= 0 ;
4398 PyObject
* obj2
= 0 ;
4399 char * kwnames
[] = {
4400 (char *) "self",(char *) "x",(char *) "y", NULL
4403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4405 if (!SWIG_IsOK(res1
)) {
4406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4408 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4409 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4410 if (!SWIG_IsOK(ecode2
)) {
4411 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4413 arg2
= static_cast< int >(val2
);
4414 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4415 if (!SWIG_IsOK(ecode3
)) {
4416 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4418 arg3
= static_cast< int >(val3
);
4420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4421 (arg1
)->SetMargins(arg2
,arg3
);
4422 wxPyEndAllowThreads(__tstate
);
4423 if (PyErr_Occurred()) SWIG_fail
;
4425 resultobj
= SWIG_Py_Void();
4432 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4433 PyObject
*resultobj
= 0;
4434 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4438 PyObject
*swig_obj
[1] ;
4440 if (!args
) SWIG_fail
;
4442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4443 if (!SWIG_IsOK(res1
)) {
4444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4446 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4449 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4450 wxPyEndAllowThreads(__tstate
);
4451 if (PyErr_Occurred()) SWIG_fail
;
4453 resultobj
= SWIG_From_int(static_cast< int >(result
));
4460 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4461 PyObject
*resultobj
= 0;
4462 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4466 PyObject
*swig_obj
[1] ;
4468 if (!args
) SWIG_fail
;
4470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4471 if (!SWIG_IsOK(res1
)) {
4472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4474 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4478 wxPyEndAllowThreads(__tstate
);
4479 if (PyErr_Occurred()) SWIG_fail
;
4481 resultobj
= SWIG_From_int(static_cast< int >(result
));
4488 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4490 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4491 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4492 return SWIG_Py_Void();
4495 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4496 return SWIG_Python_InitShadowInstance(args
);
4499 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4500 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4505 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4506 PyObject
*pyobj
= 0;
4510 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4512 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4519 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4520 PyObject
*resultobj
= 0;
4521 wxWindow
*arg1
= (wxWindow
*) 0 ;
4522 int arg2
= (int) -1 ;
4523 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4524 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4525 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4526 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4527 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4528 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4529 long arg6
= (long) 0 ;
4530 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4531 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4532 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4533 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4534 wxCheckBox
*result
= 0 ;
4539 bool temp3
= false ;
4546 bool temp8
= false ;
4547 PyObject
* obj0
= 0 ;
4548 PyObject
* obj1
= 0 ;
4549 PyObject
* obj2
= 0 ;
4550 PyObject
* obj3
= 0 ;
4551 PyObject
* obj4
= 0 ;
4552 PyObject
* obj5
= 0 ;
4553 PyObject
* obj6
= 0 ;
4554 PyObject
* obj7
= 0 ;
4555 char * kwnames
[] = {
4556 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4561 if (!SWIG_IsOK(res1
)) {
4562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4564 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4566 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4567 if (!SWIG_IsOK(ecode2
)) {
4568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4570 arg2
= static_cast< int >(val2
);
4574 arg3
= wxString_in_helper(obj2
);
4575 if (arg3
== NULL
) SWIG_fail
;
4582 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4588 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4592 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4593 if (!SWIG_IsOK(ecode6
)) {
4594 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4596 arg6
= static_cast< long >(val6
);
4599 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4600 if (!SWIG_IsOK(res7
)) {
4601 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4604 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4606 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4610 arg8
= wxString_in_helper(obj7
);
4611 if (arg8
== NULL
) SWIG_fail
;
4616 if (!wxPyCheckForApp()) SWIG_fail
;
4617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4618 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4619 wxPyEndAllowThreads(__tstate
);
4620 if (PyErr_Occurred()) SWIG_fail
;
4622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4645 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4646 PyObject
*resultobj
= 0;
4647 wxCheckBox
*result
= 0 ;
4649 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4651 if (!wxPyCheckForApp()) SWIG_fail
;
4652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4653 result
= (wxCheckBox
*)new wxCheckBox();
4654 wxPyEndAllowThreads(__tstate
);
4655 if (PyErr_Occurred()) SWIG_fail
;
4657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4664 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4665 PyObject
*resultobj
= 0;
4666 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4667 wxWindow
*arg2
= (wxWindow
*) 0 ;
4668 int arg3
= (int) -1 ;
4669 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4670 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4671 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4672 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4673 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4674 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4675 long arg7
= (long) 0 ;
4676 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4677 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4678 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4679 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4687 bool temp4
= false ;
4694 bool temp9
= false ;
4695 PyObject
* obj0
= 0 ;
4696 PyObject
* obj1
= 0 ;
4697 PyObject
* obj2
= 0 ;
4698 PyObject
* obj3
= 0 ;
4699 PyObject
* obj4
= 0 ;
4700 PyObject
* obj5
= 0 ;
4701 PyObject
* obj6
= 0 ;
4702 PyObject
* obj7
= 0 ;
4703 PyObject
* obj8
= 0 ;
4704 char * kwnames
[] = {
4705 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4710 if (!SWIG_IsOK(res1
)) {
4711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4713 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4714 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4715 if (!SWIG_IsOK(res2
)) {
4716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4718 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4720 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4721 if (!SWIG_IsOK(ecode3
)) {
4722 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4724 arg3
= static_cast< int >(val3
);
4728 arg4
= wxString_in_helper(obj3
);
4729 if (arg4
== NULL
) SWIG_fail
;
4736 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4742 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4746 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4747 if (!SWIG_IsOK(ecode7
)) {
4748 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4750 arg7
= static_cast< long >(val7
);
4753 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4754 if (!SWIG_IsOK(res8
)) {
4755 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4758 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4760 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4764 arg9
= wxString_in_helper(obj8
);
4765 if (arg9
== NULL
) SWIG_fail
;
4770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4771 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4772 wxPyEndAllowThreads(__tstate
);
4773 if (PyErr_Occurred()) SWIG_fail
;
4776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4800 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4801 PyObject
*resultobj
= 0;
4802 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4806 PyObject
*swig_obj
[1] ;
4808 if (!args
) SWIG_fail
;
4810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4811 if (!SWIG_IsOK(res1
)) {
4812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4814 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4817 result
= (bool)(arg1
)->GetValue();
4818 wxPyEndAllowThreads(__tstate
);
4819 if (PyErr_Occurred()) SWIG_fail
;
4822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4830 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4831 PyObject
*resultobj
= 0;
4832 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4836 PyObject
*swig_obj
[1] ;
4838 if (!args
) SWIG_fail
;
4840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4841 if (!SWIG_IsOK(res1
)) {
4842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4844 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4847 result
= (bool)(arg1
)->IsChecked();
4848 wxPyEndAllowThreads(__tstate
);
4849 if (PyErr_Occurred()) SWIG_fail
;
4852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4860 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4861 PyObject
*resultobj
= 0;
4862 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4868 PyObject
* obj0
= 0 ;
4869 PyObject
* obj1
= 0 ;
4870 char * kwnames
[] = {
4871 (char *) "self",(char *) "state", NULL
4874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4876 if (!SWIG_IsOK(res1
)) {
4877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4879 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4880 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4881 if (!SWIG_IsOK(ecode2
)) {
4882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4884 arg2
= static_cast< bool >(val2
);
4886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4887 (arg1
)->SetValue(arg2
);
4888 wxPyEndAllowThreads(__tstate
);
4889 if (PyErr_Occurred()) SWIG_fail
;
4891 resultobj
= SWIG_Py_Void();
4898 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4899 PyObject
*resultobj
= 0;
4900 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4901 wxCheckBoxState result
;
4904 PyObject
*swig_obj
[1] ;
4906 if (!args
) SWIG_fail
;
4908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4909 if (!SWIG_IsOK(res1
)) {
4910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4912 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4915 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4916 wxPyEndAllowThreads(__tstate
);
4917 if (PyErr_Occurred()) SWIG_fail
;
4919 resultobj
= SWIG_From_int(static_cast< int >(result
));
4926 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4927 PyObject
*resultobj
= 0;
4928 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4929 wxCheckBoxState arg2
;
4934 PyObject
* obj0
= 0 ;
4935 PyObject
* obj1
= 0 ;
4936 char * kwnames
[] = {
4937 (char *) "self",(char *) "state", NULL
4940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4942 if (!SWIG_IsOK(res1
)) {
4943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4945 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4946 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4947 if (!SWIG_IsOK(ecode2
)) {
4948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4950 arg2
= static_cast< wxCheckBoxState
>(val2
);
4952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4953 (arg1
)->Set3StateValue(arg2
);
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4957 resultobj
= SWIG_Py_Void();
4964 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4965 PyObject
*resultobj
= 0;
4966 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4970 PyObject
*swig_obj
[1] ;
4972 if (!args
) SWIG_fail
;
4974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4975 if (!SWIG_IsOK(res1
)) {
4976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4978 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4981 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4982 wxPyEndAllowThreads(__tstate
);
4983 if (PyErr_Occurred()) SWIG_fail
;
4986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4994 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4995 PyObject
*resultobj
= 0;
4996 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5000 PyObject
*swig_obj
[1] ;
5002 if (!args
) SWIG_fail
;
5004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5005 if (!SWIG_IsOK(res1
)) {
5006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5008 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5011 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5012 wxPyEndAllowThreads(__tstate
);
5013 if (PyErr_Occurred()) SWIG_fail
;
5016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5024 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5025 PyObject
*resultobj
= 0;
5026 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5027 SwigValueWrapper
<wxVisualAttributes
> result
;
5030 PyObject
* obj0
= 0 ;
5031 char * kwnames
[] = {
5032 (char *) "variant", NULL
5035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5037 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5038 if (!SWIG_IsOK(ecode1
)) {
5039 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5041 arg1
= static_cast< wxWindowVariant
>(val1
);
5044 if (!wxPyCheckForApp()) SWIG_fail
;
5045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5046 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5047 wxPyEndAllowThreads(__tstate
);
5048 if (PyErr_Occurred()) SWIG_fail
;
5050 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5057 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5059 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5060 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5061 return SWIG_Py_Void();
5064 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5065 return SWIG_Python_InitShadowInstance(args
);
5068 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5069 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5074 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5075 PyObject
*pyobj
= 0;
5079 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5081 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5088 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5089 PyObject
*resultobj
= 0;
5090 wxWindow
*arg1
= (wxWindow
*) 0 ;
5091 int arg2
= (int) -1 ;
5092 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5093 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5094 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5095 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5096 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5097 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5098 long arg6
= (long) 0 ;
5099 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5100 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5101 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5102 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5103 wxChoice
*result
= 0 ;
5110 bool temp5
= false ;
5115 bool temp8
= false ;
5116 PyObject
* obj0
= 0 ;
5117 PyObject
* obj1
= 0 ;
5118 PyObject
* obj2
= 0 ;
5119 PyObject
* obj3
= 0 ;
5120 PyObject
* obj4
= 0 ;
5121 PyObject
* obj5
= 0 ;
5122 PyObject
* obj6
= 0 ;
5123 PyObject
* obj7
= 0 ;
5124 char * kwnames
[] = {
5125 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5130 if (!SWIG_IsOK(res1
)) {
5131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5133 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5135 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5136 if (!SWIG_IsOK(ecode2
)) {
5137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5139 arg2
= static_cast< int >(val2
);
5144 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5150 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5155 if (! PySequence_Check(obj4
)) {
5156 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5159 arg5
= new wxArrayString
;
5161 int i
, len
=PySequence_Length(obj4
);
5162 for (i
=0; i
<len
; i
++) {
5163 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5164 wxString
* s
= wxString_in_helper(item
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5173 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5174 if (!SWIG_IsOK(ecode6
)) {
5175 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5177 arg6
= static_cast< long >(val6
);
5180 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5181 if (!SWIG_IsOK(res7
)) {
5182 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5185 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5187 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5191 arg8
= wxString_in_helper(obj7
);
5192 if (arg8
== NULL
) SWIG_fail
;
5197 if (!wxPyCheckForApp()) SWIG_fail
;
5198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5199 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5200 wxPyEndAllowThreads(__tstate
);
5201 if (PyErr_Occurred()) SWIG_fail
;
5203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5205 if (temp5
) delete arg5
;
5214 if (temp5
) delete arg5
;
5224 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5225 PyObject
*resultobj
= 0;
5226 wxChoice
*result
= 0 ;
5228 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5230 if (!wxPyCheckForApp()) SWIG_fail
;
5231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5232 result
= (wxChoice
*)new wxChoice();
5233 wxPyEndAllowThreads(__tstate
);
5234 if (PyErr_Occurred()) SWIG_fail
;
5236 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5243 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5244 PyObject
*resultobj
= 0;
5245 wxChoice
*arg1
= (wxChoice
*) 0 ;
5246 wxWindow
*arg2
= (wxWindow
*) 0 ;
5247 int arg3
= (int) -1 ;
5248 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5249 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5250 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5251 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5252 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5253 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5254 long arg7
= (long) 0 ;
5255 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5256 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5257 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5258 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5268 bool temp6
= false ;
5273 bool temp9
= false ;
5274 PyObject
* obj0
= 0 ;
5275 PyObject
* obj1
= 0 ;
5276 PyObject
* obj2
= 0 ;
5277 PyObject
* obj3
= 0 ;
5278 PyObject
* obj4
= 0 ;
5279 PyObject
* obj5
= 0 ;
5280 PyObject
* obj6
= 0 ;
5281 PyObject
* obj7
= 0 ;
5282 PyObject
* obj8
= 0 ;
5283 char * kwnames
[] = {
5284 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5289 if (!SWIG_IsOK(res1
)) {
5290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5292 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5293 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5294 if (!SWIG_IsOK(res2
)) {
5295 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5297 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5299 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5300 if (!SWIG_IsOK(ecode3
)) {
5301 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5303 arg3
= static_cast< int >(val3
);
5308 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5314 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5319 if (! PySequence_Check(obj5
)) {
5320 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5323 arg6
= new wxArrayString
;
5325 int i
, len
=PySequence_Length(obj5
);
5326 for (i
=0; i
<len
; i
++) {
5327 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5328 wxString
* s
= wxString_in_helper(item
);
5329 if (PyErr_Occurred()) SWIG_fail
;
5337 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5338 if (!SWIG_IsOK(ecode7
)) {
5339 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5341 arg7
= static_cast< long >(val7
);
5344 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5345 if (!SWIG_IsOK(res8
)) {
5346 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5349 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5351 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5355 arg9
= wxString_in_helper(obj8
);
5356 if (arg9
== NULL
) SWIG_fail
;
5361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5362 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5363 wxPyEndAllowThreads(__tstate
);
5364 if (PyErr_Occurred()) SWIG_fail
;
5367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5370 if (temp6
) delete arg6
;
5379 if (temp6
) delete arg6
;
5389 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5390 PyObject
*resultobj
= 0;
5391 wxChoice
*arg1
= (wxChoice
*) 0 ;
5395 PyObject
*swig_obj
[1] ;
5397 if (!args
) SWIG_fail
;
5399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5400 if (!SWIG_IsOK(res1
)) {
5401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5403 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5406 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5407 wxPyEndAllowThreads(__tstate
);
5408 if (PyErr_Occurred()) SWIG_fail
;
5410 resultobj
= SWIG_From_int(static_cast< int >(result
));
5417 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5418 PyObject
*resultobj
= 0;
5419 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5420 SwigValueWrapper
<wxVisualAttributes
> result
;
5423 PyObject
* obj0
= 0 ;
5424 char * kwnames
[] = {
5425 (char *) "variant", NULL
5428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5430 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5431 if (!SWIG_IsOK(ecode1
)) {
5432 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5434 arg1
= static_cast< wxWindowVariant
>(val1
);
5437 if (!wxPyCheckForApp()) SWIG_fail
;
5438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5439 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5440 wxPyEndAllowThreads(__tstate
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5443 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5450 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5452 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5453 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5454 return SWIG_Py_Void();
5457 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5458 return SWIG_Python_InitShadowInstance(args
);
5461 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5462 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5467 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5468 PyObject
*pyobj
= 0;
5472 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5474 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5481 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5482 PyObject
*resultobj
= 0;
5483 wxWindow
*arg1
= (wxWindow
*) 0 ;
5484 int arg2
= (int) -1 ;
5485 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5486 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5487 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5488 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5489 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5490 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5491 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5492 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5493 long arg7
= (long) 0 ;
5494 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5495 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5496 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5497 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5498 wxComboBox
*result
= 0 ;
5503 bool temp3
= false ;
5506 bool temp6
= false ;
5511 bool temp9
= false ;
5512 PyObject
* obj0
= 0 ;
5513 PyObject
* obj1
= 0 ;
5514 PyObject
* obj2
= 0 ;
5515 PyObject
* obj3
= 0 ;
5516 PyObject
* obj4
= 0 ;
5517 PyObject
* obj5
= 0 ;
5518 PyObject
* obj6
= 0 ;
5519 PyObject
* obj7
= 0 ;
5520 PyObject
* obj8
= 0 ;
5521 char * kwnames
[] = {
5522 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5527 if (!SWIG_IsOK(res1
)) {
5528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5530 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5532 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5533 if (!SWIG_IsOK(ecode2
)) {
5534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5536 arg2
= static_cast< int >(val2
);
5540 arg3
= wxString_in_helper(obj2
);
5541 if (arg3
== NULL
) SWIG_fail
;
5548 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5554 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5559 if (! PySequence_Check(obj5
)) {
5560 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5563 arg6
= new wxArrayString
;
5565 int i
, len
=PySequence_Length(obj5
);
5566 for (i
=0; i
<len
; i
++) {
5567 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5568 wxString
* s
= wxString_in_helper(item
);
5569 if (PyErr_Occurred()) SWIG_fail
;
5577 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5578 if (!SWIG_IsOK(ecode7
)) {
5579 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5581 arg7
= static_cast< long >(val7
);
5584 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5585 if (!SWIG_IsOK(res8
)) {
5586 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5589 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5591 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5595 arg9
= wxString_in_helper(obj8
);
5596 if (arg9
== NULL
) SWIG_fail
;
5601 if (!wxPyCheckForApp()) SWIG_fail
;
5602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5603 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5604 wxPyEndAllowThreads(__tstate
);
5605 if (PyErr_Occurred()) SWIG_fail
;
5607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5613 if (temp6
) delete arg6
;
5626 if (temp6
) delete arg6
;
5636 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5637 PyObject
*resultobj
= 0;
5638 wxComboBox
*result
= 0 ;
5640 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5642 if (!wxPyCheckForApp()) SWIG_fail
;
5643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5644 result
= (wxComboBox
*)new wxComboBox();
5645 wxPyEndAllowThreads(__tstate
);
5646 if (PyErr_Occurred()) SWIG_fail
;
5648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5655 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5656 PyObject
*resultobj
= 0;
5657 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5658 wxWindow
*arg2
= (wxWindow
*) 0 ;
5659 int arg3
= (int) -1 ;
5660 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5661 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5662 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5663 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5664 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5665 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5666 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5667 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5668 long arg8
= (long) 0 ;
5669 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5670 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5671 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5672 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5680 bool temp4
= false ;
5683 bool temp7
= false ;
5688 bool temp10
= false ;
5689 PyObject
* obj0
= 0 ;
5690 PyObject
* obj1
= 0 ;
5691 PyObject
* obj2
= 0 ;
5692 PyObject
* obj3
= 0 ;
5693 PyObject
* obj4
= 0 ;
5694 PyObject
* obj5
= 0 ;
5695 PyObject
* obj6
= 0 ;
5696 PyObject
* obj7
= 0 ;
5697 PyObject
* obj8
= 0 ;
5698 PyObject
* obj9
= 0 ;
5699 char * kwnames
[] = {
5700 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5705 if (!SWIG_IsOK(res1
)) {
5706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5708 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5709 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5710 if (!SWIG_IsOK(res2
)) {
5711 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5713 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5715 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5716 if (!SWIG_IsOK(ecode3
)) {
5717 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5719 arg3
= static_cast< int >(val3
);
5723 arg4
= wxString_in_helper(obj3
);
5724 if (arg4
== NULL
) SWIG_fail
;
5731 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5737 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5742 if (! PySequence_Check(obj6
)) {
5743 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5746 arg7
= new wxArrayString
;
5748 int i
, len
=PySequence_Length(obj6
);
5749 for (i
=0; i
<len
; i
++) {
5750 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5751 wxString
* s
= wxString_in_helper(item
);
5752 if (PyErr_Occurred()) SWIG_fail
;
5760 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5761 if (!SWIG_IsOK(ecode8
)) {
5762 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5764 arg8
= static_cast< long >(val8
);
5767 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5768 if (!SWIG_IsOK(res9
)) {
5769 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5772 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5774 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5778 arg10
= wxString_in_helper(obj9
);
5779 if (arg10
== NULL
) SWIG_fail
;
5784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5785 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
5786 wxPyEndAllowThreads(__tstate
);
5787 if (PyErr_Occurred()) SWIG_fail
;
5790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5797 if (temp7
) delete arg7
;
5810 if (temp7
) delete arg7
;
5820 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5821 PyObject
*resultobj
= 0;
5822 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5826 PyObject
*swig_obj
[1] ;
5828 if (!args
) SWIG_fail
;
5830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5831 if (!SWIG_IsOK(res1
)) {
5832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5834 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5837 result
= ((wxComboBox
const *)arg1
)->GetValue();
5838 wxPyEndAllowThreads(__tstate
);
5839 if (PyErr_Occurred()) SWIG_fail
;
5843 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5845 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5854 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5855 PyObject
*resultobj
= 0;
5856 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5857 wxString
*arg2
= 0 ;
5860 bool temp2
= false ;
5861 PyObject
* obj0
= 0 ;
5862 PyObject
* obj1
= 0 ;
5863 char * kwnames
[] = {
5864 (char *) "self",(char *) "value", NULL
5867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5869 if (!SWIG_IsOK(res1
)) {
5870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5872 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5874 arg2
= wxString_in_helper(obj1
);
5875 if (arg2
== NULL
) SWIG_fail
;
5879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5880 (arg1
)->SetValue((wxString
const &)*arg2
);
5881 wxPyEndAllowThreads(__tstate
);
5882 if (PyErr_Occurred()) SWIG_fail
;
5884 resultobj
= SWIG_Py_Void();
5899 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5900 PyObject
*resultobj
= 0;
5901 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5904 PyObject
*swig_obj
[1] ;
5906 if (!args
) SWIG_fail
;
5908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5909 if (!SWIG_IsOK(res1
)) {
5910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5912 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 wxPyEndAllowThreads(__tstate
);
5917 if (PyErr_Occurred()) SWIG_fail
;
5919 resultobj
= SWIG_Py_Void();
5926 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5927 PyObject
*resultobj
= 0;
5928 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5931 PyObject
*swig_obj
[1] ;
5933 if (!args
) SWIG_fail
;
5935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5936 if (!SWIG_IsOK(res1
)) {
5937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5939 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5943 wxPyEndAllowThreads(__tstate
);
5944 if (PyErr_Occurred()) SWIG_fail
;
5946 resultobj
= SWIG_Py_Void();
5953 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5954 PyObject
*resultobj
= 0;
5955 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5958 PyObject
*swig_obj
[1] ;
5960 if (!args
) SWIG_fail
;
5962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5963 if (!SWIG_IsOK(res1
)) {
5964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5966 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5970 wxPyEndAllowThreads(__tstate
);
5971 if (PyErr_Occurred()) SWIG_fail
;
5973 resultobj
= SWIG_Py_Void();
5980 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
*resultobj
= 0;
5982 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5988 PyObject
* obj0
= 0 ;
5989 PyObject
* obj1
= 0 ;
5990 char * kwnames
[] = {
5991 (char *) "self",(char *) "pos", NULL
5994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5996 if (!SWIG_IsOK(res1
)) {
5997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
5999 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6000 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6001 if (!SWIG_IsOK(ecode2
)) {
6002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6004 arg2
= static_cast< long >(val2
);
6006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6007 (arg1
)->SetInsertionPoint(arg2
);
6008 wxPyEndAllowThreads(__tstate
);
6009 if (PyErr_Occurred()) SWIG_fail
;
6011 resultobj
= SWIG_Py_Void();
6018 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6019 PyObject
*resultobj
= 0;
6020 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6024 PyObject
*swig_obj
[1] ;
6026 if (!args
) SWIG_fail
;
6028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6029 if (!SWIG_IsOK(res1
)) {
6030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6032 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6035 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6036 wxPyEndAllowThreads(__tstate
);
6037 if (PyErr_Occurred()) SWIG_fail
;
6039 resultobj
= SWIG_From_long(static_cast< long >(result
));
6046 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6047 PyObject
*resultobj
= 0;
6048 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6052 PyObject
*swig_obj
[1] ;
6054 if (!args
) SWIG_fail
;
6056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6057 if (!SWIG_IsOK(res1
)) {
6058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6060 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6063 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6064 wxPyEndAllowThreads(__tstate
);
6065 if (PyErr_Occurred()) SWIG_fail
;
6067 resultobj
= SWIG_From_long(static_cast< long >(result
));
6074 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6075 PyObject
*resultobj
= 0;
6076 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6079 wxString
*arg4
= 0 ;
6086 bool temp4
= false ;
6087 PyObject
* obj0
= 0 ;
6088 PyObject
* obj1
= 0 ;
6089 PyObject
* obj2
= 0 ;
6090 PyObject
* obj3
= 0 ;
6091 char * kwnames
[] = {
6092 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6097 if (!SWIG_IsOK(res1
)) {
6098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6100 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6101 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6102 if (!SWIG_IsOK(ecode2
)) {
6103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6105 arg2
= static_cast< long >(val2
);
6106 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6107 if (!SWIG_IsOK(ecode3
)) {
6108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6110 arg3
= static_cast< long >(val3
);
6112 arg4
= wxString_in_helper(obj3
);
6113 if (arg4
== NULL
) SWIG_fail
;
6117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6118 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6119 wxPyEndAllowThreads(__tstate
);
6120 if (PyErr_Occurred()) SWIG_fail
;
6122 resultobj
= SWIG_Py_Void();
6137 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6138 PyObject
*resultobj
= 0;
6139 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6148 PyObject
* obj0
= 0 ;
6149 PyObject
* obj1
= 0 ;
6150 PyObject
* obj2
= 0 ;
6151 char * kwnames
[] = {
6152 (char *) "self",(char *) "from",(char *) "to", NULL
6155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6157 if (!SWIG_IsOK(res1
)) {
6158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6160 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6161 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6162 if (!SWIG_IsOK(ecode2
)) {
6163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6165 arg2
= static_cast< long >(val2
);
6166 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6167 if (!SWIG_IsOK(ecode3
)) {
6168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6170 arg3
= static_cast< long >(val3
);
6172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6173 (arg1
)->SetSelection(arg2
,arg3
);
6174 wxPyEndAllowThreads(__tstate
);
6175 if (PyErr_Occurred()) SWIG_fail
;
6177 resultobj
= SWIG_Py_Void();
6184 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6185 PyObject
*resultobj
= 0;
6186 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6190 PyObject
*swig_obj
[1] ;
6192 if (!args
) SWIG_fail
;
6194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6195 if (!SWIG_IsOK(res1
)) {
6196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6198 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6201 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6202 wxPyEndAllowThreads(__tstate
);
6203 if (PyErr_Occurred()) SWIG_fail
;
6205 resultobj
= SWIG_From_int(static_cast< int >(result
));
6212 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6213 PyObject
*resultobj
= 0;
6214 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6215 wxString
*arg2
= 0 ;
6219 bool temp2
= false ;
6220 PyObject
* obj0
= 0 ;
6221 PyObject
* obj1
= 0 ;
6222 char * kwnames
[] = {
6223 (char *) "self",(char *) "string", NULL
6226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6228 if (!SWIG_IsOK(res1
)) {
6229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6231 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6233 arg2
= wxString_in_helper(obj1
);
6234 if (arg2
== NULL
) SWIG_fail
;
6238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6239 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6240 wxPyEndAllowThreads(__tstate
);
6241 if (PyErr_Occurred()) SWIG_fail
;
6244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6260 SWIGINTERN PyObject
*_wrap_ComboBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
*resultobj
= 0;
6262 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6264 wxString
*arg3
= 0 ;
6269 bool temp3
= false ;
6270 PyObject
* obj0
= 0 ;
6271 PyObject
* obj1
= 0 ;
6272 PyObject
* obj2
= 0 ;
6273 char * kwnames
[] = {
6274 (char *) "self",(char *) "n",(char *) "string", NULL
6277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6279 if (!SWIG_IsOK(res1
)) {
6280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6282 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6283 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6284 if (!SWIG_IsOK(ecode2
)) {
6285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6287 arg2
= static_cast< int >(val2
);
6289 arg3
= wxString_in_helper(obj2
);
6290 if (arg3
== NULL
) SWIG_fail
;
6294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6295 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
6296 wxPyEndAllowThreads(__tstate
);
6297 if (PyErr_Occurred()) SWIG_fail
;
6299 resultobj
= SWIG_Py_Void();
6314 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6315 PyObject
*resultobj
= 0;
6316 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6322 PyObject
* obj0
= 0 ;
6323 PyObject
* obj1
= 0 ;
6324 char * kwnames
[] = {
6325 (char *) "self",(char *) "editable", NULL
6328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6330 if (!SWIG_IsOK(res1
)) {
6331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6333 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6334 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6335 if (!SWIG_IsOK(ecode2
)) {
6336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6338 arg2
= static_cast< bool >(val2
);
6340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6341 (arg1
)->SetEditable(arg2
);
6342 wxPyEndAllowThreads(__tstate
);
6343 if (PyErr_Occurred()) SWIG_fail
;
6345 resultobj
= SWIG_Py_Void();
6352 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6353 PyObject
*resultobj
= 0;
6354 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6357 PyObject
*swig_obj
[1] ;
6359 if (!args
) SWIG_fail
;
6361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6362 if (!SWIG_IsOK(res1
)) {
6363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6365 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6368 (arg1
)->SetInsertionPointEnd();
6369 wxPyEndAllowThreads(__tstate
);
6370 if (PyErr_Occurred()) SWIG_fail
;
6372 resultobj
= SWIG_Py_Void();
6379 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6380 PyObject
*resultobj
= 0;
6381 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6390 PyObject
* obj0
= 0 ;
6391 PyObject
* obj1
= 0 ;
6392 PyObject
* obj2
= 0 ;
6393 char * kwnames
[] = {
6394 (char *) "self",(char *) "from",(char *) "to", NULL
6397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6399 if (!SWIG_IsOK(res1
)) {
6400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6402 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6403 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6404 if (!SWIG_IsOK(ecode2
)) {
6405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6407 arg2
= static_cast< long >(val2
);
6408 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6409 if (!SWIG_IsOK(ecode3
)) {
6410 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6412 arg3
= static_cast< long >(val3
);
6414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6415 (arg1
)->Remove(arg2
,arg3
);
6416 wxPyEndAllowThreads(__tstate
);
6417 if (PyErr_Occurred()) SWIG_fail
;
6419 resultobj
= SWIG_Py_Void();
6426 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6427 PyObject
*resultobj
= 0;
6428 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6432 PyObject
*swig_obj
[1] ;
6434 if (!args
) SWIG_fail
;
6436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6437 if (!SWIG_IsOK(res1
)) {
6438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6440 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6443 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6444 wxPyEndAllowThreads(__tstate
);
6445 if (PyErr_Occurred()) SWIG_fail
;
6448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6456 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6457 PyObject
*resultobj
= 0;
6458 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6461 PyObject
*swig_obj
[1] ;
6463 if (!args
) SWIG_fail
;
6465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6466 if (!SWIG_IsOK(res1
)) {
6467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6469 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6473 wxPyEndAllowThreads(__tstate
);
6474 if (PyErr_Occurred()) SWIG_fail
;
6476 resultobj
= SWIG_Py_Void();
6483 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6484 PyObject
*resultobj
= 0;
6485 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6488 PyObject
*swig_obj
[1] ;
6490 if (!args
) SWIG_fail
;
6492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6493 if (!SWIG_IsOK(res1
)) {
6494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6496 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6500 wxPyEndAllowThreads(__tstate
);
6501 if (PyErr_Occurred()) SWIG_fail
;
6503 resultobj
= SWIG_Py_Void();
6510 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6511 PyObject
*resultobj
= 0;
6512 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6515 PyObject
*swig_obj
[1] ;
6517 if (!args
) SWIG_fail
;
6519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6520 if (!SWIG_IsOK(res1
)) {
6521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6523 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6526 (arg1
)->SelectAll();
6527 wxPyEndAllowThreads(__tstate
);
6528 if (PyErr_Occurred()) SWIG_fail
;
6530 resultobj
= SWIG_Py_Void();
6537 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6538 PyObject
*resultobj
= 0;
6539 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6543 PyObject
*swig_obj
[1] ;
6545 if (!args
) SWIG_fail
;
6547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6548 if (!SWIG_IsOK(res1
)) {
6549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6551 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6554 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6555 wxPyEndAllowThreads(__tstate
);
6556 if (PyErr_Occurred()) SWIG_fail
;
6559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6567 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6568 PyObject
*resultobj
= 0;
6569 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6573 PyObject
*swig_obj
[1] ;
6575 if (!args
) SWIG_fail
;
6577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6578 if (!SWIG_IsOK(res1
)) {
6579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6581 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6584 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6585 wxPyEndAllowThreads(__tstate
);
6586 if (PyErr_Occurred()) SWIG_fail
;
6589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6597 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6598 PyObject
*resultobj
= 0;
6599 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6603 PyObject
*swig_obj
[1] ;
6605 if (!args
) SWIG_fail
;
6607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6608 if (!SWIG_IsOK(res1
)) {
6609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6611 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6614 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6615 wxPyEndAllowThreads(__tstate
);
6616 if (PyErr_Occurred()) SWIG_fail
;
6619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6627 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6628 PyObject
*resultobj
= 0;
6629 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6633 PyObject
*swig_obj
[1] ;
6635 if (!args
) SWIG_fail
;
6637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6638 if (!SWIG_IsOK(res1
)) {
6639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6641 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6644 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6645 wxPyEndAllowThreads(__tstate
);
6646 if (PyErr_Occurred()) SWIG_fail
;
6649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6657 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6658 PyObject
*resultobj
= 0;
6659 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6663 PyObject
*swig_obj
[1] ;
6665 if (!args
) SWIG_fail
;
6667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6668 if (!SWIG_IsOK(res1
)) {
6669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6671 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6674 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6675 wxPyEndAllowThreads(__tstate
);
6676 if (PyErr_Occurred()) SWIG_fail
;
6679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6687 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6688 PyObject
*resultobj
= 0;
6689 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6690 SwigValueWrapper
<wxVisualAttributes
> result
;
6693 PyObject
* obj0
= 0 ;
6694 char * kwnames
[] = {
6695 (char *) "variant", NULL
6698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6700 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6701 if (!SWIG_IsOK(ecode1
)) {
6702 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6704 arg1
= static_cast< wxWindowVariant
>(val1
);
6707 if (!wxPyCheckForApp()) SWIG_fail
;
6708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6709 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6710 wxPyEndAllowThreads(__tstate
);
6711 if (PyErr_Occurred()) SWIG_fail
;
6713 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6720 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6722 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6723 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6724 return SWIG_Py_Void();
6727 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6728 return SWIG_Python_InitShadowInstance(args
);
6731 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6732 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6737 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6738 PyObject
*pyobj
= 0;
6742 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6744 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6751 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6752 PyObject
*resultobj
= 0;
6753 wxWindow
*arg1
= (wxWindow
*) 0 ;
6754 int arg2
= (int) -1 ;
6755 int arg3
= (int) 100 ;
6756 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6757 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6758 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6759 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6760 long arg6
= (long) wxGA_HORIZONTAL
;
6761 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6762 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6763 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6764 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6765 wxGauge
*result
= 0 ;
6778 bool temp8
= false ;
6779 PyObject
* obj0
= 0 ;
6780 PyObject
* obj1
= 0 ;
6781 PyObject
* obj2
= 0 ;
6782 PyObject
* obj3
= 0 ;
6783 PyObject
* obj4
= 0 ;
6784 PyObject
* obj5
= 0 ;
6785 PyObject
* obj6
= 0 ;
6786 PyObject
* obj7
= 0 ;
6787 char * kwnames
[] = {
6788 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6793 if (!SWIG_IsOK(res1
)) {
6794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6796 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6799 if (!SWIG_IsOK(ecode2
)) {
6800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6802 arg2
= static_cast< int >(val2
);
6805 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6806 if (!SWIG_IsOK(ecode3
)) {
6807 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6809 arg3
= static_cast< int >(val3
);
6814 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6820 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6824 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6825 if (!SWIG_IsOK(ecode6
)) {
6826 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6828 arg6
= static_cast< long >(val6
);
6831 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6832 if (!SWIG_IsOK(res7
)) {
6833 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6836 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6838 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6842 arg8
= wxString_in_helper(obj7
);
6843 if (arg8
== NULL
) SWIG_fail
;
6848 if (!wxPyCheckForApp()) SWIG_fail
;
6849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6850 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6851 wxPyEndAllowThreads(__tstate
);
6852 if (PyErr_Occurred()) SWIG_fail
;
6854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6869 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6870 PyObject
*resultobj
= 0;
6871 wxGauge
*result
= 0 ;
6873 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6875 if (!wxPyCheckForApp()) SWIG_fail
;
6876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6877 result
= (wxGauge
*)new wxGauge();
6878 wxPyEndAllowThreads(__tstate
);
6879 if (PyErr_Occurred()) SWIG_fail
;
6881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6888 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6889 PyObject
*resultobj
= 0;
6890 wxGauge
*arg1
= (wxGauge
*) 0 ;
6891 wxWindow
*arg2
= (wxWindow
*) 0 ;
6892 int arg3
= (int) -1 ;
6893 int arg4
= (int) 100 ;
6894 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6895 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6896 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6897 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6898 long arg7
= (long) wxGA_HORIZONTAL
;
6899 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6900 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6901 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6902 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6918 bool temp9
= false ;
6919 PyObject
* obj0
= 0 ;
6920 PyObject
* obj1
= 0 ;
6921 PyObject
* obj2
= 0 ;
6922 PyObject
* obj3
= 0 ;
6923 PyObject
* obj4
= 0 ;
6924 PyObject
* obj5
= 0 ;
6925 PyObject
* obj6
= 0 ;
6926 PyObject
* obj7
= 0 ;
6927 PyObject
* obj8
= 0 ;
6928 char * kwnames
[] = {
6929 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6934 if (!SWIG_IsOK(res1
)) {
6935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6937 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6938 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6939 if (!SWIG_IsOK(res2
)) {
6940 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6942 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6944 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6945 if (!SWIG_IsOK(ecode3
)) {
6946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6948 arg3
= static_cast< int >(val3
);
6951 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6952 if (!SWIG_IsOK(ecode4
)) {
6953 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6955 arg4
= static_cast< int >(val4
);
6960 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6966 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6970 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6971 if (!SWIG_IsOK(ecode7
)) {
6972 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6974 arg7
= static_cast< long >(val7
);
6977 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
6978 if (!SWIG_IsOK(res8
)) {
6979 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6982 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6984 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
6988 arg9
= wxString_in_helper(obj8
);
6989 if (arg9
== NULL
) SWIG_fail
;
6994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6995 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6996 wxPyEndAllowThreads(__tstate
);
6997 if (PyErr_Occurred()) SWIG_fail
;
7000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7016 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7017 PyObject
*resultobj
= 0;
7018 wxGauge
*arg1
= (wxGauge
*) 0 ;
7024 PyObject
* obj0
= 0 ;
7025 PyObject
* obj1
= 0 ;
7026 char * kwnames
[] = {
7027 (char *) "self",(char *) "range", NULL
7030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7032 if (!SWIG_IsOK(res1
)) {
7033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7035 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7036 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7037 if (!SWIG_IsOK(ecode2
)) {
7038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7040 arg2
= static_cast< int >(val2
);
7042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7043 (arg1
)->SetRange(arg2
);
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7047 resultobj
= SWIG_Py_Void();
7054 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7055 PyObject
*resultobj
= 0;
7056 wxGauge
*arg1
= (wxGauge
*) 0 ;
7060 PyObject
*swig_obj
[1] ;
7062 if (!args
) SWIG_fail
;
7064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7065 if (!SWIG_IsOK(res1
)) {
7066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7068 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7071 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7072 wxPyEndAllowThreads(__tstate
);
7073 if (PyErr_Occurred()) SWIG_fail
;
7075 resultobj
= SWIG_From_int(static_cast< int >(result
));
7082 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7083 PyObject
*resultobj
= 0;
7084 wxGauge
*arg1
= (wxGauge
*) 0 ;
7090 PyObject
* obj0
= 0 ;
7091 PyObject
* obj1
= 0 ;
7092 char * kwnames
[] = {
7093 (char *) "self",(char *) "pos", NULL
7096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7098 if (!SWIG_IsOK(res1
)) {
7099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7101 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7103 if (!SWIG_IsOK(ecode2
)) {
7104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7106 arg2
= static_cast< int >(val2
);
7108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7109 (arg1
)->SetValue(arg2
);
7110 wxPyEndAllowThreads(__tstate
);
7111 if (PyErr_Occurred()) SWIG_fail
;
7113 resultobj
= SWIG_Py_Void();
7120 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7121 PyObject
*resultobj
= 0;
7122 wxGauge
*arg1
= (wxGauge
*) 0 ;
7126 PyObject
*swig_obj
[1] ;
7128 if (!args
) SWIG_fail
;
7130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7131 if (!SWIG_IsOK(res1
)) {
7132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7134 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7137 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7138 wxPyEndAllowThreads(__tstate
);
7139 if (PyErr_Occurred()) SWIG_fail
;
7141 resultobj
= SWIG_From_int(static_cast< int >(result
));
7148 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7149 PyObject
*resultobj
= 0;
7150 wxGauge
*arg1
= (wxGauge
*) 0 ;
7154 PyObject
*swig_obj
[1] ;
7156 if (!args
) SWIG_fail
;
7158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7159 if (!SWIG_IsOK(res1
)) {
7160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7162 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7165 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7166 wxPyEndAllowThreads(__tstate
);
7167 if (PyErr_Occurred()) SWIG_fail
;
7170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7178 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7179 PyObject
*resultobj
= 0;
7180 wxGauge
*arg1
= (wxGauge
*) 0 ;
7186 PyObject
* obj0
= 0 ;
7187 PyObject
* obj1
= 0 ;
7188 char * kwnames
[] = {
7189 (char *) "self",(char *) "w", NULL
7192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7194 if (!SWIG_IsOK(res1
)) {
7195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7197 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7198 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7199 if (!SWIG_IsOK(ecode2
)) {
7200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7202 arg2
= static_cast< int >(val2
);
7204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7205 (arg1
)->SetShadowWidth(arg2
);
7206 wxPyEndAllowThreads(__tstate
);
7207 if (PyErr_Occurred()) SWIG_fail
;
7209 resultobj
= SWIG_Py_Void();
7216 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7217 PyObject
*resultobj
= 0;
7218 wxGauge
*arg1
= (wxGauge
*) 0 ;
7222 PyObject
*swig_obj
[1] ;
7224 if (!args
) SWIG_fail
;
7226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7227 if (!SWIG_IsOK(res1
)) {
7228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7230 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7233 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7234 wxPyEndAllowThreads(__tstate
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7237 resultobj
= SWIG_From_int(static_cast< int >(result
));
7244 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7245 PyObject
*resultobj
= 0;
7246 wxGauge
*arg1
= (wxGauge
*) 0 ;
7252 PyObject
* obj0
= 0 ;
7253 PyObject
* obj1
= 0 ;
7254 char * kwnames
[] = {
7255 (char *) "self",(char *) "w", NULL
7258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7260 if (!SWIG_IsOK(res1
)) {
7261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7263 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7265 if (!SWIG_IsOK(ecode2
)) {
7266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7268 arg2
= static_cast< int >(val2
);
7270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7271 (arg1
)->SetBezelFace(arg2
);
7272 wxPyEndAllowThreads(__tstate
);
7273 if (PyErr_Occurred()) SWIG_fail
;
7275 resultobj
= SWIG_Py_Void();
7282 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7283 PyObject
*resultobj
= 0;
7284 wxGauge
*arg1
= (wxGauge
*) 0 ;
7288 PyObject
*swig_obj
[1] ;
7290 if (!args
) SWIG_fail
;
7292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7293 if (!SWIG_IsOK(res1
)) {
7294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7296 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7299 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7300 wxPyEndAllowThreads(__tstate
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7303 resultobj
= SWIG_From_int(static_cast< int >(result
));
7310 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7311 PyObject
*resultobj
= 0;
7312 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7313 SwigValueWrapper
<wxVisualAttributes
> result
;
7316 PyObject
* obj0
= 0 ;
7317 char * kwnames
[] = {
7318 (char *) "variant", NULL
7321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7323 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7324 if (!SWIG_IsOK(ecode1
)) {
7325 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7327 arg1
= static_cast< wxWindowVariant
>(val1
);
7330 if (!wxPyCheckForApp()) SWIG_fail
;
7331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7332 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7333 wxPyEndAllowThreads(__tstate
);
7334 if (PyErr_Occurred()) SWIG_fail
;
7336 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7343 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7345 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7346 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7347 return SWIG_Py_Void();
7350 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7351 return SWIG_Python_InitShadowInstance(args
);
7354 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7355 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7360 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7361 PyObject
*pyobj
= 0;
7365 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7367 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7374 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7375 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7380 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7381 PyObject
*pyobj
= 0;
7385 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7387 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7394 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7395 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7400 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7401 PyObject
*pyobj
= 0;
7405 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7407 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7414 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7415 PyObject
*resultobj
= 0;
7416 wxWindow
*arg1
= (wxWindow
*) 0 ;
7417 int arg2
= (int) -1 ;
7418 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7419 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7420 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7421 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7422 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7423 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7424 long arg6
= (long) 0 ;
7425 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7426 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7427 wxStaticBox
*result
= 0 ;
7432 bool temp3
= false ;
7437 bool temp7
= false ;
7438 PyObject
* obj0
= 0 ;
7439 PyObject
* obj1
= 0 ;
7440 PyObject
* obj2
= 0 ;
7441 PyObject
* obj3
= 0 ;
7442 PyObject
* obj4
= 0 ;
7443 PyObject
* obj5
= 0 ;
7444 PyObject
* obj6
= 0 ;
7445 char * kwnames
[] = {
7446 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7451 if (!SWIG_IsOK(res1
)) {
7452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7454 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7457 if (!SWIG_IsOK(ecode2
)) {
7458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7460 arg2
= static_cast< int >(val2
);
7464 arg3
= wxString_in_helper(obj2
);
7465 if (arg3
== NULL
) SWIG_fail
;
7472 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7478 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7482 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7483 if (!SWIG_IsOK(ecode6
)) {
7484 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7486 arg6
= static_cast< long >(val6
);
7490 arg7
= wxString_in_helper(obj6
);
7491 if (arg7
== NULL
) SWIG_fail
;
7496 if (!wxPyCheckForApp()) SWIG_fail
;
7497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7498 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7499 wxPyEndAllowThreads(__tstate
);
7500 if (PyErr_Occurred()) SWIG_fail
;
7502 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7525 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7526 PyObject
*resultobj
= 0;
7527 wxStaticBox
*result
= 0 ;
7529 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7531 if (!wxPyCheckForApp()) SWIG_fail
;
7532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7533 result
= (wxStaticBox
*)new wxStaticBox();
7534 wxPyEndAllowThreads(__tstate
);
7535 if (PyErr_Occurred()) SWIG_fail
;
7537 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7544 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7545 PyObject
*resultobj
= 0;
7546 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7547 wxWindow
*arg2
= (wxWindow
*) 0 ;
7548 int arg3
= (int) -1 ;
7549 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7550 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7551 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7552 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7553 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7554 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7555 long arg7
= (long) 0 ;
7556 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7557 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7565 bool temp4
= false ;
7570 bool temp8
= false ;
7571 PyObject
* obj0
= 0 ;
7572 PyObject
* obj1
= 0 ;
7573 PyObject
* obj2
= 0 ;
7574 PyObject
* obj3
= 0 ;
7575 PyObject
* obj4
= 0 ;
7576 PyObject
* obj5
= 0 ;
7577 PyObject
* obj6
= 0 ;
7578 PyObject
* obj7
= 0 ;
7579 char * kwnames
[] = {
7580 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7585 if (!SWIG_IsOK(res1
)) {
7586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7588 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7589 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7590 if (!SWIG_IsOK(res2
)) {
7591 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7593 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7595 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7596 if (!SWIG_IsOK(ecode3
)) {
7597 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7599 arg3
= static_cast< int >(val3
);
7603 arg4
= wxString_in_helper(obj3
);
7604 if (arg4
== NULL
) SWIG_fail
;
7611 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7617 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7621 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7622 if (!SWIG_IsOK(ecode7
)) {
7623 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7625 arg7
= static_cast< long >(val7
);
7629 arg8
= wxString_in_helper(obj7
);
7630 if (arg8
== NULL
) SWIG_fail
;
7635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7636 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7637 wxPyEndAllowThreads(__tstate
);
7638 if (PyErr_Occurred()) SWIG_fail
;
7641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7665 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7666 PyObject
*resultobj
= 0;
7667 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7668 SwigValueWrapper
<wxVisualAttributes
> result
;
7671 PyObject
* obj0
= 0 ;
7672 char * kwnames
[] = {
7673 (char *) "variant", NULL
7676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7678 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7679 if (!SWIG_IsOK(ecode1
)) {
7680 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7682 arg1
= static_cast< wxWindowVariant
>(val1
);
7685 if (!wxPyCheckForApp()) SWIG_fail
;
7686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7687 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7688 wxPyEndAllowThreads(__tstate
);
7689 if (PyErr_Occurred()) SWIG_fail
;
7691 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7698 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7700 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7701 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7702 return SWIG_Py_Void();
7705 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7706 return SWIG_Python_InitShadowInstance(args
);
7709 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7710 PyObject
*resultobj
= 0;
7711 wxWindow
*arg1
= (wxWindow
*) 0 ;
7712 int arg2
= (int) -1 ;
7713 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7714 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7715 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7716 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7717 long arg5
= (long) wxLI_HORIZONTAL
;
7718 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7719 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7720 wxStaticLine
*result
= 0 ;
7729 bool temp6
= false ;
7730 PyObject
* obj0
= 0 ;
7731 PyObject
* obj1
= 0 ;
7732 PyObject
* obj2
= 0 ;
7733 PyObject
* obj3
= 0 ;
7734 PyObject
* obj4
= 0 ;
7735 PyObject
* obj5
= 0 ;
7736 char * kwnames
[] = {
7737 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7742 if (!SWIG_IsOK(res1
)) {
7743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7745 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7747 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7748 if (!SWIG_IsOK(ecode2
)) {
7749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7751 arg2
= static_cast< int >(val2
);
7756 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7762 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7766 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7767 if (!SWIG_IsOK(ecode5
)) {
7768 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7770 arg5
= static_cast< long >(val5
);
7774 arg6
= wxString_in_helper(obj5
);
7775 if (arg6
== NULL
) SWIG_fail
;
7780 if (!wxPyCheckForApp()) SWIG_fail
;
7781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7782 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7783 wxPyEndAllowThreads(__tstate
);
7784 if (PyErr_Occurred()) SWIG_fail
;
7786 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7801 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7802 PyObject
*resultobj
= 0;
7803 wxStaticLine
*result
= 0 ;
7805 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7807 if (!wxPyCheckForApp()) SWIG_fail
;
7808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7809 result
= (wxStaticLine
*)new wxStaticLine();
7810 wxPyEndAllowThreads(__tstate
);
7811 if (PyErr_Occurred()) SWIG_fail
;
7813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7820 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7821 PyObject
*resultobj
= 0;
7822 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7823 wxWindow
*arg2
= (wxWindow
*) 0 ;
7824 int arg3
= (int) -1 ;
7825 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7826 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7827 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7828 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7829 long arg6
= (long) wxLI_HORIZONTAL
;
7830 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7831 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7843 bool temp7
= false ;
7844 PyObject
* obj0
= 0 ;
7845 PyObject
* obj1
= 0 ;
7846 PyObject
* obj2
= 0 ;
7847 PyObject
* obj3
= 0 ;
7848 PyObject
* obj4
= 0 ;
7849 PyObject
* obj5
= 0 ;
7850 PyObject
* obj6
= 0 ;
7851 char * kwnames
[] = {
7852 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7857 if (!SWIG_IsOK(res1
)) {
7858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7860 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7861 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7862 if (!SWIG_IsOK(res2
)) {
7863 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7865 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7867 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7868 if (!SWIG_IsOK(ecode3
)) {
7869 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7871 arg3
= static_cast< int >(val3
);
7876 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7882 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7886 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7887 if (!SWIG_IsOK(ecode6
)) {
7888 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7890 arg6
= static_cast< long >(val6
);
7894 arg7
= wxString_in_helper(obj6
);
7895 if (arg7
== NULL
) SWIG_fail
;
7900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7901 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7902 wxPyEndAllowThreads(__tstate
);
7903 if (PyErr_Occurred()) SWIG_fail
;
7906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7922 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7923 PyObject
*resultobj
= 0;
7924 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7928 PyObject
*swig_obj
[1] ;
7930 if (!args
) SWIG_fail
;
7932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7933 if (!SWIG_IsOK(res1
)) {
7934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7936 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7939 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7940 wxPyEndAllowThreads(__tstate
);
7941 if (PyErr_Occurred()) SWIG_fail
;
7944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7952 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7953 PyObject
*resultobj
= 0;
7956 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
7958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7959 result
= (int)wxStaticLine::GetDefaultSize();
7960 wxPyEndAllowThreads(__tstate
);
7961 if (PyErr_Occurred()) SWIG_fail
;
7963 resultobj
= SWIG_From_int(static_cast< int >(result
));
7970 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7971 PyObject
*resultobj
= 0;
7972 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7973 SwigValueWrapper
<wxVisualAttributes
> result
;
7976 PyObject
* obj0
= 0 ;
7977 char * kwnames
[] = {
7978 (char *) "variant", NULL
7981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7983 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7984 if (!SWIG_IsOK(ecode1
)) {
7985 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7987 arg1
= static_cast< wxWindowVariant
>(val1
);
7990 if (!wxPyCheckForApp()) SWIG_fail
;
7991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7992 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
7993 wxPyEndAllowThreads(__tstate
);
7994 if (PyErr_Occurred()) SWIG_fail
;
7996 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8003 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8005 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8006 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8007 return SWIG_Py_Void();
8010 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8011 return SWIG_Python_InitShadowInstance(args
);
8014 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8015 PyObject
*resultobj
= 0;
8016 wxWindow
*arg1
= (wxWindow
*) 0 ;
8017 int arg2
= (int) -1 ;
8018 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8019 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8020 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8021 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8022 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8023 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8024 long arg6
= (long) 0 ;
8025 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8026 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8027 wxStaticText
*result
= 0 ;
8032 bool temp3
= false ;
8037 bool temp7
= false ;
8038 PyObject
* obj0
= 0 ;
8039 PyObject
* obj1
= 0 ;
8040 PyObject
* obj2
= 0 ;
8041 PyObject
* obj3
= 0 ;
8042 PyObject
* obj4
= 0 ;
8043 PyObject
* obj5
= 0 ;
8044 PyObject
* obj6
= 0 ;
8045 char * kwnames
[] = {
8046 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8051 if (!SWIG_IsOK(res1
)) {
8052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8054 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8056 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8057 if (!SWIG_IsOK(ecode2
)) {
8058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8060 arg2
= static_cast< int >(val2
);
8064 arg3
= wxString_in_helper(obj2
);
8065 if (arg3
== NULL
) SWIG_fail
;
8072 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8078 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8082 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8083 if (!SWIG_IsOK(ecode6
)) {
8084 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8086 arg6
= static_cast< long >(val6
);
8090 arg7
= wxString_in_helper(obj6
);
8091 if (arg7
== NULL
) SWIG_fail
;
8096 if (!wxPyCheckForApp()) SWIG_fail
;
8097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8098 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8099 wxPyEndAllowThreads(__tstate
);
8100 if (PyErr_Occurred()) SWIG_fail
;
8102 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8125 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8126 PyObject
*resultobj
= 0;
8127 wxStaticText
*result
= 0 ;
8129 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8131 if (!wxPyCheckForApp()) SWIG_fail
;
8132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8133 result
= (wxStaticText
*)new wxStaticText();
8134 wxPyEndAllowThreads(__tstate
);
8135 if (PyErr_Occurred()) SWIG_fail
;
8137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8144 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8145 PyObject
*resultobj
= 0;
8146 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8147 wxWindow
*arg2
= (wxWindow
*) 0 ;
8148 int arg3
= (int) -1 ;
8149 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8150 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8151 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8152 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8153 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8154 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8155 long arg7
= (long) 0 ;
8156 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8157 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8165 bool temp4
= false ;
8170 bool temp8
= false ;
8171 PyObject
* obj0
= 0 ;
8172 PyObject
* obj1
= 0 ;
8173 PyObject
* obj2
= 0 ;
8174 PyObject
* obj3
= 0 ;
8175 PyObject
* obj4
= 0 ;
8176 PyObject
* obj5
= 0 ;
8177 PyObject
* obj6
= 0 ;
8178 PyObject
* obj7
= 0 ;
8179 char * kwnames
[] = {
8180 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8185 if (!SWIG_IsOK(res1
)) {
8186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8188 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8189 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8190 if (!SWIG_IsOK(res2
)) {
8191 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8193 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8195 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8196 if (!SWIG_IsOK(ecode3
)) {
8197 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8199 arg3
= static_cast< int >(val3
);
8203 arg4
= wxString_in_helper(obj3
);
8204 if (arg4
== NULL
) SWIG_fail
;
8211 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8217 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8221 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8222 if (!SWIG_IsOK(ecode7
)) {
8223 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8225 arg7
= static_cast< long >(val7
);
8229 arg8
= wxString_in_helper(obj7
);
8230 if (arg8
== NULL
) SWIG_fail
;
8235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8236 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8237 wxPyEndAllowThreads(__tstate
);
8238 if (PyErr_Occurred()) SWIG_fail
;
8241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8265 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8266 PyObject
*resultobj
= 0;
8267 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8273 PyObject
* obj0
= 0 ;
8274 PyObject
* obj1
= 0 ;
8275 char * kwnames
[] = {
8276 (char *) "self",(char *) "width", NULL
8279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8281 if (!SWIG_IsOK(res1
)) {
8282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8284 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8286 if (!SWIG_IsOK(ecode2
)) {
8287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8289 arg2
= static_cast< int >(val2
);
8291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8293 wxPyEndAllowThreads(__tstate
);
8294 if (PyErr_Occurred()) SWIG_fail
;
8296 resultobj
= SWIG_Py_Void();
8303 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8304 PyObject
*resultobj
= 0;
8305 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8306 SwigValueWrapper
<wxVisualAttributes
> result
;
8309 PyObject
* obj0
= 0 ;
8310 char * kwnames
[] = {
8311 (char *) "variant", NULL
8314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8316 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8317 if (!SWIG_IsOK(ecode1
)) {
8318 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8320 arg1
= static_cast< wxWindowVariant
>(val1
);
8323 if (!wxPyCheckForApp()) SWIG_fail
;
8324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8325 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8326 wxPyEndAllowThreads(__tstate
);
8327 if (PyErr_Occurred()) SWIG_fail
;
8329 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8336 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8338 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8339 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8340 return SWIG_Py_Void();
8343 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8344 return SWIG_Python_InitShadowInstance(args
);
8347 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8348 PyObject
*resultobj
= 0;
8349 wxWindow
*arg1
= (wxWindow
*) 0 ;
8350 int arg2
= (int) -1 ;
8351 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8352 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8353 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8354 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8355 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8356 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8357 long arg6
= (long) 0 ;
8358 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8359 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8360 wxStaticBitmap
*result
= 0 ;
8371 bool temp7
= false ;
8372 PyObject
* obj0
= 0 ;
8373 PyObject
* obj1
= 0 ;
8374 PyObject
* obj2
= 0 ;
8375 PyObject
* obj3
= 0 ;
8376 PyObject
* obj4
= 0 ;
8377 PyObject
* obj5
= 0 ;
8378 PyObject
* obj6
= 0 ;
8379 char * kwnames
[] = {
8380 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8385 if (!SWIG_IsOK(res1
)) {
8386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8388 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8390 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8391 if (!SWIG_IsOK(ecode2
)) {
8392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8394 arg2
= static_cast< int >(val2
);
8397 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8398 if (!SWIG_IsOK(res3
)) {
8399 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8402 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8404 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8409 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8415 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8419 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8420 if (!SWIG_IsOK(ecode6
)) {
8421 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8423 arg6
= static_cast< long >(val6
);
8427 arg7
= wxString_in_helper(obj6
);
8428 if (arg7
== NULL
) SWIG_fail
;
8433 if (!wxPyCheckForApp()) SWIG_fail
;
8434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8435 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8436 wxPyEndAllowThreads(__tstate
);
8437 if (PyErr_Occurred()) SWIG_fail
;
8439 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8454 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8455 PyObject
*resultobj
= 0;
8456 wxStaticBitmap
*result
= 0 ;
8458 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8460 if (!wxPyCheckForApp()) SWIG_fail
;
8461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8462 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8463 wxPyEndAllowThreads(__tstate
);
8464 if (PyErr_Occurred()) SWIG_fail
;
8466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8473 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8474 PyObject
*resultobj
= 0;
8475 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8476 wxWindow
*arg2
= (wxWindow
*) 0 ;
8477 int arg3
= (int) -1 ;
8478 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8479 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8480 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8481 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8482 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8483 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8484 long arg7
= (long) 0 ;
8485 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8486 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8500 bool temp8
= false ;
8501 PyObject
* obj0
= 0 ;
8502 PyObject
* obj1
= 0 ;
8503 PyObject
* obj2
= 0 ;
8504 PyObject
* obj3
= 0 ;
8505 PyObject
* obj4
= 0 ;
8506 PyObject
* obj5
= 0 ;
8507 PyObject
* obj6
= 0 ;
8508 PyObject
* obj7
= 0 ;
8509 char * kwnames
[] = {
8510 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8515 if (!SWIG_IsOK(res1
)) {
8516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8518 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8519 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8520 if (!SWIG_IsOK(res2
)) {
8521 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8523 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8525 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8526 if (!SWIG_IsOK(ecode3
)) {
8527 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8529 arg3
= static_cast< int >(val3
);
8532 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8533 if (!SWIG_IsOK(res4
)) {
8534 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8537 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8539 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8544 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8550 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8554 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8555 if (!SWIG_IsOK(ecode7
)) {
8556 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8558 arg7
= static_cast< long >(val7
);
8562 arg8
= wxString_in_helper(obj7
);
8563 if (arg8
== NULL
) SWIG_fail
;
8568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8569 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8570 wxPyEndAllowThreads(__tstate
);
8571 if (PyErr_Occurred()) SWIG_fail
;
8574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8590 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8591 PyObject
*resultobj
= 0;
8592 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8596 PyObject
*swig_obj
[1] ;
8598 if (!args
) SWIG_fail
;
8600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8601 if (!SWIG_IsOK(res1
)) {
8602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8604 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8607 result
= (arg1
)->GetBitmap();
8608 wxPyEndAllowThreads(__tstate
);
8609 if (PyErr_Occurred()) SWIG_fail
;
8611 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8618 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8619 PyObject
*resultobj
= 0;
8620 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8621 wxBitmap
*arg2
= 0 ;
8626 PyObject
* obj0
= 0 ;
8627 PyObject
* obj1
= 0 ;
8628 char * kwnames
[] = {
8629 (char *) "self",(char *) "bitmap", NULL
8632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8634 if (!SWIG_IsOK(res1
)) {
8635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8637 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8638 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8639 if (!SWIG_IsOK(res2
)) {
8640 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8643 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8645 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8648 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8649 wxPyEndAllowThreads(__tstate
);
8650 if (PyErr_Occurred()) SWIG_fail
;
8652 resultobj
= SWIG_Py_Void();
8659 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8660 PyObject
*resultobj
= 0;
8661 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8667 PyObject
* obj0
= 0 ;
8668 PyObject
* obj1
= 0 ;
8669 char * kwnames
[] = {
8670 (char *) "self",(char *) "icon", NULL
8673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8675 if (!SWIG_IsOK(res1
)) {
8676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8678 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8679 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8680 if (!SWIG_IsOK(res2
)) {
8681 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8684 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8686 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8689 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8690 wxPyEndAllowThreads(__tstate
);
8691 if (PyErr_Occurred()) SWIG_fail
;
8693 resultobj
= SWIG_Py_Void();
8700 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8701 PyObject
*resultobj
= 0;
8702 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8703 SwigValueWrapper
<wxVisualAttributes
> result
;
8706 PyObject
* obj0
= 0 ;
8707 char * kwnames
[] = {
8708 (char *) "variant", NULL
8711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8713 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8714 if (!SWIG_IsOK(ecode1
)) {
8715 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8717 arg1
= static_cast< wxWindowVariant
>(val1
);
8720 if (!wxPyCheckForApp()) SWIG_fail
;
8721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8722 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8723 wxPyEndAllowThreads(__tstate
);
8724 if (PyErr_Occurred()) SWIG_fail
;
8726 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8733 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8735 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8736 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8737 return SWIG_Py_Void();
8740 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8741 return SWIG_Python_InitShadowInstance(args
);
8744 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8745 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8750 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8751 PyObject
*pyobj
= 0;
8755 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8757 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8764 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8765 PyObject
*resultobj
= 0;
8766 wxWindow
*arg1
= (wxWindow
*) 0 ;
8767 int arg2
= (int) -1 ;
8768 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8769 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8770 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8771 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8772 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8773 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8774 long arg6
= (long) 0 ;
8775 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8776 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8777 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8778 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8779 wxListBox
*result
= 0 ;
8786 bool temp5
= false ;
8791 bool temp8
= false ;
8792 PyObject
* obj0
= 0 ;
8793 PyObject
* obj1
= 0 ;
8794 PyObject
* obj2
= 0 ;
8795 PyObject
* obj3
= 0 ;
8796 PyObject
* obj4
= 0 ;
8797 PyObject
* obj5
= 0 ;
8798 PyObject
* obj6
= 0 ;
8799 PyObject
* obj7
= 0 ;
8800 char * kwnames
[] = {
8801 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8806 if (!SWIG_IsOK(res1
)) {
8807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8809 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8811 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8812 if (!SWIG_IsOK(ecode2
)) {
8813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8815 arg2
= static_cast< int >(val2
);
8820 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8826 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8831 if (! PySequence_Check(obj4
)) {
8832 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8835 arg5
= new wxArrayString
;
8837 int i
, len
=PySequence_Length(obj4
);
8838 for (i
=0; i
<len
; i
++) {
8839 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8840 wxString
* s
= wxString_in_helper(item
);
8841 if (PyErr_Occurred()) SWIG_fail
;
8849 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8850 if (!SWIG_IsOK(ecode6
)) {
8851 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8853 arg6
= static_cast< long >(val6
);
8856 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8857 if (!SWIG_IsOK(res7
)) {
8858 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8861 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8863 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8867 arg8
= wxString_in_helper(obj7
);
8868 if (arg8
== NULL
) SWIG_fail
;
8873 if (!wxPyCheckForApp()) SWIG_fail
;
8874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8875 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8876 wxPyEndAllowThreads(__tstate
);
8877 if (PyErr_Occurred()) SWIG_fail
;
8879 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8881 if (temp5
) delete arg5
;
8890 if (temp5
) delete arg5
;
8900 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8901 PyObject
*resultobj
= 0;
8902 wxListBox
*result
= 0 ;
8904 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8906 if (!wxPyCheckForApp()) SWIG_fail
;
8907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8908 result
= (wxListBox
*)new wxListBox();
8909 wxPyEndAllowThreads(__tstate
);
8910 if (PyErr_Occurred()) SWIG_fail
;
8912 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8919 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8920 PyObject
*resultobj
= 0;
8921 wxListBox
*arg1
= (wxListBox
*) 0 ;
8922 wxWindow
*arg2
= (wxWindow
*) 0 ;
8923 int arg3
= (int) -1 ;
8924 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8925 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8926 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8927 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8928 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8929 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8930 long arg7
= (long) 0 ;
8931 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8932 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8933 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8934 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8944 bool temp6
= false ;
8949 bool temp9
= false ;
8950 PyObject
* obj0
= 0 ;
8951 PyObject
* obj1
= 0 ;
8952 PyObject
* obj2
= 0 ;
8953 PyObject
* obj3
= 0 ;
8954 PyObject
* obj4
= 0 ;
8955 PyObject
* obj5
= 0 ;
8956 PyObject
* obj6
= 0 ;
8957 PyObject
* obj7
= 0 ;
8958 PyObject
* obj8
= 0 ;
8959 char * kwnames
[] = {
8960 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
8964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
8965 if (!SWIG_IsOK(res1
)) {
8966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
8968 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
8969 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8970 if (!SWIG_IsOK(res2
)) {
8971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8973 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8975 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8976 if (!SWIG_IsOK(ecode3
)) {
8977 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
8979 arg3
= static_cast< int >(val3
);
8984 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8990 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8995 if (! PySequence_Check(obj5
)) {
8996 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8999 arg6
= new wxArrayString
;
9001 int i
, len
=PySequence_Length(obj5
);
9002 for (i
=0; i
<len
; i
++) {
9003 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9004 wxString
* s
= wxString_in_helper(item
);
9005 if (PyErr_Occurred()) SWIG_fail
;
9013 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9014 if (!SWIG_IsOK(ecode7
)) {
9015 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9017 arg7
= static_cast< long >(val7
);
9020 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9021 if (!SWIG_IsOK(res8
)) {
9022 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9025 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9027 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9031 arg9
= wxString_in_helper(obj8
);
9032 if (arg9
== NULL
) SWIG_fail
;
9037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9038 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9039 wxPyEndAllowThreads(__tstate
);
9040 if (PyErr_Occurred()) SWIG_fail
;
9043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9046 if (temp6
) delete arg6
;
9055 if (temp6
) delete arg6
;
9065 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9066 PyObject
*resultobj
= 0;
9067 wxListBox
*arg1
= (wxListBox
*) 0 ;
9068 wxString
*arg2
= 0 ;
9070 PyObject
*arg4
= (PyObject
*) NULL
;
9073 bool temp2
= false ;
9076 PyObject
* obj0
= 0 ;
9077 PyObject
* obj1
= 0 ;
9078 PyObject
* obj2
= 0 ;
9079 PyObject
* obj3
= 0 ;
9080 char * kwnames
[] = {
9081 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9086 if (!SWIG_IsOK(res1
)) {
9087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9089 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9091 arg2
= wxString_in_helper(obj1
);
9092 if (arg2
== NULL
) SWIG_fail
;
9095 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9096 if (!SWIG_IsOK(ecode3
)) {
9097 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9099 arg3
= static_cast< int >(val3
);
9104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9105 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9106 wxPyEndAllowThreads(__tstate
);
9107 if (PyErr_Occurred()) SWIG_fail
;
9109 resultobj
= SWIG_Py_Void();
9124 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9125 PyObject
*resultobj
= 0;
9126 wxListBox
*arg1
= (wxListBox
*) 0 ;
9127 wxArrayString
*arg2
= 0 ;
9131 bool temp2
= false ;
9134 PyObject
* obj0
= 0 ;
9135 PyObject
* obj1
= 0 ;
9136 PyObject
* obj2
= 0 ;
9137 char * kwnames
[] = {
9138 (char *) "self",(char *) "items",(char *) "pos", NULL
9141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9143 if (!SWIG_IsOK(res1
)) {
9144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9146 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9148 if (! PySequence_Check(obj1
)) {
9149 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9152 arg2
= new wxArrayString
;
9154 int i
, len
=PySequence_Length(obj1
);
9155 for (i
=0; i
<len
; i
++) {
9156 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9157 wxString
* s
= wxString_in_helper(item
);
9158 if (PyErr_Occurred()) SWIG_fail
;
9164 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9165 if (!SWIG_IsOK(ecode3
)) {
9166 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9168 arg3
= static_cast< unsigned int >(val3
);
9170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9171 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9172 wxPyEndAllowThreads(__tstate
);
9173 if (PyErr_Occurred()) SWIG_fail
;
9175 resultobj
= SWIG_Py_Void();
9177 if (temp2
) delete arg2
;
9182 if (temp2
) delete arg2
;
9188 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9189 PyObject
*resultobj
= 0;
9190 wxListBox
*arg1
= (wxListBox
*) 0 ;
9191 wxArrayString
*arg2
= 0 ;
9194 bool temp2
= false ;
9195 PyObject
* obj0
= 0 ;
9196 PyObject
* obj1
= 0 ;
9197 char * kwnames
[] = {
9198 (char *) "self",(char *) "items", NULL
9201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9203 if (!SWIG_IsOK(res1
)) {
9204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9206 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9208 if (! PySequence_Check(obj1
)) {
9209 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9212 arg2
= new wxArrayString
;
9214 int i
, len
=PySequence_Length(obj1
);
9215 for (i
=0; i
<len
; i
++) {
9216 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9217 wxString
* s
= wxString_in_helper(item
);
9218 if (PyErr_Occurred()) SWIG_fail
;
9225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9226 (arg1
)->Set((wxArrayString
const &)*arg2
);
9227 wxPyEndAllowThreads(__tstate
);
9228 if (PyErr_Occurred()) SWIG_fail
;
9230 resultobj
= SWIG_Py_Void();
9232 if (temp2
) delete arg2
;
9237 if (temp2
) delete arg2
;
9243 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9244 PyObject
*resultobj
= 0;
9245 wxListBox
*arg1
= (wxListBox
*) 0 ;
9252 PyObject
* obj0
= 0 ;
9253 PyObject
* obj1
= 0 ;
9254 char * kwnames
[] = {
9255 (char *) "self",(char *) "n", NULL
9258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9260 if (!SWIG_IsOK(res1
)) {
9261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9263 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9265 if (!SWIG_IsOK(ecode2
)) {
9266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9268 arg2
= static_cast< int >(val2
);
9270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9271 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9272 wxPyEndAllowThreads(__tstate
);
9273 if (PyErr_Occurred()) SWIG_fail
;
9276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9284 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9285 PyObject
*resultobj
= 0;
9286 wxListBox
*arg1
= (wxListBox
*) 0 ;
9288 bool arg3
= (bool) true ;
9295 PyObject
* obj0
= 0 ;
9296 PyObject
* obj1
= 0 ;
9297 PyObject
* obj2
= 0 ;
9298 char * kwnames
[] = {
9299 (char *) "self",(char *) "n",(char *) "select", NULL
9302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9304 if (!SWIG_IsOK(res1
)) {
9305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9307 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9309 if (!SWIG_IsOK(ecode2
)) {
9310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9312 arg2
= static_cast< int >(val2
);
9314 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9315 if (!SWIG_IsOK(ecode3
)) {
9316 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9318 arg3
= static_cast< bool >(val3
);
9321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9322 (arg1
)->SetSelection(arg2
,arg3
);
9323 wxPyEndAllowThreads(__tstate
);
9324 if (PyErr_Occurred()) SWIG_fail
;
9326 resultobj
= SWIG_Py_Void();
9333 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9334 PyObject
*resultobj
= 0;
9335 wxListBox
*arg1
= (wxListBox
*) 0 ;
9341 PyObject
* obj0
= 0 ;
9342 PyObject
* obj1
= 0 ;
9343 char * kwnames
[] = {
9344 (char *) "self",(char *) "n", NULL
9347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9349 if (!SWIG_IsOK(res1
)) {
9350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9352 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9353 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9354 if (!SWIG_IsOK(ecode2
)) {
9355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9357 arg2
= static_cast< int >(val2
);
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9360 (arg1
)->Select(arg2
);
9361 wxPyEndAllowThreads(__tstate
);
9362 if (PyErr_Occurred()) SWIG_fail
;
9364 resultobj
= SWIG_Py_Void();
9371 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9372 PyObject
*resultobj
= 0;
9373 wxListBox
*arg1
= (wxListBox
*) 0 ;
9379 PyObject
* obj0
= 0 ;
9380 PyObject
* obj1
= 0 ;
9381 char * kwnames
[] = {
9382 (char *) "self",(char *) "n", NULL
9385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9387 if (!SWIG_IsOK(res1
)) {
9388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9390 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9391 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9392 if (!SWIG_IsOK(ecode2
)) {
9393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9395 arg2
= static_cast< int >(val2
);
9397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9398 (arg1
)->Deselect(arg2
);
9399 wxPyEndAllowThreads(__tstate
);
9400 if (PyErr_Occurred()) SWIG_fail
;
9402 resultobj
= SWIG_Py_Void();
9409 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9410 PyObject
*resultobj
= 0;
9411 wxListBox
*arg1
= (wxListBox
*) 0 ;
9412 int arg2
= (int) -1 ;
9417 PyObject
* obj0
= 0 ;
9418 PyObject
* obj1
= 0 ;
9419 char * kwnames
[] = {
9420 (char *) "self",(char *) "itemToLeaveSelected", NULL
9423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9425 if (!SWIG_IsOK(res1
)) {
9426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9428 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9431 if (!SWIG_IsOK(ecode2
)) {
9432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9434 arg2
= static_cast< int >(val2
);
9437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9438 (arg1
)->DeselectAll(arg2
);
9439 wxPyEndAllowThreads(__tstate
);
9440 if (PyErr_Occurred()) SWIG_fail
;
9442 resultobj
= SWIG_Py_Void();
9449 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9450 PyObject
*resultobj
= 0;
9451 wxListBox
*arg1
= (wxListBox
*) 0 ;
9452 wxString
*arg2
= 0 ;
9453 bool arg3
= (bool) true ;
9457 bool temp2
= false ;
9460 PyObject
* obj0
= 0 ;
9461 PyObject
* obj1
= 0 ;
9462 PyObject
* obj2
= 0 ;
9463 char * kwnames
[] = {
9464 (char *) "self",(char *) "s",(char *) "select", NULL
9467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9469 if (!SWIG_IsOK(res1
)) {
9470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9472 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9474 arg2
= wxString_in_helper(obj1
);
9475 if (arg2
== NULL
) SWIG_fail
;
9479 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9480 if (!SWIG_IsOK(ecode3
)) {
9481 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9483 arg3
= static_cast< bool >(val3
);
9486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9487 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9488 wxPyEndAllowThreads(__tstate
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9508 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9509 PyObject
*resultobj
= 0;
9510 wxListBox
*arg1
= (wxListBox
*) 0 ;
9511 PyObject
*result
= 0 ;
9514 PyObject
*swig_obj
[1] ;
9516 if (!args
) SWIG_fail
;
9518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9519 if (!SWIG_IsOK(res1
)) {
9520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9522 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9525 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9526 wxPyEndAllowThreads(__tstate
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9536 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9537 PyObject
*resultobj
= 0;
9538 wxListBox
*arg1
= (wxListBox
*) 0 ;
9544 PyObject
* obj0
= 0 ;
9545 PyObject
* obj1
= 0 ;
9546 char * kwnames
[] = {
9547 (char *) "self",(char *) "n", NULL
9550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9552 if (!SWIG_IsOK(res1
)) {
9553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9555 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9556 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9557 if (!SWIG_IsOK(ecode2
)) {
9558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9560 arg2
= static_cast< int >(val2
);
9562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9563 (arg1
)->SetFirstItem(arg2
);
9564 wxPyEndAllowThreads(__tstate
);
9565 if (PyErr_Occurred()) SWIG_fail
;
9567 resultobj
= SWIG_Py_Void();
9574 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9575 PyObject
*resultobj
= 0;
9576 wxListBox
*arg1
= (wxListBox
*) 0 ;
9577 wxString
*arg2
= 0 ;
9580 bool temp2
= false ;
9581 PyObject
* obj0
= 0 ;
9582 PyObject
* obj1
= 0 ;
9583 char * kwnames
[] = {
9584 (char *) "self",(char *) "s", NULL
9587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9589 if (!SWIG_IsOK(res1
)) {
9590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9592 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9594 arg2
= wxString_in_helper(obj1
);
9595 if (arg2
== NULL
) SWIG_fail
;
9599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9600 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9601 wxPyEndAllowThreads(__tstate
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9604 resultobj
= SWIG_Py_Void();
9619 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9620 PyObject
*resultobj
= 0;
9621 wxListBox
*arg1
= (wxListBox
*) 0 ;
9627 PyObject
* obj0
= 0 ;
9628 PyObject
* obj1
= 0 ;
9629 char * kwnames
[] = {
9630 (char *) "self",(char *) "n", NULL
9633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9635 if (!SWIG_IsOK(res1
)) {
9636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9638 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9639 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9640 if (!SWIG_IsOK(ecode2
)) {
9641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9643 arg2
= static_cast< int >(val2
);
9645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9646 (arg1
)->EnsureVisible(arg2
);
9647 wxPyEndAllowThreads(__tstate
);
9648 if (PyErr_Occurred()) SWIG_fail
;
9650 resultobj
= SWIG_Py_Void();
9657 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9658 PyObject
*resultobj
= 0;
9659 wxListBox
*arg1
= (wxListBox
*) 0 ;
9660 wxString
*arg2
= 0 ;
9663 bool temp2
= false ;
9664 PyObject
* obj0
= 0 ;
9665 PyObject
* obj1
= 0 ;
9666 char * kwnames
[] = {
9667 (char *) "self",(char *) "s", NULL
9670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9672 if (!SWIG_IsOK(res1
)) {
9673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9675 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9677 arg2
= wxString_in_helper(obj1
);
9678 if (arg2
== NULL
) SWIG_fail
;
9682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9683 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9684 wxPyEndAllowThreads(__tstate
);
9685 if (PyErr_Occurred()) SWIG_fail
;
9687 resultobj
= SWIG_Py_Void();
9702 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9703 PyObject
*resultobj
= 0;
9704 wxListBox
*arg1
= (wxListBox
*) 0 ;
9708 PyObject
*swig_obj
[1] ;
9710 if (!args
) SWIG_fail
;
9712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9713 if (!SWIG_IsOK(res1
)) {
9714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9716 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9719 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9720 wxPyEndAllowThreads(__tstate
);
9721 if (PyErr_Occurred()) SWIG_fail
;
9724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9732 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9733 PyObject
*resultobj
= 0;
9734 wxListBox
*arg1
= (wxListBox
*) 0 ;
9740 PyObject
* obj0
= 0 ;
9741 PyObject
* obj1
= 0 ;
9742 char * kwnames
[] = {
9743 (char *) "self",(char *) "pt", NULL
9746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9748 if (!SWIG_IsOK(res1
)) {
9749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9751 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9754 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9758 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9759 wxPyEndAllowThreads(__tstate
);
9760 if (PyErr_Occurred()) SWIG_fail
;
9762 resultobj
= SWIG_From_int(static_cast< int >(result
));
9769 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9770 PyObject
*resultobj
= 0;
9771 wxListBox
*arg1
= (wxListBox
*) 0 ;
9773 wxColour
*arg3
= 0 ;
9779 PyObject
* obj0
= 0 ;
9780 PyObject
* obj1
= 0 ;
9781 PyObject
* obj2
= 0 ;
9782 char * kwnames
[] = {
9783 (char *) "self",(char *) "item",(char *) "c", NULL
9786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9788 if (!SWIG_IsOK(res1
)) {
9789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9791 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9792 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9793 if (!SWIG_IsOK(ecode2
)) {
9794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9796 arg2
= static_cast< int >(val2
);
9799 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9803 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9804 wxPyEndAllowThreads(__tstate
);
9805 if (PyErr_Occurred()) SWIG_fail
;
9807 resultobj
= SWIG_Py_Void();
9814 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9815 PyObject
*resultobj
= 0;
9816 wxListBox
*arg1
= (wxListBox
*) 0 ;
9818 wxColour
*arg3
= 0 ;
9824 PyObject
* obj0
= 0 ;
9825 PyObject
* obj1
= 0 ;
9826 PyObject
* obj2
= 0 ;
9827 char * kwnames
[] = {
9828 (char *) "self",(char *) "item",(char *) "c", NULL
9831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9833 if (!SWIG_IsOK(res1
)) {
9834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9836 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9837 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9838 if (!SWIG_IsOK(ecode2
)) {
9839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9841 arg2
= static_cast< int >(val2
);
9844 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9848 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9849 wxPyEndAllowThreads(__tstate
);
9850 if (PyErr_Occurred()) SWIG_fail
;
9852 resultobj
= SWIG_Py_Void();
9859 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9860 PyObject
*resultobj
= 0;
9861 wxListBox
*arg1
= (wxListBox
*) 0 ;
9870 PyObject
* obj0
= 0 ;
9871 PyObject
* obj1
= 0 ;
9872 PyObject
* obj2
= 0 ;
9873 char * kwnames
[] = {
9874 (char *) "self",(char *) "item",(char *) "f", NULL
9877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9879 if (!SWIG_IsOK(res1
)) {
9880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9882 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9883 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9884 if (!SWIG_IsOK(ecode2
)) {
9885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9887 arg2
= static_cast< int >(val2
);
9888 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9889 if (!SWIG_IsOK(res3
)) {
9890 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9893 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9895 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9898 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9899 wxPyEndAllowThreads(__tstate
);
9900 if (PyErr_Occurred()) SWIG_fail
;
9902 resultobj
= SWIG_Py_Void();
9909 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9910 PyObject
*resultobj
= 0;
9911 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9912 SwigValueWrapper
<wxVisualAttributes
> result
;
9915 PyObject
* obj0
= 0 ;
9916 char * kwnames
[] = {
9917 (char *) "variant", NULL
9920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9922 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9923 if (!SWIG_IsOK(ecode1
)) {
9924 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9926 arg1
= static_cast< wxWindowVariant
>(val1
);
9929 if (!wxPyCheckForApp()) SWIG_fail
;
9930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9931 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9932 wxPyEndAllowThreads(__tstate
);
9933 if (PyErr_Occurred()) SWIG_fail
;
9935 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9942 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9944 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9945 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9946 return SWIG_Py_Void();
9949 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9950 return SWIG_Python_InitShadowInstance(args
);
9953 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9954 PyObject
*resultobj
= 0;
9955 wxWindow
*arg1
= (wxWindow
*) 0 ;
9956 int arg2
= (int) -1 ;
9957 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9958 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9959 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9960 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9961 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
9962 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
9963 long arg6
= (long) 0 ;
9964 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9965 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9966 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
9967 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9968 wxCheckListBox
*result
= 0 ;
9975 bool temp5
= false ;
9980 bool temp8
= false ;
9981 PyObject
* obj0
= 0 ;
9982 PyObject
* obj1
= 0 ;
9983 PyObject
* obj2
= 0 ;
9984 PyObject
* obj3
= 0 ;
9985 PyObject
* obj4
= 0 ;
9986 PyObject
* obj5
= 0 ;
9987 PyObject
* obj6
= 0 ;
9988 PyObject
* obj7
= 0 ;
9989 char * kwnames
[] = {
9990 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
9994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9995 if (!SWIG_IsOK(res1
)) {
9996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
9998 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10000 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10001 if (!SWIG_IsOK(ecode2
)) {
10002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10004 arg2
= static_cast< int >(val2
);
10009 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10015 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10020 if (! PySequence_Check(obj4
)) {
10021 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10024 arg5
= new wxArrayString
;
10026 int i
, len
=PySequence_Length(obj4
);
10027 for (i
=0; i
<len
; i
++) {
10028 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10029 wxString
* s
= wxString_in_helper(item
);
10030 if (PyErr_Occurred()) SWIG_fail
;
10038 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10039 if (!SWIG_IsOK(ecode6
)) {
10040 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10042 arg6
= static_cast< long >(val6
);
10045 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10046 if (!SWIG_IsOK(res7
)) {
10047 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10052 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10056 arg8
= wxString_in_helper(obj7
);
10057 if (arg8
== NULL
) SWIG_fail
;
10062 if (!wxPyCheckForApp()) SWIG_fail
;
10063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10064 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10065 wxPyEndAllowThreads(__tstate
);
10066 if (PyErr_Occurred()) SWIG_fail
;
10068 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10070 if (temp5
) delete arg5
;
10079 if (temp5
) delete arg5
;
10089 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10090 PyObject
*resultobj
= 0;
10091 wxCheckListBox
*result
= 0 ;
10093 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10095 if (!wxPyCheckForApp()) SWIG_fail
;
10096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10097 result
= (wxCheckListBox
*)new wxCheckListBox();
10098 wxPyEndAllowThreads(__tstate
);
10099 if (PyErr_Occurred()) SWIG_fail
;
10101 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10108 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10109 PyObject
*resultobj
= 0;
10110 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10111 wxWindow
*arg2
= (wxWindow
*) 0 ;
10112 int arg3
= (int) -1 ;
10113 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10114 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10115 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10116 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10117 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10118 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10119 long arg7
= (long) 0 ;
10120 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10121 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10122 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10123 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10133 bool temp6
= false ;
10138 bool temp9
= false ;
10139 PyObject
* obj0
= 0 ;
10140 PyObject
* obj1
= 0 ;
10141 PyObject
* obj2
= 0 ;
10142 PyObject
* obj3
= 0 ;
10143 PyObject
* obj4
= 0 ;
10144 PyObject
* obj5
= 0 ;
10145 PyObject
* obj6
= 0 ;
10146 PyObject
* obj7
= 0 ;
10147 PyObject
* obj8
= 0 ;
10148 char * kwnames
[] = {
10149 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10154 if (!SWIG_IsOK(res1
)) {
10155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10157 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10158 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10159 if (!SWIG_IsOK(res2
)) {
10160 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10162 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10164 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10165 if (!SWIG_IsOK(ecode3
)) {
10166 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10168 arg3
= static_cast< int >(val3
);
10173 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10179 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10184 if (! PySequence_Check(obj5
)) {
10185 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10188 arg6
= new wxArrayString
;
10190 int i
, len
=PySequence_Length(obj5
);
10191 for (i
=0; i
<len
; i
++) {
10192 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10193 wxString
* s
= wxString_in_helper(item
);
10194 if (PyErr_Occurred()) SWIG_fail
;
10202 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10203 if (!SWIG_IsOK(ecode7
)) {
10204 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10206 arg7
= static_cast< long >(val7
);
10209 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10210 if (!SWIG_IsOK(res8
)) {
10211 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10214 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10216 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10220 arg9
= wxString_in_helper(obj8
);
10221 if (arg9
== NULL
) SWIG_fail
;
10226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10227 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10235 if (temp6
) delete arg6
;
10244 if (temp6
) delete arg6
;
10254 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10255 PyObject
*resultobj
= 0;
10256 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10257 unsigned int arg2
;
10261 unsigned int val2
;
10263 PyObject
* obj0
= 0 ;
10264 PyObject
* obj1
= 0 ;
10265 char * kwnames
[] = {
10266 (char *) "self",(char *) "index", NULL
10269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10271 if (!SWIG_IsOK(res1
)) {
10272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10274 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10275 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10276 if (!SWIG_IsOK(ecode2
)) {
10277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10279 arg2
= static_cast< unsigned int >(val2
);
10281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10282 result
= (bool)(arg1
)->IsChecked(arg2
);
10283 wxPyEndAllowThreads(__tstate
);
10284 if (PyErr_Occurred()) SWIG_fail
;
10287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10295 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10296 PyObject
*resultobj
= 0;
10297 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10298 unsigned int arg2
;
10299 int arg3
= (int) true ;
10302 unsigned int val2
;
10306 PyObject
* obj0
= 0 ;
10307 PyObject
* obj1
= 0 ;
10308 PyObject
* obj2
= 0 ;
10309 char * kwnames
[] = {
10310 (char *) "self",(char *) "index",(char *) "check", NULL
10313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10315 if (!SWIG_IsOK(res1
)) {
10316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10318 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10319 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10320 if (!SWIG_IsOK(ecode2
)) {
10321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10323 arg2
= static_cast< unsigned int >(val2
);
10325 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10326 if (!SWIG_IsOK(ecode3
)) {
10327 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10329 arg3
= static_cast< int >(val3
);
10332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10333 (arg1
)->Check(arg2
,arg3
);
10334 wxPyEndAllowThreads(__tstate
);
10335 if (PyErr_Occurred()) SWIG_fail
;
10337 resultobj
= SWIG_Py_Void();
10344 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10346 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10347 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10348 return SWIG_Py_Void();
10351 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10352 return SWIG_Python_InitShadowInstance(args
);
10355 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10356 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10361 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10362 PyObject
*pyobj
= 0;
10366 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10368 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10375 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10376 PyObject
*resultobj
= 0;
10377 wxColour
const &arg1_defvalue
= wxNullColour
;
10378 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10379 wxColour
const &arg2_defvalue
= wxNullColour
;
10380 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10381 wxFont
const &arg3_defvalue
= wxNullFont
;
10382 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10383 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10384 wxTextAttr
*result
= 0 ;
10391 PyObject
* obj0
= 0 ;
10392 PyObject
* obj1
= 0 ;
10393 PyObject
* obj2
= 0 ;
10394 PyObject
* obj3
= 0 ;
10395 char * kwnames
[] = {
10396 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10403 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10409 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10413 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10414 if (!SWIG_IsOK(res3
)) {
10415 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10418 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10420 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10423 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10424 if (!SWIG_IsOK(ecode4
)) {
10425 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10427 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10431 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10432 wxPyEndAllowThreads(__tstate
);
10433 if (PyErr_Occurred()) SWIG_fail
;
10435 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10442 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10443 PyObject
*resultobj
= 0;
10444 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10447 PyObject
*swig_obj
[1] ;
10449 if (!args
) SWIG_fail
;
10450 swig_obj
[0] = args
;
10451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10452 if (!SWIG_IsOK(res1
)) {
10453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10455 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10460 wxPyEndAllowThreads(__tstate
);
10461 if (PyErr_Occurred()) SWIG_fail
;
10463 resultobj
= SWIG_Py_Void();
10470 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10471 PyObject
*resultobj
= 0;
10472 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10475 PyObject
*swig_obj
[1] ;
10477 if (!args
) SWIG_fail
;
10478 swig_obj
[0] = args
;
10479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10480 if (!SWIG_IsOK(res1
)) {
10481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10483 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10487 wxPyEndAllowThreads(__tstate
);
10488 if (PyErr_Occurred()) SWIG_fail
;
10490 resultobj
= SWIG_Py_Void();
10497 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10498 PyObject
*resultobj
= 0;
10499 wxTextAttr
*arg1
= 0 ;
10500 wxTextAttr
*arg2
= 0 ;
10506 PyObject
* obj0
= 0 ;
10507 PyObject
* obj1
= 0 ;
10508 char * kwnames
[] = {
10509 (char *) "base",(char *) "overlay", NULL
10512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10513 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10514 if (!SWIG_IsOK(res1
)) {
10515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10518 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10520 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10521 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10522 if (!SWIG_IsOK(res2
)) {
10523 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10526 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10528 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10531 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10532 wxPyEndAllowThreads(__tstate
);
10533 if (PyErr_Occurred()) SWIG_fail
;
10535 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10542 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10543 PyObject
*resultobj
= 0;
10544 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10545 wxColour
*arg2
= 0 ;
10549 PyObject
* obj0
= 0 ;
10550 PyObject
* obj1
= 0 ;
10551 char * kwnames
[] = {
10552 (char *) "self",(char *) "colText", NULL
10555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10557 if (!SWIG_IsOK(res1
)) {
10558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10560 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10563 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10567 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10568 wxPyEndAllowThreads(__tstate
);
10569 if (PyErr_Occurred()) SWIG_fail
;
10571 resultobj
= SWIG_Py_Void();
10578 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10579 PyObject
*resultobj
= 0;
10580 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10581 wxColour
*arg2
= 0 ;
10585 PyObject
* obj0
= 0 ;
10586 PyObject
* obj1
= 0 ;
10587 char * kwnames
[] = {
10588 (char *) "self",(char *) "colBack", NULL
10591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10593 if (!SWIG_IsOK(res1
)) {
10594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10596 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10599 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10604 wxPyEndAllowThreads(__tstate
);
10605 if (PyErr_Occurred()) SWIG_fail
;
10607 resultobj
= SWIG_Py_Void();
10614 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10615 PyObject
*resultobj
= 0;
10616 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10618 long arg3
= (long) wxTEXT_ATTR_FONT
;
10625 PyObject
* obj0
= 0 ;
10626 PyObject
* obj1
= 0 ;
10627 PyObject
* obj2
= 0 ;
10628 char * kwnames
[] = {
10629 (char *) "self",(char *) "font",(char *) "flags", NULL
10632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10634 if (!SWIG_IsOK(res1
)) {
10635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10637 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10638 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10639 if (!SWIG_IsOK(res2
)) {
10640 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10643 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10645 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10647 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10648 if (!SWIG_IsOK(ecode3
)) {
10649 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10651 arg3
= static_cast< long >(val3
);
10654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10655 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10656 wxPyEndAllowThreads(__tstate
);
10657 if (PyErr_Occurred()) SWIG_fail
;
10659 resultobj
= SWIG_Py_Void();
10666 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10667 PyObject
*resultobj
= 0;
10668 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10669 wxTextAttrAlignment arg2
;
10674 PyObject
* obj0
= 0 ;
10675 PyObject
* obj1
= 0 ;
10676 char * kwnames
[] = {
10677 (char *) "self",(char *) "alignment", NULL
10680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10682 if (!SWIG_IsOK(res1
)) {
10683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10685 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10686 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10687 if (!SWIG_IsOK(ecode2
)) {
10688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10690 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10693 (arg1
)->SetAlignment(arg2
);
10694 wxPyEndAllowThreads(__tstate
);
10695 if (PyErr_Occurred()) SWIG_fail
;
10697 resultobj
= SWIG_Py_Void();
10704 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10705 PyObject
*resultobj
= 0;
10706 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10707 wxArrayInt
*arg2
= 0 ;
10710 bool temp2
= false ;
10711 PyObject
* obj0
= 0 ;
10712 PyObject
* obj1
= 0 ;
10713 char * kwnames
[] = {
10714 (char *) "self",(char *) "tabs", NULL
10717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10719 if (!SWIG_IsOK(res1
)) {
10720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10722 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10724 if (! PySequence_Check(obj1
)) {
10725 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10728 arg2
= new wxArrayInt
;
10730 int i
, len
=PySequence_Length(obj1
);
10731 for (i
=0; i
<len
; i
++) {
10732 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10733 PyObject
* number
= PyNumber_Int(item
);
10734 arg2
->Add(PyInt_AS_LONG(number
));
10740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10741 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10742 wxPyEndAllowThreads(__tstate
);
10743 if (PyErr_Occurred()) SWIG_fail
;
10745 resultobj
= SWIG_Py_Void();
10747 if (temp2
) delete arg2
;
10752 if (temp2
) delete arg2
;
10758 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10759 PyObject
*resultobj
= 0;
10760 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10762 int arg3
= (int) 0 ;
10769 PyObject
* obj0
= 0 ;
10770 PyObject
* obj1
= 0 ;
10771 PyObject
* obj2
= 0 ;
10772 char * kwnames
[] = {
10773 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10778 if (!SWIG_IsOK(res1
)) {
10779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10781 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10782 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10783 if (!SWIG_IsOK(ecode2
)) {
10784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10786 arg2
= static_cast< int >(val2
);
10788 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10789 if (!SWIG_IsOK(ecode3
)) {
10790 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10792 arg3
= static_cast< int >(val3
);
10795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10796 (arg1
)->SetLeftIndent(arg2
,arg3
);
10797 wxPyEndAllowThreads(__tstate
);
10798 if (PyErr_Occurred()) SWIG_fail
;
10800 resultobj
= SWIG_Py_Void();
10807 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10808 PyObject
*resultobj
= 0;
10809 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10815 PyObject
* obj0
= 0 ;
10816 PyObject
* obj1
= 0 ;
10817 char * kwnames
[] = {
10818 (char *) "self",(char *) "indent", NULL
10821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10823 if (!SWIG_IsOK(res1
)) {
10824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10826 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10827 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10828 if (!SWIG_IsOK(ecode2
)) {
10829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10831 arg2
= static_cast< int >(val2
);
10833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10834 (arg1
)->SetRightIndent(arg2
);
10835 wxPyEndAllowThreads(__tstate
);
10836 if (PyErr_Occurred()) SWIG_fail
;
10838 resultobj
= SWIG_Py_Void();
10845 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10846 PyObject
*resultobj
= 0;
10847 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10853 PyObject
* obj0
= 0 ;
10854 PyObject
* obj1
= 0 ;
10855 char * kwnames
[] = {
10856 (char *) "self",(char *) "flags", NULL
10859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10861 if (!SWIG_IsOK(res1
)) {
10862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10864 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10865 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10866 if (!SWIG_IsOK(ecode2
)) {
10867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10869 arg2
= static_cast< long >(val2
);
10871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10872 (arg1
)->SetFlags(arg2
);
10873 wxPyEndAllowThreads(__tstate
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10876 resultobj
= SWIG_Py_Void();
10883 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10884 PyObject
*resultobj
= 0;
10885 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10889 PyObject
*swig_obj
[1] ;
10891 if (!args
) SWIG_fail
;
10892 swig_obj
[0] = args
;
10893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10894 if (!SWIG_IsOK(res1
)) {
10895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10897 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10900 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10901 wxPyEndAllowThreads(__tstate
);
10902 if (PyErr_Occurred()) SWIG_fail
;
10905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10913 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10914 PyObject
*resultobj
= 0;
10915 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10919 PyObject
*swig_obj
[1] ;
10921 if (!args
) SWIG_fail
;
10922 swig_obj
[0] = args
;
10923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10924 if (!SWIG_IsOK(res1
)) {
10925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10927 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10930 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10931 wxPyEndAllowThreads(__tstate
);
10932 if (PyErr_Occurred()) SWIG_fail
;
10935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10943 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10944 PyObject
*resultobj
= 0;
10945 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10949 PyObject
*swig_obj
[1] ;
10951 if (!args
) SWIG_fail
;
10952 swig_obj
[0] = args
;
10953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10954 if (!SWIG_IsOK(res1
)) {
10955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10957 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10960 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
10961 wxPyEndAllowThreads(__tstate
);
10962 if (PyErr_Occurred()) SWIG_fail
;
10965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10973 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10974 PyObject
*resultobj
= 0;
10975 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10979 PyObject
*swig_obj
[1] ;
10981 if (!args
) SWIG_fail
;
10982 swig_obj
[0] = args
;
10983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10984 if (!SWIG_IsOK(res1
)) {
10985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10987 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10990 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
10991 wxPyEndAllowThreads(__tstate
);
10992 if (PyErr_Occurred()) SWIG_fail
;
10995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11003 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11004 PyObject
*resultobj
= 0;
11005 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11009 PyObject
*swig_obj
[1] ;
11011 if (!args
) SWIG_fail
;
11012 swig_obj
[0] = args
;
11013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11014 if (!SWIG_IsOK(res1
)) {
11015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11017 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11020 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11021 wxPyEndAllowThreads(__tstate
);
11022 if (PyErr_Occurred()) SWIG_fail
;
11025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11033 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11034 PyObject
*resultobj
= 0;
11035 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11039 PyObject
*swig_obj
[1] ;
11041 if (!args
) SWIG_fail
;
11042 swig_obj
[0] = args
;
11043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11044 if (!SWIG_IsOK(res1
)) {
11045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11047 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11050 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11051 wxPyEndAllowThreads(__tstate
);
11052 if (PyErr_Occurred()) SWIG_fail
;
11055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11063 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11064 PyObject
*resultobj
= 0;
11065 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11069 PyObject
*swig_obj
[1] ;
11071 if (!args
) SWIG_fail
;
11072 swig_obj
[0] = args
;
11073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11074 if (!SWIG_IsOK(res1
)) {
11075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11077 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11080 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11081 wxPyEndAllowThreads(__tstate
);
11082 if (PyErr_Occurred()) SWIG_fail
;
11085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11093 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11094 PyObject
*resultobj
= 0;
11095 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11102 PyObject
* obj0
= 0 ;
11103 PyObject
* obj1
= 0 ;
11104 char * kwnames
[] = {
11105 (char *) "self",(char *) "flag", NULL
11108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11110 if (!SWIG_IsOK(res1
)) {
11111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11113 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11114 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11115 if (!SWIG_IsOK(ecode2
)) {
11116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11118 arg2
= static_cast< long >(val2
);
11120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11121 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11122 wxPyEndAllowThreads(__tstate
);
11123 if (PyErr_Occurred()) SWIG_fail
;
11126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11134 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11135 PyObject
*resultobj
= 0;
11136 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11137 wxColour
*result
= 0 ;
11140 PyObject
*swig_obj
[1] ;
11142 if (!args
) SWIG_fail
;
11143 swig_obj
[0] = args
;
11144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11145 if (!SWIG_IsOK(res1
)) {
11146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11148 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11152 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11153 result
= (wxColour
*) &_result_ref
;
11155 wxPyEndAllowThreads(__tstate
);
11156 if (PyErr_Occurred()) SWIG_fail
;
11158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11165 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11166 PyObject
*resultobj
= 0;
11167 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11168 wxColour
*result
= 0 ;
11171 PyObject
*swig_obj
[1] ;
11173 if (!args
) SWIG_fail
;
11174 swig_obj
[0] = args
;
11175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11176 if (!SWIG_IsOK(res1
)) {
11177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11179 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11183 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11184 result
= (wxColour
*) &_result_ref
;
11186 wxPyEndAllowThreads(__tstate
);
11187 if (PyErr_Occurred()) SWIG_fail
;
11189 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11196 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11197 PyObject
*resultobj
= 0;
11198 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11199 wxFont
*result
= 0 ;
11202 PyObject
*swig_obj
[1] ;
11204 if (!args
) SWIG_fail
;
11205 swig_obj
[0] = args
;
11206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11207 if (!SWIG_IsOK(res1
)) {
11208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11210 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11214 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11215 result
= (wxFont
*) &_result_ref
;
11217 wxPyEndAllowThreads(__tstate
);
11218 if (PyErr_Occurred()) SWIG_fail
;
11221 wxFont
* resultptr
= new wxFont(*result
);
11222 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11230 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11231 PyObject
*resultobj
= 0;
11232 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11233 wxTextAttrAlignment result
;
11236 PyObject
*swig_obj
[1] ;
11238 if (!args
) SWIG_fail
;
11239 swig_obj
[0] = args
;
11240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11241 if (!SWIG_IsOK(res1
)) {
11242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11244 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11247 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11248 wxPyEndAllowThreads(__tstate
);
11249 if (PyErr_Occurred()) SWIG_fail
;
11251 resultobj
= SWIG_From_int(static_cast< int >(result
));
11258 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11259 PyObject
*resultobj
= 0;
11260 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11261 wxArrayInt
*result
= 0 ;
11264 PyObject
*swig_obj
[1] ;
11266 if (!args
) SWIG_fail
;
11267 swig_obj
[0] = args
;
11268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11269 if (!SWIG_IsOK(res1
)) {
11270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11272 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11276 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11277 result
= (wxArrayInt
*) &_result_ref
;
11279 wxPyEndAllowThreads(__tstate
);
11280 if (PyErr_Occurred()) SWIG_fail
;
11283 resultobj
= PyList_New(0);
11285 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
11286 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
11287 PyList_Append(resultobj
, val
);
11297 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11298 PyObject
*resultobj
= 0;
11299 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11303 PyObject
*swig_obj
[1] ;
11305 if (!args
) SWIG_fail
;
11306 swig_obj
[0] = args
;
11307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11308 if (!SWIG_IsOK(res1
)) {
11309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11311 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11314 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11315 wxPyEndAllowThreads(__tstate
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11318 resultobj
= SWIG_From_long(static_cast< long >(result
));
11325 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11326 PyObject
*resultobj
= 0;
11327 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11331 PyObject
*swig_obj
[1] ;
11333 if (!args
) SWIG_fail
;
11334 swig_obj
[0] = args
;
11335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11336 if (!SWIG_IsOK(res1
)) {
11337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11339 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11342 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11343 wxPyEndAllowThreads(__tstate
);
11344 if (PyErr_Occurred()) SWIG_fail
;
11346 resultobj
= SWIG_From_long(static_cast< long >(result
));
11353 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11354 PyObject
*resultobj
= 0;
11355 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11359 PyObject
*swig_obj
[1] ;
11361 if (!args
) SWIG_fail
;
11362 swig_obj
[0] = args
;
11363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11364 if (!SWIG_IsOK(res1
)) {
11365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11367 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11370 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11371 wxPyEndAllowThreads(__tstate
);
11372 if (PyErr_Occurred()) SWIG_fail
;
11374 resultobj
= SWIG_From_long(static_cast< long >(result
));
11381 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11382 PyObject
*resultobj
= 0;
11383 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11387 PyObject
*swig_obj
[1] ;
11389 if (!args
) SWIG_fail
;
11390 swig_obj
[0] = args
;
11391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11392 if (!SWIG_IsOK(res1
)) {
11393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11395 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11398 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11399 wxPyEndAllowThreads(__tstate
);
11400 if (PyErr_Occurred()) SWIG_fail
;
11402 resultobj
= SWIG_From_long(static_cast< long >(result
));
11409 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11410 PyObject
*resultobj
= 0;
11411 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11415 PyObject
*swig_obj
[1] ;
11417 if (!args
) SWIG_fail
;
11418 swig_obj
[0] = args
;
11419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11420 if (!SWIG_IsOK(res1
)) {
11421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11423 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11426 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11427 wxPyEndAllowThreads(__tstate
);
11428 if (PyErr_Occurred()) SWIG_fail
;
11431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11439 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11440 PyObject
*resultobj
= 0;
11441 wxTextAttr
*arg1
= 0 ;
11442 wxTextAttr
*arg2
= 0 ;
11443 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11451 PyObject
* obj0
= 0 ;
11452 PyObject
* obj1
= 0 ;
11453 PyObject
* obj2
= 0 ;
11454 char * kwnames
[] = {
11455 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11459 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11460 if (!SWIG_IsOK(res1
)) {
11461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11464 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11466 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11467 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11468 if (!SWIG_IsOK(res2
)) {
11469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11472 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11474 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11475 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11476 if (!SWIG_IsOK(res3
)) {
11477 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11479 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11482 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11483 wxPyEndAllowThreads(__tstate
);
11484 if (PyErr_Occurred()) SWIG_fail
;
11486 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11493 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11495 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11496 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11497 return SWIG_Py_Void();
11500 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11501 return SWIG_Python_InitShadowInstance(args
);
11504 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11505 PyObject
*resultobj
= 0;
11506 wxWindow
*arg1
= (wxWindow
*) 0 ;
11507 int arg2
= (int) -1 ;
11508 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11509 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11510 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11511 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11512 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11513 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11514 long arg6
= (long) 0 ;
11515 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11516 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11517 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11518 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11519 wxTextCtrl
*result
= 0 ;
11524 bool temp3
= false ;
11531 bool temp8
= false ;
11532 PyObject
* obj0
= 0 ;
11533 PyObject
* obj1
= 0 ;
11534 PyObject
* obj2
= 0 ;
11535 PyObject
* obj3
= 0 ;
11536 PyObject
* obj4
= 0 ;
11537 PyObject
* obj5
= 0 ;
11538 PyObject
* obj6
= 0 ;
11539 PyObject
* obj7
= 0 ;
11540 char * kwnames
[] = {
11541 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11546 if (!SWIG_IsOK(res1
)) {
11547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11549 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11552 if (!SWIG_IsOK(ecode2
)) {
11553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11555 arg2
= static_cast< int >(val2
);
11559 arg3
= wxString_in_helper(obj2
);
11560 if (arg3
== NULL
) SWIG_fail
;
11567 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11573 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11577 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11578 if (!SWIG_IsOK(ecode6
)) {
11579 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11581 arg6
= static_cast< long >(val6
);
11584 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11585 if (!SWIG_IsOK(res7
)) {
11586 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11589 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11591 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11595 arg8
= wxString_in_helper(obj7
);
11596 if (arg8
== NULL
) SWIG_fail
;
11601 if (!wxPyCheckForApp()) SWIG_fail
;
11602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11603 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11604 wxPyEndAllowThreads(__tstate
);
11605 if (PyErr_Occurred()) SWIG_fail
;
11607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11630 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11631 PyObject
*resultobj
= 0;
11632 wxTextCtrl
*result
= 0 ;
11634 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11636 if (!wxPyCheckForApp()) SWIG_fail
;
11637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11638 result
= (wxTextCtrl
*)new wxTextCtrl();
11639 wxPyEndAllowThreads(__tstate
);
11640 if (PyErr_Occurred()) SWIG_fail
;
11642 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11649 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11650 PyObject
*resultobj
= 0;
11651 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11652 wxWindow
*arg2
= (wxWindow
*) 0 ;
11653 int arg3
= (int) -1 ;
11654 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11655 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11656 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11657 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11658 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11659 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11660 long arg7
= (long) 0 ;
11661 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11662 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11663 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11664 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11672 bool temp4
= false ;
11679 bool temp9
= false ;
11680 PyObject
* obj0
= 0 ;
11681 PyObject
* obj1
= 0 ;
11682 PyObject
* obj2
= 0 ;
11683 PyObject
* obj3
= 0 ;
11684 PyObject
* obj4
= 0 ;
11685 PyObject
* obj5
= 0 ;
11686 PyObject
* obj6
= 0 ;
11687 PyObject
* obj7
= 0 ;
11688 PyObject
* obj8
= 0 ;
11689 char * kwnames
[] = {
11690 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11695 if (!SWIG_IsOK(res1
)) {
11696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11698 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11699 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11700 if (!SWIG_IsOK(res2
)) {
11701 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11703 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11705 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11706 if (!SWIG_IsOK(ecode3
)) {
11707 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11709 arg3
= static_cast< int >(val3
);
11713 arg4
= wxString_in_helper(obj3
);
11714 if (arg4
== NULL
) SWIG_fail
;
11721 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11727 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11731 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11732 if (!SWIG_IsOK(ecode7
)) {
11733 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11735 arg7
= static_cast< long >(val7
);
11738 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11739 if (!SWIG_IsOK(res8
)) {
11740 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11743 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11745 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11749 arg9
= wxString_in_helper(obj8
);
11750 if (arg9
== NULL
) SWIG_fail
;
11755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11756 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11757 wxPyEndAllowThreads(__tstate
);
11758 if (PyErr_Occurred()) SWIG_fail
;
11761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11785 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11786 PyObject
*resultobj
= 0;
11787 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11791 PyObject
*swig_obj
[1] ;
11793 if (!args
) SWIG_fail
;
11794 swig_obj
[0] = args
;
11795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11796 if (!SWIG_IsOK(res1
)) {
11797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11799 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11802 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11803 wxPyEndAllowThreads(__tstate
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11808 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11810 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11819 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11820 PyObject
*resultobj
= 0;
11821 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11822 wxString
*arg2
= 0 ;
11825 bool temp2
= false ;
11826 PyObject
* obj0
= 0 ;
11827 PyObject
* obj1
= 0 ;
11828 char * kwnames
[] = {
11829 (char *) "self",(char *) "value", NULL
11832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11834 if (!SWIG_IsOK(res1
)) {
11835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11837 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11839 arg2
= wxString_in_helper(obj1
);
11840 if (arg2
== NULL
) SWIG_fail
;
11844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11845 (arg1
)->SetValue((wxString
const &)*arg2
);
11846 wxPyEndAllowThreads(__tstate
);
11847 if (PyErr_Occurred()) SWIG_fail
;
11849 resultobj
= SWIG_Py_Void();
11864 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11865 PyObject
*resultobj
= 0;
11866 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11876 PyObject
* obj0
= 0 ;
11877 PyObject
* obj1
= 0 ;
11878 PyObject
* obj2
= 0 ;
11879 char * kwnames
[] = {
11880 (char *) "self",(char *) "from",(char *) "to", NULL
11883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11885 if (!SWIG_IsOK(res1
)) {
11886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11888 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11889 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11890 if (!SWIG_IsOK(ecode2
)) {
11891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11893 arg2
= static_cast< long >(val2
);
11894 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11895 if (!SWIG_IsOK(ecode3
)) {
11896 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11898 arg3
= static_cast< long >(val3
);
11900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11901 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
11902 wxPyEndAllowThreads(__tstate
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11907 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11909 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11918 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11919 PyObject
*resultobj
= 0;
11920 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11927 PyObject
* obj0
= 0 ;
11928 PyObject
* obj1
= 0 ;
11929 char * kwnames
[] = {
11930 (char *) "self",(char *) "lineNo", NULL
11933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11935 if (!SWIG_IsOK(res1
)) {
11936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11938 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11939 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11940 if (!SWIG_IsOK(ecode2
)) {
11941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
11943 arg2
= static_cast< long >(val2
);
11945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11946 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
11947 wxPyEndAllowThreads(__tstate
);
11948 if (PyErr_Occurred()) SWIG_fail
;
11950 resultobj
= SWIG_From_int(static_cast< int >(result
));
11957 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11958 PyObject
*resultobj
= 0;
11959 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11966 PyObject
* obj0
= 0 ;
11967 PyObject
* obj1
= 0 ;
11968 char * kwnames
[] = {
11969 (char *) "self",(char *) "lineNo", NULL
11972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11974 if (!SWIG_IsOK(res1
)) {
11975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11977 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11978 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11979 if (!SWIG_IsOK(ecode2
)) {
11980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
11982 arg2
= static_cast< long >(val2
);
11984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11985 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
11986 wxPyEndAllowThreads(__tstate
);
11987 if (PyErr_Occurred()) SWIG_fail
;
11991 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11993 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12002 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12003 PyObject
*resultobj
= 0;
12004 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12008 PyObject
*swig_obj
[1] ;
12010 if (!args
) SWIG_fail
;
12011 swig_obj
[0] = args
;
12012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12013 if (!SWIG_IsOK(res1
)) {
12014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12016 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12019 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12020 wxPyEndAllowThreads(__tstate
);
12021 if (PyErr_Occurred()) SWIG_fail
;
12023 resultobj
= SWIG_From_int(static_cast< int >(result
));
12030 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12031 PyObject
*resultobj
= 0;
12032 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12036 PyObject
*swig_obj
[1] ;
12038 if (!args
) SWIG_fail
;
12039 swig_obj
[0] = args
;
12040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12041 if (!SWIG_IsOK(res1
)) {
12042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12044 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12047 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12048 wxPyEndAllowThreads(__tstate
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12060 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12061 PyObject
*resultobj
= 0;
12062 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12066 PyObject
*swig_obj
[1] ;
12068 if (!args
) SWIG_fail
;
12069 swig_obj
[0] = args
;
12070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12071 if (!SWIG_IsOK(res1
)) {
12072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12074 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12077 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12078 wxPyEndAllowThreads(__tstate
);
12079 if (PyErr_Occurred()) SWIG_fail
;
12082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12090 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12091 PyObject
*resultobj
= 0;
12092 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12096 PyObject
*swig_obj
[1] ;
12098 if (!args
) SWIG_fail
;
12099 swig_obj
[0] = args
;
12100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12101 if (!SWIG_IsOK(res1
)) {
12102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12104 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12107 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12108 wxPyEndAllowThreads(__tstate
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12120 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12121 PyObject
*resultobj
= 0;
12122 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12126 PyObject
*swig_obj
[1] ;
12128 if (!args
) SWIG_fail
;
12129 swig_obj
[0] = args
;
12130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12131 if (!SWIG_IsOK(res1
)) {
12132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12134 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12137 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12138 wxPyEndAllowThreads(__tstate
);
12139 if (PyErr_Occurred()) SWIG_fail
;
12142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12150 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12151 PyObject
*resultobj
= 0;
12152 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12153 long *arg2
= (long *) 0 ;
12154 long *arg3
= (long *) 0 ;
12158 int res2
= SWIG_TMPOBJ
;
12160 int res3
= SWIG_TMPOBJ
;
12161 PyObject
*swig_obj
[1] ;
12165 if (!args
) SWIG_fail
;
12166 swig_obj
[0] = args
;
12167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12168 if (!SWIG_IsOK(res1
)) {
12169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12171 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12174 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12175 wxPyEndAllowThreads(__tstate
);
12176 if (PyErr_Occurred()) SWIG_fail
;
12178 resultobj
= SWIG_Py_Void();
12179 if (SWIG_IsTmpObj(res2
)) {
12180 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12182 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12183 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12185 if (SWIG_IsTmpObj(res3
)) {
12186 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12188 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12189 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12197 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12198 PyObject
*resultobj
= 0;
12199 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12203 PyObject
*swig_obj
[1] ;
12205 if (!args
) SWIG_fail
;
12206 swig_obj
[0] = args
;
12207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12208 if (!SWIG_IsOK(res1
)) {
12209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12211 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12214 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12215 wxPyEndAllowThreads(__tstate
);
12216 if (PyErr_Occurred()) SWIG_fail
;
12220 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12222 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12231 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12232 PyObject
*resultobj
= 0;
12233 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12236 PyObject
*swig_obj
[1] ;
12238 if (!args
) SWIG_fail
;
12239 swig_obj
[0] = args
;
12240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12241 if (!SWIG_IsOK(res1
)) {
12242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12244 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12248 wxPyEndAllowThreads(__tstate
);
12249 if (PyErr_Occurred()) SWIG_fail
;
12251 resultobj
= SWIG_Py_Void();
12258 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12259 PyObject
*resultobj
= 0;
12260 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12263 wxString
*arg4
= 0 ;
12270 bool temp4
= false ;
12271 PyObject
* obj0
= 0 ;
12272 PyObject
* obj1
= 0 ;
12273 PyObject
* obj2
= 0 ;
12274 PyObject
* obj3
= 0 ;
12275 char * kwnames
[] = {
12276 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12281 if (!SWIG_IsOK(res1
)) {
12282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12284 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12285 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12286 if (!SWIG_IsOK(ecode2
)) {
12287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12289 arg2
= static_cast< long >(val2
);
12290 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12291 if (!SWIG_IsOK(ecode3
)) {
12292 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12294 arg3
= static_cast< long >(val3
);
12296 arg4
= wxString_in_helper(obj3
);
12297 if (arg4
== NULL
) SWIG_fail
;
12301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12302 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12303 wxPyEndAllowThreads(__tstate
);
12304 if (PyErr_Occurred()) SWIG_fail
;
12306 resultobj
= SWIG_Py_Void();
12321 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12322 PyObject
*resultobj
= 0;
12323 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12332 PyObject
* obj0
= 0 ;
12333 PyObject
* obj1
= 0 ;
12334 PyObject
* obj2
= 0 ;
12335 char * kwnames
[] = {
12336 (char *) "self",(char *) "from",(char *) "to", NULL
12339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12341 if (!SWIG_IsOK(res1
)) {
12342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12344 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12345 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12346 if (!SWIG_IsOK(ecode2
)) {
12347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12349 arg2
= static_cast< long >(val2
);
12350 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12351 if (!SWIG_IsOK(ecode3
)) {
12352 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12354 arg3
= static_cast< long >(val3
);
12356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12357 (arg1
)->Remove(arg2
,arg3
);
12358 wxPyEndAllowThreads(__tstate
);
12359 if (PyErr_Occurred()) SWIG_fail
;
12361 resultobj
= SWIG_Py_Void();
12368 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12369 PyObject
*resultobj
= 0;
12370 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12371 wxString
*arg2
= 0 ;
12375 bool temp2
= false ;
12376 PyObject
* obj0
= 0 ;
12377 PyObject
* obj1
= 0 ;
12378 char * kwnames
[] = {
12379 (char *) "self",(char *) "file", NULL
12382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12384 if (!SWIG_IsOK(res1
)) {
12385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12387 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12389 arg2
= wxString_in_helper(obj1
);
12390 if (arg2
== NULL
) SWIG_fail
;
12394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12395 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
12396 wxPyEndAllowThreads(__tstate
);
12397 if (PyErr_Occurred()) SWIG_fail
;
12400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12416 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12417 PyObject
*resultobj
= 0;
12418 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12419 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12420 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12424 bool temp2
= false ;
12425 PyObject
* obj0
= 0 ;
12426 PyObject
* obj1
= 0 ;
12427 char * kwnames
[] = {
12428 (char *) "self",(char *) "file", NULL
12431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12433 if (!SWIG_IsOK(res1
)) {
12434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12436 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12439 arg2
= wxString_in_helper(obj1
);
12440 if (arg2
== NULL
) SWIG_fail
;
12445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12446 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
12447 wxPyEndAllowThreads(__tstate
);
12448 if (PyErr_Occurred()) SWIG_fail
;
12451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12467 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12468 PyObject
*resultobj
= 0;
12469 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12472 PyObject
*swig_obj
[1] ;
12474 if (!args
) SWIG_fail
;
12475 swig_obj
[0] = args
;
12476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12477 if (!SWIG_IsOK(res1
)) {
12478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12480 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12483 (arg1
)->MarkDirty();
12484 wxPyEndAllowThreads(__tstate
);
12485 if (PyErr_Occurred()) SWIG_fail
;
12487 resultobj
= SWIG_Py_Void();
12494 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12495 PyObject
*resultobj
= 0;
12496 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12499 PyObject
*swig_obj
[1] ;
12501 if (!args
) SWIG_fail
;
12502 swig_obj
[0] = args
;
12503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12504 if (!SWIG_IsOK(res1
)) {
12505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12507 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12510 (arg1
)->DiscardEdits();
12511 wxPyEndAllowThreads(__tstate
);
12512 if (PyErr_Occurred()) SWIG_fail
;
12514 resultobj
= SWIG_Py_Void();
12521 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12522 PyObject
*resultobj
= 0;
12523 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12529 PyObject
* obj0
= 0 ;
12530 PyObject
* obj1
= 0 ;
12531 char * kwnames
[] = {
12532 (char *) "self",(char *) "modified", NULL
12535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12537 if (!SWIG_IsOK(res1
)) {
12538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12540 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12541 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12542 if (!SWIG_IsOK(ecode2
)) {
12543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12545 arg2
= static_cast< bool >(val2
);
12547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12548 (arg1
)->SetModified(arg2
);
12549 wxPyEndAllowThreads(__tstate
);
12550 if (PyErr_Occurred()) SWIG_fail
;
12552 resultobj
= SWIG_Py_Void();
12559 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12560 PyObject
*resultobj
= 0;
12561 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12562 unsigned long arg2
;
12565 unsigned long val2
;
12567 PyObject
* obj0
= 0 ;
12568 PyObject
* obj1
= 0 ;
12569 char * kwnames
[] = {
12570 (char *) "self",(char *) "len", NULL
12573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12575 if (!SWIG_IsOK(res1
)) {
12576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12578 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12579 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12580 if (!SWIG_IsOK(ecode2
)) {
12581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12583 arg2
= static_cast< unsigned long >(val2
);
12585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12586 (arg1
)->SetMaxLength(arg2
);
12587 wxPyEndAllowThreads(__tstate
);
12588 if (PyErr_Occurred()) SWIG_fail
;
12590 resultobj
= SWIG_Py_Void();
12597 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12598 PyObject
*resultobj
= 0;
12599 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12600 wxString
*arg2
= 0 ;
12603 bool temp2
= false ;
12604 PyObject
* obj0
= 0 ;
12605 PyObject
* obj1
= 0 ;
12606 char * kwnames
[] = {
12607 (char *) "self",(char *) "text", NULL
12610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12612 if (!SWIG_IsOK(res1
)) {
12613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12615 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12617 arg2
= wxString_in_helper(obj1
);
12618 if (arg2
== NULL
) SWIG_fail
;
12622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12623 (arg1
)->WriteText((wxString
const &)*arg2
);
12624 wxPyEndAllowThreads(__tstate
);
12625 if (PyErr_Occurred()) SWIG_fail
;
12627 resultobj
= SWIG_Py_Void();
12642 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12643 PyObject
*resultobj
= 0;
12644 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12645 wxString
*arg2
= 0 ;
12648 bool temp2
= false ;
12649 PyObject
* obj0
= 0 ;
12650 PyObject
* obj1
= 0 ;
12651 char * kwnames
[] = {
12652 (char *) "self",(char *) "text", NULL
12655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12657 if (!SWIG_IsOK(res1
)) {
12658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12660 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12662 arg2
= wxString_in_helper(obj1
);
12663 if (arg2
== NULL
) SWIG_fail
;
12667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12668 (arg1
)->AppendText((wxString
const &)*arg2
);
12669 wxPyEndAllowThreads(__tstate
);
12670 if (PyErr_Occurred()) SWIG_fail
;
12672 resultobj
= SWIG_Py_Void();
12687 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12688 PyObject
*resultobj
= 0;
12689 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12690 wxKeyEvent
*arg2
= 0 ;
12696 PyObject
* obj0
= 0 ;
12697 PyObject
* obj1
= 0 ;
12698 char * kwnames
[] = {
12699 (char *) "self",(char *) "event", NULL
12702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12704 if (!SWIG_IsOK(res1
)) {
12705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12707 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12708 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12709 if (!SWIG_IsOK(res2
)) {
12710 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12713 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12715 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12718 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12719 wxPyEndAllowThreads(__tstate
);
12720 if (PyErr_Occurred()) SWIG_fail
;
12723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12731 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12732 PyObject
*resultobj
= 0;
12733 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12736 wxTextAttr
*arg4
= 0 ;
12746 PyObject
* obj0
= 0 ;
12747 PyObject
* obj1
= 0 ;
12748 PyObject
* obj2
= 0 ;
12749 PyObject
* obj3
= 0 ;
12750 char * kwnames
[] = {
12751 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12756 if (!SWIG_IsOK(res1
)) {
12757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12759 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12760 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12761 if (!SWIG_IsOK(ecode2
)) {
12762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12764 arg2
= static_cast< long >(val2
);
12765 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12766 if (!SWIG_IsOK(ecode3
)) {
12767 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12769 arg3
= static_cast< long >(val3
);
12770 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12771 if (!SWIG_IsOK(res4
)) {
12772 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12775 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12777 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12780 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12781 wxPyEndAllowThreads(__tstate
);
12782 if (PyErr_Occurred()) SWIG_fail
;
12785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12793 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12794 PyObject
*resultobj
= 0;
12795 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12797 wxTextAttr
*arg3
= 0 ;
12805 PyObject
* obj0
= 0 ;
12806 PyObject
* obj1
= 0 ;
12807 PyObject
* obj2
= 0 ;
12808 char * kwnames
[] = {
12809 (char *) "self",(char *) "position",(char *) "style", NULL
12812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12814 if (!SWIG_IsOK(res1
)) {
12815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12817 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12818 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12819 if (!SWIG_IsOK(ecode2
)) {
12820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12822 arg2
= static_cast< long >(val2
);
12823 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12824 if (!SWIG_IsOK(res3
)) {
12825 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12830 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12833 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12834 wxPyEndAllowThreads(__tstate
);
12835 if (PyErr_Occurred()) SWIG_fail
;
12838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12846 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12847 PyObject
*resultobj
= 0;
12848 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12849 wxTextAttr
*arg2
= 0 ;
12855 PyObject
* obj0
= 0 ;
12856 PyObject
* obj1
= 0 ;
12857 char * kwnames
[] = {
12858 (char *) "self",(char *) "style", NULL
12861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12863 if (!SWIG_IsOK(res1
)) {
12864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12866 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12867 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12868 if (!SWIG_IsOK(res2
)) {
12869 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12872 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12874 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12877 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
12878 wxPyEndAllowThreads(__tstate
);
12879 if (PyErr_Occurred()) SWIG_fail
;
12882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12890 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12891 PyObject
*resultobj
= 0;
12892 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12893 wxTextAttr
*result
= 0 ;
12896 PyObject
*swig_obj
[1] ;
12898 if (!args
) SWIG_fail
;
12899 swig_obj
[0] = args
;
12900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12901 if (!SWIG_IsOK(res1
)) {
12902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12904 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12908 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
12909 result
= (wxTextAttr
*) &_result_ref
;
12911 wxPyEndAllowThreads(__tstate
);
12912 if (PyErr_Occurred()) SWIG_fail
;
12914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
12921 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12922 PyObject
*resultobj
= 0;
12923 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12933 PyObject
* obj0
= 0 ;
12934 PyObject
* obj1
= 0 ;
12935 PyObject
* obj2
= 0 ;
12936 char * kwnames
[] = {
12937 (char *) "self",(char *) "x",(char *) "y", NULL
12940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12942 if (!SWIG_IsOK(res1
)) {
12943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12945 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12946 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12947 if (!SWIG_IsOK(ecode2
)) {
12948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
12950 arg2
= static_cast< long >(val2
);
12951 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12952 if (!SWIG_IsOK(ecode3
)) {
12953 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
12955 arg3
= static_cast< long >(val3
);
12957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12958 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
12959 wxPyEndAllowThreads(__tstate
);
12960 if (PyErr_Occurred()) SWIG_fail
;
12962 resultobj
= SWIG_From_long(static_cast< long >(result
));
12969 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12970 PyObject
*resultobj
= 0;
12971 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12973 long *arg3
= (long *) 0 ;
12974 long *arg4
= (long *) 0 ;
12980 int res3
= SWIG_TMPOBJ
;
12982 int res4
= SWIG_TMPOBJ
;
12983 PyObject
* obj0
= 0 ;
12984 PyObject
* obj1
= 0 ;
12985 char * kwnames
[] = {
12986 (char *) "self",(char *) "pos", NULL
12991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12993 if (!SWIG_IsOK(res1
)) {
12994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12996 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12997 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12998 if (!SWIG_IsOK(ecode2
)) {
12999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13001 arg2
= static_cast< long >(val2
);
13003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13004 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13005 wxPyEndAllowThreads(__tstate
);
13006 if (PyErr_Occurred()) SWIG_fail
;
13008 resultobj
= SWIG_Py_Void();
13009 if (SWIG_IsTmpObj(res3
)) {
13010 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13012 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13013 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13015 if (SWIG_IsTmpObj(res4
)) {
13016 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13018 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13019 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13027 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13028 PyObject
*resultobj
= 0;
13029 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13035 PyObject
* obj0
= 0 ;
13036 PyObject
* obj1
= 0 ;
13037 char * kwnames
[] = {
13038 (char *) "self",(char *) "pos", NULL
13041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13043 if (!SWIG_IsOK(res1
)) {
13044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13046 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13047 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13048 if (!SWIG_IsOK(ecode2
)) {
13049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13051 arg2
= static_cast< long >(val2
);
13053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13054 (arg1
)->ShowPosition(arg2
);
13055 wxPyEndAllowThreads(__tstate
);
13056 if (PyErr_Occurred()) SWIG_fail
;
13058 resultobj
= SWIG_Py_Void();
13065 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13066 PyObject
*resultobj
= 0;
13067 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13068 wxPoint
*arg2
= 0 ;
13069 long *arg3
= (long *) 0 ;
13070 long *arg4
= (long *) 0 ;
13071 wxTextCtrlHitTestResult result
;
13076 int res3
= SWIG_TMPOBJ
;
13078 int res4
= SWIG_TMPOBJ
;
13079 PyObject
* obj0
= 0 ;
13080 PyObject
* obj1
= 0 ;
13081 char * kwnames
[] = {
13082 (char *) "self",(char *) "pt", NULL
13087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13089 if (!SWIG_IsOK(res1
)) {
13090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13092 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13095 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13099 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13100 wxPyEndAllowThreads(__tstate
);
13101 if (PyErr_Occurred()) SWIG_fail
;
13103 resultobj
= SWIG_From_int(static_cast< int >(result
));
13104 if (SWIG_IsTmpObj(res3
)) {
13105 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13107 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13108 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13110 if (SWIG_IsTmpObj(res4
)) {
13111 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13113 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13114 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13122 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13123 PyObject
*resultobj
= 0;
13124 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13125 wxPoint
*arg2
= 0 ;
13126 long *arg3
= (long *) 0 ;
13127 wxTextCtrlHitTestResult result
;
13132 int res3
= SWIG_TMPOBJ
;
13133 PyObject
* obj0
= 0 ;
13134 PyObject
* obj1
= 0 ;
13135 char * kwnames
[] = {
13136 (char *) "self",(char *) "pt", NULL
13140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13142 if (!SWIG_IsOK(res1
)) {
13143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13145 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13148 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13152 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13153 wxPyEndAllowThreads(__tstate
);
13154 if (PyErr_Occurred()) SWIG_fail
;
13156 resultobj
= SWIG_From_int(static_cast< int >(result
));
13157 if (SWIG_IsTmpObj(res3
)) {
13158 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13160 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13161 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13169 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13170 PyObject
*resultobj
= 0;
13171 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13174 PyObject
*swig_obj
[1] ;
13176 if (!args
) SWIG_fail
;
13177 swig_obj
[0] = args
;
13178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13179 if (!SWIG_IsOK(res1
)) {
13180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13182 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13186 wxPyEndAllowThreads(__tstate
);
13187 if (PyErr_Occurred()) SWIG_fail
;
13189 resultobj
= SWIG_Py_Void();
13196 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13197 PyObject
*resultobj
= 0;
13198 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13201 PyObject
*swig_obj
[1] ;
13203 if (!args
) SWIG_fail
;
13204 swig_obj
[0] = args
;
13205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13206 if (!SWIG_IsOK(res1
)) {
13207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13209 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13213 wxPyEndAllowThreads(__tstate
);
13214 if (PyErr_Occurred()) SWIG_fail
;
13216 resultobj
= SWIG_Py_Void();
13223 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13224 PyObject
*resultobj
= 0;
13225 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13228 PyObject
*swig_obj
[1] ;
13230 if (!args
) SWIG_fail
;
13231 swig_obj
[0] = args
;
13232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13233 if (!SWIG_IsOK(res1
)) {
13234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13236 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13240 wxPyEndAllowThreads(__tstate
);
13241 if (PyErr_Occurred()) SWIG_fail
;
13243 resultobj
= SWIG_Py_Void();
13250 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13251 PyObject
*resultobj
= 0;
13252 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13256 PyObject
*swig_obj
[1] ;
13258 if (!args
) SWIG_fail
;
13259 swig_obj
[0] = args
;
13260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13261 if (!SWIG_IsOK(res1
)) {
13262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13264 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13267 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13268 wxPyEndAllowThreads(__tstate
);
13269 if (PyErr_Occurred()) SWIG_fail
;
13272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13280 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13281 PyObject
*resultobj
= 0;
13282 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13286 PyObject
*swig_obj
[1] ;
13288 if (!args
) SWIG_fail
;
13289 swig_obj
[0] = args
;
13290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13291 if (!SWIG_IsOK(res1
)) {
13292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13294 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13297 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13298 wxPyEndAllowThreads(__tstate
);
13299 if (PyErr_Occurred()) SWIG_fail
;
13302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13310 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13311 PyObject
*resultobj
= 0;
13312 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13316 PyObject
*swig_obj
[1] ;
13318 if (!args
) SWIG_fail
;
13319 swig_obj
[0] = args
;
13320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13321 if (!SWIG_IsOK(res1
)) {
13322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13324 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13327 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13328 wxPyEndAllowThreads(__tstate
);
13329 if (PyErr_Occurred()) SWIG_fail
;
13332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13340 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13341 PyObject
*resultobj
= 0;
13342 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13345 PyObject
*swig_obj
[1] ;
13347 if (!args
) SWIG_fail
;
13348 swig_obj
[0] = args
;
13349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13350 if (!SWIG_IsOK(res1
)) {
13351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13353 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13357 wxPyEndAllowThreads(__tstate
);
13358 if (PyErr_Occurred()) SWIG_fail
;
13360 resultobj
= SWIG_Py_Void();
13367 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13368 PyObject
*resultobj
= 0;
13369 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13372 PyObject
*swig_obj
[1] ;
13374 if (!args
) SWIG_fail
;
13375 swig_obj
[0] = args
;
13376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13377 if (!SWIG_IsOK(res1
)) {
13378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13380 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13384 wxPyEndAllowThreads(__tstate
);
13385 if (PyErr_Occurred()) SWIG_fail
;
13387 resultobj
= SWIG_Py_Void();
13394 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13395 PyObject
*resultobj
= 0;
13396 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13400 PyObject
*swig_obj
[1] ;
13402 if (!args
) SWIG_fail
;
13403 swig_obj
[0] = args
;
13404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13405 if (!SWIG_IsOK(res1
)) {
13406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13408 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13411 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13412 wxPyEndAllowThreads(__tstate
);
13413 if (PyErr_Occurred()) SWIG_fail
;
13416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13424 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13425 PyObject
*resultobj
= 0;
13426 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13430 PyObject
*swig_obj
[1] ;
13432 if (!args
) SWIG_fail
;
13433 swig_obj
[0] = args
;
13434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13435 if (!SWIG_IsOK(res1
)) {
13436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13438 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13441 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13442 wxPyEndAllowThreads(__tstate
);
13443 if (PyErr_Occurred()) SWIG_fail
;
13446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13454 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13455 PyObject
*resultobj
= 0;
13456 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13462 PyObject
* obj0
= 0 ;
13463 PyObject
* obj1
= 0 ;
13464 char * kwnames
[] = {
13465 (char *) "self",(char *) "pos", NULL
13468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13470 if (!SWIG_IsOK(res1
)) {
13471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13473 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13474 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13475 if (!SWIG_IsOK(ecode2
)) {
13476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13478 arg2
= static_cast< long >(val2
);
13480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13481 (arg1
)->SetInsertionPoint(arg2
);
13482 wxPyEndAllowThreads(__tstate
);
13483 if (PyErr_Occurred()) SWIG_fail
;
13485 resultobj
= SWIG_Py_Void();
13492 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13493 PyObject
*resultobj
= 0;
13494 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13497 PyObject
*swig_obj
[1] ;
13499 if (!args
) SWIG_fail
;
13500 swig_obj
[0] = args
;
13501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13502 if (!SWIG_IsOK(res1
)) {
13503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13505 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13508 (arg1
)->SetInsertionPointEnd();
13509 wxPyEndAllowThreads(__tstate
);
13510 if (PyErr_Occurred()) SWIG_fail
;
13512 resultobj
= SWIG_Py_Void();
13519 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13520 PyObject
*resultobj
= 0;
13521 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13525 PyObject
*swig_obj
[1] ;
13527 if (!args
) SWIG_fail
;
13528 swig_obj
[0] = args
;
13529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13530 if (!SWIG_IsOK(res1
)) {
13531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13533 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13536 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13537 wxPyEndAllowThreads(__tstate
);
13538 if (PyErr_Occurred()) SWIG_fail
;
13540 resultobj
= SWIG_From_long(static_cast< long >(result
));
13547 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13548 PyObject
*resultobj
= 0;
13549 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13553 PyObject
*swig_obj
[1] ;
13555 if (!args
) SWIG_fail
;
13556 swig_obj
[0] = args
;
13557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13558 if (!SWIG_IsOK(res1
)) {
13559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13561 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13564 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13565 wxPyEndAllowThreads(__tstate
);
13566 if (PyErr_Occurred()) SWIG_fail
;
13568 resultobj
= SWIG_From_long(static_cast< long >(result
));
13575 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13576 PyObject
*resultobj
= 0;
13577 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13586 PyObject
* obj0
= 0 ;
13587 PyObject
* obj1
= 0 ;
13588 PyObject
* obj2
= 0 ;
13589 char * kwnames
[] = {
13590 (char *) "self",(char *) "from",(char *) "to", NULL
13593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13595 if (!SWIG_IsOK(res1
)) {
13596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13598 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13599 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13600 if (!SWIG_IsOK(ecode2
)) {
13601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13603 arg2
= static_cast< long >(val2
);
13604 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13605 if (!SWIG_IsOK(ecode3
)) {
13606 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13608 arg3
= static_cast< long >(val3
);
13610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13611 (arg1
)->SetSelection(arg2
,arg3
);
13612 wxPyEndAllowThreads(__tstate
);
13613 if (PyErr_Occurred()) SWIG_fail
;
13615 resultobj
= SWIG_Py_Void();
13622 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13623 PyObject
*resultobj
= 0;
13624 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13627 PyObject
*swig_obj
[1] ;
13629 if (!args
) SWIG_fail
;
13630 swig_obj
[0] = args
;
13631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13632 if (!SWIG_IsOK(res1
)) {
13633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13635 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13638 (arg1
)->SelectAll();
13639 wxPyEndAllowThreads(__tstate
);
13640 if (PyErr_Occurred()) SWIG_fail
;
13642 resultobj
= SWIG_Py_Void();
13649 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13650 PyObject
*resultobj
= 0;
13651 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13657 PyObject
* obj0
= 0 ;
13658 PyObject
* obj1
= 0 ;
13659 char * kwnames
[] = {
13660 (char *) "self",(char *) "editable", NULL
13663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13665 if (!SWIG_IsOK(res1
)) {
13666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13668 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13669 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13670 if (!SWIG_IsOK(ecode2
)) {
13671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13673 arg2
= static_cast< bool >(val2
);
13675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13676 (arg1
)->SetEditable(arg2
);
13677 wxPyEndAllowThreads(__tstate
);
13678 if (PyErr_Occurred()) SWIG_fail
;
13680 resultobj
= SWIG_Py_Void();
13687 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13688 PyObject
*resultobj
= 0;
13689 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13690 wxString
*arg2
= 0 ;
13693 bool temp2
= false ;
13694 PyObject
* obj0
= 0 ;
13695 PyObject
* obj1
= 0 ;
13696 char * kwnames
[] = {
13697 (char *) "self",(char *) "text", NULL
13700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13702 if (!SWIG_IsOK(res1
)) {
13703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13705 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13707 arg2
= wxString_in_helper(obj1
);
13708 if (arg2
== NULL
) SWIG_fail
;
13712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13713 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13714 wxPyEndAllowThreads(__tstate
);
13715 if (PyErr_Occurred()) SWIG_fail
;
13717 resultobj
= SWIG_Py_Void();
13732 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13733 PyObject
*resultobj
= 0;
13734 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13744 PyObject
* obj0
= 0 ;
13745 PyObject
* obj1
= 0 ;
13746 PyObject
* obj2
= 0 ;
13747 char * kwnames
[] = {
13748 (char *) "self",(char *) "from",(char *) "to", NULL
13751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13753 if (!SWIG_IsOK(res1
)) {
13754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13756 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13757 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13758 if (!SWIG_IsOK(ecode2
)) {
13759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13761 arg2
= static_cast< long >(val2
);
13762 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13763 if (!SWIG_IsOK(ecode3
)) {
13764 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13766 arg3
= static_cast< long >(val3
);
13768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13769 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13770 wxPyEndAllowThreads(__tstate
);
13771 if (PyErr_Occurred()) SWIG_fail
;
13775 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13777 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13786 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13787 PyObject
*resultobj
= 0;
13788 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13789 SwigValueWrapper
<wxVisualAttributes
> result
;
13792 PyObject
* obj0
= 0 ;
13793 char * kwnames
[] = {
13794 (char *) "variant", NULL
13797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13799 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13800 if (!SWIG_IsOK(ecode1
)) {
13801 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13803 arg1
= static_cast< wxWindowVariant
>(val1
);
13806 if (!wxPyCheckForApp()) SWIG_fail
;
13807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13808 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13809 wxPyEndAllowThreads(__tstate
);
13810 if (PyErr_Occurred()) SWIG_fail
;
13812 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13819 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13821 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13822 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13823 return SWIG_Py_Void();
13826 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13827 return SWIG_Python_InitShadowInstance(args
);
13830 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13831 PyObject
*resultobj
= 0;
13833 wxMouseEvent
*arg2
= 0 ;
13836 wxTextUrlEvent
*result
= 0 ;
13845 PyObject
* obj0
= 0 ;
13846 PyObject
* obj1
= 0 ;
13847 PyObject
* obj2
= 0 ;
13848 PyObject
* obj3
= 0 ;
13849 char * kwnames
[] = {
13850 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
13853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13854 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13855 if (!SWIG_IsOK(ecode1
)) {
13856 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
13858 arg1
= static_cast< int >(val1
);
13859 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
13860 if (!SWIG_IsOK(res2
)) {
13861 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13864 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13866 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
13867 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13868 if (!SWIG_IsOK(ecode3
)) {
13869 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
13871 arg3
= static_cast< long >(val3
);
13872 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
13873 if (!SWIG_IsOK(ecode4
)) {
13874 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
13876 arg4
= static_cast< long >(val4
);
13878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13879 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
13880 wxPyEndAllowThreads(__tstate
);
13881 if (PyErr_Occurred()) SWIG_fail
;
13883 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
13890 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13891 PyObject
*resultobj
= 0;
13892 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13893 wxMouseEvent
*result
= 0 ;
13896 PyObject
*swig_obj
[1] ;
13898 if (!args
) SWIG_fail
;
13899 swig_obj
[0] = args
;
13900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13901 if (!SWIG_IsOK(res1
)) {
13902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
13904 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13908 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
13909 result
= (wxMouseEvent
*) &_result_ref
;
13911 wxPyEndAllowThreads(__tstate
);
13912 if (PyErr_Occurred()) SWIG_fail
;
13914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
13921 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13922 PyObject
*resultobj
= 0;
13923 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13927 PyObject
*swig_obj
[1] ;
13929 if (!args
) SWIG_fail
;
13930 swig_obj
[0] = args
;
13931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13932 if (!SWIG_IsOK(res1
)) {
13933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13935 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13938 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
13939 wxPyEndAllowThreads(__tstate
);
13940 if (PyErr_Occurred()) SWIG_fail
;
13942 resultobj
= SWIG_From_long(static_cast< long >(result
));
13949 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13950 PyObject
*resultobj
= 0;
13951 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13955 PyObject
*swig_obj
[1] ;
13957 if (!args
) SWIG_fail
;
13958 swig_obj
[0] = args
;
13959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13960 if (!SWIG_IsOK(res1
)) {
13961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13963 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13966 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
13967 wxPyEndAllowThreads(__tstate
);
13968 if (PyErr_Occurred()) SWIG_fail
;
13970 resultobj
= SWIG_From_long(static_cast< long >(result
));
13977 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13979 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13980 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
13981 return SWIG_Py_Void();
13984 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13985 return SWIG_Python_InitShadowInstance(args
);
13988 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
13989 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
13994 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
13995 PyObject
*pyobj
= 0;
13999 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14001 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14008 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14009 PyObject
*resultobj
= 0;
14010 wxWindow
*arg1
= (wxWindow
*) 0 ;
14011 int arg2
= (int) -1 ;
14012 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14013 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14014 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14015 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14016 long arg5
= (long) wxSB_HORIZONTAL
;
14017 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14018 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14019 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14020 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14021 wxScrollBar
*result
= 0 ;
14032 bool temp7
= false ;
14033 PyObject
* obj0
= 0 ;
14034 PyObject
* obj1
= 0 ;
14035 PyObject
* obj2
= 0 ;
14036 PyObject
* obj3
= 0 ;
14037 PyObject
* obj4
= 0 ;
14038 PyObject
* obj5
= 0 ;
14039 PyObject
* obj6
= 0 ;
14040 char * kwnames
[] = {
14041 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14046 if (!SWIG_IsOK(res1
)) {
14047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14049 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14051 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14052 if (!SWIG_IsOK(ecode2
)) {
14053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14055 arg2
= static_cast< int >(val2
);
14060 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14066 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14070 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14071 if (!SWIG_IsOK(ecode5
)) {
14072 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14074 arg5
= static_cast< long >(val5
);
14077 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14078 if (!SWIG_IsOK(res6
)) {
14079 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14082 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14084 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14088 arg7
= wxString_in_helper(obj6
);
14089 if (arg7
== NULL
) SWIG_fail
;
14094 if (!wxPyCheckForApp()) SWIG_fail
;
14095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14096 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14097 wxPyEndAllowThreads(__tstate
);
14098 if (PyErr_Occurred()) SWIG_fail
;
14100 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14115 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14116 PyObject
*resultobj
= 0;
14117 wxScrollBar
*result
= 0 ;
14119 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14121 if (!wxPyCheckForApp()) SWIG_fail
;
14122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14123 result
= (wxScrollBar
*)new wxScrollBar();
14124 wxPyEndAllowThreads(__tstate
);
14125 if (PyErr_Occurred()) SWIG_fail
;
14127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14134 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14135 PyObject
*resultobj
= 0;
14136 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14137 wxWindow
*arg2
= (wxWindow
*) 0 ;
14138 int arg3
= (int) -1 ;
14139 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14140 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14141 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14142 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14143 long arg6
= (long) wxSB_HORIZONTAL
;
14144 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14145 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14146 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14147 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14161 bool temp8
= false ;
14162 PyObject
* obj0
= 0 ;
14163 PyObject
* obj1
= 0 ;
14164 PyObject
* obj2
= 0 ;
14165 PyObject
* obj3
= 0 ;
14166 PyObject
* obj4
= 0 ;
14167 PyObject
* obj5
= 0 ;
14168 PyObject
* obj6
= 0 ;
14169 PyObject
* obj7
= 0 ;
14170 char * kwnames
[] = {
14171 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14176 if (!SWIG_IsOK(res1
)) {
14177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14179 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14180 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14181 if (!SWIG_IsOK(res2
)) {
14182 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14184 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14186 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14187 if (!SWIG_IsOK(ecode3
)) {
14188 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14190 arg3
= static_cast< int >(val3
);
14195 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14201 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14205 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14206 if (!SWIG_IsOK(ecode6
)) {
14207 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14209 arg6
= static_cast< long >(val6
);
14212 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14213 if (!SWIG_IsOK(res7
)) {
14214 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14217 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14219 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14223 arg8
= wxString_in_helper(obj7
);
14224 if (arg8
== NULL
) SWIG_fail
;
14229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14230 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14231 wxPyEndAllowThreads(__tstate
);
14232 if (PyErr_Occurred()) SWIG_fail
;
14235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14251 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14252 PyObject
*resultobj
= 0;
14253 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14257 PyObject
*swig_obj
[1] ;
14259 if (!args
) SWIG_fail
;
14260 swig_obj
[0] = args
;
14261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14262 if (!SWIG_IsOK(res1
)) {
14263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14265 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14268 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14269 wxPyEndAllowThreads(__tstate
);
14270 if (PyErr_Occurred()) SWIG_fail
;
14272 resultobj
= SWIG_From_int(static_cast< int >(result
));
14279 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14280 PyObject
*resultobj
= 0;
14281 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14285 PyObject
*swig_obj
[1] ;
14287 if (!args
) SWIG_fail
;
14288 swig_obj
[0] = args
;
14289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14290 if (!SWIG_IsOK(res1
)) {
14291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14293 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14296 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14297 wxPyEndAllowThreads(__tstate
);
14298 if (PyErr_Occurred()) SWIG_fail
;
14300 resultobj
= SWIG_From_int(static_cast< int >(result
));
14307 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14308 PyObject
*resultobj
= 0;
14309 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14313 PyObject
*swig_obj
[1] ;
14315 if (!args
) SWIG_fail
;
14316 swig_obj
[0] = args
;
14317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14318 if (!SWIG_IsOK(res1
)) {
14319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14321 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14324 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14325 wxPyEndAllowThreads(__tstate
);
14326 if (PyErr_Occurred()) SWIG_fail
;
14328 resultobj
= SWIG_From_int(static_cast< int >(result
));
14335 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14336 PyObject
*resultobj
= 0;
14337 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14341 PyObject
*swig_obj
[1] ;
14343 if (!args
) SWIG_fail
;
14344 swig_obj
[0] = args
;
14345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14346 if (!SWIG_IsOK(res1
)) {
14347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14349 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14352 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14353 wxPyEndAllowThreads(__tstate
);
14354 if (PyErr_Occurred()) SWIG_fail
;
14356 resultobj
= SWIG_From_int(static_cast< int >(result
));
14363 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14364 PyObject
*resultobj
= 0;
14365 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14369 PyObject
*swig_obj
[1] ;
14371 if (!args
) SWIG_fail
;
14372 swig_obj
[0] = args
;
14373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14374 if (!SWIG_IsOK(res1
)) {
14375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14377 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14380 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14381 wxPyEndAllowThreads(__tstate
);
14382 if (PyErr_Occurred()) SWIG_fail
;
14385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14393 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14394 PyObject
*resultobj
= 0;
14395 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14401 PyObject
* obj0
= 0 ;
14402 PyObject
* obj1
= 0 ;
14403 char * kwnames
[] = {
14404 (char *) "self",(char *) "viewStart", NULL
14407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14409 if (!SWIG_IsOK(res1
)) {
14410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14412 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14413 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14414 if (!SWIG_IsOK(ecode2
)) {
14415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14417 arg2
= static_cast< int >(val2
);
14419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14420 (arg1
)->SetThumbPosition(arg2
);
14421 wxPyEndAllowThreads(__tstate
);
14422 if (PyErr_Occurred()) SWIG_fail
;
14424 resultobj
= SWIG_Py_Void();
14431 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14432 PyObject
*resultobj
= 0;
14433 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14434 SwigValueWrapper
<wxVisualAttributes
> result
;
14437 PyObject
* obj0
= 0 ;
14438 char * kwnames
[] = {
14439 (char *) "variant", NULL
14442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14444 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14445 if (!SWIG_IsOK(ecode1
)) {
14446 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14448 arg1
= static_cast< wxWindowVariant
>(val1
);
14451 if (!wxPyCheckForApp()) SWIG_fail
;
14452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14453 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14454 wxPyEndAllowThreads(__tstate
);
14455 if (PyErr_Occurred()) SWIG_fail
;
14457 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14464 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14466 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14467 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14468 return SWIG_Py_Void();
14471 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14472 return SWIG_Python_InitShadowInstance(args
);
14475 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14476 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14481 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14482 PyObject
*pyobj
= 0;
14486 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14488 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14495 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14496 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14501 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14502 PyObject
*pyobj
= 0;
14506 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14508 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14515 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14516 PyObject
*resultobj
= 0;
14517 wxWindow
*arg1
= (wxWindow
*) 0 ;
14518 int arg2
= (int) -1 ;
14519 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14520 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14521 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14522 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14523 long arg5
= (long) wxSP_HORIZONTAL
;
14524 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14525 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14526 wxSpinButton
*result
= 0 ;
14535 bool temp6
= false ;
14536 PyObject
* obj0
= 0 ;
14537 PyObject
* obj1
= 0 ;
14538 PyObject
* obj2
= 0 ;
14539 PyObject
* obj3
= 0 ;
14540 PyObject
* obj4
= 0 ;
14541 PyObject
* obj5
= 0 ;
14542 char * kwnames
[] = {
14543 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14548 if (!SWIG_IsOK(res1
)) {
14549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14551 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14553 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14554 if (!SWIG_IsOK(ecode2
)) {
14555 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14557 arg2
= static_cast< int >(val2
);
14562 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14568 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14572 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14573 if (!SWIG_IsOK(ecode5
)) {
14574 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14576 arg5
= static_cast< long >(val5
);
14580 arg6
= wxString_in_helper(obj5
);
14581 if (arg6
== NULL
) SWIG_fail
;
14586 if (!wxPyCheckForApp()) SWIG_fail
;
14587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14588 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14589 wxPyEndAllowThreads(__tstate
);
14590 if (PyErr_Occurred()) SWIG_fail
;
14592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14607 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14608 PyObject
*resultobj
= 0;
14609 wxSpinButton
*result
= 0 ;
14611 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14613 if (!wxPyCheckForApp()) SWIG_fail
;
14614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14615 result
= (wxSpinButton
*)new wxSpinButton();
14616 wxPyEndAllowThreads(__tstate
);
14617 if (PyErr_Occurred()) SWIG_fail
;
14619 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14626 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14627 PyObject
*resultobj
= 0;
14628 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14629 wxWindow
*arg2
= (wxWindow
*) 0 ;
14630 int arg3
= (int) -1 ;
14631 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14632 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14633 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14634 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14635 long arg6
= (long) wxSP_HORIZONTAL
;
14636 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14637 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14649 bool temp7
= false ;
14650 PyObject
* obj0
= 0 ;
14651 PyObject
* obj1
= 0 ;
14652 PyObject
* obj2
= 0 ;
14653 PyObject
* obj3
= 0 ;
14654 PyObject
* obj4
= 0 ;
14655 PyObject
* obj5
= 0 ;
14656 PyObject
* obj6
= 0 ;
14657 char * kwnames
[] = {
14658 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14663 if (!SWIG_IsOK(res1
)) {
14664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14666 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14667 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14668 if (!SWIG_IsOK(res2
)) {
14669 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14671 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14673 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14674 if (!SWIG_IsOK(ecode3
)) {
14675 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14677 arg3
= static_cast< int >(val3
);
14682 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14688 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14692 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14693 if (!SWIG_IsOK(ecode6
)) {
14694 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14696 arg6
= static_cast< long >(val6
);
14700 arg7
= wxString_in_helper(obj6
);
14701 if (arg7
== NULL
) SWIG_fail
;
14706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14707 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14708 wxPyEndAllowThreads(__tstate
);
14709 if (PyErr_Occurred()) SWIG_fail
;
14712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14728 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14729 PyObject
*resultobj
= 0;
14730 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14734 PyObject
*swig_obj
[1] ;
14736 if (!args
) SWIG_fail
;
14737 swig_obj
[0] = args
;
14738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14739 if (!SWIG_IsOK(res1
)) {
14740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14742 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14745 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14746 wxPyEndAllowThreads(__tstate
);
14747 if (PyErr_Occurred()) SWIG_fail
;
14749 resultobj
= SWIG_From_int(static_cast< int >(result
));
14756 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14757 PyObject
*resultobj
= 0;
14758 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14762 PyObject
*swig_obj
[1] ;
14764 if (!args
) SWIG_fail
;
14765 swig_obj
[0] = args
;
14766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14767 if (!SWIG_IsOK(res1
)) {
14768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14770 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14773 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14774 wxPyEndAllowThreads(__tstate
);
14775 if (PyErr_Occurred()) SWIG_fail
;
14777 resultobj
= SWIG_From_int(static_cast< int >(result
));
14784 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14785 PyObject
*resultobj
= 0;
14786 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14790 PyObject
*swig_obj
[1] ;
14792 if (!args
) SWIG_fail
;
14793 swig_obj
[0] = args
;
14794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14795 if (!SWIG_IsOK(res1
)) {
14796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14798 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14801 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14802 wxPyEndAllowThreads(__tstate
);
14803 if (PyErr_Occurred()) SWIG_fail
;
14805 resultobj
= SWIG_From_int(static_cast< int >(result
));
14812 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14813 PyObject
*resultobj
= 0;
14814 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14820 PyObject
* obj0
= 0 ;
14821 PyObject
* obj1
= 0 ;
14822 char * kwnames
[] = {
14823 (char *) "self",(char *) "val", NULL
14826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14828 if (!SWIG_IsOK(res1
)) {
14829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14831 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14833 if (!SWIG_IsOK(ecode2
)) {
14834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14836 arg2
= static_cast< int >(val2
);
14838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14839 (arg1
)->SetValue(arg2
);
14840 wxPyEndAllowThreads(__tstate
);
14841 if (PyErr_Occurred()) SWIG_fail
;
14843 resultobj
= SWIG_Py_Void();
14850 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14851 PyObject
*resultobj
= 0;
14852 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14858 PyObject
* obj0
= 0 ;
14859 PyObject
* obj1
= 0 ;
14860 char * kwnames
[] = {
14861 (char *) "self",(char *) "minVal", NULL
14864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14866 if (!SWIG_IsOK(res1
)) {
14867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14869 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14871 if (!SWIG_IsOK(ecode2
)) {
14872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
14874 arg2
= static_cast< int >(val2
);
14876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14877 (arg1
)->SetMin(arg2
);
14878 wxPyEndAllowThreads(__tstate
);
14879 if (PyErr_Occurred()) SWIG_fail
;
14881 resultobj
= SWIG_Py_Void();
14888 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14889 PyObject
*resultobj
= 0;
14890 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14896 PyObject
* obj0
= 0 ;
14897 PyObject
* obj1
= 0 ;
14898 char * kwnames
[] = {
14899 (char *) "self",(char *) "maxVal", NULL
14902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14904 if (!SWIG_IsOK(res1
)) {
14905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14907 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14909 if (!SWIG_IsOK(ecode2
)) {
14910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
14912 arg2
= static_cast< int >(val2
);
14914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14915 (arg1
)->SetMax(arg2
);
14916 wxPyEndAllowThreads(__tstate
);
14917 if (PyErr_Occurred()) SWIG_fail
;
14919 resultobj
= SWIG_Py_Void();
14926 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14927 PyObject
*resultobj
= 0;
14928 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14937 PyObject
* obj0
= 0 ;
14938 PyObject
* obj1
= 0 ;
14939 PyObject
* obj2
= 0 ;
14940 char * kwnames
[] = {
14941 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
14944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14946 if (!SWIG_IsOK(res1
)) {
14947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14949 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14950 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14951 if (!SWIG_IsOK(ecode2
)) {
14952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
14954 arg2
= static_cast< int >(val2
);
14955 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14956 if (!SWIG_IsOK(ecode3
)) {
14957 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
14959 arg3
= static_cast< int >(val3
);
14961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14962 (arg1
)->SetRange(arg2
,arg3
);
14963 wxPyEndAllowThreads(__tstate
);
14964 if (PyErr_Occurred()) SWIG_fail
;
14966 resultobj
= SWIG_Py_Void();
14973 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14974 PyObject
*resultobj
= 0;
14975 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14979 PyObject
*swig_obj
[1] ;
14981 if (!args
) SWIG_fail
;
14982 swig_obj
[0] = args
;
14983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14984 if (!SWIG_IsOK(res1
)) {
14985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14987 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14990 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
14991 wxPyEndAllowThreads(__tstate
);
14992 if (PyErr_Occurred()) SWIG_fail
;
14995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15003 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15004 PyObject
*resultobj
= 0;
15005 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15006 SwigValueWrapper
<wxVisualAttributes
> result
;
15009 PyObject
* obj0
= 0 ;
15010 char * kwnames
[] = {
15011 (char *) "variant", NULL
15014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15016 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15017 if (!SWIG_IsOK(ecode1
)) {
15018 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15020 arg1
= static_cast< wxWindowVariant
>(val1
);
15023 if (!wxPyCheckForApp()) SWIG_fail
;
15024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15025 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15026 wxPyEndAllowThreads(__tstate
);
15027 if (PyErr_Occurred()) SWIG_fail
;
15029 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15036 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15038 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15039 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15040 return SWIG_Py_Void();
15043 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15044 return SWIG_Python_InitShadowInstance(args
);
15047 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15048 PyObject
*resultobj
= 0;
15049 wxWindow
*arg1
= (wxWindow
*) 0 ;
15050 int arg2
= (int) -1 ;
15051 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15052 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15053 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15054 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15055 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15056 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15057 long arg6
= (long) wxSP_ARROW_KEYS
;
15058 int arg7
= (int) 0 ;
15059 int arg8
= (int) 100 ;
15060 int arg9
= (int) 0 ;
15061 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15062 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15063 wxSpinCtrl
*result
= 0 ;
15068 bool temp3
= false ;
15079 bool temp10
= false ;
15080 PyObject
* obj0
= 0 ;
15081 PyObject
* obj1
= 0 ;
15082 PyObject
* obj2
= 0 ;
15083 PyObject
* obj3
= 0 ;
15084 PyObject
* obj4
= 0 ;
15085 PyObject
* obj5
= 0 ;
15086 PyObject
* obj6
= 0 ;
15087 PyObject
* obj7
= 0 ;
15088 PyObject
* obj8
= 0 ;
15089 PyObject
* obj9
= 0 ;
15090 char * kwnames
[] = {
15091 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15096 if (!SWIG_IsOK(res1
)) {
15097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15099 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15102 if (!SWIG_IsOK(ecode2
)) {
15103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15105 arg2
= static_cast< int >(val2
);
15109 arg3
= wxString_in_helper(obj2
);
15110 if (arg3
== NULL
) SWIG_fail
;
15117 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15123 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15127 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15128 if (!SWIG_IsOK(ecode6
)) {
15129 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15131 arg6
= static_cast< long >(val6
);
15134 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15135 if (!SWIG_IsOK(ecode7
)) {
15136 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15138 arg7
= static_cast< int >(val7
);
15141 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15142 if (!SWIG_IsOK(ecode8
)) {
15143 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15145 arg8
= static_cast< int >(val8
);
15148 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15149 if (!SWIG_IsOK(ecode9
)) {
15150 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15152 arg9
= static_cast< int >(val9
);
15156 arg10
= wxString_in_helper(obj9
);
15157 if (arg10
== NULL
) SWIG_fail
;
15162 if (!wxPyCheckForApp()) SWIG_fail
;
15163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15164 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15165 wxPyEndAllowThreads(__tstate
);
15166 if (PyErr_Occurred()) SWIG_fail
;
15168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15191 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15192 PyObject
*resultobj
= 0;
15193 wxSpinCtrl
*result
= 0 ;
15195 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15197 if (!wxPyCheckForApp()) SWIG_fail
;
15198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15199 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15200 wxPyEndAllowThreads(__tstate
);
15201 if (PyErr_Occurred()) SWIG_fail
;
15203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15210 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15211 PyObject
*resultobj
= 0;
15212 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15213 wxWindow
*arg2
= (wxWindow
*) 0 ;
15214 int arg3
= (int) -1 ;
15215 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15216 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15217 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15218 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15219 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15220 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15221 long arg7
= (long) wxSP_ARROW_KEYS
;
15222 int arg8
= (int) 0 ;
15223 int arg9
= (int) 100 ;
15224 int arg10
= (int) 0 ;
15225 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15226 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15234 bool temp4
= false ;
15245 bool temp11
= false ;
15246 PyObject
* obj0
= 0 ;
15247 PyObject
* obj1
= 0 ;
15248 PyObject
* obj2
= 0 ;
15249 PyObject
* obj3
= 0 ;
15250 PyObject
* obj4
= 0 ;
15251 PyObject
* obj5
= 0 ;
15252 PyObject
* obj6
= 0 ;
15253 PyObject
* obj7
= 0 ;
15254 PyObject
* obj8
= 0 ;
15255 PyObject
* obj9
= 0 ;
15256 PyObject
* obj10
= 0 ;
15257 char * kwnames
[] = {
15258 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15263 if (!SWIG_IsOK(res1
)) {
15264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15266 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15267 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15268 if (!SWIG_IsOK(res2
)) {
15269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15271 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15273 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15274 if (!SWIG_IsOK(ecode3
)) {
15275 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15277 arg3
= static_cast< int >(val3
);
15281 arg4
= wxString_in_helper(obj3
);
15282 if (arg4
== NULL
) SWIG_fail
;
15289 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15295 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15299 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15300 if (!SWIG_IsOK(ecode7
)) {
15301 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15303 arg7
= static_cast< long >(val7
);
15306 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15307 if (!SWIG_IsOK(ecode8
)) {
15308 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15310 arg8
= static_cast< int >(val8
);
15313 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15314 if (!SWIG_IsOK(ecode9
)) {
15315 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15317 arg9
= static_cast< int >(val9
);
15320 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15321 if (!SWIG_IsOK(ecode10
)) {
15322 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15324 arg10
= static_cast< int >(val10
);
15328 arg11
= wxString_in_helper(obj10
);
15329 if (arg11
== NULL
) SWIG_fail
;
15334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15335 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15336 wxPyEndAllowThreads(__tstate
);
15337 if (PyErr_Occurred()) SWIG_fail
;
15340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15364 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15365 PyObject
*resultobj
= 0;
15366 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15370 PyObject
*swig_obj
[1] ;
15372 if (!args
) SWIG_fail
;
15373 swig_obj
[0] = args
;
15374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15375 if (!SWIG_IsOK(res1
)) {
15376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15378 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15381 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15382 wxPyEndAllowThreads(__tstate
);
15383 if (PyErr_Occurred()) SWIG_fail
;
15385 resultobj
= SWIG_From_int(static_cast< int >(result
));
15392 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15393 PyObject
*resultobj
= 0;
15394 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15400 PyObject
* obj0
= 0 ;
15401 PyObject
* obj1
= 0 ;
15402 char * kwnames
[] = {
15403 (char *) "self",(char *) "value", NULL
15406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15408 if (!SWIG_IsOK(res1
)) {
15409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15411 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15412 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15413 if (!SWIG_IsOK(ecode2
)) {
15414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15416 arg2
= static_cast< int >(val2
);
15418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15419 (arg1
)->SetValue(arg2
);
15420 wxPyEndAllowThreads(__tstate
);
15421 if (PyErr_Occurred()) SWIG_fail
;
15423 resultobj
= SWIG_Py_Void();
15430 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15431 PyObject
*resultobj
= 0;
15432 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15433 wxString
*arg2
= 0 ;
15436 bool temp2
= false ;
15437 PyObject
* obj0
= 0 ;
15438 PyObject
* obj1
= 0 ;
15439 char * kwnames
[] = {
15440 (char *) "self",(char *) "text", NULL
15443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15445 if (!SWIG_IsOK(res1
)) {
15446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15448 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15450 arg2
= wxString_in_helper(obj1
);
15451 if (arg2
== NULL
) SWIG_fail
;
15455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15456 (arg1
)->SetValue((wxString
const &)*arg2
);
15457 wxPyEndAllowThreads(__tstate
);
15458 if (PyErr_Occurred()) SWIG_fail
;
15460 resultobj
= SWIG_Py_Void();
15475 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15476 PyObject
*resultobj
= 0;
15477 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15486 PyObject
* obj0
= 0 ;
15487 PyObject
* obj1
= 0 ;
15488 PyObject
* obj2
= 0 ;
15489 char * kwnames
[] = {
15490 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15495 if (!SWIG_IsOK(res1
)) {
15496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15498 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15500 if (!SWIG_IsOK(ecode2
)) {
15501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15503 arg2
= static_cast< int >(val2
);
15504 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15505 if (!SWIG_IsOK(ecode3
)) {
15506 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15508 arg3
= static_cast< int >(val3
);
15510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15511 (arg1
)->SetRange(arg2
,arg3
);
15512 wxPyEndAllowThreads(__tstate
);
15513 if (PyErr_Occurred()) SWIG_fail
;
15515 resultobj
= SWIG_Py_Void();
15522 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15523 PyObject
*resultobj
= 0;
15524 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15528 PyObject
*swig_obj
[1] ;
15530 if (!args
) SWIG_fail
;
15531 swig_obj
[0] = args
;
15532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15533 if (!SWIG_IsOK(res1
)) {
15534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15536 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15539 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15540 wxPyEndAllowThreads(__tstate
);
15541 if (PyErr_Occurred()) SWIG_fail
;
15543 resultobj
= SWIG_From_int(static_cast< int >(result
));
15550 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15551 PyObject
*resultobj
= 0;
15552 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15556 PyObject
*swig_obj
[1] ;
15558 if (!args
) SWIG_fail
;
15559 swig_obj
[0] = args
;
15560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15561 if (!SWIG_IsOK(res1
)) {
15562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15564 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15567 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15568 wxPyEndAllowThreads(__tstate
);
15569 if (PyErr_Occurred()) SWIG_fail
;
15571 resultobj
= SWIG_From_int(static_cast< int >(result
));
15578 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15579 PyObject
*resultobj
= 0;
15580 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15589 PyObject
* obj0
= 0 ;
15590 PyObject
* obj1
= 0 ;
15591 PyObject
* obj2
= 0 ;
15592 char * kwnames
[] = {
15593 (char *) "self",(char *) "from",(char *) "to", NULL
15596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15598 if (!SWIG_IsOK(res1
)) {
15599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15601 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15602 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15603 if (!SWIG_IsOK(ecode2
)) {
15604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15606 arg2
= static_cast< long >(val2
);
15607 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15608 if (!SWIG_IsOK(ecode3
)) {
15609 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15611 arg3
= static_cast< long >(val3
);
15613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15614 (arg1
)->SetSelection(arg2
,arg3
);
15615 wxPyEndAllowThreads(__tstate
);
15616 if (PyErr_Occurred()) SWIG_fail
;
15618 resultobj
= SWIG_Py_Void();
15625 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15626 PyObject
*resultobj
= 0;
15627 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15628 SwigValueWrapper
<wxVisualAttributes
> result
;
15631 PyObject
* obj0
= 0 ;
15632 char * kwnames
[] = {
15633 (char *) "variant", NULL
15636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15638 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15639 if (!SWIG_IsOK(ecode1
)) {
15640 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15642 arg1
= static_cast< wxWindowVariant
>(val1
);
15645 if (!wxPyCheckForApp()) SWIG_fail
;
15646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15647 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15648 wxPyEndAllowThreads(__tstate
);
15649 if (PyErr_Occurred()) SWIG_fail
;
15651 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15658 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15660 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15661 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15662 return SWIG_Py_Void();
15665 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15666 return SWIG_Python_InitShadowInstance(args
);
15669 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15670 PyObject
*resultobj
= 0;
15671 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15672 int arg2
= (int) 0 ;
15673 wxSpinEvent
*result
= 0 ;
15678 PyObject
* obj0
= 0 ;
15679 PyObject
* obj1
= 0 ;
15680 char * kwnames
[] = {
15681 (char *) "commandType",(char *) "winid", NULL
15684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15686 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15687 if (!SWIG_IsOK(ecode1
)) {
15688 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15690 arg1
= static_cast< wxEventType
>(val1
);
15693 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15694 if (!SWIG_IsOK(ecode2
)) {
15695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15697 arg2
= static_cast< int >(val2
);
15700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15701 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15702 wxPyEndAllowThreads(__tstate
);
15703 if (PyErr_Occurred()) SWIG_fail
;
15705 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15712 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15713 PyObject
*resultobj
= 0;
15714 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15718 PyObject
*swig_obj
[1] ;
15720 if (!args
) SWIG_fail
;
15721 swig_obj
[0] = args
;
15722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15723 if (!SWIG_IsOK(res1
)) {
15724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15726 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15729 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15730 wxPyEndAllowThreads(__tstate
);
15731 if (PyErr_Occurred()) SWIG_fail
;
15733 resultobj
= SWIG_From_int(static_cast< int >(result
));
15740 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15741 PyObject
*resultobj
= 0;
15742 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15748 PyObject
* obj0
= 0 ;
15749 PyObject
* obj1
= 0 ;
15750 char * kwnames
[] = {
15751 (char *) "self",(char *) "pos", NULL
15754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15756 if (!SWIG_IsOK(res1
)) {
15757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15759 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15760 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15761 if (!SWIG_IsOK(ecode2
)) {
15762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15764 arg2
= static_cast< int >(val2
);
15766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15767 (arg1
)->SetPosition(arg2
);
15768 wxPyEndAllowThreads(__tstate
);
15769 if (PyErr_Occurred()) SWIG_fail
;
15771 resultobj
= SWIG_Py_Void();
15778 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15780 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15781 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15782 return SWIG_Py_Void();
15785 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15786 return SWIG_Python_InitShadowInstance(args
);
15789 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15790 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15795 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15796 PyObject
*pyobj
= 0;
15800 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15802 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15809 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15810 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15815 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15816 PyObject
*pyobj
= 0;
15820 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15822 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15829 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15830 PyObject
*resultobj
= 0;
15831 wxWindow
*arg1
= (wxWindow
*) 0 ;
15832 int arg2
= (int) -1 ;
15833 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15834 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15835 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15836 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15837 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15838 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15839 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15840 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15841 int arg7
= (int) 0 ;
15842 long arg8
= (long) wxRA_HORIZONTAL
;
15843 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15844 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15845 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
15846 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15847 wxRadioBox
*result
= 0 ;
15852 bool temp3
= false ;
15855 bool temp6
= false ;
15862 bool temp10
= false ;
15863 PyObject
* obj0
= 0 ;
15864 PyObject
* obj1
= 0 ;
15865 PyObject
* obj2
= 0 ;
15866 PyObject
* obj3
= 0 ;
15867 PyObject
* obj4
= 0 ;
15868 PyObject
* obj5
= 0 ;
15869 PyObject
* obj6
= 0 ;
15870 PyObject
* obj7
= 0 ;
15871 PyObject
* obj8
= 0 ;
15872 PyObject
* obj9
= 0 ;
15873 char * kwnames
[] = {
15874 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
15877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15879 if (!SWIG_IsOK(res1
)) {
15880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15882 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15885 if (!SWIG_IsOK(ecode2
)) {
15886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
15888 arg2
= static_cast< int >(val2
);
15892 arg3
= wxString_in_helper(obj2
);
15893 if (arg3
== NULL
) SWIG_fail
;
15900 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15906 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15911 if (! PySequence_Check(obj5
)) {
15912 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
15915 arg6
= new wxArrayString
;
15917 int i
, len
=PySequence_Length(obj5
);
15918 for (i
=0; i
<len
; i
++) {
15919 PyObject
* item
= PySequence_GetItem(obj5
, i
);
15920 wxString
* s
= wxString_in_helper(item
);
15921 if (PyErr_Occurred()) SWIG_fail
;
15929 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15930 if (!SWIG_IsOK(ecode7
)) {
15931 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
15933 arg7
= static_cast< int >(val7
);
15936 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
15937 if (!SWIG_IsOK(ecode8
)) {
15938 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
15940 arg8
= static_cast< long >(val8
);
15943 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
15944 if (!SWIG_IsOK(res9
)) {
15945 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15948 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15950 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
15954 arg10
= wxString_in_helper(obj9
);
15955 if (arg10
== NULL
) SWIG_fail
;
15960 if (!wxPyCheckForApp()) SWIG_fail
;
15961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15962 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
);
15963 wxPyEndAllowThreads(__tstate
);
15964 if (PyErr_Occurred()) SWIG_fail
;
15966 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
15972 if (temp6
) delete arg6
;
15985 if (temp6
) delete arg6
;
15995 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15996 PyObject
*resultobj
= 0;
15997 wxRadioBox
*result
= 0 ;
15999 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16001 if (!wxPyCheckForApp()) SWIG_fail
;
16002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16003 result
= (wxRadioBox
*)new wxRadioBox();
16004 wxPyEndAllowThreads(__tstate
);
16005 if (PyErr_Occurred()) SWIG_fail
;
16007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16014 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16015 PyObject
*resultobj
= 0;
16016 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16017 wxWindow
*arg2
= (wxWindow
*) 0 ;
16018 int arg3
= (int) -1 ;
16019 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16020 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16021 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16022 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16023 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16024 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16025 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16026 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16027 int arg8
= (int) 0 ;
16028 long arg9
= (long) wxRA_HORIZONTAL
;
16029 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16030 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16031 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16032 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16040 bool temp4
= false ;
16043 bool temp7
= false ;
16050 bool temp11
= false ;
16051 PyObject
* obj0
= 0 ;
16052 PyObject
* obj1
= 0 ;
16053 PyObject
* obj2
= 0 ;
16054 PyObject
* obj3
= 0 ;
16055 PyObject
* obj4
= 0 ;
16056 PyObject
* obj5
= 0 ;
16057 PyObject
* obj6
= 0 ;
16058 PyObject
* obj7
= 0 ;
16059 PyObject
* obj8
= 0 ;
16060 PyObject
* obj9
= 0 ;
16061 PyObject
* obj10
= 0 ;
16062 char * kwnames
[] = {
16063 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16068 if (!SWIG_IsOK(res1
)) {
16069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16071 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16072 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16073 if (!SWIG_IsOK(res2
)) {
16074 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16076 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16078 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16079 if (!SWIG_IsOK(ecode3
)) {
16080 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16082 arg3
= static_cast< int >(val3
);
16086 arg4
= wxString_in_helper(obj3
);
16087 if (arg4
== NULL
) SWIG_fail
;
16094 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16100 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16105 if (! PySequence_Check(obj6
)) {
16106 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16109 arg7
= new wxArrayString
;
16111 int i
, len
=PySequence_Length(obj6
);
16112 for (i
=0; i
<len
; i
++) {
16113 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16114 wxString
* s
= wxString_in_helper(item
);
16115 if (PyErr_Occurred()) SWIG_fail
;
16123 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16124 if (!SWIG_IsOK(ecode8
)) {
16125 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16127 arg8
= static_cast< int >(val8
);
16130 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16131 if (!SWIG_IsOK(ecode9
)) {
16132 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16134 arg9
= static_cast< long >(val9
);
16137 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16138 if (!SWIG_IsOK(res10
)) {
16139 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16142 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16144 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16148 arg11
= wxString_in_helper(obj10
);
16149 if (arg11
== NULL
) SWIG_fail
;
16154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16155 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
);
16156 wxPyEndAllowThreads(__tstate
);
16157 if (PyErr_Occurred()) SWIG_fail
;
16160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16167 if (temp7
) delete arg7
;
16180 if (temp7
) delete arg7
;
16190 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16191 PyObject
*resultobj
= 0;
16192 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16198 PyObject
* obj0
= 0 ;
16199 PyObject
* obj1
= 0 ;
16200 char * kwnames
[] = {
16201 (char *) "self",(char *) "n", NULL
16204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16206 if (!SWIG_IsOK(res1
)) {
16207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16209 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16210 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16211 if (!SWIG_IsOK(ecode2
)) {
16212 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16214 arg2
= static_cast< int >(val2
);
16216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16217 (arg1
)->SetSelection(arg2
);
16218 wxPyEndAllowThreads(__tstate
);
16219 if (PyErr_Occurred()) SWIG_fail
;
16221 resultobj
= SWIG_Py_Void();
16228 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16229 PyObject
*resultobj
= 0;
16230 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16234 PyObject
*swig_obj
[1] ;
16236 if (!args
) SWIG_fail
;
16237 swig_obj
[0] = args
;
16238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16239 if (!SWIG_IsOK(res1
)) {
16240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16242 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16245 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16246 wxPyEndAllowThreads(__tstate
);
16247 if (PyErr_Occurred()) SWIG_fail
;
16249 resultobj
= SWIG_From_int(static_cast< int >(result
));
16256 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16257 PyObject
*resultobj
= 0;
16258 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16262 PyObject
*swig_obj
[1] ;
16264 if (!args
) SWIG_fail
;
16265 swig_obj
[0] = args
;
16266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16267 if (!SWIG_IsOK(res1
)) {
16268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16270 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16273 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16274 wxPyEndAllowThreads(__tstate
);
16275 if (PyErr_Occurred()) SWIG_fail
;
16279 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16281 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16290 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16291 PyObject
*resultobj
= 0;
16292 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16293 wxString
*arg2
= 0 ;
16297 bool temp2
= false ;
16298 PyObject
* obj0
= 0 ;
16299 PyObject
* obj1
= 0 ;
16300 char * kwnames
[] = {
16301 (char *) "self",(char *) "s", NULL
16304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16306 if (!SWIG_IsOK(res1
)) {
16307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16309 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16311 arg2
= wxString_in_helper(obj1
);
16312 if (arg2
== NULL
) SWIG_fail
;
16316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16317 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16318 wxPyEndAllowThreads(__tstate
);
16319 if (PyErr_Occurred()) SWIG_fail
;
16322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16338 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16339 PyObject
*resultobj
= 0;
16340 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16344 PyObject
*swig_obj
[1] ;
16346 if (!args
) SWIG_fail
;
16347 swig_obj
[0] = args
;
16348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16349 if (!SWIG_IsOK(res1
)) {
16350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16352 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16355 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16356 wxPyEndAllowThreads(__tstate
);
16357 if (PyErr_Occurred()) SWIG_fail
;
16359 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16366 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16367 PyObject
*resultobj
= 0;
16368 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16369 wxString
*arg2
= 0 ;
16373 bool temp2
= false ;
16374 PyObject
* obj0
= 0 ;
16375 PyObject
* obj1
= 0 ;
16376 char * kwnames
[] = {
16377 (char *) "self",(char *) "s", NULL
16380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16382 if (!SWIG_IsOK(res1
)) {
16383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16385 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16387 arg2
= wxString_in_helper(obj1
);
16388 if (arg2
== NULL
) SWIG_fail
;
16392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16393 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16394 wxPyEndAllowThreads(__tstate
);
16395 if (PyErr_Occurred()) SWIG_fail
;
16397 resultobj
= SWIG_From_int(static_cast< int >(result
));
16412 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16413 PyObject
*resultobj
= 0;
16414 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16421 PyObject
* obj0
= 0 ;
16422 PyObject
* obj1
= 0 ;
16423 char * kwnames
[] = {
16424 (char *) "self",(char *) "n", NULL
16427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16429 if (!SWIG_IsOK(res1
)) {
16430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16432 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16433 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16434 if (!SWIG_IsOK(ecode2
)) {
16435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16437 arg2
= static_cast< int >(val2
);
16439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16440 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16441 wxPyEndAllowThreads(__tstate
);
16442 if (PyErr_Occurred()) SWIG_fail
;
16446 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16448 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16457 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16458 PyObject
*resultobj
= 0;
16459 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16461 wxString
*arg3
= 0 ;
16466 bool temp3
= false ;
16467 PyObject
* obj0
= 0 ;
16468 PyObject
* obj1
= 0 ;
16469 PyObject
* obj2
= 0 ;
16470 char * kwnames
[] = {
16471 (char *) "self",(char *) "n",(char *) "label", NULL
16474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16476 if (!SWIG_IsOK(res1
)) {
16477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16479 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16481 if (!SWIG_IsOK(ecode2
)) {
16482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16484 arg2
= static_cast< int >(val2
);
16486 arg3
= wxString_in_helper(obj2
);
16487 if (arg3
== NULL
) SWIG_fail
;
16491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16492 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16493 wxPyEndAllowThreads(__tstate
);
16494 if (PyErr_Occurred()) SWIG_fail
;
16496 resultobj
= SWIG_Py_Void();
16511 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16512 PyObject
*resultobj
= 0;
16513 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16514 unsigned int arg2
;
16515 bool arg3
= (bool) true ;
16518 unsigned int val2
;
16522 PyObject
* obj0
= 0 ;
16523 PyObject
* obj1
= 0 ;
16524 PyObject
* obj2
= 0 ;
16525 char * kwnames
[] = {
16526 (char *) "self",(char *) "n",(char *) "enable", NULL
16529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16531 if (!SWIG_IsOK(res1
)) {
16532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16534 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16535 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16536 if (!SWIG_IsOK(ecode2
)) {
16537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16539 arg2
= static_cast< unsigned int >(val2
);
16541 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16542 if (!SWIG_IsOK(ecode3
)) {
16543 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16545 arg3
= static_cast< bool >(val3
);
16548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16549 (arg1
)->Enable(arg2
,arg3
);
16550 wxPyEndAllowThreads(__tstate
);
16551 if (PyErr_Occurred()) SWIG_fail
;
16553 resultobj
= SWIG_Py_Void();
16560 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16561 PyObject
*resultobj
= 0;
16562 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16563 unsigned int arg2
;
16564 bool arg3
= (bool) true ;
16567 unsigned int val2
;
16571 PyObject
* obj0
= 0 ;
16572 PyObject
* obj1
= 0 ;
16573 PyObject
* obj2
= 0 ;
16574 char * kwnames
[] = {
16575 (char *) "self",(char *) "n",(char *) "show", NULL
16578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16580 if (!SWIG_IsOK(res1
)) {
16581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16583 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16584 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16585 if (!SWIG_IsOK(ecode2
)) {
16586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16588 arg2
= static_cast< unsigned int >(val2
);
16590 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16591 if (!SWIG_IsOK(ecode3
)) {
16592 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16594 arg3
= static_cast< bool >(val3
);
16597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16598 (arg1
)->Show(arg2
,arg3
);
16599 wxPyEndAllowThreads(__tstate
);
16600 if (PyErr_Occurred()) SWIG_fail
;
16602 resultobj
= SWIG_Py_Void();
16609 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16610 PyObject
*resultobj
= 0;
16611 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16612 unsigned int arg2
;
16616 unsigned int val2
;
16618 PyObject
* obj0
= 0 ;
16619 PyObject
* obj1
= 0 ;
16620 char * kwnames
[] = {
16621 (char *) "self",(char *) "n", NULL
16624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16626 if (!SWIG_IsOK(res1
)) {
16627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16629 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16630 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16631 if (!SWIG_IsOK(ecode2
)) {
16632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16634 arg2
= static_cast< unsigned int >(val2
);
16636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16637 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16638 wxPyEndAllowThreads(__tstate
);
16639 if (PyErr_Occurred()) SWIG_fail
;
16642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16650 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16651 PyObject
*resultobj
= 0;
16652 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16653 unsigned int arg2
;
16657 unsigned int val2
;
16659 PyObject
* obj0
= 0 ;
16660 PyObject
* obj1
= 0 ;
16661 char * kwnames
[] = {
16662 (char *) "self",(char *) "n", NULL
16665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16667 if (!SWIG_IsOK(res1
)) {
16668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16670 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16671 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16672 if (!SWIG_IsOK(ecode2
)) {
16673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16675 arg2
= static_cast< unsigned int >(val2
);
16677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16678 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16679 wxPyEndAllowThreads(__tstate
);
16680 if (PyErr_Occurred()) SWIG_fail
;
16683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16691 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16692 PyObject
*resultobj
= 0;
16693 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16694 unsigned int result
;
16697 PyObject
*swig_obj
[1] ;
16699 if (!args
) SWIG_fail
;
16700 swig_obj
[0] = args
;
16701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16702 if (!SWIG_IsOK(res1
)) {
16703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16705 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16708 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16709 wxPyEndAllowThreads(__tstate
);
16710 if (PyErr_Occurred()) SWIG_fail
;
16712 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16719 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16720 PyObject
*resultobj
= 0;
16721 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16722 unsigned int result
;
16725 PyObject
*swig_obj
[1] ;
16727 if (!args
) SWIG_fail
;
16728 swig_obj
[0] = args
;
16729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16730 if (!SWIG_IsOK(res1
)) {
16731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16733 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16736 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16737 wxPyEndAllowThreads(__tstate
);
16738 if (PyErr_Occurred()) SWIG_fail
;
16740 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16747 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16748 PyObject
*resultobj
= 0;
16749 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16762 PyObject
* obj0
= 0 ;
16763 PyObject
* obj1
= 0 ;
16764 PyObject
* obj2
= 0 ;
16765 PyObject
* obj3
= 0 ;
16766 char * kwnames
[] = {
16767 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16772 if (!SWIG_IsOK(res1
)) {
16773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16775 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16776 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16777 if (!SWIG_IsOK(ecode2
)) {
16778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16780 arg2
= static_cast< int >(val2
);
16781 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16782 if (!SWIG_IsOK(ecode3
)) {
16783 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16785 arg3
= static_cast< wxDirection
>(val3
);
16786 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16787 if (!SWIG_IsOK(ecode4
)) {
16788 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16790 arg4
= static_cast< long >(val4
);
16792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16793 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16794 wxPyEndAllowThreads(__tstate
);
16795 if (PyErr_Occurred()) SWIG_fail
;
16797 resultobj
= SWIG_From_int(static_cast< int >(result
));
16804 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16805 PyObject
*resultobj
= 0;
16806 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16807 unsigned int arg2
;
16808 wxString
*arg3
= 0 ;
16811 unsigned int val2
;
16813 bool temp3
= false ;
16814 PyObject
* obj0
= 0 ;
16815 PyObject
* obj1
= 0 ;
16816 PyObject
* obj2
= 0 ;
16817 char * kwnames
[] = {
16818 (char *) "self",(char *) "item",(char *) "text", NULL
16821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16823 if (!SWIG_IsOK(res1
)) {
16824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16826 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16827 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16828 if (!SWIG_IsOK(ecode2
)) {
16829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16831 arg2
= static_cast< unsigned int >(val2
);
16833 arg3
= wxString_in_helper(obj2
);
16834 if (arg3
== NULL
) SWIG_fail
;
16838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16839 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
16840 wxPyEndAllowThreads(__tstate
);
16841 if (PyErr_Occurred()) SWIG_fail
;
16843 resultobj
= SWIG_Py_Void();
16858 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16859 PyObject
*resultobj
= 0;
16860 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16861 unsigned int arg2
;
16862 wxToolTip
*result
= 0 ;
16865 unsigned int val2
;
16867 PyObject
* obj0
= 0 ;
16868 PyObject
* obj1
= 0 ;
16869 char * kwnames
[] = {
16870 (char *) "self",(char *) "item", NULL
16873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16875 if (!SWIG_IsOK(res1
)) {
16876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16878 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16879 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16880 if (!SWIG_IsOK(ecode2
)) {
16881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16883 arg2
= static_cast< unsigned int >(val2
);
16885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16886 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
16887 wxPyEndAllowThreads(__tstate
);
16888 if (PyErr_Occurred()) SWIG_fail
;
16891 resultobj
= wxPyMake_wxObject(result
, (bool)0);
16899 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16900 PyObject
*resultobj
= 0;
16901 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16902 unsigned int arg2
;
16903 wxString
*arg3
= 0 ;
16906 unsigned int val2
;
16908 bool temp3
= false ;
16909 PyObject
* obj0
= 0 ;
16910 PyObject
* obj1
= 0 ;
16911 PyObject
* obj2
= 0 ;
16912 char * kwnames
[] = {
16913 (char *) "self",(char *) "n",(char *) "helpText", NULL
16916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16918 if (!SWIG_IsOK(res1
)) {
16919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16921 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16922 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16923 if (!SWIG_IsOK(ecode2
)) {
16924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
16926 arg2
= static_cast< unsigned int >(val2
);
16928 arg3
= wxString_in_helper(obj2
);
16929 if (arg3
== NULL
) SWIG_fail
;
16933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16934 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
16935 wxPyEndAllowThreads(__tstate
);
16936 if (PyErr_Occurred()) SWIG_fail
;
16938 resultobj
= SWIG_Py_Void();
16953 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16954 PyObject
*resultobj
= 0;
16955 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16956 unsigned int arg2
;
16960 unsigned int val2
;
16962 PyObject
* obj0
= 0 ;
16963 PyObject
* obj1
= 0 ;
16964 char * kwnames
[] = {
16965 (char *) "self",(char *) "n", NULL
16968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16970 if (!SWIG_IsOK(res1
)) {
16971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16973 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16974 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16975 if (!SWIG_IsOK(ecode2
)) {
16976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
16978 arg2
= static_cast< unsigned int >(val2
);
16980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16981 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
16982 wxPyEndAllowThreads(__tstate
);
16983 if (PyErr_Occurred()) SWIG_fail
;
16987 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16989 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16998 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16999 PyObject
*resultobj
= 0;
17000 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17001 SwigValueWrapper
<wxVisualAttributes
> result
;
17004 PyObject
* obj0
= 0 ;
17005 char * kwnames
[] = {
17006 (char *) "variant", NULL
17009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17011 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17012 if (!SWIG_IsOK(ecode1
)) {
17013 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17015 arg1
= static_cast< wxWindowVariant
>(val1
);
17018 if (!wxPyCheckForApp()) SWIG_fail
;
17019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17020 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17021 wxPyEndAllowThreads(__tstate
);
17022 if (PyErr_Occurred()) SWIG_fail
;
17024 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17031 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17034 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17035 return SWIG_Py_Void();
17038 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17039 return SWIG_Python_InitShadowInstance(args
);
17042 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17043 PyObject
*resultobj
= 0;
17044 wxWindow
*arg1
= (wxWindow
*) 0 ;
17045 int arg2
= (int) -1 ;
17046 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17047 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17048 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17049 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17050 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17051 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17052 long arg6
= (long) 0 ;
17053 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17054 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17055 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17056 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17057 wxRadioButton
*result
= 0 ;
17062 bool temp3
= false ;
17069 bool temp8
= false ;
17070 PyObject
* obj0
= 0 ;
17071 PyObject
* obj1
= 0 ;
17072 PyObject
* obj2
= 0 ;
17073 PyObject
* obj3
= 0 ;
17074 PyObject
* obj4
= 0 ;
17075 PyObject
* obj5
= 0 ;
17076 PyObject
* obj6
= 0 ;
17077 PyObject
* obj7
= 0 ;
17078 char * kwnames
[] = {
17079 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17084 if (!SWIG_IsOK(res1
)) {
17085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17087 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17089 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17090 if (!SWIG_IsOK(ecode2
)) {
17091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17093 arg2
= static_cast< int >(val2
);
17097 arg3
= wxString_in_helper(obj2
);
17098 if (arg3
== NULL
) SWIG_fail
;
17105 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17111 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17115 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17116 if (!SWIG_IsOK(ecode6
)) {
17117 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17119 arg6
= static_cast< long >(val6
);
17122 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17123 if (!SWIG_IsOK(res7
)) {
17124 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17127 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17129 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17133 arg8
= wxString_in_helper(obj7
);
17134 if (arg8
== NULL
) SWIG_fail
;
17139 if (!wxPyCheckForApp()) SWIG_fail
;
17140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17141 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17142 wxPyEndAllowThreads(__tstate
);
17143 if (PyErr_Occurred()) SWIG_fail
;
17145 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17168 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17169 PyObject
*resultobj
= 0;
17170 wxRadioButton
*result
= 0 ;
17172 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17174 if (!wxPyCheckForApp()) SWIG_fail
;
17175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17176 result
= (wxRadioButton
*)new wxRadioButton();
17177 wxPyEndAllowThreads(__tstate
);
17178 if (PyErr_Occurred()) SWIG_fail
;
17180 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17187 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17188 PyObject
*resultobj
= 0;
17189 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17190 wxWindow
*arg2
= (wxWindow
*) 0 ;
17191 int arg3
= (int) -1 ;
17192 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17193 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17194 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17195 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17196 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17197 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17198 long arg7
= (long) 0 ;
17199 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17200 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17201 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17202 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17210 bool temp4
= false ;
17217 bool temp9
= false ;
17218 PyObject
* obj0
= 0 ;
17219 PyObject
* obj1
= 0 ;
17220 PyObject
* obj2
= 0 ;
17221 PyObject
* obj3
= 0 ;
17222 PyObject
* obj4
= 0 ;
17223 PyObject
* obj5
= 0 ;
17224 PyObject
* obj6
= 0 ;
17225 PyObject
* obj7
= 0 ;
17226 PyObject
* obj8
= 0 ;
17227 char * kwnames
[] = {
17228 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17233 if (!SWIG_IsOK(res1
)) {
17234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17236 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17237 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17238 if (!SWIG_IsOK(res2
)) {
17239 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17241 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17243 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17244 if (!SWIG_IsOK(ecode3
)) {
17245 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17247 arg3
= static_cast< int >(val3
);
17251 arg4
= wxString_in_helper(obj3
);
17252 if (arg4
== NULL
) SWIG_fail
;
17259 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17265 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17269 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17270 if (!SWIG_IsOK(ecode7
)) {
17271 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17273 arg7
= static_cast< long >(val7
);
17276 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17277 if (!SWIG_IsOK(res8
)) {
17278 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17281 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17283 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17287 arg9
= wxString_in_helper(obj8
);
17288 if (arg9
== NULL
) SWIG_fail
;
17293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17294 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17295 wxPyEndAllowThreads(__tstate
);
17296 if (PyErr_Occurred()) SWIG_fail
;
17299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17323 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17324 PyObject
*resultobj
= 0;
17325 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17329 PyObject
*swig_obj
[1] ;
17331 if (!args
) SWIG_fail
;
17332 swig_obj
[0] = args
;
17333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17334 if (!SWIG_IsOK(res1
)) {
17335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17337 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17340 result
= (bool)(arg1
)->GetValue();
17341 wxPyEndAllowThreads(__tstate
);
17342 if (PyErr_Occurred()) SWIG_fail
;
17345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17353 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17354 PyObject
*resultobj
= 0;
17355 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17361 PyObject
* obj0
= 0 ;
17362 PyObject
* obj1
= 0 ;
17363 char * kwnames
[] = {
17364 (char *) "self",(char *) "value", NULL
17367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17369 if (!SWIG_IsOK(res1
)) {
17370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17372 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17373 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17374 if (!SWIG_IsOK(ecode2
)) {
17375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17377 arg2
= static_cast< bool >(val2
);
17379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17380 (arg1
)->SetValue(arg2
);
17381 wxPyEndAllowThreads(__tstate
);
17382 if (PyErr_Occurred()) SWIG_fail
;
17384 resultobj
= SWIG_Py_Void();
17391 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17392 PyObject
*resultobj
= 0;
17393 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17394 SwigValueWrapper
<wxVisualAttributes
> result
;
17397 PyObject
* obj0
= 0 ;
17398 char * kwnames
[] = {
17399 (char *) "variant", NULL
17402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17404 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17405 if (!SWIG_IsOK(ecode1
)) {
17406 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17408 arg1
= static_cast< wxWindowVariant
>(val1
);
17411 if (!wxPyCheckForApp()) SWIG_fail
;
17412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17413 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17414 wxPyEndAllowThreads(__tstate
);
17415 if (PyErr_Occurred()) SWIG_fail
;
17417 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17424 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17426 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17427 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17428 return SWIG_Py_Void();
17431 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17432 return SWIG_Python_InitShadowInstance(args
);
17435 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17436 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17441 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17442 PyObject
*pyobj
= 0;
17446 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17448 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17455 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17456 PyObject
*resultobj
= 0;
17457 wxWindow
*arg1
= (wxWindow
*) 0 ;
17458 int arg2
= (int) -1 ;
17459 int arg3
= (int) 0 ;
17460 int arg4
= (int) 0 ;
17461 int arg5
= (int) 100 ;
17462 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17463 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17464 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17465 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17466 long arg8
= (long) wxSL_HORIZONTAL
;
17467 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17468 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17469 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17470 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17471 wxSlider
*result
= 0 ;
17488 bool temp10
= false ;
17489 PyObject
* obj0
= 0 ;
17490 PyObject
* obj1
= 0 ;
17491 PyObject
* obj2
= 0 ;
17492 PyObject
* obj3
= 0 ;
17493 PyObject
* obj4
= 0 ;
17494 PyObject
* obj5
= 0 ;
17495 PyObject
* obj6
= 0 ;
17496 PyObject
* obj7
= 0 ;
17497 PyObject
* obj8
= 0 ;
17498 PyObject
* obj9
= 0 ;
17499 char * kwnames
[] = {
17500 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17505 if (!SWIG_IsOK(res1
)) {
17506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17508 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17510 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17511 if (!SWIG_IsOK(ecode2
)) {
17512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17514 arg2
= static_cast< int >(val2
);
17517 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17518 if (!SWIG_IsOK(ecode3
)) {
17519 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17521 arg3
= static_cast< int >(val3
);
17524 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17525 if (!SWIG_IsOK(ecode4
)) {
17526 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17528 arg4
= static_cast< int >(val4
);
17531 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17532 if (!SWIG_IsOK(ecode5
)) {
17533 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17535 arg5
= static_cast< int >(val5
);
17540 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17546 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17550 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17551 if (!SWIG_IsOK(ecode8
)) {
17552 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17554 arg8
= static_cast< long >(val8
);
17557 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17558 if (!SWIG_IsOK(res9
)) {
17559 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17562 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17564 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17568 arg10
= wxString_in_helper(obj9
);
17569 if (arg10
== NULL
) SWIG_fail
;
17574 if (!wxPyCheckForApp()) SWIG_fail
;
17575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17576 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17577 wxPyEndAllowThreads(__tstate
);
17578 if (PyErr_Occurred()) SWIG_fail
;
17580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17595 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17596 PyObject
*resultobj
= 0;
17597 wxSlider
*result
= 0 ;
17599 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17601 if (!wxPyCheckForApp()) SWIG_fail
;
17602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17603 result
= (wxSlider
*)new wxSlider();
17604 wxPyEndAllowThreads(__tstate
);
17605 if (PyErr_Occurred()) SWIG_fail
;
17607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17614 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17615 PyObject
*resultobj
= 0;
17616 wxSlider
*arg1
= (wxSlider
*) 0 ;
17617 wxWindow
*arg2
= (wxWindow
*) 0 ;
17618 int arg3
= (int) -1 ;
17619 int arg4
= (int) 0 ;
17620 int arg5
= (int) 0 ;
17621 int arg6
= (int) 100 ;
17622 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17623 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17624 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17625 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17626 long arg9
= (long) wxSL_HORIZONTAL
;
17627 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17628 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17629 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17630 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17650 bool temp11
= false ;
17651 PyObject
* obj0
= 0 ;
17652 PyObject
* obj1
= 0 ;
17653 PyObject
* obj2
= 0 ;
17654 PyObject
* obj3
= 0 ;
17655 PyObject
* obj4
= 0 ;
17656 PyObject
* obj5
= 0 ;
17657 PyObject
* obj6
= 0 ;
17658 PyObject
* obj7
= 0 ;
17659 PyObject
* obj8
= 0 ;
17660 PyObject
* obj9
= 0 ;
17661 PyObject
* obj10
= 0 ;
17662 char * kwnames
[] = {
17663 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17668 if (!SWIG_IsOK(res1
)) {
17669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17671 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17672 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17673 if (!SWIG_IsOK(res2
)) {
17674 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17676 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17678 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17679 if (!SWIG_IsOK(ecode3
)) {
17680 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17682 arg3
= static_cast< int >(val3
);
17685 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17686 if (!SWIG_IsOK(ecode4
)) {
17687 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17689 arg4
= static_cast< int >(val4
);
17692 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17693 if (!SWIG_IsOK(ecode5
)) {
17694 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17696 arg5
= static_cast< int >(val5
);
17699 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17700 if (!SWIG_IsOK(ecode6
)) {
17701 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17703 arg6
= static_cast< int >(val6
);
17708 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17714 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17718 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17719 if (!SWIG_IsOK(ecode9
)) {
17720 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17722 arg9
= static_cast< long >(val9
);
17725 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17726 if (!SWIG_IsOK(res10
)) {
17727 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17730 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17732 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17736 arg11
= wxString_in_helper(obj10
);
17737 if (arg11
== NULL
) SWIG_fail
;
17742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17743 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17744 wxPyEndAllowThreads(__tstate
);
17745 if (PyErr_Occurred()) SWIG_fail
;
17748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17764 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17765 PyObject
*resultobj
= 0;
17766 wxSlider
*arg1
= (wxSlider
*) 0 ;
17770 PyObject
*swig_obj
[1] ;
17772 if (!args
) SWIG_fail
;
17773 swig_obj
[0] = args
;
17774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17775 if (!SWIG_IsOK(res1
)) {
17776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17778 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17781 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17782 wxPyEndAllowThreads(__tstate
);
17783 if (PyErr_Occurred()) SWIG_fail
;
17785 resultobj
= SWIG_From_int(static_cast< int >(result
));
17792 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17793 PyObject
*resultobj
= 0;
17794 wxSlider
*arg1
= (wxSlider
*) 0 ;
17800 PyObject
* obj0
= 0 ;
17801 PyObject
* obj1
= 0 ;
17802 char * kwnames
[] = {
17803 (char *) "self",(char *) "value", NULL
17806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17808 if (!SWIG_IsOK(res1
)) {
17809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17811 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17813 if (!SWIG_IsOK(ecode2
)) {
17814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17816 arg2
= static_cast< int >(val2
);
17818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17819 (arg1
)->SetValue(arg2
);
17820 wxPyEndAllowThreads(__tstate
);
17821 if (PyErr_Occurred()) SWIG_fail
;
17823 resultobj
= SWIG_Py_Void();
17830 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17831 PyObject
*resultobj
= 0;
17832 wxSlider
*arg1
= (wxSlider
*) 0 ;
17841 PyObject
* obj0
= 0 ;
17842 PyObject
* obj1
= 0 ;
17843 PyObject
* obj2
= 0 ;
17844 char * kwnames
[] = {
17845 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17850 if (!SWIG_IsOK(res1
)) {
17851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
17853 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17854 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17855 if (!SWIG_IsOK(ecode2
)) {
17856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
17858 arg2
= static_cast< int >(val2
);
17859 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17860 if (!SWIG_IsOK(ecode3
)) {
17861 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
17863 arg3
= static_cast< int >(val3
);
17865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17866 (arg1
)->SetRange(arg2
,arg3
);
17867 wxPyEndAllowThreads(__tstate
);
17868 if (PyErr_Occurred()) SWIG_fail
;
17870 resultobj
= SWIG_Py_Void();
17877 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17878 PyObject
*resultobj
= 0;
17879 wxSlider
*arg1
= (wxSlider
*) 0 ;
17883 PyObject
*swig_obj
[1] ;
17885 if (!args
) SWIG_fail
;
17886 swig_obj
[0] = args
;
17887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17888 if (!SWIG_IsOK(res1
)) {
17889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
17891 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17894 result
= (int)((wxSlider
const *)arg1
)->GetMin();
17895 wxPyEndAllowThreads(__tstate
);
17896 if (PyErr_Occurred()) SWIG_fail
;
17898 resultobj
= SWIG_From_int(static_cast< int >(result
));
17905 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17906 PyObject
*resultobj
= 0;
17907 wxSlider
*arg1
= (wxSlider
*) 0 ;
17911 PyObject
*swig_obj
[1] ;
17913 if (!args
) SWIG_fail
;
17914 swig_obj
[0] = args
;
17915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17916 if (!SWIG_IsOK(res1
)) {
17917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
17919 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17922 result
= (int)((wxSlider
const *)arg1
)->GetMax();
17923 wxPyEndAllowThreads(__tstate
);
17924 if (PyErr_Occurred()) SWIG_fail
;
17926 resultobj
= SWIG_From_int(static_cast< int >(result
));
17933 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17934 PyObject
*resultobj
= 0;
17935 wxSlider
*arg1
= (wxSlider
*) 0 ;
17941 PyObject
* obj0
= 0 ;
17942 PyObject
* obj1
= 0 ;
17943 char * kwnames
[] = {
17944 (char *) "self",(char *) "minValue", NULL
17947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17949 if (!SWIG_IsOK(res1
)) {
17950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
17952 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17953 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17954 if (!SWIG_IsOK(ecode2
)) {
17955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
17957 arg2
= static_cast< int >(val2
);
17959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17960 (arg1
)->SetMin(arg2
);
17961 wxPyEndAllowThreads(__tstate
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17964 resultobj
= SWIG_Py_Void();
17971 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17972 PyObject
*resultobj
= 0;
17973 wxSlider
*arg1
= (wxSlider
*) 0 ;
17979 PyObject
* obj0
= 0 ;
17980 PyObject
* obj1
= 0 ;
17981 char * kwnames
[] = {
17982 (char *) "self",(char *) "maxValue", NULL
17985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17987 if (!SWIG_IsOK(res1
)) {
17988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
17990 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17991 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17992 if (!SWIG_IsOK(ecode2
)) {
17993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
17995 arg2
= static_cast< int >(val2
);
17997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17998 (arg1
)->SetMax(arg2
);
17999 wxPyEndAllowThreads(__tstate
);
18000 if (PyErr_Occurred()) SWIG_fail
;
18002 resultobj
= SWIG_Py_Void();
18009 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18010 PyObject
*resultobj
= 0;
18011 wxSlider
*arg1
= (wxSlider
*) 0 ;
18017 PyObject
* obj0
= 0 ;
18018 PyObject
* obj1
= 0 ;
18019 char * kwnames
[] = {
18020 (char *) "self",(char *) "lineSize", NULL
18023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18025 if (!SWIG_IsOK(res1
)) {
18026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18028 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18030 if (!SWIG_IsOK(ecode2
)) {
18031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18033 arg2
= static_cast< int >(val2
);
18035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18036 (arg1
)->SetLineSize(arg2
);
18037 wxPyEndAllowThreads(__tstate
);
18038 if (PyErr_Occurred()) SWIG_fail
;
18040 resultobj
= SWIG_Py_Void();
18047 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18048 PyObject
*resultobj
= 0;
18049 wxSlider
*arg1
= (wxSlider
*) 0 ;
18055 PyObject
* obj0
= 0 ;
18056 PyObject
* obj1
= 0 ;
18057 char * kwnames
[] = {
18058 (char *) "self",(char *) "pageSize", NULL
18061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18063 if (!SWIG_IsOK(res1
)) {
18064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18066 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18068 if (!SWIG_IsOK(ecode2
)) {
18069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18071 arg2
= static_cast< int >(val2
);
18073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18074 (arg1
)->SetPageSize(arg2
);
18075 wxPyEndAllowThreads(__tstate
);
18076 if (PyErr_Occurred()) SWIG_fail
;
18078 resultobj
= SWIG_Py_Void();
18085 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18086 PyObject
*resultobj
= 0;
18087 wxSlider
*arg1
= (wxSlider
*) 0 ;
18091 PyObject
*swig_obj
[1] ;
18093 if (!args
) SWIG_fail
;
18094 swig_obj
[0] = args
;
18095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18096 if (!SWIG_IsOK(res1
)) {
18097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18099 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18102 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18103 wxPyEndAllowThreads(__tstate
);
18104 if (PyErr_Occurred()) SWIG_fail
;
18106 resultobj
= SWIG_From_int(static_cast< int >(result
));
18113 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18114 PyObject
*resultobj
= 0;
18115 wxSlider
*arg1
= (wxSlider
*) 0 ;
18119 PyObject
*swig_obj
[1] ;
18121 if (!args
) SWIG_fail
;
18122 swig_obj
[0] = args
;
18123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18124 if (!SWIG_IsOK(res1
)) {
18125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18127 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18130 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18131 wxPyEndAllowThreads(__tstate
);
18132 if (PyErr_Occurred()) SWIG_fail
;
18134 resultobj
= SWIG_From_int(static_cast< int >(result
));
18141 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18142 PyObject
*resultobj
= 0;
18143 wxSlider
*arg1
= (wxSlider
*) 0 ;
18149 PyObject
* obj0
= 0 ;
18150 PyObject
* obj1
= 0 ;
18151 char * kwnames
[] = {
18152 (char *) "self",(char *) "lenPixels", NULL
18155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18157 if (!SWIG_IsOK(res1
)) {
18158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18160 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18162 if (!SWIG_IsOK(ecode2
)) {
18163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18165 arg2
= static_cast< int >(val2
);
18167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18168 (arg1
)->SetThumbLength(arg2
);
18169 wxPyEndAllowThreads(__tstate
);
18170 if (PyErr_Occurred()) SWIG_fail
;
18172 resultobj
= SWIG_Py_Void();
18179 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18180 PyObject
*resultobj
= 0;
18181 wxSlider
*arg1
= (wxSlider
*) 0 ;
18185 PyObject
*swig_obj
[1] ;
18187 if (!args
) SWIG_fail
;
18188 swig_obj
[0] = args
;
18189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18190 if (!SWIG_IsOK(res1
)) {
18191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18193 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18196 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18197 wxPyEndAllowThreads(__tstate
);
18198 if (PyErr_Occurred()) SWIG_fail
;
18200 resultobj
= SWIG_From_int(static_cast< int >(result
));
18207 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18208 PyObject
*resultobj
= 0;
18209 wxSlider
*arg1
= (wxSlider
*) 0 ;
18211 int arg3
= (int) 1 ;
18218 PyObject
* obj0
= 0 ;
18219 PyObject
* obj1
= 0 ;
18220 PyObject
* obj2
= 0 ;
18221 char * kwnames
[] = {
18222 (char *) "self",(char *) "n",(char *) "pos", NULL
18225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18227 if (!SWIG_IsOK(res1
)) {
18228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18230 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18232 if (!SWIG_IsOK(ecode2
)) {
18233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18235 arg2
= static_cast< int >(val2
);
18237 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18238 if (!SWIG_IsOK(ecode3
)) {
18239 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18241 arg3
= static_cast< int >(val3
);
18244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18245 (arg1
)->SetTickFreq(arg2
,arg3
);
18246 wxPyEndAllowThreads(__tstate
);
18247 if (PyErr_Occurred()) SWIG_fail
;
18249 resultobj
= SWIG_Py_Void();
18256 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18257 PyObject
*resultobj
= 0;
18258 wxSlider
*arg1
= (wxSlider
*) 0 ;
18262 PyObject
*swig_obj
[1] ;
18264 if (!args
) SWIG_fail
;
18265 swig_obj
[0] = args
;
18266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18267 if (!SWIG_IsOK(res1
)) {
18268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18270 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18273 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18274 wxPyEndAllowThreads(__tstate
);
18275 if (PyErr_Occurred()) SWIG_fail
;
18277 resultobj
= SWIG_From_int(static_cast< int >(result
));
18284 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18285 PyObject
*resultobj
= 0;
18286 wxSlider
*arg1
= (wxSlider
*) 0 ;
18289 PyObject
*swig_obj
[1] ;
18291 if (!args
) SWIG_fail
;
18292 swig_obj
[0] = args
;
18293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18294 if (!SWIG_IsOK(res1
)) {
18295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18297 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18300 (arg1
)->ClearTicks();
18301 wxPyEndAllowThreads(__tstate
);
18302 if (PyErr_Occurred()) SWIG_fail
;
18304 resultobj
= SWIG_Py_Void();
18311 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18312 PyObject
*resultobj
= 0;
18313 wxSlider
*arg1
= (wxSlider
*) 0 ;
18319 PyObject
* obj0
= 0 ;
18320 PyObject
* obj1
= 0 ;
18321 char * kwnames
[] = {
18322 (char *) "self",(char *) "tickPos", NULL
18325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18327 if (!SWIG_IsOK(res1
)) {
18328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18330 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18332 if (!SWIG_IsOK(ecode2
)) {
18333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18335 arg2
= static_cast< int >(val2
);
18337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18338 (arg1
)->SetTick(arg2
);
18339 wxPyEndAllowThreads(__tstate
);
18340 if (PyErr_Occurred()) SWIG_fail
;
18342 resultobj
= SWIG_Py_Void();
18349 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18350 PyObject
*resultobj
= 0;
18351 wxSlider
*arg1
= (wxSlider
*) 0 ;
18354 PyObject
*swig_obj
[1] ;
18356 if (!args
) SWIG_fail
;
18357 swig_obj
[0] = args
;
18358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18359 if (!SWIG_IsOK(res1
)) {
18360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18362 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18365 (arg1
)->ClearSel();
18366 wxPyEndAllowThreads(__tstate
);
18367 if (PyErr_Occurred()) SWIG_fail
;
18369 resultobj
= SWIG_Py_Void();
18376 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18377 PyObject
*resultobj
= 0;
18378 wxSlider
*arg1
= (wxSlider
*) 0 ;
18382 PyObject
*swig_obj
[1] ;
18384 if (!args
) SWIG_fail
;
18385 swig_obj
[0] = args
;
18386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18387 if (!SWIG_IsOK(res1
)) {
18388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18390 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18393 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18394 wxPyEndAllowThreads(__tstate
);
18395 if (PyErr_Occurred()) SWIG_fail
;
18397 resultobj
= SWIG_From_int(static_cast< int >(result
));
18404 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18405 PyObject
*resultobj
= 0;
18406 wxSlider
*arg1
= (wxSlider
*) 0 ;
18410 PyObject
*swig_obj
[1] ;
18412 if (!args
) SWIG_fail
;
18413 swig_obj
[0] = args
;
18414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18415 if (!SWIG_IsOK(res1
)) {
18416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18418 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18421 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18422 wxPyEndAllowThreads(__tstate
);
18423 if (PyErr_Occurred()) SWIG_fail
;
18425 resultobj
= SWIG_From_int(static_cast< int >(result
));
18432 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18433 PyObject
*resultobj
= 0;
18434 wxSlider
*arg1
= (wxSlider
*) 0 ;
18443 PyObject
* obj0
= 0 ;
18444 PyObject
* obj1
= 0 ;
18445 PyObject
* obj2
= 0 ;
18446 char * kwnames
[] = {
18447 (char *) "self",(char *) "min",(char *) "max", NULL
18450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18452 if (!SWIG_IsOK(res1
)) {
18453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18455 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18457 if (!SWIG_IsOK(ecode2
)) {
18458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18460 arg2
= static_cast< int >(val2
);
18461 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18462 if (!SWIG_IsOK(ecode3
)) {
18463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18465 arg3
= static_cast< int >(val3
);
18467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18468 (arg1
)->SetSelection(arg2
,arg3
);
18469 wxPyEndAllowThreads(__tstate
);
18470 if (PyErr_Occurred()) SWIG_fail
;
18472 resultobj
= SWIG_Py_Void();
18479 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18480 PyObject
*resultobj
= 0;
18481 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18482 SwigValueWrapper
<wxVisualAttributes
> result
;
18485 PyObject
* obj0
= 0 ;
18486 char * kwnames
[] = {
18487 (char *) "variant", NULL
18490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18492 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18493 if (!SWIG_IsOK(ecode1
)) {
18494 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18496 arg1
= static_cast< wxWindowVariant
>(val1
);
18499 if (!wxPyCheckForApp()) SWIG_fail
;
18500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18501 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18502 wxPyEndAllowThreads(__tstate
);
18503 if (PyErr_Occurred()) SWIG_fail
;
18505 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18512 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18514 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18515 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18516 return SWIG_Py_Void();
18519 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18520 return SWIG_Python_InitShadowInstance(args
);
18523 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18524 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18529 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18530 PyObject
*pyobj
= 0;
18534 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18536 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18543 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18544 PyObject
*resultobj
= 0;
18545 wxWindow
*arg1
= (wxWindow
*) 0 ;
18546 int arg2
= (int) -1 ;
18547 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18548 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18549 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18550 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18551 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18552 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18553 long arg6
= (long) 0 ;
18554 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18555 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18556 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18557 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18558 wxToggleButton
*result
= 0 ;
18563 bool temp3
= false ;
18570 bool temp8
= false ;
18571 PyObject
* obj0
= 0 ;
18572 PyObject
* obj1
= 0 ;
18573 PyObject
* obj2
= 0 ;
18574 PyObject
* obj3
= 0 ;
18575 PyObject
* obj4
= 0 ;
18576 PyObject
* obj5
= 0 ;
18577 PyObject
* obj6
= 0 ;
18578 PyObject
* obj7
= 0 ;
18579 char * kwnames
[] = {
18580 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18585 if (!SWIG_IsOK(res1
)) {
18586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18588 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18591 if (!SWIG_IsOK(ecode2
)) {
18592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18594 arg2
= static_cast< int >(val2
);
18598 arg3
= wxString_in_helper(obj2
);
18599 if (arg3
== NULL
) SWIG_fail
;
18606 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18612 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18616 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18617 if (!SWIG_IsOK(ecode6
)) {
18618 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18620 arg6
= static_cast< long >(val6
);
18623 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18624 if (!SWIG_IsOK(res7
)) {
18625 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18628 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18630 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18634 arg8
= wxString_in_helper(obj7
);
18635 if (arg8
== NULL
) SWIG_fail
;
18640 if (!wxPyCheckForApp()) SWIG_fail
;
18641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18642 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18643 wxPyEndAllowThreads(__tstate
);
18644 if (PyErr_Occurred()) SWIG_fail
;
18646 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18669 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18670 PyObject
*resultobj
= 0;
18671 wxToggleButton
*result
= 0 ;
18673 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18675 if (!wxPyCheckForApp()) SWIG_fail
;
18676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18677 result
= (wxToggleButton
*)new wxToggleButton();
18678 wxPyEndAllowThreads(__tstate
);
18679 if (PyErr_Occurred()) SWIG_fail
;
18681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18688 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18689 PyObject
*resultobj
= 0;
18690 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18691 wxWindow
*arg2
= (wxWindow
*) 0 ;
18692 int arg3
= (int) -1 ;
18693 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18694 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18695 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18696 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18697 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18698 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18699 long arg7
= (long) 0 ;
18700 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18701 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18702 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18703 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18711 bool temp4
= false ;
18718 bool temp9
= false ;
18719 PyObject
* obj0
= 0 ;
18720 PyObject
* obj1
= 0 ;
18721 PyObject
* obj2
= 0 ;
18722 PyObject
* obj3
= 0 ;
18723 PyObject
* obj4
= 0 ;
18724 PyObject
* obj5
= 0 ;
18725 PyObject
* obj6
= 0 ;
18726 PyObject
* obj7
= 0 ;
18727 PyObject
* obj8
= 0 ;
18728 char * kwnames
[] = {
18729 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18734 if (!SWIG_IsOK(res1
)) {
18735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18737 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18738 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18739 if (!SWIG_IsOK(res2
)) {
18740 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18742 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18744 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18745 if (!SWIG_IsOK(ecode3
)) {
18746 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18748 arg3
= static_cast< int >(val3
);
18752 arg4
= wxString_in_helper(obj3
);
18753 if (arg4
== NULL
) SWIG_fail
;
18760 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18766 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18770 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18771 if (!SWIG_IsOK(ecode7
)) {
18772 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18774 arg7
= static_cast< long >(val7
);
18777 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18778 if (!SWIG_IsOK(res8
)) {
18779 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18782 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18784 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18788 arg9
= wxString_in_helper(obj8
);
18789 if (arg9
== NULL
) SWIG_fail
;
18794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18795 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18796 wxPyEndAllowThreads(__tstate
);
18797 if (PyErr_Occurred()) SWIG_fail
;
18800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18824 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18825 PyObject
*resultobj
= 0;
18826 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18832 PyObject
* obj0
= 0 ;
18833 PyObject
* obj1
= 0 ;
18834 char * kwnames
[] = {
18835 (char *) "self",(char *) "value", NULL
18838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18840 if (!SWIG_IsOK(res1
)) {
18841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18843 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18844 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18845 if (!SWIG_IsOK(ecode2
)) {
18846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18848 arg2
= static_cast< bool >(val2
);
18850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18851 (arg1
)->SetValue(arg2
);
18852 wxPyEndAllowThreads(__tstate
);
18853 if (PyErr_Occurred()) SWIG_fail
;
18855 resultobj
= SWIG_Py_Void();
18862 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18863 PyObject
*resultobj
= 0;
18864 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18868 PyObject
*swig_obj
[1] ;
18870 if (!args
) SWIG_fail
;
18871 swig_obj
[0] = args
;
18872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18873 if (!SWIG_IsOK(res1
)) {
18874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
18876 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18879 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
18880 wxPyEndAllowThreads(__tstate
);
18881 if (PyErr_Occurred()) SWIG_fail
;
18884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18892 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18893 PyObject
*resultobj
= 0;
18894 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18895 SwigValueWrapper
<wxVisualAttributes
> result
;
18898 PyObject
* obj0
= 0 ;
18899 char * kwnames
[] = {
18900 (char *) "variant", NULL
18903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18905 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18906 if (!SWIG_IsOK(ecode1
)) {
18907 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18909 arg1
= static_cast< wxWindowVariant
>(val1
);
18912 if (!wxPyCheckForApp()) SWIG_fail
;
18913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18914 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
18915 wxPyEndAllowThreads(__tstate
);
18916 if (PyErr_Occurred()) SWIG_fail
;
18918 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18925 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18927 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18928 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
18929 return SWIG_Py_Void();
18932 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18933 return SWIG_Python_InitShadowInstance(args
);
18936 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
18937 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
18942 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
18943 PyObject
*pyobj
= 0;
18947 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18949 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18956 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18957 PyObject
*resultobj
= 0;
18958 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18962 PyObject
*swig_obj
[1] ;
18964 if (!args
) SWIG_fail
;
18965 swig_obj
[0] = args
;
18966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18967 if (!SWIG_IsOK(res1
)) {
18968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18970 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18973 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
18974 wxPyEndAllowThreads(__tstate
);
18975 if (PyErr_Occurred()) SWIG_fail
;
18977 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
18984 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18985 PyObject
*resultobj
= 0;
18986 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18988 wxWindow
*result
= 0 ;
18993 PyObject
* obj0
= 0 ;
18994 PyObject
* obj1
= 0 ;
18995 char * kwnames
[] = {
18996 (char *) "self",(char *) "n", NULL
18999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19001 if (!SWIG_IsOK(res1
)) {
19002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19004 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19005 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19006 if (!SWIG_IsOK(ecode2
)) {
19007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19009 arg2
= static_cast< size_t >(val2
);
19011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19012 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19013 wxPyEndAllowThreads(__tstate
);
19014 if (PyErr_Occurred()) SWIG_fail
;
19017 resultobj
= wxPyMake_wxObject(result
, 0);
19025 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19026 PyObject
*resultobj
= 0;
19027 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19028 wxWindow
*result
= 0 ;
19031 PyObject
*swig_obj
[1] ;
19033 if (!args
) SWIG_fail
;
19034 swig_obj
[0] = args
;
19035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19036 if (!SWIG_IsOK(res1
)) {
19037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19039 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19042 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19043 wxPyEndAllowThreads(__tstate
);
19044 if (PyErr_Occurred()) SWIG_fail
;
19047 resultobj
= wxPyMake_wxObject(result
, 0);
19055 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19056 PyObject
*resultobj
= 0;
19057 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19061 PyObject
*swig_obj
[1] ;
19063 if (!args
) SWIG_fail
;
19064 swig_obj
[0] = args
;
19065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19066 if (!SWIG_IsOK(res1
)) {
19067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19069 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19072 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19073 wxPyEndAllowThreads(__tstate
);
19074 if (PyErr_Occurred()) SWIG_fail
;
19076 resultobj
= SWIG_From_int(static_cast< int >(result
));
19083 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19084 PyObject
*resultobj
= 0;
19085 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19087 wxString
*arg3
= 0 ;
19093 bool temp3
= false ;
19094 PyObject
* obj0
= 0 ;
19095 PyObject
* obj1
= 0 ;
19096 PyObject
* obj2
= 0 ;
19097 char * kwnames
[] = {
19098 (char *) "self",(char *) "n",(char *) "strText", NULL
19101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19103 if (!SWIG_IsOK(res1
)) {
19104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19106 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19107 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19108 if (!SWIG_IsOK(ecode2
)) {
19109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19111 arg2
= static_cast< size_t >(val2
);
19113 arg3
= wxString_in_helper(obj2
);
19114 if (arg3
== NULL
) SWIG_fail
;
19118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19119 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19120 wxPyEndAllowThreads(__tstate
);
19121 if (PyErr_Occurred()) SWIG_fail
;
19124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19140 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19141 PyObject
*resultobj
= 0;
19142 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19149 PyObject
* obj0
= 0 ;
19150 PyObject
* obj1
= 0 ;
19151 char * kwnames
[] = {
19152 (char *) "self",(char *) "n", NULL
19155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19157 if (!SWIG_IsOK(res1
)) {
19158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19160 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19161 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19162 if (!SWIG_IsOK(ecode2
)) {
19163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19165 arg2
= static_cast< size_t >(val2
);
19167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19168 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19169 wxPyEndAllowThreads(__tstate
);
19170 if (PyErr_Occurred()) SWIG_fail
;
19174 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19176 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19185 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19186 PyObject
*resultobj
= 0;
19187 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19188 wxImageList
*arg2
= (wxImageList
*) 0 ;
19193 PyObject
* obj0
= 0 ;
19194 PyObject
* obj1
= 0 ;
19195 char * kwnames
[] = {
19196 (char *) "self",(char *) "imageList", NULL
19199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19201 if (!SWIG_IsOK(res1
)) {
19202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19204 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19205 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19206 if (!SWIG_IsOK(res2
)) {
19207 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19209 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19212 (arg1
)->SetImageList(arg2
);
19213 wxPyEndAllowThreads(__tstate
);
19214 if (PyErr_Occurred()) SWIG_fail
;
19216 resultobj
= SWIG_Py_Void();
19223 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19224 PyObject
*resultobj
= 0;
19225 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19226 wxImageList
*arg2
= (wxImageList
*) 0 ;
19230 PyObject
* obj0
= 0 ;
19231 PyObject
* obj1
= 0 ;
19232 char * kwnames
[] = {
19233 (char *) "self",(char *) "imageList", NULL
19236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19238 if (!SWIG_IsOK(res1
)) {
19239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19241 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19242 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19243 if (!SWIG_IsOK(res2
)) {
19244 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19248 (arg1
)->AssignImageList(arg2
);
19249 wxPyEndAllowThreads(__tstate
);
19250 if (PyErr_Occurred()) SWIG_fail
;
19252 resultobj
= SWIG_Py_Void();
19259 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19260 PyObject
*resultobj
= 0;
19261 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19262 wxImageList
*result
= 0 ;
19265 PyObject
*swig_obj
[1] ;
19267 if (!args
) SWIG_fail
;
19268 swig_obj
[0] = args
;
19269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19270 if (!SWIG_IsOK(res1
)) {
19271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19273 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19276 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19277 wxPyEndAllowThreads(__tstate
);
19278 if (PyErr_Occurred()) SWIG_fail
;
19281 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19289 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19290 PyObject
*resultobj
= 0;
19291 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19298 PyObject
* obj0
= 0 ;
19299 PyObject
* obj1
= 0 ;
19300 char * kwnames
[] = {
19301 (char *) "self",(char *) "n", NULL
19304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19306 if (!SWIG_IsOK(res1
)) {
19307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19309 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19310 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19311 if (!SWIG_IsOK(ecode2
)) {
19312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19314 arg2
= static_cast< size_t >(val2
);
19316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19317 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19318 wxPyEndAllowThreads(__tstate
);
19319 if (PyErr_Occurred()) SWIG_fail
;
19321 resultobj
= SWIG_From_int(static_cast< int >(result
));
19328 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19329 PyObject
*resultobj
= 0;
19330 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19340 PyObject
* obj0
= 0 ;
19341 PyObject
* obj1
= 0 ;
19342 PyObject
* obj2
= 0 ;
19343 char * kwnames
[] = {
19344 (char *) "self",(char *) "n",(char *) "imageId", NULL
19347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19349 if (!SWIG_IsOK(res1
)) {
19350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19352 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19353 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19354 if (!SWIG_IsOK(ecode2
)) {
19355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19357 arg2
= static_cast< size_t >(val2
);
19358 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19359 if (!SWIG_IsOK(ecode3
)) {
19360 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19362 arg3
= static_cast< int >(val3
);
19364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19365 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19366 wxPyEndAllowThreads(__tstate
);
19367 if (PyErr_Occurred()) SWIG_fail
;
19370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19378 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19379 PyObject
*resultobj
= 0;
19380 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19385 PyObject
* obj0
= 0 ;
19386 PyObject
* obj1
= 0 ;
19387 char * kwnames
[] = {
19388 (char *) "self",(char *) "size", NULL
19391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19393 if (!SWIG_IsOK(res1
)) {
19394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19396 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19399 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19403 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19404 wxPyEndAllowThreads(__tstate
);
19405 if (PyErr_Occurred()) SWIG_fail
;
19407 resultobj
= SWIG_Py_Void();
19414 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19415 PyObject
*resultobj
= 0;
19416 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19422 PyObject
* obj0
= 0 ;
19423 PyObject
* obj1
= 0 ;
19424 char * kwnames
[] = {
19425 (char *) "self",(char *) "sizePage", NULL
19428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19430 if (!SWIG_IsOK(res1
)) {
19431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19433 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19436 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19440 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19441 wxPyEndAllowThreads(__tstate
);
19442 if (PyErr_Occurred()) SWIG_fail
;
19444 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19451 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19452 PyObject
*resultobj
= 0;
19453 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19454 unsigned int result
;
19457 PyObject
*swig_obj
[1] ;
19459 if (!args
) SWIG_fail
;
19460 swig_obj
[0] = args
;
19461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19462 if (!SWIG_IsOK(res1
)) {
19463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19465 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19468 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19469 wxPyEndAllowThreads(__tstate
);
19470 if (PyErr_Occurred()) SWIG_fail
;
19472 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19479 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19480 PyObject
*resultobj
= 0;
19481 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19482 unsigned int arg2
;
19485 unsigned int val2
;
19487 PyObject
* obj0
= 0 ;
19488 PyObject
* obj1
= 0 ;
19489 char * kwnames
[] = {
19490 (char *) "self",(char *) "internalBorder", NULL
19493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19495 if (!SWIG_IsOK(res1
)) {
19496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19498 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19499 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19500 if (!SWIG_IsOK(ecode2
)) {
19501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19503 arg2
= static_cast< unsigned int >(val2
);
19505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19506 (arg1
)->SetInternalBorder(arg2
);
19507 wxPyEndAllowThreads(__tstate
);
19508 if (PyErr_Occurred()) SWIG_fail
;
19510 resultobj
= SWIG_Py_Void();
19517 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19518 PyObject
*resultobj
= 0;
19519 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19523 PyObject
*swig_obj
[1] ;
19525 if (!args
) SWIG_fail
;
19526 swig_obj
[0] = args
;
19527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19528 if (!SWIG_IsOK(res1
)) {
19529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19531 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19534 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19535 wxPyEndAllowThreads(__tstate
);
19536 if (PyErr_Occurred()) SWIG_fail
;
19539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19547 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19548 PyObject
*resultobj
= 0;
19549 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19555 PyObject
* obj0
= 0 ;
19556 PyObject
* obj1
= 0 ;
19557 char * kwnames
[] = {
19558 (char *) "self",(char *) "margin", NULL
19561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19563 if (!SWIG_IsOK(res1
)) {
19564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19566 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19568 if (!SWIG_IsOK(ecode2
)) {
19569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19571 arg2
= static_cast< int >(val2
);
19573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19574 (arg1
)->SetControlMargin(arg2
);
19575 wxPyEndAllowThreads(__tstate
);
19576 if (PyErr_Occurred()) SWIG_fail
;
19578 resultobj
= SWIG_Py_Void();
19585 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19586 PyObject
*resultobj
= 0;
19587 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19591 PyObject
*swig_obj
[1] ;
19593 if (!args
) SWIG_fail
;
19594 swig_obj
[0] = args
;
19595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19596 if (!SWIG_IsOK(res1
)) {
19597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19599 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19602 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19603 wxPyEndAllowThreads(__tstate
);
19604 if (PyErr_Occurred()) SWIG_fail
;
19606 resultobj
= SWIG_From_int(static_cast< int >(result
));
19613 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19614 PyObject
*resultobj
= 0;
19615 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19621 PyObject
* obj0
= 0 ;
19622 PyObject
* obj1
= 0 ;
19623 char * kwnames
[] = {
19624 (char *) "self",(char *) "fit", NULL
19627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19629 if (!SWIG_IsOK(res1
)) {
19630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19632 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19633 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19634 if (!SWIG_IsOK(ecode2
)) {
19635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19637 arg2
= static_cast< bool >(val2
);
19639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19640 (arg1
)->SetFitToCurrentPage(arg2
);
19641 wxPyEndAllowThreads(__tstate
);
19642 if (PyErr_Occurred()) SWIG_fail
;
19644 resultobj
= SWIG_Py_Void();
19651 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19652 PyObject
*resultobj
= 0;
19653 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19657 PyObject
*swig_obj
[1] ;
19659 if (!args
) SWIG_fail
;
19660 swig_obj
[0] = args
;
19661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19662 if (!SWIG_IsOK(res1
)) {
19663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19665 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19668 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19669 wxPyEndAllowThreads(__tstate
);
19670 if (PyErr_Occurred()) SWIG_fail
;
19673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19681 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19682 PyObject
*resultobj
= 0;
19683 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19684 wxSizer
*result
= 0 ;
19687 PyObject
*swig_obj
[1] ;
19689 if (!args
) SWIG_fail
;
19690 swig_obj
[0] = args
;
19691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19692 if (!SWIG_IsOK(res1
)) {
19693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19695 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19698 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19699 wxPyEndAllowThreads(__tstate
);
19700 if (PyErr_Occurred()) SWIG_fail
;
19703 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19711 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19712 PyObject
*resultobj
= 0;
19713 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19720 PyObject
* obj0
= 0 ;
19721 PyObject
* obj1
= 0 ;
19722 char * kwnames
[] = {
19723 (char *) "self",(char *) "n", NULL
19726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19728 if (!SWIG_IsOK(res1
)) {
19729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19731 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19732 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19733 if (!SWIG_IsOK(ecode2
)) {
19734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19736 arg2
= static_cast< size_t >(val2
);
19738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19739 result
= (bool)(arg1
)->DeletePage(arg2
);
19740 wxPyEndAllowThreads(__tstate
);
19741 if (PyErr_Occurred()) SWIG_fail
;
19744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19752 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19753 PyObject
*resultobj
= 0;
19754 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19761 PyObject
* obj0
= 0 ;
19762 PyObject
* obj1
= 0 ;
19763 char * kwnames
[] = {
19764 (char *) "self",(char *) "n", NULL
19767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19769 if (!SWIG_IsOK(res1
)) {
19770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19772 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19773 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19774 if (!SWIG_IsOK(ecode2
)) {
19775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19777 arg2
= static_cast< size_t >(val2
);
19779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19780 result
= (bool)(arg1
)->RemovePage(arg2
);
19781 wxPyEndAllowThreads(__tstate
);
19782 if (PyErr_Occurred()) SWIG_fail
;
19785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19793 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19794 PyObject
*resultobj
= 0;
19795 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19799 PyObject
*swig_obj
[1] ;
19801 if (!args
) SWIG_fail
;
19802 swig_obj
[0] = args
;
19803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19804 if (!SWIG_IsOK(res1
)) {
19805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19807 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19810 result
= (bool)(arg1
)->DeleteAllPages();
19811 wxPyEndAllowThreads(__tstate
);
19812 if (PyErr_Occurred()) SWIG_fail
;
19815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19823 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19824 PyObject
*resultobj
= 0;
19825 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19826 wxWindow
*arg2
= (wxWindow
*) 0 ;
19827 wxString
*arg3
= 0 ;
19828 bool arg4
= (bool) false ;
19829 int arg5
= (int) -1 ;
19835 bool temp3
= false ;
19840 PyObject
* obj0
= 0 ;
19841 PyObject
* obj1
= 0 ;
19842 PyObject
* obj2
= 0 ;
19843 PyObject
* obj3
= 0 ;
19844 PyObject
* obj4
= 0 ;
19845 char * kwnames
[] = {
19846 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19851 if (!SWIG_IsOK(res1
)) {
19852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19854 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19855 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19856 if (!SWIG_IsOK(res2
)) {
19857 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
19859 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19861 arg3
= wxString_in_helper(obj2
);
19862 if (arg3
== NULL
) SWIG_fail
;
19866 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19867 if (!SWIG_IsOK(ecode4
)) {
19868 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
19870 arg4
= static_cast< bool >(val4
);
19873 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19874 if (!SWIG_IsOK(ecode5
)) {
19875 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
19877 arg5
= static_cast< int >(val5
);
19880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19881 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19882 wxPyEndAllowThreads(__tstate
);
19883 if (PyErr_Occurred()) SWIG_fail
;
19886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19902 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19903 PyObject
*resultobj
= 0;
19904 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19906 wxWindow
*arg3
= (wxWindow
*) 0 ;
19907 wxString
*arg4
= 0 ;
19908 bool arg5
= (bool) false ;
19909 int arg6
= (int) -1 ;
19917 bool temp4
= false ;
19922 PyObject
* obj0
= 0 ;
19923 PyObject
* obj1
= 0 ;
19924 PyObject
* obj2
= 0 ;
19925 PyObject
* obj3
= 0 ;
19926 PyObject
* obj4
= 0 ;
19927 PyObject
* obj5
= 0 ;
19928 char * kwnames
[] = {
19929 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19934 if (!SWIG_IsOK(res1
)) {
19935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19937 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19938 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19939 if (!SWIG_IsOK(ecode2
)) {
19940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
19942 arg2
= static_cast< size_t >(val2
);
19943 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19944 if (!SWIG_IsOK(res3
)) {
19945 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
19947 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
19949 arg4
= wxString_in_helper(obj3
);
19950 if (arg4
== NULL
) SWIG_fail
;
19954 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19955 if (!SWIG_IsOK(ecode5
)) {
19956 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
19958 arg5
= static_cast< bool >(val5
);
19961 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19962 if (!SWIG_IsOK(ecode6
)) {
19963 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
19965 arg6
= static_cast< int >(val6
);
19968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19969 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
19970 wxPyEndAllowThreads(__tstate
);
19971 if (PyErr_Occurred()) SWIG_fail
;
19974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19990 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19991 PyObject
*resultobj
= 0;
19992 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19999 PyObject
* obj0
= 0 ;
20000 PyObject
* obj1
= 0 ;
20001 char * kwnames
[] = {
20002 (char *) "self",(char *) "n", NULL
20005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20007 if (!SWIG_IsOK(res1
)) {
20008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20010 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20011 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20012 if (!SWIG_IsOK(ecode2
)) {
20013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20015 arg2
= static_cast< size_t >(val2
);
20017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20018 result
= (int)(arg1
)->SetSelection(arg2
);
20019 wxPyEndAllowThreads(__tstate
);
20020 if (PyErr_Occurred()) SWIG_fail
;
20022 resultobj
= SWIG_From_int(static_cast< int >(result
));
20029 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20030 PyObject
*resultobj
= 0;
20031 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20032 bool arg2
= (bool) true ;
20037 PyObject
* obj0
= 0 ;
20038 PyObject
* obj1
= 0 ;
20039 char * kwnames
[] = {
20040 (char *) "self",(char *) "forward", NULL
20043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20045 if (!SWIG_IsOK(res1
)) {
20046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20048 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20050 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20051 if (!SWIG_IsOK(ecode2
)) {
20052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20054 arg2
= static_cast< bool >(val2
);
20057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20058 (arg1
)->AdvanceSelection(arg2
);
20059 wxPyEndAllowThreads(__tstate
);
20060 if (PyErr_Occurred()) SWIG_fail
;
20062 resultobj
= SWIG_Py_Void();
20069 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20070 PyObject
*resultobj
= 0;
20071 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20072 wxPoint
*arg2
= 0 ;
20073 long *arg3
= (long *) 0 ;
20079 int res3
= SWIG_TMPOBJ
;
20080 PyObject
* obj0
= 0 ;
20081 PyObject
* obj1
= 0 ;
20082 char * kwnames
[] = {
20083 (char *) "self",(char *) "pt", NULL
20087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20089 if (!SWIG_IsOK(res1
)) {
20090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20092 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20095 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20099 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20100 wxPyEndAllowThreads(__tstate
);
20101 if (PyErr_Occurred()) SWIG_fail
;
20103 resultobj
= SWIG_From_int(static_cast< int >(result
));
20104 if (SWIG_IsTmpObj(res3
)) {
20105 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20107 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20108 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20116 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20117 PyObject
*resultobj
= 0;
20118 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20119 SwigValueWrapper
<wxVisualAttributes
> result
;
20122 PyObject
* obj0
= 0 ;
20123 char * kwnames
[] = {
20124 (char *) "variant", NULL
20127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20129 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20130 if (!SWIG_IsOK(ecode1
)) {
20131 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20133 arg1
= static_cast< wxWindowVariant
>(val1
);
20136 if (!wxPyCheckForApp()) SWIG_fail
;
20137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20138 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20139 wxPyEndAllowThreads(__tstate
);
20140 if (PyErr_Occurred()) SWIG_fail
;
20142 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20149 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20151 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20152 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20153 return SWIG_Py_Void();
20156 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20157 PyObject
*resultobj
= 0;
20158 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20159 int arg2
= (int) 0 ;
20160 int arg3
= (int) -1 ;
20161 int arg4
= (int) -1 ;
20162 wxBookCtrlBaseEvent
*result
= 0 ;
20171 PyObject
* obj0
= 0 ;
20172 PyObject
* obj1
= 0 ;
20173 PyObject
* obj2
= 0 ;
20174 PyObject
* obj3
= 0 ;
20175 char * kwnames
[] = {
20176 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20181 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20182 if (!SWIG_IsOK(ecode1
)) {
20183 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20185 arg1
= static_cast< wxEventType
>(val1
);
20188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20189 if (!SWIG_IsOK(ecode2
)) {
20190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20192 arg2
= static_cast< int >(val2
);
20195 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20196 if (!SWIG_IsOK(ecode3
)) {
20197 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20199 arg3
= static_cast< int >(val3
);
20202 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20203 if (!SWIG_IsOK(ecode4
)) {
20204 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20206 arg4
= static_cast< int >(val4
);
20209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20210 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20211 wxPyEndAllowThreads(__tstate
);
20212 if (PyErr_Occurred()) SWIG_fail
;
20214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20221 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20222 PyObject
*resultobj
= 0;
20223 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20227 PyObject
*swig_obj
[1] ;
20229 if (!args
) SWIG_fail
;
20230 swig_obj
[0] = args
;
20231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20232 if (!SWIG_IsOK(res1
)) {
20233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20235 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20238 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20239 wxPyEndAllowThreads(__tstate
);
20240 if (PyErr_Occurred()) SWIG_fail
;
20242 resultobj
= SWIG_From_int(static_cast< int >(result
));
20249 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20250 PyObject
*resultobj
= 0;
20251 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20257 PyObject
* obj0
= 0 ;
20258 PyObject
* obj1
= 0 ;
20259 char * kwnames
[] = {
20260 (char *) "self",(char *) "nSel", NULL
20263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20265 if (!SWIG_IsOK(res1
)) {
20266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20268 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20269 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20270 if (!SWIG_IsOK(ecode2
)) {
20271 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20273 arg2
= static_cast< int >(val2
);
20275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20276 (arg1
)->SetSelection(arg2
);
20277 wxPyEndAllowThreads(__tstate
);
20278 if (PyErr_Occurred()) SWIG_fail
;
20280 resultobj
= SWIG_Py_Void();
20287 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20288 PyObject
*resultobj
= 0;
20289 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20293 PyObject
*swig_obj
[1] ;
20295 if (!args
) SWIG_fail
;
20296 swig_obj
[0] = args
;
20297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20298 if (!SWIG_IsOK(res1
)) {
20299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20301 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20304 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20305 wxPyEndAllowThreads(__tstate
);
20306 if (PyErr_Occurred()) SWIG_fail
;
20308 resultobj
= SWIG_From_int(static_cast< int >(result
));
20315 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20316 PyObject
*resultobj
= 0;
20317 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20323 PyObject
* obj0
= 0 ;
20324 PyObject
* obj1
= 0 ;
20325 char * kwnames
[] = {
20326 (char *) "self",(char *) "nOldSel", NULL
20329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20331 if (!SWIG_IsOK(res1
)) {
20332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20334 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20335 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20336 if (!SWIG_IsOK(ecode2
)) {
20337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20339 arg2
= static_cast< int >(val2
);
20341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20342 (arg1
)->SetOldSelection(arg2
);
20343 wxPyEndAllowThreads(__tstate
);
20344 if (PyErr_Occurred()) SWIG_fail
;
20346 resultobj
= SWIG_Py_Void();
20353 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20355 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20356 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20357 return SWIG_Py_Void();
20360 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20361 return SWIG_Python_InitShadowInstance(args
);
20364 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20365 PyObject
*resultobj
= 0;
20366 wxWindow
*arg1
= (wxWindow
*) 0 ;
20367 int arg2
= (int) -1 ;
20368 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20369 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20370 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20371 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20372 long arg5
= (long) 0 ;
20373 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20374 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20375 wxNotebook
*result
= 0 ;
20384 bool temp6
= false ;
20385 PyObject
* obj0
= 0 ;
20386 PyObject
* obj1
= 0 ;
20387 PyObject
* obj2
= 0 ;
20388 PyObject
* obj3
= 0 ;
20389 PyObject
* obj4
= 0 ;
20390 PyObject
* obj5
= 0 ;
20391 char * kwnames
[] = {
20392 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20397 if (!SWIG_IsOK(res1
)) {
20398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20400 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20403 if (!SWIG_IsOK(ecode2
)) {
20404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20406 arg2
= static_cast< int >(val2
);
20411 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20417 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20421 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20422 if (!SWIG_IsOK(ecode5
)) {
20423 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20425 arg5
= static_cast< long >(val5
);
20429 arg6
= wxString_in_helper(obj5
);
20430 if (arg6
== NULL
) SWIG_fail
;
20435 if (!wxPyCheckForApp()) SWIG_fail
;
20436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20437 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20438 wxPyEndAllowThreads(__tstate
);
20439 if (PyErr_Occurred()) SWIG_fail
;
20441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20456 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20457 PyObject
*resultobj
= 0;
20458 wxNotebook
*result
= 0 ;
20460 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20462 if (!wxPyCheckForApp()) SWIG_fail
;
20463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20464 result
= (wxNotebook
*)new wxNotebook();
20465 wxPyEndAllowThreads(__tstate
);
20466 if (PyErr_Occurred()) SWIG_fail
;
20468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20475 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20476 PyObject
*resultobj
= 0;
20477 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20478 wxWindow
*arg2
= (wxWindow
*) 0 ;
20479 int arg3
= (int) -1 ;
20480 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20481 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20482 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20483 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20484 long arg6
= (long) 0 ;
20485 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20486 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20498 bool temp7
= false ;
20499 PyObject
* obj0
= 0 ;
20500 PyObject
* obj1
= 0 ;
20501 PyObject
* obj2
= 0 ;
20502 PyObject
* obj3
= 0 ;
20503 PyObject
* obj4
= 0 ;
20504 PyObject
* obj5
= 0 ;
20505 PyObject
* obj6
= 0 ;
20506 char * kwnames
[] = {
20507 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20512 if (!SWIG_IsOK(res1
)) {
20513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20515 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20516 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20517 if (!SWIG_IsOK(res2
)) {
20518 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20520 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20522 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20523 if (!SWIG_IsOK(ecode3
)) {
20524 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20526 arg3
= static_cast< int >(val3
);
20531 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20537 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20541 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20542 if (!SWIG_IsOK(ecode6
)) {
20543 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20545 arg6
= static_cast< long >(val6
);
20549 arg7
= wxString_in_helper(obj6
);
20550 if (arg7
== NULL
) SWIG_fail
;
20555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20556 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20557 wxPyEndAllowThreads(__tstate
);
20558 if (PyErr_Occurred()) SWIG_fail
;
20561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20577 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20578 PyObject
*resultobj
= 0;
20579 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20583 PyObject
*swig_obj
[1] ;
20585 if (!args
) SWIG_fail
;
20586 swig_obj
[0] = args
;
20587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20588 if (!SWIG_IsOK(res1
)) {
20589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20591 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20594 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20595 wxPyEndAllowThreads(__tstate
);
20596 if (PyErr_Occurred()) SWIG_fail
;
20598 resultobj
= SWIG_From_int(static_cast< int >(result
));
20605 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20606 PyObject
*resultobj
= 0;
20607 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20612 PyObject
* obj0
= 0 ;
20613 PyObject
* obj1
= 0 ;
20614 char * kwnames
[] = {
20615 (char *) "self",(char *) "padding", NULL
20618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20620 if (!SWIG_IsOK(res1
)) {
20621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20623 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20626 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20630 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20631 wxPyEndAllowThreads(__tstate
);
20632 if (PyErr_Occurred()) SWIG_fail
;
20634 resultobj
= SWIG_Py_Void();
20641 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20642 PyObject
*resultobj
= 0;
20643 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20648 PyObject
* obj0
= 0 ;
20649 PyObject
* obj1
= 0 ;
20650 char * kwnames
[] = {
20651 (char *) "self",(char *) "sz", NULL
20654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20656 if (!SWIG_IsOK(res1
)) {
20657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20659 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20662 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20666 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20667 wxPyEndAllowThreads(__tstate
);
20668 if (PyErr_Occurred()) SWIG_fail
;
20670 resultobj
= SWIG_Py_Void();
20677 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20678 PyObject
*resultobj
= 0;
20679 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20683 PyObject
*swig_obj
[1] ;
20685 if (!args
) SWIG_fail
;
20686 swig_obj
[0] = args
;
20687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20688 if (!SWIG_IsOK(res1
)) {
20689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20691 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20694 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20695 wxPyEndAllowThreads(__tstate
);
20696 if (PyErr_Occurred()) SWIG_fail
;
20698 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20705 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20706 PyObject
*resultobj
= 0;
20707 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20708 SwigValueWrapper
<wxVisualAttributes
> result
;
20711 PyObject
* obj0
= 0 ;
20712 char * kwnames
[] = {
20713 (char *) "variant", NULL
20716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20718 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20719 if (!SWIG_IsOK(ecode1
)) {
20720 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20722 arg1
= static_cast< wxWindowVariant
>(val1
);
20725 if (!wxPyCheckForApp()) SWIG_fail
;
20726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20727 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20728 wxPyEndAllowThreads(__tstate
);
20729 if (PyErr_Occurred()) SWIG_fail
;
20731 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20738 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20740 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20741 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
20742 return SWIG_Py_Void();
20745 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20746 return SWIG_Python_InitShadowInstance(args
);
20749 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20750 PyObject
*resultobj
= 0;
20751 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20752 int arg2
= (int) 0 ;
20753 int arg3
= (int) -1 ;
20754 int arg4
= (int) -1 ;
20755 wxNotebookEvent
*result
= 0 ;
20764 PyObject
* obj0
= 0 ;
20765 PyObject
* obj1
= 0 ;
20766 PyObject
* obj2
= 0 ;
20767 PyObject
* obj3
= 0 ;
20768 char * kwnames
[] = {
20769 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20774 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20775 if (!SWIG_IsOK(ecode1
)) {
20776 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20778 arg1
= static_cast< wxEventType
>(val1
);
20781 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20782 if (!SWIG_IsOK(ecode2
)) {
20783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20785 arg2
= static_cast< int >(val2
);
20788 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20789 if (!SWIG_IsOK(ecode3
)) {
20790 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20792 arg3
= static_cast< int >(val3
);
20795 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20796 if (!SWIG_IsOK(ecode4
)) {
20797 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20799 arg4
= static_cast< int >(val4
);
20802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20803 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
20804 wxPyEndAllowThreads(__tstate
);
20805 if (PyErr_Occurred()) SWIG_fail
;
20807 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
20814 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20816 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20817 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
20818 return SWIG_Py_Void();
20821 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20822 return SWIG_Python_InitShadowInstance(args
);
20825 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20826 PyObject
*resultobj
= 0;
20827 wxWindow
*arg1
= (wxWindow
*) 0 ;
20828 int arg2
= (int) -1 ;
20829 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20830 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20831 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20832 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20833 long arg5
= (long) 0 ;
20834 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20835 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20836 wxListbook
*result
= 0 ;
20845 bool temp6
= false ;
20846 PyObject
* obj0
= 0 ;
20847 PyObject
* obj1
= 0 ;
20848 PyObject
* obj2
= 0 ;
20849 PyObject
* obj3
= 0 ;
20850 PyObject
* obj4
= 0 ;
20851 PyObject
* obj5
= 0 ;
20852 char * kwnames
[] = {
20853 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20858 if (!SWIG_IsOK(res1
)) {
20859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
20861 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20864 if (!SWIG_IsOK(ecode2
)) {
20865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
20867 arg2
= static_cast< int >(val2
);
20872 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20878 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20882 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20883 if (!SWIG_IsOK(ecode5
)) {
20884 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
20886 arg5
= static_cast< long >(val5
);
20890 arg6
= wxString_in_helper(obj5
);
20891 if (arg6
== NULL
) SWIG_fail
;
20896 if (!wxPyCheckForApp()) SWIG_fail
;
20897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20898 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20899 wxPyEndAllowThreads(__tstate
);
20900 if (PyErr_Occurred()) SWIG_fail
;
20902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
20917 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20918 PyObject
*resultobj
= 0;
20919 wxListbook
*result
= 0 ;
20921 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
20923 if (!wxPyCheckForApp()) SWIG_fail
;
20924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20925 result
= (wxListbook
*)new wxListbook();
20926 wxPyEndAllowThreads(__tstate
);
20927 if (PyErr_Occurred()) SWIG_fail
;
20929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
20936 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20937 PyObject
*resultobj
= 0;
20938 wxListbook
*arg1
= (wxListbook
*) 0 ;
20939 wxWindow
*arg2
= (wxWindow
*) 0 ;
20940 int arg3
= (int) -1 ;
20941 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20942 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20943 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20944 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20945 long arg6
= (long) 0 ;
20946 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20947 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20959 bool temp7
= false ;
20960 PyObject
* obj0
= 0 ;
20961 PyObject
* obj1
= 0 ;
20962 PyObject
* obj2
= 0 ;
20963 PyObject
* obj3
= 0 ;
20964 PyObject
* obj4
= 0 ;
20965 PyObject
* obj5
= 0 ;
20966 PyObject
* obj6
= 0 ;
20967 char * kwnames
[] = {
20968 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
20973 if (!SWIG_IsOK(res1
)) {
20974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
20976 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
20977 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20978 if (!SWIG_IsOK(res2
)) {
20979 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20981 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20983 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20984 if (!SWIG_IsOK(ecode3
)) {
20985 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
20987 arg3
= static_cast< int >(val3
);
20992 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20998 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21002 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21003 if (!SWIG_IsOK(ecode6
)) {
21004 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21006 arg6
= static_cast< long >(val6
);
21010 arg7
= wxString_in_helper(obj6
);
21011 if (arg7
== NULL
) SWIG_fail
;
21016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21017 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21018 wxPyEndAllowThreads(__tstate
);
21019 if (PyErr_Occurred()) SWIG_fail
;
21022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21038 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21039 PyObject
*resultobj
= 0;
21040 wxListbook
*arg1
= (wxListbook
*) 0 ;
21041 wxListView
*result
= 0 ;
21044 PyObject
*swig_obj
[1] ;
21046 if (!args
) SWIG_fail
;
21047 swig_obj
[0] = args
;
21048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21049 if (!SWIG_IsOK(res1
)) {
21050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21052 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21055 result
= (wxListView
*)(arg1
)->GetListView();
21056 wxPyEndAllowThreads(__tstate
);
21057 if (PyErr_Occurred()) SWIG_fail
;
21059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21066 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21068 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21069 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21070 return SWIG_Py_Void();
21073 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21074 return SWIG_Python_InitShadowInstance(args
);
21077 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21078 PyObject
*resultobj
= 0;
21079 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21080 int arg2
= (int) 0 ;
21081 int arg3
= (int) -1 ;
21082 int arg4
= (int) -1 ;
21083 wxListbookEvent
*result
= 0 ;
21092 PyObject
* obj0
= 0 ;
21093 PyObject
* obj1
= 0 ;
21094 PyObject
* obj2
= 0 ;
21095 PyObject
* obj3
= 0 ;
21096 char * kwnames
[] = {
21097 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21102 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21103 if (!SWIG_IsOK(ecode1
)) {
21104 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21106 arg1
= static_cast< wxEventType
>(val1
);
21109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21110 if (!SWIG_IsOK(ecode2
)) {
21111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21113 arg2
= static_cast< int >(val2
);
21116 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21117 if (!SWIG_IsOK(ecode3
)) {
21118 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21120 arg3
= static_cast< int >(val3
);
21123 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21124 if (!SWIG_IsOK(ecode4
)) {
21125 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21127 arg4
= static_cast< int >(val4
);
21130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21131 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21132 wxPyEndAllowThreads(__tstate
);
21133 if (PyErr_Occurred()) SWIG_fail
;
21135 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21142 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21144 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21145 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21146 return SWIG_Py_Void();
21149 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21150 return SWIG_Python_InitShadowInstance(args
);
21153 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21154 PyObject
*resultobj
= 0;
21155 wxWindow
*arg1
= (wxWindow
*) 0 ;
21157 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21158 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21159 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21160 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21161 long arg5
= (long) 0 ;
21162 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21163 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21164 wxChoicebook
*result
= 0 ;
21173 bool temp6
= false ;
21174 PyObject
* obj0
= 0 ;
21175 PyObject
* obj1
= 0 ;
21176 PyObject
* obj2
= 0 ;
21177 PyObject
* obj3
= 0 ;
21178 PyObject
* obj4
= 0 ;
21179 PyObject
* obj5
= 0 ;
21180 char * kwnames
[] = {
21181 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21186 if (!SWIG_IsOK(res1
)) {
21187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21189 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21190 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21191 if (!SWIG_IsOK(ecode2
)) {
21192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21194 arg2
= static_cast< int >(val2
);
21198 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21204 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21208 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21209 if (!SWIG_IsOK(ecode5
)) {
21210 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21212 arg5
= static_cast< long >(val5
);
21216 arg6
= wxString_in_helper(obj5
);
21217 if (arg6
== NULL
) SWIG_fail
;
21222 if (!wxPyCheckForApp()) SWIG_fail
;
21223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21224 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21225 wxPyEndAllowThreads(__tstate
);
21226 if (PyErr_Occurred()) SWIG_fail
;
21228 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21243 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21244 PyObject
*resultobj
= 0;
21245 wxChoicebook
*result
= 0 ;
21247 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21249 if (!wxPyCheckForApp()) SWIG_fail
;
21250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21251 result
= (wxChoicebook
*)new wxChoicebook();
21252 wxPyEndAllowThreads(__tstate
);
21253 if (PyErr_Occurred()) SWIG_fail
;
21255 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21262 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21263 PyObject
*resultobj
= 0;
21264 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21265 wxWindow
*arg2
= (wxWindow
*) 0 ;
21267 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21268 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21269 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21270 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21271 long arg6
= (long) 0 ;
21272 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21273 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21285 bool temp7
= false ;
21286 PyObject
* obj0
= 0 ;
21287 PyObject
* obj1
= 0 ;
21288 PyObject
* obj2
= 0 ;
21289 PyObject
* obj3
= 0 ;
21290 PyObject
* obj4
= 0 ;
21291 PyObject
* obj5
= 0 ;
21292 PyObject
* obj6
= 0 ;
21293 char * kwnames
[] = {
21294 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21299 if (!SWIG_IsOK(res1
)) {
21300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21302 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21303 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21304 if (!SWIG_IsOK(res2
)) {
21305 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21307 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21308 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21309 if (!SWIG_IsOK(ecode3
)) {
21310 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21312 arg3
= static_cast< int >(val3
);
21316 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21322 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21326 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21327 if (!SWIG_IsOK(ecode6
)) {
21328 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21330 arg6
= static_cast< long >(val6
);
21334 arg7
= wxString_in_helper(obj6
);
21335 if (arg7
== NULL
) SWIG_fail
;
21340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21341 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21342 wxPyEndAllowThreads(__tstate
);
21343 if (PyErr_Occurred()) SWIG_fail
;
21346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21362 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21363 PyObject
*resultobj
= 0;
21364 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21365 wxChoice
*result
= 0 ;
21368 PyObject
*swig_obj
[1] ;
21370 if (!args
) SWIG_fail
;
21371 swig_obj
[0] = args
;
21372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21373 if (!SWIG_IsOK(res1
)) {
21374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21376 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21379 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21380 wxPyEndAllowThreads(__tstate
);
21381 if (PyErr_Occurred()) SWIG_fail
;
21383 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21390 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21392 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21393 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21394 return SWIG_Py_Void();
21397 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21398 return SWIG_Python_InitShadowInstance(args
);
21401 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21402 PyObject
*resultobj
= 0;
21403 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21404 int arg2
= (int) 0 ;
21405 int arg3
= (int) -1 ;
21406 int arg4
= (int) -1 ;
21407 wxChoicebookEvent
*result
= 0 ;
21416 PyObject
* obj0
= 0 ;
21417 PyObject
* obj1
= 0 ;
21418 PyObject
* obj2
= 0 ;
21419 PyObject
* obj3
= 0 ;
21420 char * kwnames
[] = {
21421 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21426 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21427 if (!SWIG_IsOK(ecode1
)) {
21428 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21430 arg1
= static_cast< wxEventType
>(val1
);
21433 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21434 if (!SWIG_IsOK(ecode2
)) {
21435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21437 arg2
= static_cast< int >(val2
);
21440 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21441 if (!SWIG_IsOK(ecode3
)) {
21442 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21444 arg3
= static_cast< int >(val3
);
21447 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21448 if (!SWIG_IsOK(ecode4
)) {
21449 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21451 arg4
= static_cast< int >(val4
);
21454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21455 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21456 wxPyEndAllowThreads(__tstate
);
21457 if (PyErr_Occurred()) SWIG_fail
;
21459 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21466 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21468 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21469 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21470 return SWIG_Py_Void();
21473 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21474 return SWIG_Python_InitShadowInstance(args
);
21477 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21478 PyObject
*resultobj
= 0;
21479 wxWindow
*arg1
= (wxWindow
*) 0 ;
21481 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21482 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21483 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21484 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21485 long arg5
= (long) wxBK_DEFAULT
;
21486 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21487 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21488 wxTreebook
*result
= 0 ;
21497 bool temp6
= false ;
21498 PyObject
* obj0
= 0 ;
21499 PyObject
* obj1
= 0 ;
21500 PyObject
* obj2
= 0 ;
21501 PyObject
* obj3
= 0 ;
21502 PyObject
* obj4
= 0 ;
21503 PyObject
* obj5
= 0 ;
21504 char * kwnames
[] = {
21505 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21510 if (!SWIG_IsOK(res1
)) {
21511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21513 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21514 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21515 if (!SWIG_IsOK(ecode2
)) {
21516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21518 arg2
= static_cast< int >(val2
);
21522 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21528 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21532 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21533 if (!SWIG_IsOK(ecode5
)) {
21534 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21536 arg5
= static_cast< long >(val5
);
21540 arg6
= wxString_in_helper(obj5
);
21541 if (arg6
== NULL
) SWIG_fail
;
21546 if (!wxPyCheckForApp()) SWIG_fail
;
21547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21548 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21549 wxPyEndAllowThreads(__tstate
);
21550 if (PyErr_Occurred()) SWIG_fail
;
21552 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21567 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21568 PyObject
*resultobj
= 0;
21569 wxTreebook
*result
= 0 ;
21571 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21573 if (!wxPyCheckForApp()) SWIG_fail
;
21574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21575 result
= (wxTreebook
*)new wxTreebook();
21576 wxPyEndAllowThreads(__tstate
);
21577 if (PyErr_Occurred()) SWIG_fail
;
21579 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21586 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21587 PyObject
*resultobj
= 0;
21588 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21589 wxWindow
*arg2
= (wxWindow
*) 0 ;
21591 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21592 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21593 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21594 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21595 long arg6
= (long) wxBK_DEFAULT
;
21596 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21597 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21609 bool temp7
= false ;
21610 PyObject
* obj0
= 0 ;
21611 PyObject
* obj1
= 0 ;
21612 PyObject
* obj2
= 0 ;
21613 PyObject
* obj3
= 0 ;
21614 PyObject
* obj4
= 0 ;
21615 PyObject
* obj5
= 0 ;
21616 PyObject
* obj6
= 0 ;
21617 char * kwnames
[] = {
21618 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21623 if (!SWIG_IsOK(res1
)) {
21624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21626 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21627 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21628 if (!SWIG_IsOK(res2
)) {
21629 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21631 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21632 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21633 if (!SWIG_IsOK(ecode3
)) {
21634 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21636 arg3
= static_cast< int >(val3
);
21640 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21646 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21650 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21651 if (!SWIG_IsOK(ecode6
)) {
21652 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21654 arg6
= static_cast< long >(val6
);
21658 arg7
= wxString_in_helper(obj6
);
21659 if (arg7
== NULL
) SWIG_fail
;
21664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21665 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21666 wxPyEndAllowThreads(__tstate
);
21667 if (PyErr_Occurred()) SWIG_fail
;
21670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21686 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21687 PyObject
*resultobj
= 0;
21688 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21690 wxWindow
*arg3
= (wxWindow
*) 0 ;
21691 wxString
*arg4
= 0 ;
21692 bool arg5
= (bool) false ;
21693 int arg6
= (int) wxNOT_FOUND
;
21701 bool temp4
= false ;
21706 PyObject
* obj0
= 0 ;
21707 PyObject
* obj1
= 0 ;
21708 PyObject
* obj2
= 0 ;
21709 PyObject
* obj3
= 0 ;
21710 PyObject
* obj4
= 0 ;
21711 PyObject
* obj5
= 0 ;
21712 char * kwnames
[] = {
21713 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21718 if (!SWIG_IsOK(res1
)) {
21719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21721 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21722 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21723 if (!SWIG_IsOK(ecode2
)) {
21724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21726 arg2
= static_cast< size_t >(val2
);
21727 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21728 if (!SWIG_IsOK(res3
)) {
21729 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21731 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
21733 arg4
= wxString_in_helper(obj3
);
21734 if (arg4
== NULL
) SWIG_fail
;
21738 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
21739 if (!SWIG_IsOK(ecode5
)) {
21740 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21742 arg5
= static_cast< bool >(val5
);
21745 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21746 if (!SWIG_IsOK(ecode6
)) {
21747 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21749 arg6
= static_cast< int >(val6
);
21752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21753 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
21754 wxPyEndAllowThreads(__tstate
);
21755 if (PyErr_Occurred()) SWIG_fail
;
21758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21774 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21775 PyObject
*resultobj
= 0;
21776 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21777 wxWindow
*arg2
= (wxWindow
*) 0 ;
21778 wxString
*arg3
= 0 ;
21779 bool arg4
= (bool) false ;
21780 int arg5
= (int) wxNOT_FOUND
;
21786 bool temp3
= false ;
21791 PyObject
* obj0
= 0 ;
21792 PyObject
* obj1
= 0 ;
21793 PyObject
* obj2
= 0 ;
21794 PyObject
* obj3
= 0 ;
21795 PyObject
* obj4
= 0 ;
21796 char * kwnames
[] = {
21797 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21802 if (!SWIG_IsOK(res1
)) {
21803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21805 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21806 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21807 if (!SWIG_IsOK(res2
)) {
21808 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
21810 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21812 arg3
= wxString_in_helper(obj2
);
21813 if (arg3
== NULL
) SWIG_fail
;
21817 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
21818 if (!SWIG_IsOK(ecode4
)) {
21819 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
21821 arg4
= static_cast< bool >(val4
);
21824 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21825 if (!SWIG_IsOK(ecode5
)) {
21826 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
21828 arg5
= static_cast< int >(val5
);
21831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21832 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21833 wxPyEndAllowThreads(__tstate
);
21834 if (PyErr_Occurred()) SWIG_fail
;
21837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21853 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21854 PyObject
*resultobj
= 0;
21855 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21862 PyObject
* obj0
= 0 ;
21863 PyObject
* obj1
= 0 ;
21864 char * kwnames
[] = {
21865 (char *) "self",(char *) "pos", NULL
21868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21870 if (!SWIG_IsOK(res1
)) {
21871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21873 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21874 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21875 if (!SWIG_IsOK(ecode2
)) {
21876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
21878 arg2
= static_cast< size_t >(val2
);
21880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21881 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
21882 wxPyEndAllowThreads(__tstate
);
21883 if (PyErr_Occurred()) SWIG_fail
;
21886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21894 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21895 PyObject
*resultobj
= 0;
21896 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21898 bool arg3
= (bool) true ;
21906 PyObject
* obj0
= 0 ;
21907 PyObject
* obj1
= 0 ;
21908 PyObject
* obj2
= 0 ;
21909 char * kwnames
[] = {
21910 (char *) "self",(char *) "pos",(char *) "expand", NULL
21913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21915 if (!SWIG_IsOK(res1
)) {
21916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21918 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21919 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21920 if (!SWIG_IsOK(ecode2
)) {
21921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
21923 arg2
= static_cast< size_t >(val2
);
21925 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21926 if (!SWIG_IsOK(ecode3
)) {
21927 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
21929 arg3
= static_cast< bool >(val3
);
21932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21933 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
21934 wxPyEndAllowThreads(__tstate
);
21935 if (PyErr_Occurred()) SWIG_fail
;
21938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21946 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21947 PyObject
*resultobj
= 0;
21948 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21955 PyObject
* obj0
= 0 ;
21956 PyObject
* obj1
= 0 ;
21957 char * kwnames
[] = {
21958 (char *) "self",(char *) "pos", NULL
21961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21963 if (!SWIG_IsOK(res1
)) {
21964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21966 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21967 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21968 if (!SWIG_IsOK(ecode2
)) {
21969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
21971 arg2
= static_cast< size_t >(val2
);
21973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21974 result
= (bool)(arg1
)->CollapseNode(arg2
);
21975 wxPyEndAllowThreads(__tstate
);
21976 if (PyErr_Occurred()) SWIG_fail
;
21979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21987 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21988 PyObject
*resultobj
= 0;
21989 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21996 PyObject
* obj0
= 0 ;
21997 PyObject
* obj1
= 0 ;
21998 char * kwnames
[] = {
21999 (char *) "self",(char *) "pos", NULL
22002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22004 if (!SWIG_IsOK(res1
)) {
22005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22007 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22008 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22009 if (!SWIG_IsOK(ecode2
)) {
22010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22012 arg2
= static_cast< size_t >(val2
);
22014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22015 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22016 wxPyEndAllowThreads(__tstate
);
22017 if (PyErr_Occurred()) SWIG_fail
;
22019 resultobj
= SWIG_From_int(static_cast< int >(result
));
22026 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22027 PyObject
*resultobj
= 0;
22028 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22029 wxPyTreeCtrl
*result
= 0 ;
22032 PyObject
*swig_obj
[1] ;
22034 if (!args
) SWIG_fail
;
22035 swig_obj
[0] = args
;
22036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22037 if (!SWIG_IsOK(res1
)) {
22038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22040 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22043 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22044 wxPyEndAllowThreads(__tstate
);
22045 if (PyErr_Occurred()) SWIG_fail
;
22048 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22056 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22058 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22059 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22060 return SWIG_Py_Void();
22063 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22064 return SWIG_Python_InitShadowInstance(args
);
22067 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22068 PyObject
*resultobj
= 0;
22069 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22070 int arg2
= (int) 0 ;
22071 int arg3
= (int) wxNOT_FOUND
;
22072 int arg4
= (int) wxNOT_FOUND
;
22073 wxTreebookEvent
*result
= 0 ;
22082 PyObject
* obj0
= 0 ;
22083 PyObject
* obj1
= 0 ;
22084 PyObject
* obj2
= 0 ;
22085 PyObject
* obj3
= 0 ;
22086 char * kwnames
[] = {
22087 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22092 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22093 if (!SWIG_IsOK(ecode1
)) {
22094 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22096 arg1
= static_cast< wxEventType
>(val1
);
22099 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22100 if (!SWIG_IsOK(ecode2
)) {
22101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22103 arg2
= static_cast< int >(val2
);
22106 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22107 if (!SWIG_IsOK(ecode3
)) {
22108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22110 arg3
= static_cast< int >(val3
);
22113 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22114 if (!SWIG_IsOK(ecode4
)) {
22115 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22117 arg4
= static_cast< int >(val4
);
22120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22121 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22122 wxPyEndAllowThreads(__tstate
);
22123 if (PyErr_Occurred()) SWIG_fail
;
22125 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22132 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22134 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22135 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22136 return SWIG_Py_Void();
22139 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22140 return SWIG_Python_InitShadowInstance(args
);
22143 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22144 PyObject
*resultobj
= 0;
22145 wxWindow
*arg1
= (wxWindow
*) 0 ;
22147 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22148 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22149 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22150 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22151 long arg5
= (long) wxBK_DEFAULT
;
22152 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22153 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22154 wxToolbook
*result
= 0 ;
22163 bool temp6
= false ;
22164 PyObject
* obj0
= 0 ;
22165 PyObject
* obj1
= 0 ;
22166 PyObject
* obj2
= 0 ;
22167 PyObject
* obj3
= 0 ;
22168 PyObject
* obj4
= 0 ;
22169 PyObject
* obj5
= 0 ;
22170 char * kwnames
[] = {
22171 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22176 if (!SWIG_IsOK(res1
)) {
22177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22179 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22180 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22181 if (!SWIG_IsOK(ecode2
)) {
22182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22184 arg2
= static_cast< int >(val2
);
22188 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22194 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22198 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22199 if (!SWIG_IsOK(ecode5
)) {
22200 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22202 arg5
= static_cast< long >(val5
);
22206 arg6
= wxString_in_helper(obj5
);
22207 if (arg6
== NULL
) SWIG_fail
;
22212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22213 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22214 wxPyEndAllowThreads(__tstate
);
22215 if (PyErr_Occurred()) SWIG_fail
;
22217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22232 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22233 PyObject
*resultobj
= 0;
22234 wxToolbook
*result
= 0 ;
22236 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22239 result
= (wxToolbook
*)new wxToolbook();
22240 wxPyEndAllowThreads(__tstate
);
22241 if (PyErr_Occurred()) SWIG_fail
;
22243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22250 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22251 PyObject
*resultobj
= 0;
22252 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22253 wxWindow
*arg2
= (wxWindow
*) 0 ;
22255 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22256 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22257 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22258 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22259 long arg6
= (long) 0 ;
22260 wxString
const &arg7_defvalue
= wxEmptyString
;
22261 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22273 bool temp7
= false ;
22274 PyObject
* obj0
= 0 ;
22275 PyObject
* obj1
= 0 ;
22276 PyObject
* obj2
= 0 ;
22277 PyObject
* obj3
= 0 ;
22278 PyObject
* obj4
= 0 ;
22279 PyObject
* obj5
= 0 ;
22280 PyObject
* obj6
= 0 ;
22281 char * kwnames
[] = {
22282 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22287 if (!SWIG_IsOK(res1
)) {
22288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22290 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22291 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22292 if (!SWIG_IsOK(res2
)) {
22293 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22295 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22296 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22297 if (!SWIG_IsOK(ecode3
)) {
22298 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22300 arg3
= static_cast< int >(val3
);
22304 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22310 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22314 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22315 if (!SWIG_IsOK(ecode6
)) {
22316 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22318 arg6
= static_cast< long >(val6
);
22322 arg7
= wxString_in_helper(obj6
);
22323 if (arg7
== NULL
) SWIG_fail
;
22328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22329 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22330 wxPyEndAllowThreads(__tstate
);
22331 if (PyErr_Occurred()) SWIG_fail
;
22334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22350 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22351 PyObject
*resultobj
= 0;
22352 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22353 wxToolBarBase
*result
= 0 ;
22356 PyObject
*swig_obj
[1] ;
22358 if (!args
) SWIG_fail
;
22359 swig_obj
[0] = args
;
22360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22361 if (!SWIG_IsOK(res1
)) {
22362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22364 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22367 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22368 wxPyEndAllowThreads(__tstate
);
22369 if (PyErr_Occurred()) SWIG_fail
;
22372 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22380 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22381 PyObject
*resultobj
= 0;
22382 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22385 PyObject
*swig_obj
[1] ;
22387 if (!args
) SWIG_fail
;
22388 swig_obj
[0] = args
;
22389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22390 if (!SWIG_IsOK(res1
)) {
22391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22393 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22397 wxPyEndAllowThreads(__tstate
);
22398 if (PyErr_Occurred()) SWIG_fail
;
22400 resultobj
= SWIG_Py_Void();
22407 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22409 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22410 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22411 return SWIG_Py_Void();
22414 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22415 return SWIG_Python_InitShadowInstance(args
);
22418 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22419 PyObject
*resultobj
= 0;
22420 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22421 int arg2
= (int) 0 ;
22422 int arg3
= (int) wxNOT_FOUND
;
22423 int arg4
= (int) wxNOT_FOUND
;
22424 wxToolbookEvent
*result
= 0 ;
22433 PyObject
* obj0
= 0 ;
22434 PyObject
* obj1
= 0 ;
22435 PyObject
* obj2
= 0 ;
22436 PyObject
* obj3
= 0 ;
22437 char * kwnames
[] = {
22438 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22443 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22444 if (!SWIG_IsOK(ecode1
)) {
22445 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22447 arg1
= static_cast< wxEventType
>(val1
);
22450 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22451 if (!SWIG_IsOK(ecode2
)) {
22452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22454 arg2
= static_cast< int >(val2
);
22457 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22458 if (!SWIG_IsOK(ecode3
)) {
22459 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22461 arg3
= static_cast< int >(val3
);
22464 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22465 if (!SWIG_IsOK(ecode4
)) {
22466 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22468 arg4
= static_cast< int >(val4
);
22471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22472 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22473 wxPyEndAllowThreads(__tstate
);
22474 if (PyErr_Occurred()) SWIG_fail
;
22476 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22483 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22485 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22486 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22487 return SWIG_Py_Void();
22490 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22491 return SWIG_Python_InitShadowInstance(args
);
22494 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22495 PyObject
*resultobj
= 0;
22496 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22500 PyObject
*swig_obj
[1] ;
22502 if (!args
) SWIG_fail
;
22503 swig_obj
[0] = args
;
22504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22505 if (!SWIG_IsOK(res1
)) {
22506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22508 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22511 result
= (int)(arg1
)->GetId();
22512 wxPyEndAllowThreads(__tstate
);
22513 if (PyErr_Occurred()) SWIG_fail
;
22515 resultobj
= SWIG_From_int(static_cast< int >(result
));
22522 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22523 PyObject
*resultobj
= 0;
22524 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22525 wxControl
*result
= 0 ;
22528 PyObject
*swig_obj
[1] ;
22530 if (!args
) SWIG_fail
;
22531 swig_obj
[0] = args
;
22532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22533 if (!SWIG_IsOK(res1
)) {
22534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22536 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22539 result
= (wxControl
*)(arg1
)->GetControl();
22540 wxPyEndAllowThreads(__tstate
);
22541 if (PyErr_Occurred()) SWIG_fail
;
22544 resultobj
= wxPyMake_wxObject(result
, 0);
22552 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22553 PyObject
*resultobj
= 0;
22554 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22555 wxToolBarBase
*result
= 0 ;
22558 PyObject
*swig_obj
[1] ;
22560 if (!args
) SWIG_fail
;
22561 swig_obj
[0] = args
;
22562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22563 if (!SWIG_IsOK(res1
)) {
22564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22566 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22569 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22570 wxPyEndAllowThreads(__tstate
);
22571 if (PyErr_Occurred()) SWIG_fail
;
22574 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22582 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22583 PyObject
*resultobj
= 0;
22584 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22588 PyObject
*swig_obj
[1] ;
22590 if (!args
) SWIG_fail
;
22591 swig_obj
[0] = args
;
22592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22593 if (!SWIG_IsOK(res1
)) {
22594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22596 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22599 result
= (int)(arg1
)->IsButton();
22600 wxPyEndAllowThreads(__tstate
);
22601 if (PyErr_Occurred()) SWIG_fail
;
22603 resultobj
= SWIG_From_int(static_cast< int >(result
));
22610 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22611 PyObject
*resultobj
= 0;
22612 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22616 PyObject
*swig_obj
[1] ;
22618 if (!args
) SWIG_fail
;
22619 swig_obj
[0] = args
;
22620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22621 if (!SWIG_IsOK(res1
)) {
22622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22624 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22627 result
= (int)(arg1
)->IsControl();
22628 wxPyEndAllowThreads(__tstate
);
22629 if (PyErr_Occurred()) SWIG_fail
;
22631 resultobj
= SWIG_From_int(static_cast< int >(result
));
22638 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22639 PyObject
*resultobj
= 0;
22640 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22644 PyObject
*swig_obj
[1] ;
22646 if (!args
) SWIG_fail
;
22647 swig_obj
[0] = args
;
22648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22649 if (!SWIG_IsOK(res1
)) {
22650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22652 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22655 result
= (int)(arg1
)->IsSeparator();
22656 wxPyEndAllowThreads(__tstate
);
22657 if (PyErr_Occurred()) SWIG_fail
;
22659 resultobj
= SWIG_From_int(static_cast< int >(result
));
22666 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22667 PyObject
*resultobj
= 0;
22668 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22672 PyObject
*swig_obj
[1] ;
22674 if (!args
) SWIG_fail
;
22675 swig_obj
[0] = args
;
22676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22677 if (!SWIG_IsOK(res1
)) {
22678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22680 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22683 result
= (int)(arg1
)->GetStyle();
22684 wxPyEndAllowThreads(__tstate
);
22685 if (PyErr_Occurred()) SWIG_fail
;
22687 resultobj
= SWIG_From_int(static_cast< int >(result
));
22694 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22695 PyObject
*resultobj
= 0;
22696 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22700 PyObject
*swig_obj
[1] ;
22702 if (!args
) SWIG_fail
;
22703 swig_obj
[0] = args
;
22704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22705 if (!SWIG_IsOK(res1
)) {
22706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22708 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22711 result
= (wxItemKind
)(arg1
)->GetKind();
22712 wxPyEndAllowThreads(__tstate
);
22713 if (PyErr_Occurred()) SWIG_fail
;
22715 resultobj
= SWIG_From_int(static_cast< int >(result
));
22722 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22723 PyObject
*resultobj
= 0;
22724 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22728 PyObject
*swig_obj
[1] ;
22730 if (!args
) SWIG_fail
;
22731 swig_obj
[0] = args
;
22732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22733 if (!SWIG_IsOK(res1
)) {
22734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22736 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22739 result
= (bool)(arg1
)->IsEnabled();
22740 wxPyEndAllowThreads(__tstate
);
22741 if (PyErr_Occurred()) SWIG_fail
;
22744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22752 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22753 PyObject
*resultobj
= 0;
22754 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22758 PyObject
*swig_obj
[1] ;
22760 if (!args
) SWIG_fail
;
22761 swig_obj
[0] = args
;
22762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22763 if (!SWIG_IsOK(res1
)) {
22764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22766 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22769 result
= (bool)(arg1
)->IsToggled();
22770 wxPyEndAllowThreads(__tstate
);
22771 if (PyErr_Occurred()) SWIG_fail
;
22774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22782 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22783 PyObject
*resultobj
= 0;
22784 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22788 PyObject
*swig_obj
[1] ;
22790 if (!args
) SWIG_fail
;
22791 swig_obj
[0] = args
;
22792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22793 if (!SWIG_IsOK(res1
)) {
22794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22796 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22799 result
= (bool)(arg1
)->CanBeToggled();
22800 wxPyEndAllowThreads(__tstate
);
22801 if (PyErr_Occurred()) SWIG_fail
;
22804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22812 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22813 PyObject
*resultobj
= 0;
22814 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22815 wxBitmap
*result
= 0 ;
22818 PyObject
*swig_obj
[1] ;
22820 if (!args
) SWIG_fail
;
22821 swig_obj
[0] = args
;
22822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22823 if (!SWIG_IsOK(res1
)) {
22824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22826 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22830 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
22831 result
= (wxBitmap
*) &_result_ref
;
22833 wxPyEndAllowThreads(__tstate
);
22834 if (PyErr_Occurred()) SWIG_fail
;
22837 wxBitmap
* resultptr
= new wxBitmap(*result
);
22838 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22846 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22847 PyObject
*resultobj
= 0;
22848 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22849 wxBitmap
*result
= 0 ;
22852 PyObject
*swig_obj
[1] ;
22854 if (!args
) SWIG_fail
;
22855 swig_obj
[0] = args
;
22856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22857 if (!SWIG_IsOK(res1
)) {
22858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22860 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22864 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
22865 result
= (wxBitmap
*) &_result_ref
;
22867 wxPyEndAllowThreads(__tstate
);
22868 if (PyErr_Occurred()) SWIG_fail
;
22871 wxBitmap
* resultptr
= new wxBitmap(*result
);
22872 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22880 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22881 PyObject
*resultobj
= 0;
22882 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22886 PyObject
*swig_obj
[1] ;
22888 if (!args
) SWIG_fail
;
22889 swig_obj
[0] = args
;
22890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22891 if (!SWIG_IsOK(res1
)) {
22892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22894 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22897 result
= (arg1
)->GetBitmap();
22898 wxPyEndAllowThreads(__tstate
);
22899 if (PyErr_Occurred()) SWIG_fail
;
22901 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
22908 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22909 PyObject
*resultobj
= 0;
22910 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22914 PyObject
*swig_obj
[1] ;
22916 if (!args
) SWIG_fail
;
22917 swig_obj
[0] = args
;
22918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22919 if (!SWIG_IsOK(res1
)) {
22920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22922 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22925 result
= (arg1
)->GetLabel();
22926 wxPyEndAllowThreads(__tstate
);
22927 if (PyErr_Occurred()) SWIG_fail
;
22931 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22933 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22942 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22943 PyObject
*resultobj
= 0;
22944 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22948 PyObject
*swig_obj
[1] ;
22950 if (!args
) SWIG_fail
;
22951 swig_obj
[0] = args
;
22952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22953 if (!SWIG_IsOK(res1
)) {
22954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22956 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22959 result
= (arg1
)->GetShortHelp();
22960 wxPyEndAllowThreads(__tstate
);
22961 if (PyErr_Occurred()) SWIG_fail
;
22965 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22967 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22976 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22977 PyObject
*resultobj
= 0;
22978 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22982 PyObject
*swig_obj
[1] ;
22984 if (!args
) SWIG_fail
;
22985 swig_obj
[0] = args
;
22986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22987 if (!SWIG_IsOK(res1
)) {
22988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22990 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22993 result
= (arg1
)->GetLongHelp();
22994 wxPyEndAllowThreads(__tstate
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22999 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23001 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23010 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23011 PyObject
*resultobj
= 0;
23012 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23019 PyObject
* obj0
= 0 ;
23020 PyObject
* obj1
= 0 ;
23021 char * kwnames
[] = {
23022 (char *) "self",(char *) "enable", NULL
23025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23027 if (!SWIG_IsOK(res1
)) {
23028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23030 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23031 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23032 if (!SWIG_IsOK(ecode2
)) {
23033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23035 arg2
= static_cast< bool >(val2
);
23037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23038 result
= (bool)(arg1
)->Enable(arg2
);
23039 wxPyEndAllowThreads(__tstate
);
23040 if (PyErr_Occurred()) SWIG_fail
;
23043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23051 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23052 PyObject
*resultobj
= 0;
23053 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23056 PyObject
*swig_obj
[1] ;
23058 if (!args
) SWIG_fail
;
23059 swig_obj
[0] = args
;
23060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23061 if (!SWIG_IsOK(res1
)) {
23062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23064 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23068 wxPyEndAllowThreads(__tstate
);
23069 if (PyErr_Occurred()) SWIG_fail
;
23071 resultobj
= SWIG_Py_Void();
23078 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23079 PyObject
*resultobj
= 0;
23080 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23087 PyObject
* obj0
= 0 ;
23088 PyObject
* obj1
= 0 ;
23089 char * kwnames
[] = {
23090 (char *) "self",(char *) "toggle", NULL
23093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23095 if (!SWIG_IsOK(res1
)) {
23096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23098 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23099 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23100 if (!SWIG_IsOK(ecode2
)) {
23101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23103 arg2
= static_cast< bool >(val2
);
23105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23106 result
= (bool)(arg1
)->SetToggle(arg2
);
23107 wxPyEndAllowThreads(__tstate
);
23108 if (PyErr_Occurred()) SWIG_fail
;
23111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23119 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23120 PyObject
*resultobj
= 0;
23121 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23122 wxString
*arg2
= 0 ;
23126 bool temp2
= false ;
23127 PyObject
* obj0
= 0 ;
23128 PyObject
* obj1
= 0 ;
23129 char * kwnames
[] = {
23130 (char *) "self",(char *) "help", NULL
23133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23135 if (!SWIG_IsOK(res1
)) {
23136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23138 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23140 arg2
= wxString_in_helper(obj1
);
23141 if (arg2
== NULL
) SWIG_fail
;
23145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23146 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23147 wxPyEndAllowThreads(__tstate
);
23148 if (PyErr_Occurred()) SWIG_fail
;
23151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23167 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23168 PyObject
*resultobj
= 0;
23169 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23170 wxString
*arg2
= 0 ;
23174 bool temp2
= false ;
23175 PyObject
* obj0
= 0 ;
23176 PyObject
* obj1
= 0 ;
23177 char * kwnames
[] = {
23178 (char *) "self",(char *) "help", NULL
23181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23183 if (!SWIG_IsOK(res1
)) {
23184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23186 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23188 arg2
= wxString_in_helper(obj1
);
23189 if (arg2
== NULL
) SWIG_fail
;
23193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23194 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23195 wxPyEndAllowThreads(__tstate
);
23196 if (PyErr_Occurred()) SWIG_fail
;
23199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23215 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23216 PyObject
*resultobj
= 0;
23217 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23218 wxBitmap
*arg2
= 0 ;
23223 PyObject
* obj0
= 0 ;
23224 PyObject
* obj1
= 0 ;
23225 char * kwnames
[] = {
23226 (char *) "self",(char *) "bmp", NULL
23229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23231 if (!SWIG_IsOK(res1
)) {
23232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23234 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23235 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23236 if (!SWIG_IsOK(res2
)) {
23237 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23240 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23242 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23245 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23246 wxPyEndAllowThreads(__tstate
);
23247 if (PyErr_Occurred()) SWIG_fail
;
23249 resultobj
= SWIG_Py_Void();
23256 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23257 PyObject
*resultobj
= 0;
23258 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23259 wxBitmap
*arg2
= 0 ;
23264 PyObject
* obj0
= 0 ;
23265 PyObject
* obj1
= 0 ;
23266 char * kwnames
[] = {
23267 (char *) "self",(char *) "bmp", NULL
23270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23272 if (!SWIG_IsOK(res1
)) {
23273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23275 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23276 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23277 if (!SWIG_IsOK(res2
)) {
23278 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23281 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23283 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23286 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23287 wxPyEndAllowThreads(__tstate
);
23288 if (PyErr_Occurred()) SWIG_fail
;
23290 resultobj
= SWIG_Py_Void();
23297 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23298 PyObject
*resultobj
= 0;
23299 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23300 wxString
*arg2
= 0 ;
23303 bool temp2
= false ;
23304 PyObject
* obj0
= 0 ;
23305 PyObject
* obj1
= 0 ;
23306 char * kwnames
[] = {
23307 (char *) "self",(char *) "label", NULL
23310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23312 if (!SWIG_IsOK(res1
)) {
23313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23315 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23317 arg2
= wxString_in_helper(obj1
);
23318 if (arg2
== NULL
) SWIG_fail
;
23322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23323 (arg1
)->SetLabel((wxString
const &)*arg2
);
23324 wxPyEndAllowThreads(__tstate
);
23325 if (PyErr_Occurred()) SWIG_fail
;
23327 resultobj
= SWIG_Py_Void();
23342 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23343 PyObject
*resultobj
= 0;
23344 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23347 PyObject
*swig_obj
[1] ;
23349 if (!args
) SWIG_fail
;
23350 swig_obj
[0] = args
;
23351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23352 if (!SWIG_IsOK(res1
)) {
23353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23355 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23359 wxPyEndAllowThreads(__tstate
);
23360 if (PyErr_Occurred()) SWIG_fail
;
23362 resultobj
= SWIG_Py_Void();
23369 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23370 PyObject
*resultobj
= 0;
23371 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23372 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23377 PyObject
* obj0
= 0 ;
23378 PyObject
* obj1
= 0 ;
23379 char * kwnames
[] = {
23380 (char *) "self",(char *) "tbar", NULL
23383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23385 if (!SWIG_IsOK(res1
)) {
23386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23388 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23389 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23390 if (!SWIG_IsOK(res2
)) {
23391 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23393 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23396 (arg1
)->Attach(arg2
);
23397 wxPyEndAllowThreads(__tstate
);
23398 if (PyErr_Occurred()) SWIG_fail
;
23400 resultobj
= SWIG_Py_Void();
23407 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23408 PyObject
*resultobj
= 0;
23409 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23410 PyObject
*result
= 0 ;
23413 PyObject
*swig_obj
[1] ;
23415 if (!args
) SWIG_fail
;
23416 swig_obj
[0] = args
;
23417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23418 if (!SWIG_IsOK(res1
)) {
23419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23421 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23424 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23425 wxPyEndAllowThreads(__tstate
);
23426 if (PyErr_Occurred()) SWIG_fail
;
23428 resultobj
= result
;
23435 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23436 PyObject
*resultobj
= 0;
23437 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23438 PyObject
*arg2
= (PyObject
*) 0 ;
23441 PyObject
* obj0
= 0 ;
23442 PyObject
* obj1
= 0 ;
23443 char * kwnames
[] = {
23444 (char *) "self",(char *) "clientData", NULL
23447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23449 if (!SWIG_IsOK(res1
)) {
23450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23452 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23456 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23457 wxPyEndAllowThreads(__tstate
);
23458 if (PyErr_Occurred()) SWIG_fail
;
23460 resultobj
= SWIG_Py_Void();
23467 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23469 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23470 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23471 return SWIG_Py_Void();
23474 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23475 PyObject
*resultobj
= 0;
23476 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23478 wxString
*arg3
= 0 ;
23479 wxBitmap
*arg4
= 0 ;
23480 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23481 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23482 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23483 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23484 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23485 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23486 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23487 PyObject
*arg9
= (PyObject
*) NULL
;
23488 wxToolBarToolBase
*result
= 0 ;
23493 bool temp3
= false ;
23500 bool temp7
= false ;
23501 bool temp8
= false ;
23502 PyObject
* obj0
= 0 ;
23503 PyObject
* obj1
= 0 ;
23504 PyObject
* obj2
= 0 ;
23505 PyObject
* obj3
= 0 ;
23506 PyObject
* obj4
= 0 ;
23507 PyObject
* obj5
= 0 ;
23508 PyObject
* obj6
= 0 ;
23509 PyObject
* obj7
= 0 ;
23510 PyObject
* obj8
= 0 ;
23511 char * kwnames
[] = {
23512 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23517 if (!SWIG_IsOK(res1
)) {
23518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23520 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23522 if (!SWIG_IsOK(ecode2
)) {
23523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23525 arg2
= static_cast< int >(val2
);
23527 arg3
= wxString_in_helper(obj2
);
23528 if (arg3
== NULL
) SWIG_fail
;
23531 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23532 if (!SWIG_IsOK(res4
)) {
23533 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23536 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23538 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23540 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23541 if (!SWIG_IsOK(res5
)) {
23542 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23545 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23547 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23550 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23551 if (!SWIG_IsOK(ecode6
)) {
23552 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23554 arg6
= static_cast< wxItemKind
>(val6
);
23558 arg7
= wxString_in_helper(obj6
);
23559 if (arg7
== NULL
) SWIG_fail
;
23565 arg8
= wxString_in_helper(obj7
);
23566 if (arg8
== NULL
) SWIG_fail
;
23574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23575 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23576 wxPyEndAllowThreads(__tstate
);
23577 if (PyErr_Occurred()) SWIG_fail
;
23580 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23612 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23613 PyObject
*resultobj
= 0;
23614 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23617 wxString
*arg4
= 0 ;
23618 wxBitmap
*arg5
= 0 ;
23619 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23620 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23621 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23622 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23623 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23624 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23625 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23626 PyObject
*arg10
= (PyObject
*) NULL
;
23627 wxToolBarToolBase
*result
= 0 ;
23634 bool temp4
= false ;
23641 bool temp8
= false ;
23642 bool temp9
= false ;
23643 PyObject
* obj0
= 0 ;
23644 PyObject
* obj1
= 0 ;
23645 PyObject
* obj2
= 0 ;
23646 PyObject
* obj3
= 0 ;
23647 PyObject
* obj4
= 0 ;
23648 PyObject
* obj5
= 0 ;
23649 PyObject
* obj6
= 0 ;
23650 PyObject
* obj7
= 0 ;
23651 PyObject
* obj8
= 0 ;
23652 PyObject
* obj9
= 0 ;
23653 char * kwnames
[] = {
23654 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23659 if (!SWIG_IsOK(res1
)) {
23660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23662 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23663 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23664 if (!SWIG_IsOK(ecode2
)) {
23665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23667 arg2
= static_cast< size_t >(val2
);
23668 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23669 if (!SWIG_IsOK(ecode3
)) {
23670 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23672 arg3
= static_cast< int >(val3
);
23674 arg4
= wxString_in_helper(obj3
);
23675 if (arg4
== NULL
) SWIG_fail
;
23678 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23679 if (!SWIG_IsOK(res5
)) {
23680 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23683 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23685 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23687 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23688 if (!SWIG_IsOK(res6
)) {
23689 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23692 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23694 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23697 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23698 if (!SWIG_IsOK(ecode7
)) {
23699 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23701 arg7
= static_cast< wxItemKind
>(val7
);
23705 arg8
= wxString_in_helper(obj7
);
23706 if (arg8
== NULL
) SWIG_fail
;
23712 arg9
= wxString_in_helper(obj8
);
23713 if (arg9
== NULL
) SWIG_fail
;
23721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23722 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
23723 wxPyEndAllowThreads(__tstate
);
23724 if (PyErr_Occurred()) SWIG_fail
;
23727 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23759 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23760 PyObject
*resultobj
= 0;
23761 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23762 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
23763 wxToolBarToolBase
*result
= 0 ;
23768 PyObject
* obj0
= 0 ;
23769 PyObject
* obj1
= 0 ;
23770 char * kwnames
[] = {
23771 (char *) "self",(char *) "tool", NULL
23774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23776 if (!SWIG_IsOK(res1
)) {
23777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23779 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23780 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23781 if (!SWIG_IsOK(res2
)) {
23782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23784 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
23786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23787 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
23788 wxPyEndAllowThreads(__tstate
);
23789 if (PyErr_Occurred()) SWIG_fail
;
23792 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23800 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23801 PyObject
*resultobj
= 0;
23802 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23804 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
23805 wxToolBarToolBase
*result
= 0 ;
23812 PyObject
* obj0
= 0 ;
23813 PyObject
* obj1
= 0 ;
23814 PyObject
* obj2
= 0 ;
23815 char * kwnames
[] = {
23816 (char *) "self",(char *) "pos",(char *) "tool", NULL
23819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23821 if (!SWIG_IsOK(res1
)) {
23822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23824 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23825 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23826 if (!SWIG_IsOK(ecode2
)) {
23827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
23829 arg2
= static_cast< size_t >(val2
);
23830 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23831 if (!SWIG_IsOK(res3
)) {
23832 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
23834 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
23836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23837 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
23838 wxPyEndAllowThreads(__tstate
);
23839 if (PyErr_Occurred()) SWIG_fail
;
23842 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23850 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23851 PyObject
*resultobj
= 0;
23852 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23853 wxControl
*arg2
= (wxControl
*) 0 ;
23854 wxToolBarToolBase
*result
= 0 ;
23859 PyObject
* obj0
= 0 ;
23860 PyObject
* obj1
= 0 ;
23861 char * kwnames
[] = {
23862 (char *) "self",(char *) "control", NULL
23865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23867 if (!SWIG_IsOK(res1
)) {
23868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23870 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23871 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
23872 if (!SWIG_IsOK(res2
)) {
23873 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
23875 arg2
= reinterpret_cast< wxControl
* >(argp2
);
23877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23878 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
23879 wxPyEndAllowThreads(__tstate
);
23880 if (PyErr_Occurred()) SWIG_fail
;
23883 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23891 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23892 PyObject
*resultobj
= 0;
23893 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23895 wxControl
*arg3
= (wxControl
*) 0 ;
23896 wxToolBarToolBase
*result
= 0 ;
23903 PyObject
* obj0
= 0 ;
23904 PyObject
* obj1
= 0 ;
23905 PyObject
* obj2
= 0 ;
23906 char * kwnames
[] = {
23907 (char *) "self",(char *) "pos",(char *) "control", NULL
23910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23912 if (!SWIG_IsOK(res1
)) {
23913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23915 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23916 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23917 if (!SWIG_IsOK(ecode2
)) {
23918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
23920 arg2
= static_cast< size_t >(val2
);
23921 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
23922 if (!SWIG_IsOK(res3
)) {
23923 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
23925 arg3
= reinterpret_cast< wxControl
* >(argp3
);
23927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23928 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
23929 wxPyEndAllowThreads(__tstate
);
23930 if (PyErr_Occurred()) SWIG_fail
;
23933 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23941 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23942 PyObject
*resultobj
= 0;
23943 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23945 wxControl
*result
= 0 ;
23950 PyObject
* obj0
= 0 ;
23951 PyObject
* obj1
= 0 ;
23952 char * kwnames
[] = {
23953 (char *) "self",(char *) "id", NULL
23956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23958 if (!SWIG_IsOK(res1
)) {
23959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23961 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23962 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23963 if (!SWIG_IsOK(ecode2
)) {
23964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
23966 arg2
= static_cast< int >(val2
);
23968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23969 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
23970 wxPyEndAllowThreads(__tstate
);
23971 if (PyErr_Occurred()) SWIG_fail
;
23974 resultobj
= wxPyMake_wxObject(result
, 0);
23982 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23983 PyObject
*resultobj
= 0;
23984 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23985 wxToolBarToolBase
*result
= 0 ;
23988 PyObject
*swig_obj
[1] ;
23990 if (!args
) SWIG_fail
;
23991 swig_obj
[0] = args
;
23992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23993 if (!SWIG_IsOK(res1
)) {
23994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23996 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23999 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24000 wxPyEndAllowThreads(__tstate
);
24001 if (PyErr_Occurred()) SWIG_fail
;
24004 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24012 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24013 PyObject
*resultobj
= 0;
24014 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24016 wxToolBarToolBase
*result
= 0 ;
24021 PyObject
* obj0
= 0 ;
24022 PyObject
* obj1
= 0 ;
24023 char * kwnames
[] = {
24024 (char *) "self",(char *) "pos", NULL
24027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24029 if (!SWIG_IsOK(res1
)) {
24030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24032 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24033 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24034 if (!SWIG_IsOK(ecode2
)) {
24035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24037 arg2
= static_cast< size_t >(val2
);
24039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24040 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24041 wxPyEndAllowThreads(__tstate
);
24042 if (PyErr_Occurred()) SWIG_fail
;
24045 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24053 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24054 PyObject
*resultobj
= 0;
24055 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24057 wxToolBarToolBase
*result
= 0 ;
24062 PyObject
* obj0
= 0 ;
24063 PyObject
* obj1
= 0 ;
24064 char * kwnames
[] = {
24065 (char *) "self",(char *) "id", NULL
24068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24070 if (!SWIG_IsOK(res1
)) {
24071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24073 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24075 if (!SWIG_IsOK(ecode2
)) {
24076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24078 arg2
= static_cast< int >(val2
);
24080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24081 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24082 wxPyEndAllowThreads(__tstate
);
24083 if (PyErr_Occurred()) SWIG_fail
;
24086 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24094 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24095 PyObject
*resultobj
= 0;
24096 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24103 PyObject
* obj0
= 0 ;
24104 PyObject
* obj1
= 0 ;
24105 char * kwnames
[] = {
24106 (char *) "self",(char *) "pos", NULL
24109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24111 if (!SWIG_IsOK(res1
)) {
24112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24114 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24115 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24116 if (!SWIG_IsOK(ecode2
)) {
24117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24119 arg2
= static_cast< size_t >(val2
);
24121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24122 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24123 wxPyEndAllowThreads(__tstate
);
24124 if (PyErr_Occurred()) SWIG_fail
;
24127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24135 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24136 PyObject
*resultobj
= 0;
24137 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24144 PyObject
* obj0
= 0 ;
24145 PyObject
* obj1
= 0 ;
24146 char * kwnames
[] = {
24147 (char *) "self",(char *) "id", NULL
24150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24152 if (!SWIG_IsOK(res1
)) {
24153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24155 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24156 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24157 if (!SWIG_IsOK(ecode2
)) {
24158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24160 arg2
= static_cast< int >(val2
);
24162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24163 result
= (bool)(arg1
)->DeleteTool(arg2
);
24164 wxPyEndAllowThreads(__tstate
);
24165 if (PyErr_Occurred()) SWIG_fail
;
24168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24176 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24177 PyObject
*resultobj
= 0;
24178 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24181 PyObject
*swig_obj
[1] ;
24183 if (!args
) SWIG_fail
;
24184 swig_obj
[0] = args
;
24185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24186 if (!SWIG_IsOK(res1
)) {
24187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24189 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24192 (arg1
)->ClearTools();
24193 wxPyEndAllowThreads(__tstate
);
24194 if (PyErr_Occurred()) SWIG_fail
;
24196 resultobj
= SWIG_Py_Void();
24203 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24204 PyObject
*resultobj
= 0;
24205 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24209 PyObject
*swig_obj
[1] ;
24211 if (!args
) SWIG_fail
;
24212 swig_obj
[0] = args
;
24213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24214 if (!SWIG_IsOK(res1
)) {
24215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24217 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24220 result
= (bool)(arg1
)->Realize();
24221 wxPyEndAllowThreads(__tstate
);
24222 if (PyErr_Occurred()) SWIG_fail
;
24225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24233 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24234 PyObject
*resultobj
= 0;
24235 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24244 PyObject
* obj0
= 0 ;
24245 PyObject
* obj1
= 0 ;
24246 PyObject
* obj2
= 0 ;
24247 char * kwnames
[] = {
24248 (char *) "self",(char *) "id",(char *) "enable", NULL
24251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24253 if (!SWIG_IsOK(res1
)) {
24254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24256 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24257 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24258 if (!SWIG_IsOK(ecode2
)) {
24259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24261 arg2
= static_cast< int >(val2
);
24262 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24263 if (!SWIG_IsOK(ecode3
)) {
24264 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24266 arg3
= static_cast< bool >(val3
);
24268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24269 (arg1
)->EnableTool(arg2
,arg3
);
24270 wxPyEndAllowThreads(__tstate
);
24271 if (PyErr_Occurred()) SWIG_fail
;
24273 resultobj
= SWIG_Py_Void();
24280 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24281 PyObject
*resultobj
= 0;
24282 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24291 PyObject
* obj0
= 0 ;
24292 PyObject
* obj1
= 0 ;
24293 PyObject
* obj2
= 0 ;
24294 char * kwnames
[] = {
24295 (char *) "self",(char *) "id",(char *) "toggle", NULL
24298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24300 if (!SWIG_IsOK(res1
)) {
24301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24303 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24304 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24305 if (!SWIG_IsOK(ecode2
)) {
24306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24308 arg2
= static_cast< int >(val2
);
24309 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24310 if (!SWIG_IsOK(ecode3
)) {
24311 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24313 arg3
= static_cast< bool >(val3
);
24315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24316 (arg1
)->ToggleTool(arg2
,arg3
);
24317 wxPyEndAllowThreads(__tstate
);
24318 if (PyErr_Occurred()) SWIG_fail
;
24320 resultobj
= SWIG_Py_Void();
24327 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24328 PyObject
*resultobj
= 0;
24329 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24338 PyObject
* obj0
= 0 ;
24339 PyObject
* obj1
= 0 ;
24340 PyObject
* obj2
= 0 ;
24341 char * kwnames
[] = {
24342 (char *) "self",(char *) "id",(char *) "toggle", NULL
24345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24347 if (!SWIG_IsOK(res1
)) {
24348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24350 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24351 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24352 if (!SWIG_IsOK(ecode2
)) {
24353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24355 arg2
= static_cast< int >(val2
);
24356 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24357 if (!SWIG_IsOK(ecode3
)) {
24358 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24360 arg3
= static_cast< bool >(val3
);
24362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24363 (arg1
)->SetToggle(arg2
,arg3
);
24364 wxPyEndAllowThreads(__tstate
);
24365 if (PyErr_Occurred()) SWIG_fail
;
24367 resultobj
= SWIG_Py_Void();
24374 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24375 PyObject
*resultobj
= 0;
24376 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24378 PyObject
*result
= 0 ;
24383 PyObject
* obj0
= 0 ;
24384 PyObject
* obj1
= 0 ;
24385 char * kwnames
[] = {
24386 (char *) "self",(char *) "id", NULL
24389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24391 if (!SWIG_IsOK(res1
)) {
24392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24394 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24396 if (!SWIG_IsOK(ecode2
)) {
24397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24399 arg2
= static_cast< int >(val2
);
24401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24402 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24403 wxPyEndAllowThreads(__tstate
);
24404 if (PyErr_Occurred()) SWIG_fail
;
24406 resultobj
= result
;
24413 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24414 PyObject
*resultobj
= 0;
24415 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24417 PyObject
*arg3
= (PyObject
*) 0 ;
24422 PyObject
* obj0
= 0 ;
24423 PyObject
* obj1
= 0 ;
24424 PyObject
* obj2
= 0 ;
24425 char * kwnames
[] = {
24426 (char *) "self",(char *) "id",(char *) "clientData", NULL
24429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24431 if (!SWIG_IsOK(res1
)) {
24432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24434 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24435 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24436 if (!SWIG_IsOK(ecode2
)) {
24437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24439 arg2
= static_cast< int >(val2
);
24442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24443 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24444 wxPyEndAllowThreads(__tstate
);
24445 if (PyErr_Occurred()) SWIG_fail
;
24447 resultobj
= SWIG_Py_Void();
24454 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24455 PyObject
*resultobj
= 0;
24456 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24463 PyObject
* obj0
= 0 ;
24464 PyObject
* obj1
= 0 ;
24465 char * kwnames
[] = {
24466 (char *) "self",(char *) "id", NULL
24469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24471 if (!SWIG_IsOK(res1
)) {
24472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24474 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24475 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24476 if (!SWIG_IsOK(ecode2
)) {
24477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24479 arg2
= static_cast< int >(val2
);
24481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24482 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24483 wxPyEndAllowThreads(__tstate
);
24484 if (PyErr_Occurred()) SWIG_fail
;
24486 resultobj
= SWIG_From_int(static_cast< int >(result
));
24493 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24494 PyObject
*resultobj
= 0;
24495 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24502 PyObject
* obj0
= 0 ;
24503 PyObject
* obj1
= 0 ;
24504 char * kwnames
[] = {
24505 (char *) "self",(char *) "id", NULL
24508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24510 if (!SWIG_IsOK(res1
)) {
24511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24513 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24514 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24515 if (!SWIG_IsOK(ecode2
)) {
24516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24518 arg2
= static_cast< int >(val2
);
24520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24521 result
= (bool)(arg1
)->GetToolState(arg2
);
24522 wxPyEndAllowThreads(__tstate
);
24523 if (PyErr_Occurred()) SWIG_fail
;
24526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24534 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24535 PyObject
*resultobj
= 0;
24536 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24543 PyObject
* obj0
= 0 ;
24544 PyObject
* obj1
= 0 ;
24545 char * kwnames
[] = {
24546 (char *) "self",(char *) "id", NULL
24549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24551 if (!SWIG_IsOK(res1
)) {
24552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24554 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24555 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24556 if (!SWIG_IsOK(ecode2
)) {
24557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24559 arg2
= static_cast< int >(val2
);
24561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24562 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24563 wxPyEndAllowThreads(__tstate
);
24564 if (PyErr_Occurred()) SWIG_fail
;
24567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24575 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24576 PyObject
*resultobj
= 0;
24577 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24579 wxString
*arg3
= 0 ;
24584 bool temp3
= false ;
24585 PyObject
* obj0
= 0 ;
24586 PyObject
* obj1
= 0 ;
24587 PyObject
* obj2
= 0 ;
24588 char * kwnames
[] = {
24589 (char *) "self",(char *) "id",(char *) "helpString", NULL
24592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24594 if (!SWIG_IsOK(res1
)) {
24595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24597 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24598 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24599 if (!SWIG_IsOK(ecode2
)) {
24600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24602 arg2
= static_cast< int >(val2
);
24604 arg3
= wxString_in_helper(obj2
);
24605 if (arg3
== NULL
) SWIG_fail
;
24609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24610 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24611 wxPyEndAllowThreads(__tstate
);
24612 if (PyErr_Occurred()) SWIG_fail
;
24614 resultobj
= SWIG_Py_Void();
24629 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24630 PyObject
*resultobj
= 0;
24631 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24638 PyObject
* obj0
= 0 ;
24639 PyObject
* obj1
= 0 ;
24640 char * kwnames
[] = {
24641 (char *) "self",(char *) "id", NULL
24644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24646 if (!SWIG_IsOK(res1
)) {
24647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24649 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24650 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24651 if (!SWIG_IsOK(ecode2
)) {
24652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24654 arg2
= static_cast< int >(val2
);
24656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24657 result
= (arg1
)->GetToolShortHelp(arg2
);
24658 wxPyEndAllowThreads(__tstate
);
24659 if (PyErr_Occurred()) SWIG_fail
;
24663 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24665 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24674 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24675 PyObject
*resultobj
= 0;
24676 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24678 wxString
*arg3
= 0 ;
24683 bool temp3
= false ;
24684 PyObject
* obj0
= 0 ;
24685 PyObject
* obj1
= 0 ;
24686 PyObject
* obj2
= 0 ;
24687 char * kwnames
[] = {
24688 (char *) "self",(char *) "id",(char *) "helpString", NULL
24691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24693 if (!SWIG_IsOK(res1
)) {
24694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24696 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24698 if (!SWIG_IsOK(ecode2
)) {
24699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24701 arg2
= static_cast< int >(val2
);
24703 arg3
= wxString_in_helper(obj2
);
24704 if (arg3
== NULL
) SWIG_fail
;
24708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24709 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
24710 wxPyEndAllowThreads(__tstate
);
24711 if (PyErr_Occurred()) SWIG_fail
;
24713 resultobj
= SWIG_Py_Void();
24728 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24729 PyObject
*resultobj
= 0;
24730 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24737 PyObject
* obj0
= 0 ;
24738 PyObject
* obj1
= 0 ;
24739 char * kwnames
[] = {
24740 (char *) "self",(char *) "id", NULL
24743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24745 if (!SWIG_IsOK(res1
)) {
24746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24748 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24749 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24750 if (!SWIG_IsOK(ecode2
)) {
24751 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24753 arg2
= static_cast< int >(val2
);
24755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24756 result
= (arg1
)->GetToolLongHelp(arg2
);
24757 wxPyEndAllowThreads(__tstate
);
24758 if (PyErr_Occurred()) SWIG_fail
;
24762 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24764 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24773 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24774 PyObject
*resultobj
= 0;
24775 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24784 PyObject
* obj0
= 0 ;
24785 PyObject
* obj1
= 0 ;
24786 PyObject
* obj2
= 0 ;
24787 char * kwnames
[] = {
24788 (char *) "self",(char *) "x",(char *) "y", NULL
24791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24793 if (!SWIG_IsOK(res1
)) {
24794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24796 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24798 if (!SWIG_IsOK(ecode2
)) {
24799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24801 arg2
= static_cast< int >(val2
);
24802 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24803 if (!SWIG_IsOK(ecode3
)) {
24804 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
24806 arg3
= static_cast< int >(val3
);
24808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24809 (arg1
)->SetMargins(arg2
,arg3
);
24810 wxPyEndAllowThreads(__tstate
);
24811 if (PyErr_Occurred()) SWIG_fail
;
24813 resultobj
= SWIG_Py_Void();
24820 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24821 PyObject
*resultobj
= 0;
24822 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24827 PyObject
* obj0
= 0 ;
24828 PyObject
* obj1
= 0 ;
24829 char * kwnames
[] = {
24830 (char *) "self",(char *) "size", NULL
24833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24835 if (!SWIG_IsOK(res1
)) {
24836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24838 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24841 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24845 (arg1
)->SetMargins((wxSize
const &)*arg2
);
24846 wxPyEndAllowThreads(__tstate
);
24847 if (PyErr_Occurred()) SWIG_fail
;
24849 resultobj
= SWIG_Py_Void();
24856 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24857 PyObject
*resultobj
= 0;
24858 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24864 PyObject
* obj0
= 0 ;
24865 PyObject
* obj1
= 0 ;
24866 char * kwnames
[] = {
24867 (char *) "self",(char *) "packing", NULL
24870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24872 if (!SWIG_IsOK(res1
)) {
24873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24875 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24877 if (!SWIG_IsOK(ecode2
)) {
24878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
24880 arg2
= static_cast< int >(val2
);
24882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24883 (arg1
)->SetToolPacking(arg2
);
24884 wxPyEndAllowThreads(__tstate
);
24885 if (PyErr_Occurred()) SWIG_fail
;
24887 resultobj
= SWIG_Py_Void();
24894 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24895 PyObject
*resultobj
= 0;
24896 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24902 PyObject
* obj0
= 0 ;
24903 PyObject
* obj1
= 0 ;
24904 char * kwnames
[] = {
24905 (char *) "self",(char *) "separation", NULL
24908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24910 if (!SWIG_IsOK(res1
)) {
24911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24913 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24915 if (!SWIG_IsOK(ecode2
)) {
24916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
24918 arg2
= static_cast< int >(val2
);
24920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24921 (arg1
)->SetToolSeparation(arg2
);
24922 wxPyEndAllowThreads(__tstate
);
24923 if (PyErr_Occurred()) SWIG_fail
;
24925 resultobj
= SWIG_Py_Void();
24932 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24933 PyObject
*resultobj
= 0;
24934 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24938 PyObject
*swig_obj
[1] ;
24940 if (!args
) SWIG_fail
;
24941 swig_obj
[0] = args
;
24942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24943 if (!SWIG_IsOK(res1
)) {
24944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24946 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24949 result
= (arg1
)->GetToolMargins();
24950 wxPyEndAllowThreads(__tstate
);
24951 if (PyErr_Occurred()) SWIG_fail
;
24953 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24960 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24961 PyObject
*resultobj
= 0;
24962 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24966 PyObject
*swig_obj
[1] ;
24968 if (!args
) SWIG_fail
;
24969 swig_obj
[0] = args
;
24970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24971 if (!SWIG_IsOK(res1
)) {
24972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24974 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24977 result
= (arg1
)->GetMargins();
24978 wxPyEndAllowThreads(__tstate
);
24979 if (PyErr_Occurred()) SWIG_fail
;
24981 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24988 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24989 PyObject
*resultobj
= 0;
24990 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24994 PyObject
*swig_obj
[1] ;
24996 if (!args
) SWIG_fail
;
24997 swig_obj
[0] = args
;
24998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24999 if (!SWIG_IsOK(res1
)) {
25000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25002 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25005 result
= (int)(arg1
)->GetToolPacking();
25006 wxPyEndAllowThreads(__tstate
);
25007 if (PyErr_Occurred()) SWIG_fail
;
25009 resultobj
= SWIG_From_int(static_cast< int >(result
));
25016 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25017 PyObject
*resultobj
= 0;
25018 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25022 PyObject
*swig_obj
[1] ;
25024 if (!args
) SWIG_fail
;
25025 swig_obj
[0] = args
;
25026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25027 if (!SWIG_IsOK(res1
)) {
25028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25030 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25033 result
= (int)(arg1
)->GetToolSeparation();
25034 wxPyEndAllowThreads(__tstate
);
25035 if (PyErr_Occurred()) SWIG_fail
;
25037 resultobj
= SWIG_From_int(static_cast< int >(result
));
25044 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25045 PyObject
*resultobj
= 0;
25046 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25052 PyObject
* obj0
= 0 ;
25053 PyObject
* obj1
= 0 ;
25054 char * kwnames
[] = {
25055 (char *) "self",(char *) "nRows", NULL
25058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25060 if (!SWIG_IsOK(res1
)) {
25061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25063 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25064 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25065 if (!SWIG_IsOK(ecode2
)) {
25066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25068 arg2
= static_cast< int >(val2
);
25070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25071 (arg1
)->SetRows(arg2
);
25072 wxPyEndAllowThreads(__tstate
);
25073 if (PyErr_Occurred()) SWIG_fail
;
25075 resultobj
= SWIG_Py_Void();
25082 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25083 PyObject
*resultobj
= 0;
25084 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25093 PyObject
* obj0
= 0 ;
25094 PyObject
* obj1
= 0 ;
25095 PyObject
* obj2
= 0 ;
25096 char * kwnames
[] = {
25097 (char *) "self",(char *) "rows",(char *) "cols", NULL
25100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25102 if (!SWIG_IsOK(res1
)) {
25103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25105 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25107 if (!SWIG_IsOK(ecode2
)) {
25108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25110 arg2
= static_cast< int >(val2
);
25111 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25112 if (!SWIG_IsOK(ecode3
)) {
25113 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25115 arg3
= static_cast< int >(val3
);
25117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25118 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25119 wxPyEndAllowThreads(__tstate
);
25120 if (PyErr_Occurred()) SWIG_fail
;
25122 resultobj
= SWIG_Py_Void();
25129 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25130 PyObject
*resultobj
= 0;
25131 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25135 PyObject
*swig_obj
[1] ;
25137 if (!args
) SWIG_fail
;
25138 swig_obj
[0] = args
;
25139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25140 if (!SWIG_IsOK(res1
)) {
25141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25143 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25146 result
= (int)(arg1
)->GetMaxRows();
25147 wxPyEndAllowThreads(__tstate
);
25148 if (PyErr_Occurred()) SWIG_fail
;
25150 resultobj
= SWIG_From_int(static_cast< int >(result
));
25157 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25158 PyObject
*resultobj
= 0;
25159 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25163 PyObject
*swig_obj
[1] ;
25165 if (!args
) SWIG_fail
;
25166 swig_obj
[0] = args
;
25167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25168 if (!SWIG_IsOK(res1
)) {
25169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25171 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25174 result
= (int)(arg1
)->GetMaxCols();
25175 wxPyEndAllowThreads(__tstate
);
25176 if (PyErr_Occurred()) SWIG_fail
;
25178 resultobj
= SWIG_From_int(static_cast< int >(result
));
25185 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25186 PyObject
*resultobj
= 0;
25187 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25192 PyObject
* obj0
= 0 ;
25193 PyObject
* obj1
= 0 ;
25194 char * kwnames
[] = {
25195 (char *) "self",(char *) "size", NULL
25198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25200 if (!SWIG_IsOK(res1
)) {
25201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25203 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25206 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25210 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25211 wxPyEndAllowThreads(__tstate
);
25212 if (PyErr_Occurred()) SWIG_fail
;
25214 resultobj
= SWIG_Py_Void();
25221 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25222 PyObject
*resultobj
= 0;
25223 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25227 PyObject
*swig_obj
[1] ;
25229 if (!args
) SWIG_fail
;
25230 swig_obj
[0] = args
;
25231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25232 if (!SWIG_IsOK(res1
)) {
25233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25235 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25238 result
= (arg1
)->GetToolBitmapSize();
25239 wxPyEndAllowThreads(__tstate
);
25240 if (PyErr_Occurred()) SWIG_fail
;
25242 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25249 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25250 PyObject
*resultobj
= 0;
25251 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25255 PyObject
*swig_obj
[1] ;
25257 if (!args
) SWIG_fail
;
25258 swig_obj
[0] = args
;
25259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25260 if (!SWIG_IsOK(res1
)) {
25261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25263 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25266 result
= (arg1
)->GetToolSize();
25267 wxPyEndAllowThreads(__tstate
);
25268 if (PyErr_Occurred()) SWIG_fail
;
25270 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25277 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25278 PyObject
*resultobj
= 0;
25279 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25282 wxToolBarToolBase
*result
= 0 ;
25289 PyObject
* obj0
= 0 ;
25290 PyObject
* obj1
= 0 ;
25291 PyObject
* obj2
= 0 ;
25292 char * kwnames
[] = {
25293 (char *) "self",(char *) "x",(char *) "y", NULL
25296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25298 if (!SWIG_IsOK(res1
)) {
25299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25301 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25303 if (!SWIG_IsOK(ecode2
)) {
25304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25306 arg2
= static_cast< int >(val2
);
25307 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25308 if (!SWIG_IsOK(ecode3
)) {
25309 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25311 arg3
= static_cast< int >(val3
);
25313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25314 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25315 wxPyEndAllowThreads(__tstate
);
25316 if (PyErr_Occurred()) SWIG_fail
;
25319 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25327 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25328 PyObject
*resultobj
= 0;
25329 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25331 wxToolBarToolBase
*result
= 0 ;
25336 PyObject
* obj0
= 0 ;
25337 PyObject
* obj1
= 0 ;
25338 char * kwnames
[] = {
25339 (char *) "self",(char *) "toolid", NULL
25342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25344 if (!SWIG_IsOK(res1
)) {
25345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25347 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25349 if (!SWIG_IsOK(ecode2
)) {
25350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25352 arg2
= static_cast< int >(val2
);
25354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25355 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25356 wxPyEndAllowThreads(__tstate
);
25357 if (PyErr_Occurred()) SWIG_fail
;
25360 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25368 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25369 PyObject
*resultobj
= 0;
25370 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25374 PyObject
*swig_obj
[1] ;
25376 if (!args
) SWIG_fail
;
25377 swig_obj
[0] = args
;
25378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25379 if (!SWIG_IsOK(res1
)) {
25380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25382 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25385 result
= (bool)(arg1
)->IsVertical();
25386 wxPyEndAllowThreads(__tstate
);
25387 if (PyErr_Occurred()) SWIG_fail
;
25390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25398 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25399 PyObject
*resultobj
= 0;
25400 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25404 PyObject
*swig_obj
[1] ;
25406 if (!args
) SWIG_fail
;
25407 swig_obj
[0] = args
;
25408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25409 if (!SWIG_IsOK(res1
)) {
25410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25412 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25415 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25416 wxPyEndAllowThreads(__tstate
);
25417 if (PyErr_Occurred()) SWIG_fail
;
25419 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25426 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25428 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25429 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25430 return SWIG_Py_Void();
25433 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25434 PyObject
*resultobj
= 0;
25435 wxWindow
*arg1
= (wxWindow
*) 0 ;
25436 int arg2
= (int) -1 ;
25437 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25438 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25439 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25440 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25441 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25442 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25443 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25444 wxToolBar
*result
= 0 ;
25453 bool temp6
= false ;
25454 PyObject
* obj0
= 0 ;
25455 PyObject
* obj1
= 0 ;
25456 PyObject
* obj2
= 0 ;
25457 PyObject
* obj3
= 0 ;
25458 PyObject
* obj4
= 0 ;
25459 PyObject
* obj5
= 0 ;
25460 char * kwnames
[] = {
25461 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25466 if (!SWIG_IsOK(res1
)) {
25467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25469 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25471 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25472 if (!SWIG_IsOK(ecode2
)) {
25473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25475 arg2
= static_cast< int >(val2
);
25480 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25486 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25490 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25491 if (!SWIG_IsOK(ecode5
)) {
25492 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25494 arg5
= static_cast< long >(val5
);
25498 arg6
= wxString_in_helper(obj5
);
25499 if (arg6
== NULL
) SWIG_fail
;
25504 if (!wxPyCheckForApp()) SWIG_fail
;
25505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25506 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25507 wxPyEndAllowThreads(__tstate
);
25508 if (PyErr_Occurred()) SWIG_fail
;
25510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25525 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25526 PyObject
*resultobj
= 0;
25527 wxToolBar
*result
= 0 ;
25529 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25531 if (!wxPyCheckForApp()) SWIG_fail
;
25532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25533 result
= (wxToolBar
*)new wxToolBar();
25534 wxPyEndAllowThreads(__tstate
);
25535 if (PyErr_Occurred()) SWIG_fail
;
25537 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25544 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25545 PyObject
*resultobj
= 0;
25546 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25547 wxWindow
*arg2
= (wxWindow
*) 0 ;
25548 int arg3
= (int) -1 ;
25549 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25550 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25551 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25552 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25553 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25554 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25555 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25567 bool temp7
= false ;
25568 PyObject
* obj0
= 0 ;
25569 PyObject
* obj1
= 0 ;
25570 PyObject
* obj2
= 0 ;
25571 PyObject
* obj3
= 0 ;
25572 PyObject
* obj4
= 0 ;
25573 PyObject
* obj5
= 0 ;
25574 PyObject
* obj6
= 0 ;
25575 char * kwnames
[] = {
25576 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25581 if (!SWIG_IsOK(res1
)) {
25582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25584 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25585 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25586 if (!SWIG_IsOK(res2
)) {
25587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25589 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25591 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25592 if (!SWIG_IsOK(ecode3
)) {
25593 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25595 arg3
= static_cast< int >(val3
);
25600 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25606 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25610 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25611 if (!SWIG_IsOK(ecode6
)) {
25612 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25614 arg6
= static_cast< long >(val6
);
25618 arg7
= wxString_in_helper(obj6
);
25619 if (arg7
== NULL
) SWIG_fail
;
25624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25625 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25626 wxPyEndAllowThreads(__tstate
);
25627 if (PyErr_Occurred()) SWIG_fail
;
25630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25646 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25647 PyObject
*resultobj
= 0;
25648 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25649 SwigValueWrapper
<wxVisualAttributes
> result
;
25652 PyObject
* obj0
= 0 ;
25653 char * kwnames
[] = {
25654 (char *) "variant", NULL
25657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25659 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25660 if (!SWIG_IsOK(ecode1
)) {
25661 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25663 arg1
= static_cast< wxWindowVariant
>(val1
);
25666 if (!wxPyCheckForApp()) SWIG_fail
;
25667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25668 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25669 wxPyEndAllowThreads(__tstate
);
25670 if (PyErr_Occurred()) SWIG_fail
;
25672 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25679 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25681 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25682 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25683 return SWIG_Py_Void();
25686 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25687 return SWIG_Python_InitShadowInstance(args
);
25690 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25691 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25696 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25697 PyObject
*pyobj
= 0;
25701 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25703 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25710 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25711 PyObject
*resultobj
= 0;
25712 wxColour
const &arg1_defvalue
= wxNullColour
;
25713 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
25714 wxColour
const &arg2_defvalue
= wxNullColour
;
25715 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
25716 wxFont
const &arg3_defvalue
= wxNullFont
;
25717 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
25718 wxListItemAttr
*result
= 0 ;
25723 PyObject
* obj0
= 0 ;
25724 PyObject
* obj1
= 0 ;
25725 PyObject
* obj2
= 0 ;
25726 char * kwnames
[] = {
25727 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25734 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
25740 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25744 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
25745 if (!SWIG_IsOK(res3
)) {
25746 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25749 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25751 arg3
= reinterpret_cast< wxFont
* >(argp3
);
25754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25755 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
25756 wxPyEndAllowThreads(__tstate
);
25757 if (PyErr_Occurred()) SWIG_fail
;
25759 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
25766 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25767 PyObject
*resultobj
= 0;
25768 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25771 PyObject
*swig_obj
[1] ;
25773 if (!args
) SWIG_fail
;
25774 swig_obj
[0] = args
;
25775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
25776 if (!SWIG_IsOK(res1
)) {
25777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25779 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25784 wxPyEndAllowThreads(__tstate
);
25785 if (PyErr_Occurred()) SWIG_fail
;
25787 resultobj
= SWIG_Py_Void();
25794 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25795 PyObject
*resultobj
= 0;
25796 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25797 wxColour
*arg2
= 0 ;
25801 PyObject
* obj0
= 0 ;
25802 PyObject
* obj1
= 0 ;
25803 char * kwnames
[] = {
25804 (char *) "self",(char *) "colText", NULL
25807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25809 if (!SWIG_IsOK(res1
)) {
25810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25812 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25815 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25819 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25820 wxPyEndAllowThreads(__tstate
);
25821 if (PyErr_Occurred()) SWIG_fail
;
25823 resultobj
= SWIG_Py_Void();
25830 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25831 PyObject
*resultobj
= 0;
25832 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25833 wxColour
*arg2
= 0 ;
25837 PyObject
* obj0
= 0 ;
25838 PyObject
* obj1
= 0 ;
25839 char * kwnames
[] = {
25840 (char *) "self",(char *) "colBack", NULL
25843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25845 if (!SWIG_IsOK(res1
)) {
25846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25848 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25851 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25855 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25856 wxPyEndAllowThreads(__tstate
);
25857 if (PyErr_Occurred()) SWIG_fail
;
25859 resultobj
= SWIG_Py_Void();
25866 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25867 PyObject
*resultobj
= 0;
25868 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25874 PyObject
* obj0
= 0 ;
25875 PyObject
* obj1
= 0 ;
25876 char * kwnames
[] = {
25877 (char *) "self",(char *) "font", NULL
25880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25882 if (!SWIG_IsOK(res1
)) {
25883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25885 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25886 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25887 if (!SWIG_IsOK(res2
)) {
25888 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25891 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25893 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25896 (arg1
)->SetFont((wxFont
const &)*arg2
);
25897 wxPyEndAllowThreads(__tstate
);
25898 if (PyErr_Occurred()) SWIG_fail
;
25900 resultobj
= SWIG_Py_Void();
25907 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25908 PyObject
*resultobj
= 0;
25909 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25913 PyObject
*swig_obj
[1] ;
25915 if (!args
) SWIG_fail
;
25916 swig_obj
[0] = args
;
25917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25918 if (!SWIG_IsOK(res1
)) {
25919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25921 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25924 result
= (bool)(arg1
)->HasTextColour();
25925 wxPyEndAllowThreads(__tstate
);
25926 if (PyErr_Occurred()) SWIG_fail
;
25929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25937 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25938 PyObject
*resultobj
= 0;
25939 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25943 PyObject
*swig_obj
[1] ;
25945 if (!args
) SWIG_fail
;
25946 swig_obj
[0] = args
;
25947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25948 if (!SWIG_IsOK(res1
)) {
25949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25951 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25954 result
= (bool)(arg1
)->HasBackgroundColour();
25955 wxPyEndAllowThreads(__tstate
);
25956 if (PyErr_Occurred()) SWIG_fail
;
25959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25967 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25968 PyObject
*resultobj
= 0;
25969 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25973 PyObject
*swig_obj
[1] ;
25975 if (!args
) SWIG_fail
;
25976 swig_obj
[0] = args
;
25977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25978 if (!SWIG_IsOK(res1
)) {
25979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25981 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25984 result
= (bool)(arg1
)->HasFont();
25985 wxPyEndAllowThreads(__tstate
);
25986 if (PyErr_Occurred()) SWIG_fail
;
25989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25997 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25998 PyObject
*resultobj
= 0;
25999 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26003 PyObject
*swig_obj
[1] ;
26005 if (!args
) SWIG_fail
;
26006 swig_obj
[0] = args
;
26007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26008 if (!SWIG_IsOK(res1
)) {
26009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26011 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26014 result
= (arg1
)->GetTextColour();
26015 wxPyEndAllowThreads(__tstate
);
26016 if (PyErr_Occurred()) SWIG_fail
;
26018 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26025 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26026 PyObject
*resultobj
= 0;
26027 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26031 PyObject
*swig_obj
[1] ;
26033 if (!args
) SWIG_fail
;
26034 swig_obj
[0] = args
;
26035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26036 if (!SWIG_IsOK(res1
)) {
26037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26039 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26042 result
= (arg1
)->GetBackgroundColour();
26043 wxPyEndAllowThreads(__tstate
);
26044 if (PyErr_Occurred()) SWIG_fail
;
26046 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26053 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26054 PyObject
*resultobj
= 0;
26055 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26059 PyObject
*swig_obj
[1] ;
26061 if (!args
) SWIG_fail
;
26062 swig_obj
[0] = args
;
26063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26064 if (!SWIG_IsOK(res1
)) {
26065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26067 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26070 result
= (arg1
)->GetFont();
26071 wxPyEndAllowThreads(__tstate
);
26072 if (PyErr_Occurred()) SWIG_fail
;
26074 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26081 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26082 PyObject
*resultobj
= 0;
26083 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26084 wxListItemAttr
*arg2
= 0 ;
26089 PyObject
* obj0
= 0 ;
26090 PyObject
* obj1
= 0 ;
26091 char * kwnames
[] = {
26092 (char *) "self",(char *) "source", NULL
26095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26097 if (!SWIG_IsOK(res1
)) {
26098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26100 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26101 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26102 if (!SWIG_IsOK(res2
)) {
26103 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26106 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26108 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26111 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26112 wxPyEndAllowThreads(__tstate
);
26113 if (PyErr_Occurred()) SWIG_fail
;
26115 resultobj
= SWIG_Py_Void();
26122 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26123 PyObject
*resultobj
= 0;
26124 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26127 PyObject
*swig_obj
[1] ;
26129 if (!args
) SWIG_fail
;
26130 swig_obj
[0] = args
;
26131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26132 if (!SWIG_IsOK(res1
)) {
26133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26135 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26138 wxListItemAttr_Destroy(arg1
);
26139 wxPyEndAllowThreads(__tstate
);
26140 if (PyErr_Occurred()) SWIG_fail
;
26142 resultobj
= SWIG_Py_Void();
26149 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26151 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26152 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26153 return SWIG_Py_Void();
26156 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26157 return SWIG_Python_InitShadowInstance(args
);
26160 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26161 PyObject
*resultobj
= 0;
26162 wxListItem
*result
= 0 ;
26164 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26167 result
= (wxListItem
*)new wxListItem();
26168 wxPyEndAllowThreads(__tstate
);
26169 if (PyErr_Occurred()) SWIG_fail
;
26172 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
26180 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26181 PyObject
*resultobj
= 0;
26182 wxListItem
*arg1
= (wxListItem
*) 0 ;
26185 PyObject
*swig_obj
[1] ;
26187 if (!args
) SWIG_fail
;
26188 swig_obj
[0] = args
;
26189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26190 if (!SWIG_IsOK(res1
)) {
26191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26193 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26198 wxPyEndAllowThreads(__tstate
);
26199 if (PyErr_Occurred()) SWIG_fail
;
26201 resultobj
= SWIG_Py_Void();
26208 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26209 PyObject
*resultobj
= 0;
26210 wxListItem
*arg1
= (wxListItem
*) 0 ;
26213 PyObject
*swig_obj
[1] ;
26215 if (!args
) SWIG_fail
;
26216 swig_obj
[0] = args
;
26217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26218 if (!SWIG_IsOK(res1
)) {
26219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26221 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26225 wxPyEndAllowThreads(__tstate
);
26226 if (PyErr_Occurred()) SWIG_fail
;
26228 resultobj
= SWIG_Py_Void();
26235 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26236 PyObject
*resultobj
= 0;
26237 wxListItem
*arg1
= (wxListItem
*) 0 ;
26240 PyObject
*swig_obj
[1] ;
26242 if (!args
) SWIG_fail
;
26243 swig_obj
[0] = args
;
26244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26245 if (!SWIG_IsOK(res1
)) {
26246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26248 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26251 (arg1
)->ClearAttributes();
26252 wxPyEndAllowThreads(__tstate
);
26253 if (PyErr_Occurred()) SWIG_fail
;
26255 resultobj
= SWIG_Py_Void();
26262 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26263 PyObject
*resultobj
= 0;
26264 wxListItem
*arg1
= (wxListItem
*) 0 ;
26270 PyObject
* obj0
= 0 ;
26271 PyObject
* obj1
= 0 ;
26272 char * kwnames
[] = {
26273 (char *) "self",(char *) "mask", NULL
26276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26278 if (!SWIG_IsOK(res1
)) {
26279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26281 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26282 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26283 if (!SWIG_IsOK(ecode2
)) {
26284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26286 arg2
= static_cast< long >(val2
);
26288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26289 (arg1
)->SetMask(arg2
);
26290 wxPyEndAllowThreads(__tstate
);
26291 if (PyErr_Occurred()) SWIG_fail
;
26293 resultobj
= SWIG_Py_Void();
26300 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26301 PyObject
*resultobj
= 0;
26302 wxListItem
*arg1
= (wxListItem
*) 0 ;
26308 PyObject
* obj0
= 0 ;
26309 PyObject
* obj1
= 0 ;
26310 char * kwnames
[] = {
26311 (char *) "self",(char *) "id", NULL
26314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26316 if (!SWIG_IsOK(res1
)) {
26317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26319 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26320 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26321 if (!SWIG_IsOK(ecode2
)) {
26322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26324 arg2
= static_cast< long >(val2
);
26326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26327 (arg1
)->SetId(arg2
);
26328 wxPyEndAllowThreads(__tstate
);
26329 if (PyErr_Occurred()) SWIG_fail
;
26331 resultobj
= SWIG_Py_Void();
26338 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26339 PyObject
*resultobj
= 0;
26340 wxListItem
*arg1
= (wxListItem
*) 0 ;
26346 PyObject
* obj0
= 0 ;
26347 PyObject
* obj1
= 0 ;
26348 char * kwnames
[] = {
26349 (char *) "self",(char *) "col", NULL
26352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26354 if (!SWIG_IsOK(res1
)) {
26355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26357 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26359 if (!SWIG_IsOK(ecode2
)) {
26360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26362 arg2
= static_cast< int >(val2
);
26364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26365 (arg1
)->SetColumn(arg2
);
26366 wxPyEndAllowThreads(__tstate
);
26367 if (PyErr_Occurred()) SWIG_fail
;
26369 resultobj
= SWIG_Py_Void();
26376 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26377 PyObject
*resultobj
= 0;
26378 wxListItem
*arg1
= (wxListItem
*) 0 ;
26384 PyObject
* obj0
= 0 ;
26385 PyObject
* obj1
= 0 ;
26386 char * kwnames
[] = {
26387 (char *) "self",(char *) "state", NULL
26390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26392 if (!SWIG_IsOK(res1
)) {
26393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26395 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26396 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26397 if (!SWIG_IsOK(ecode2
)) {
26398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26400 arg2
= static_cast< long >(val2
);
26402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26403 (arg1
)->SetState(arg2
);
26404 wxPyEndAllowThreads(__tstate
);
26405 if (PyErr_Occurred()) SWIG_fail
;
26407 resultobj
= SWIG_Py_Void();
26414 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26415 PyObject
*resultobj
= 0;
26416 wxListItem
*arg1
= (wxListItem
*) 0 ;
26422 PyObject
* obj0
= 0 ;
26423 PyObject
* obj1
= 0 ;
26424 char * kwnames
[] = {
26425 (char *) "self",(char *) "stateMask", NULL
26428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26430 if (!SWIG_IsOK(res1
)) {
26431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26433 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26434 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26435 if (!SWIG_IsOK(ecode2
)) {
26436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26438 arg2
= static_cast< long >(val2
);
26440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26441 (arg1
)->SetStateMask(arg2
);
26442 wxPyEndAllowThreads(__tstate
);
26443 if (PyErr_Occurred()) SWIG_fail
;
26445 resultobj
= SWIG_Py_Void();
26452 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26453 PyObject
*resultobj
= 0;
26454 wxListItem
*arg1
= (wxListItem
*) 0 ;
26455 wxString
*arg2
= 0 ;
26458 bool temp2
= false ;
26459 PyObject
* obj0
= 0 ;
26460 PyObject
* obj1
= 0 ;
26461 char * kwnames
[] = {
26462 (char *) "self",(char *) "text", NULL
26465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26467 if (!SWIG_IsOK(res1
)) {
26468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26470 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26472 arg2
= wxString_in_helper(obj1
);
26473 if (arg2
== NULL
) SWIG_fail
;
26477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26478 (arg1
)->SetText((wxString
const &)*arg2
);
26479 wxPyEndAllowThreads(__tstate
);
26480 if (PyErr_Occurred()) SWIG_fail
;
26482 resultobj
= SWIG_Py_Void();
26497 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26498 PyObject
*resultobj
= 0;
26499 wxListItem
*arg1
= (wxListItem
*) 0 ;
26505 PyObject
* obj0
= 0 ;
26506 PyObject
* obj1
= 0 ;
26507 char * kwnames
[] = {
26508 (char *) "self",(char *) "image", NULL
26511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26513 if (!SWIG_IsOK(res1
)) {
26514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26516 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26518 if (!SWIG_IsOK(ecode2
)) {
26519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26521 arg2
= static_cast< int >(val2
);
26523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26524 (arg1
)->SetImage(arg2
);
26525 wxPyEndAllowThreads(__tstate
);
26526 if (PyErr_Occurred()) SWIG_fail
;
26528 resultobj
= SWIG_Py_Void();
26535 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26536 PyObject
*resultobj
= 0;
26537 wxListItem
*arg1
= (wxListItem
*) 0 ;
26543 PyObject
* obj0
= 0 ;
26544 PyObject
* obj1
= 0 ;
26545 char * kwnames
[] = {
26546 (char *) "self",(char *) "data", NULL
26549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26551 if (!SWIG_IsOK(res1
)) {
26552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26554 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26555 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26556 if (!SWIG_IsOK(ecode2
)) {
26557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26559 arg2
= static_cast< long >(val2
);
26561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26562 (arg1
)->SetData(arg2
);
26563 wxPyEndAllowThreads(__tstate
);
26564 if (PyErr_Occurred()) SWIG_fail
;
26566 resultobj
= SWIG_Py_Void();
26573 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26574 PyObject
*resultobj
= 0;
26575 wxListItem
*arg1
= (wxListItem
*) 0 ;
26581 PyObject
* obj0
= 0 ;
26582 PyObject
* obj1
= 0 ;
26583 char * kwnames
[] = {
26584 (char *) "self",(char *) "width", NULL
26587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26589 if (!SWIG_IsOK(res1
)) {
26590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26592 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26594 if (!SWIG_IsOK(ecode2
)) {
26595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26597 arg2
= static_cast< int >(val2
);
26599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26600 (arg1
)->SetWidth(arg2
);
26601 wxPyEndAllowThreads(__tstate
);
26602 if (PyErr_Occurred()) SWIG_fail
;
26604 resultobj
= SWIG_Py_Void();
26611 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26612 PyObject
*resultobj
= 0;
26613 wxListItem
*arg1
= (wxListItem
*) 0 ;
26614 wxListColumnFormat arg2
;
26619 PyObject
* obj0
= 0 ;
26620 PyObject
* obj1
= 0 ;
26621 char * kwnames
[] = {
26622 (char *) "self",(char *) "align", NULL
26625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26627 if (!SWIG_IsOK(res1
)) {
26628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26630 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26631 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26632 if (!SWIG_IsOK(ecode2
)) {
26633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26635 arg2
= static_cast< wxListColumnFormat
>(val2
);
26637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26638 (arg1
)->SetAlign(arg2
);
26639 wxPyEndAllowThreads(__tstate
);
26640 if (PyErr_Occurred()) SWIG_fail
;
26642 resultobj
= SWIG_Py_Void();
26649 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26650 PyObject
*resultobj
= 0;
26651 wxListItem
*arg1
= (wxListItem
*) 0 ;
26652 wxColour
*arg2
= 0 ;
26656 PyObject
* obj0
= 0 ;
26657 PyObject
* obj1
= 0 ;
26658 char * kwnames
[] = {
26659 (char *) "self",(char *) "colText", NULL
26662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26664 if (!SWIG_IsOK(res1
)) {
26665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26667 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26670 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26674 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26675 wxPyEndAllowThreads(__tstate
);
26676 if (PyErr_Occurred()) SWIG_fail
;
26678 resultobj
= SWIG_Py_Void();
26685 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26686 PyObject
*resultobj
= 0;
26687 wxListItem
*arg1
= (wxListItem
*) 0 ;
26688 wxColour
*arg2
= 0 ;
26692 PyObject
* obj0
= 0 ;
26693 PyObject
* obj1
= 0 ;
26694 char * kwnames
[] = {
26695 (char *) "self",(char *) "colBack", NULL
26698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26700 if (!SWIG_IsOK(res1
)) {
26701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26703 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26706 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26710 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26711 wxPyEndAllowThreads(__tstate
);
26712 if (PyErr_Occurred()) SWIG_fail
;
26714 resultobj
= SWIG_Py_Void();
26721 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26722 PyObject
*resultobj
= 0;
26723 wxListItem
*arg1
= (wxListItem
*) 0 ;
26729 PyObject
* obj0
= 0 ;
26730 PyObject
* obj1
= 0 ;
26731 char * kwnames
[] = {
26732 (char *) "self",(char *) "font", NULL
26735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26737 if (!SWIG_IsOK(res1
)) {
26738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26740 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26741 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26742 if (!SWIG_IsOK(res2
)) {
26743 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26746 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26748 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26751 (arg1
)->SetFont((wxFont
const &)*arg2
);
26752 wxPyEndAllowThreads(__tstate
);
26753 if (PyErr_Occurred()) SWIG_fail
;
26755 resultobj
= SWIG_Py_Void();
26762 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26763 PyObject
*resultobj
= 0;
26764 wxListItem
*arg1
= (wxListItem
*) 0 ;
26768 PyObject
*swig_obj
[1] ;
26770 if (!args
) SWIG_fail
;
26771 swig_obj
[0] = args
;
26772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26773 if (!SWIG_IsOK(res1
)) {
26774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26776 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26779 result
= (long)(arg1
)->GetMask();
26780 wxPyEndAllowThreads(__tstate
);
26781 if (PyErr_Occurred()) SWIG_fail
;
26783 resultobj
= SWIG_From_long(static_cast< long >(result
));
26790 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26791 PyObject
*resultobj
= 0;
26792 wxListItem
*arg1
= (wxListItem
*) 0 ;
26796 PyObject
*swig_obj
[1] ;
26798 if (!args
) SWIG_fail
;
26799 swig_obj
[0] = args
;
26800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26801 if (!SWIG_IsOK(res1
)) {
26802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26804 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26807 result
= (long)(arg1
)->GetId();
26808 wxPyEndAllowThreads(__tstate
);
26809 if (PyErr_Occurred()) SWIG_fail
;
26811 resultobj
= SWIG_From_long(static_cast< long >(result
));
26818 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26819 PyObject
*resultobj
= 0;
26820 wxListItem
*arg1
= (wxListItem
*) 0 ;
26824 PyObject
*swig_obj
[1] ;
26826 if (!args
) SWIG_fail
;
26827 swig_obj
[0] = args
;
26828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26829 if (!SWIG_IsOK(res1
)) {
26830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26832 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26835 result
= (int)(arg1
)->GetColumn();
26836 wxPyEndAllowThreads(__tstate
);
26837 if (PyErr_Occurred()) SWIG_fail
;
26839 resultobj
= SWIG_From_int(static_cast< int >(result
));
26846 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26847 PyObject
*resultobj
= 0;
26848 wxListItem
*arg1
= (wxListItem
*) 0 ;
26852 PyObject
*swig_obj
[1] ;
26854 if (!args
) SWIG_fail
;
26855 swig_obj
[0] = args
;
26856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26857 if (!SWIG_IsOK(res1
)) {
26858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26860 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26863 result
= (long)(arg1
)->GetState();
26864 wxPyEndAllowThreads(__tstate
);
26865 if (PyErr_Occurred()) SWIG_fail
;
26867 resultobj
= SWIG_From_long(static_cast< long >(result
));
26874 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26875 PyObject
*resultobj
= 0;
26876 wxListItem
*arg1
= (wxListItem
*) 0 ;
26877 wxString
*result
= 0 ;
26880 PyObject
*swig_obj
[1] ;
26882 if (!args
) SWIG_fail
;
26883 swig_obj
[0] = args
;
26884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26885 if (!SWIG_IsOK(res1
)) {
26886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26888 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26892 wxString
const &_result_ref
= (arg1
)->GetText();
26893 result
= (wxString
*) &_result_ref
;
26895 wxPyEndAllowThreads(__tstate
);
26896 if (PyErr_Occurred()) SWIG_fail
;
26900 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26902 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26911 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26912 PyObject
*resultobj
= 0;
26913 wxListItem
*arg1
= (wxListItem
*) 0 ;
26917 PyObject
*swig_obj
[1] ;
26919 if (!args
) SWIG_fail
;
26920 swig_obj
[0] = args
;
26921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26922 if (!SWIG_IsOK(res1
)) {
26923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26925 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26928 result
= (int)(arg1
)->GetImage();
26929 wxPyEndAllowThreads(__tstate
);
26930 if (PyErr_Occurred()) SWIG_fail
;
26932 resultobj
= SWIG_From_int(static_cast< int >(result
));
26939 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26940 PyObject
*resultobj
= 0;
26941 wxListItem
*arg1
= (wxListItem
*) 0 ;
26945 PyObject
*swig_obj
[1] ;
26947 if (!args
) SWIG_fail
;
26948 swig_obj
[0] = args
;
26949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26950 if (!SWIG_IsOK(res1
)) {
26951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26953 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26956 result
= (long)(arg1
)->GetData();
26957 wxPyEndAllowThreads(__tstate
);
26958 if (PyErr_Occurred()) SWIG_fail
;
26960 resultobj
= SWIG_From_long(static_cast< long >(result
));
26967 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26968 PyObject
*resultobj
= 0;
26969 wxListItem
*arg1
= (wxListItem
*) 0 ;
26973 PyObject
*swig_obj
[1] ;
26975 if (!args
) SWIG_fail
;
26976 swig_obj
[0] = args
;
26977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26978 if (!SWIG_IsOK(res1
)) {
26979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26981 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26984 result
= (int)(arg1
)->GetWidth();
26985 wxPyEndAllowThreads(__tstate
);
26986 if (PyErr_Occurred()) SWIG_fail
;
26988 resultobj
= SWIG_From_int(static_cast< int >(result
));
26995 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26996 PyObject
*resultobj
= 0;
26997 wxListItem
*arg1
= (wxListItem
*) 0 ;
26998 wxListColumnFormat result
;
27001 PyObject
*swig_obj
[1] ;
27003 if (!args
) SWIG_fail
;
27004 swig_obj
[0] = args
;
27005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27006 if (!SWIG_IsOK(res1
)) {
27007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27009 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27012 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27013 wxPyEndAllowThreads(__tstate
);
27014 if (PyErr_Occurred()) SWIG_fail
;
27016 resultobj
= SWIG_From_int(static_cast< int >(result
));
27023 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27024 PyObject
*resultobj
= 0;
27025 wxListItem
*arg1
= (wxListItem
*) 0 ;
27026 wxListItemAttr
*result
= 0 ;
27029 PyObject
*swig_obj
[1] ;
27031 if (!args
) SWIG_fail
;
27032 swig_obj
[0] = args
;
27033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27034 if (!SWIG_IsOK(res1
)) {
27035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27037 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27040 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27041 wxPyEndAllowThreads(__tstate
);
27042 if (PyErr_Occurred()) SWIG_fail
;
27044 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27051 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27052 PyObject
*resultobj
= 0;
27053 wxListItem
*arg1
= (wxListItem
*) 0 ;
27057 PyObject
*swig_obj
[1] ;
27059 if (!args
) SWIG_fail
;
27060 swig_obj
[0] = args
;
27061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27062 if (!SWIG_IsOK(res1
)) {
27063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27065 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27068 result
= (bool)(arg1
)->HasAttributes();
27069 wxPyEndAllowThreads(__tstate
);
27070 if (PyErr_Occurred()) SWIG_fail
;
27073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27081 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27082 PyObject
*resultobj
= 0;
27083 wxListItem
*arg1
= (wxListItem
*) 0 ;
27087 PyObject
*swig_obj
[1] ;
27089 if (!args
) SWIG_fail
;
27090 swig_obj
[0] = args
;
27091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27092 if (!SWIG_IsOK(res1
)) {
27093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27095 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27098 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27099 wxPyEndAllowThreads(__tstate
);
27100 if (PyErr_Occurred()) SWIG_fail
;
27102 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27109 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27110 PyObject
*resultobj
= 0;
27111 wxListItem
*arg1
= (wxListItem
*) 0 ;
27115 PyObject
*swig_obj
[1] ;
27117 if (!args
) SWIG_fail
;
27118 swig_obj
[0] = args
;
27119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27120 if (!SWIG_IsOK(res1
)) {
27121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27123 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27126 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27127 wxPyEndAllowThreads(__tstate
);
27128 if (PyErr_Occurred()) SWIG_fail
;
27130 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27137 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27138 PyObject
*resultobj
= 0;
27139 wxListItem
*arg1
= (wxListItem
*) 0 ;
27143 PyObject
*swig_obj
[1] ;
27145 if (!args
) SWIG_fail
;
27146 swig_obj
[0] = args
;
27147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27148 if (!SWIG_IsOK(res1
)) {
27149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27151 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27154 result
= ((wxListItem
const *)arg1
)->GetFont();
27155 wxPyEndAllowThreads(__tstate
);
27156 if (PyErr_Occurred()) SWIG_fail
;
27158 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27165 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27166 PyObject
*resultobj
= 0;
27167 wxListItem
*arg1
= (wxListItem
*) 0 ;
27173 PyObject
*swig_obj
[2] ;
27175 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27177 if (!SWIG_IsOK(res1
)) {
27178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27180 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27181 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27182 if (!SWIG_IsOK(ecode2
)) {
27183 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27185 arg2
= static_cast< long >(val2
);
27186 if (arg1
) (arg1
)->m_mask
= arg2
;
27188 resultobj
= SWIG_Py_Void();
27195 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27196 PyObject
*resultobj
= 0;
27197 wxListItem
*arg1
= (wxListItem
*) 0 ;
27201 PyObject
*swig_obj
[1] ;
27203 if (!args
) SWIG_fail
;
27204 swig_obj
[0] = args
;
27205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27206 if (!SWIG_IsOK(res1
)) {
27207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27209 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27210 result
= (long) ((arg1
)->m_mask
);
27211 resultobj
= SWIG_From_long(static_cast< long >(result
));
27218 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27219 PyObject
*resultobj
= 0;
27220 wxListItem
*arg1
= (wxListItem
*) 0 ;
27226 PyObject
*swig_obj
[2] ;
27228 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27230 if (!SWIG_IsOK(res1
)) {
27231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27233 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27234 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27235 if (!SWIG_IsOK(ecode2
)) {
27236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27238 arg2
= static_cast< long >(val2
);
27239 if (arg1
) (arg1
)->m_itemId
= arg2
;
27241 resultobj
= SWIG_Py_Void();
27248 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27249 PyObject
*resultobj
= 0;
27250 wxListItem
*arg1
= (wxListItem
*) 0 ;
27254 PyObject
*swig_obj
[1] ;
27256 if (!args
) SWIG_fail
;
27257 swig_obj
[0] = args
;
27258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27259 if (!SWIG_IsOK(res1
)) {
27260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27262 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27263 result
= (long) ((arg1
)->m_itemId
);
27264 resultobj
= SWIG_From_long(static_cast< long >(result
));
27271 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27272 PyObject
*resultobj
= 0;
27273 wxListItem
*arg1
= (wxListItem
*) 0 ;
27279 PyObject
*swig_obj
[2] ;
27281 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27283 if (!SWIG_IsOK(res1
)) {
27284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27286 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27287 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27288 if (!SWIG_IsOK(ecode2
)) {
27289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27291 arg2
= static_cast< int >(val2
);
27292 if (arg1
) (arg1
)->m_col
= arg2
;
27294 resultobj
= SWIG_Py_Void();
27301 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27302 PyObject
*resultobj
= 0;
27303 wxListItem
*arg1
= (wxListItem
*) 0 ;
27307 PyObject
*swig_obj
[1] ;
27309 if (!args
) SWIG_fail
;
27310 swig_obj
[0] = args
;
27311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27312 if (!SWIG_IsOK(res1
)) {
27313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27315 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27316 result
= (int) ((arg1
)->m_col
);
27317 resultobj
= SWIG_From_int(static_cast< int >(result
));
27324 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27325 PyObject
*resultobj
= 0;
27326 wxListItem
*arg1
= (wxListItem
*) 0 ;
27332 PyObject
*swig_obj
[2] ;
27334 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27336 if (!SWIG_IsOK(res1
)) {
27337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27339 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27340 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27341 if (!SWIG_IsOK(ecode2
)) {
27342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27344 arg2
= static_cast< long >(val2
);
27345 if (arg1
) (arg1
)->m_state
= arg2
;
27347 resultobj
= SWIG_Py_Void();
27354 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27355 PyObject
*resultobj
= 0;
27356 wxListItem
*arg1
= (wxListItem
*) 0 ;
27360 PyObject
*swig_obj
[1] ;
27362 if (!args
) SWIG_fail
;
27363 swig_obj
[0] = args
;
27364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27365 if (!SWIG_IsOK(res1
)) {
27366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27368 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27369 result
= (long) ((arg1
)->m_state
);
27370 resultobj
= SWIG_From_long(static_cast< long >(result
));
27377 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27378 PyObject
*resultobj
= 0;
27379 wxListItem
*arg1
= (wxListItem
*) 0 ;
27385 PyObject
*swig_obj
[2] ;
27387 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27389 if (!SWIG_IsOK(res1
)) {
27390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27392 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27393 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27394 if (!SWIG_IsOK(ecode2
)) {
27395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27397 arg2
= static_cast< long >(val2
);
27398 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27400 resultobj
= SWIG_Py_Void();
27407 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27408 PyObject
*resultobj
= 0;
27409 wxListItem
*arg1
= (wxListItem
*) 0 ;
27413 PyObject
*swig_obj
[1] ;
27415 if (!args
) SWIG_fail
;
27416 swig_obj
[0] = args
;
27417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27418 if (!SWIG_IsOK(res1
)) {
27419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27421 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27422 result
= (long) ((arg1
)->m_stateMask
);
27423 resultobj
= SWIG_From_long(static_cast< long >(result
));
27430 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27431 PyObject
*resultobj
= 0;
27432 wxListItem
*arg1
= (wxListItem
*) 0 ;
27433 wxString
*arg2
= (wxString
*) 0 ;
27436 bool temp2
= false ;
27437 PyObject
*swig_obj
[2] ;
27439 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27441 if (!SWIG_IsOK(res1
)) {
27442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27444 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27446 arg2
= wxString_in_helper(swig_obj
[1]);
27447 if (arg2
== NULL
) SWIG_fail
;
27450 if (arg1
) (arg1
)->m_text
= *arg2
;
27452 resultobj
= SWIG_Py_Void();
27467 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27468 PyObject
*resultobj
= 0;
27469 wxListItem
*arg1
= (wxListItem
*) 0 ;
27470 wxString
*result
= 0 ;
27473 PyObject
*swig_obj
[1] ;
27475 if (!args
) SWIG_fail
;
27476 swig_obj
[0] = args
;
27477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27478 if (!SWIG_IsOK(res1
)) {
27479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27481 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27482 result
= (wxString
*)& ((arg1
)->m_text
);
27485 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27487 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27496 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27497 PyObject
*resultobj
= 0;
27498 wxListItem
*arg1
= (wxListItem
*) 0 ;
27504 PyObject
*swig_obj
[2] ;
27506 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27508 if (!SWIG_IsOK(res1
)) {
27509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27511 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27512 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27513 if (!SWIG_IsOK(ecode2
)) {
27514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27516 arg2
= static_cast< int >(val2
);
27517 if (arg1
) (arg1
)->m_image
= arg2
;
27519 resultobj
= SWIG_Py_Void();
27526 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27527 PyObject
*resultobj
= 0;
27528 wxListItem
*arg1
= (wxListItem
*) 0 ;
27532 PyObject
*swig_obj
[1] ;
27534 if (!args
) SWIG_fail
;
27535 swig_obj
[0] = args
;
27536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27537 if (!SWIG_IsOK(res1
)) {
27538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27540 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27541 result
= (int) ((arg1
)->m_image
);
27542 resultobj
= SWIG_From_int(static_cast< int >(result
));
27549 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27550 PyObject
*resultobj
= 0;
27551 wxListItem
*arg1
= (wxListItem
*) 0 ;
27557 PyObject
*swig_obj
[2] ;
27559 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27561 if (!SWIG_IsOK(res1
)) {
27562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27564 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27565 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27566 if (!SWIG_IsOK(ecode2
)) {
27567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27569 arg2
= static_cast< long >(val2
);
27570 if (arg1
) (arg1
)->m_data
= arg2
;
27572 resultobj
= SWIG_Py_Void();
27579 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27580 PyObject
*resultobj
= 0;
27581 wxListItem
*arg1
= (wxListItem
*) 0 ;
27585 PyObject
*swig_obj
[1] ;
27587 if (!args
) SWIG_fail
;
27588 swig_obj
[0] = args
;
27589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27590 if (!SWIG_IsOK(res1
)) {
27591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27593 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27594 result
= (long) ((arg1
)->m_data
);
27595 resultobj
= SWIG_From_long(static_cast< long >(result
));
27602 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27603 PyObject
*resultobj
= 0;
27604 wxListItem
*arg1
= (wxListItem
*) 0 ;
27610 PyObject
*swig_obj
[2] ;
27612 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27614 if (!SWIG_IsOK(res1
)) {
27615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27617 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27618 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27619 if (!SWIG_IsOK(ecode2
)) {
27620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27622 arg2
= static_cast< int >(val2
);
27623 if (arg1
) (arg1
)->m_format
= arg2
;
27625 resultobj
= SWIG_Py_Void();
27632 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27633 PyObject
*resultobj
= 0;
27634 wxListItem
*arg1
= (wxListItem
*) 0 ;
27638 PyObject
*swig_obj
[1] ;
27640 if (!args
) SWIG_fail
;
27641 swig_obj
[0] = args
;
27642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27643 if (!SWIG_IsOK(res1
)) {
27644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27646 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27647 result
= (int) ((arg1
)->m_format
);
27648 resultobj
= SWIG_From_int(static_cast< int >(result
));
27655 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27656 PyObject
*resultobj
= 0;
27657 wxListItem
*arg1
= (wxListItem
*) 0 ;
27663 PyObject
*swig_obj
[2] ;
27665 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27667 if (!SWIG_IsOK(res1
)) {
27668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27670 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27671 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27672 if (!SWIG_IsOK(ecode2
)) {
27673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27675 arg2
= static_cast< int >(val2
);
27676 if (arg1
) (arg1
)->m_width
= arg2
;
27678 resultobj
= SWIG_Py_Void();
27685 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27686 PyObject
*resultobj
= 0;
27687 wxListItem
*arg1
= (wxListItem
*) 0 ;
27691 PyObject
*swig_obj
[1] ;
27693 if (!args
) SWIG_fail
;
27694 swig_obj
[0] = args
;
27695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27696 if (!SWIG_IsOK(res1
)) {
27697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27699 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27700 result
= (int) ((arg1
)->m_width
);
27701 resultobj
= SWIG_From_int(static_cast< int >(result
));
27708 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27710 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27711 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
27712 return SWIG_Py_Void();
27715 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27716 return SWIG_Python_InitShadowInstance(args
);
27719 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27720 PyObject
*resultobj
= 0;
27721 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27722 int arg2
= (int) 0 ;
27723 wxListEvent
*result
= 0 ;
27728 PyObject
* obj0
= 0 ;
27729 PyObject
* obj1
= 0 ;
27730 char * kwnames
[] = {
27731 (char *) "commandType",(char *) "id", NULL
27734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27736 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27737 if (!SWIG_IsOK(ecode1
)) {
27738 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27740 arg1
= static_cast< wxEventType
>(val1
);
27743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27744 if (!SWIG_IsOK(ecode2
)) {
27745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27747 arg2
= static_cast< int >(val2
);
27750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27751 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
27752 wxPyEndAllowThreads(__tstate
);
27753 if (PyErr_Occurred()) SWIG_fail
;
27755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
27762 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27763 PyObject
*resultobj
= 0;
27764 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27770 PyObject
*swig_obj
[2] ;
27772 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
27773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27774 if (!SWIG_IsOK(res1
)) {
27775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27777 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27778 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27779 if (!SWIG_IsOK(ecode2
)) {
27780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27782 arg2
= static_cast< int >(val2
);
27783 if (arg1
) (arg1
)->m_code
= arg2
;
27785 resultobj
= SWIG_Py_Void();
27792 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27793 PyObject
*resultobj
= 0;
27794 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27798 PyObject
*swig_obj
[1] ;
27800 if (!args
) SWIG_fail
;
27801 swig_obj
[0] = args
;
27802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27803 if (!SWIG_IsOK(res1
)) {
27804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27806 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27807 result
= (int) ((arg1
)->m_code
);
27808 resultobj
= SWIG_From_int(static_cast< int >(result
));
27815 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27816 PyObject
*resultobj
= 0;
27817 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27823 PyObject
*swig_obj
[2] ;
27825 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27827 if (!SWIG_IsOK(res1
)) {
27828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27830 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27831 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27832 if (!SWIG_IsOK(ecode2
)) {
27833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
27835 arg2
= static_cast< long >(val2
);
27836 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
27838 resultobj
= SWIG_Py_Void();
27845 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27846 PyObject
*resultobj
= 0;
27847 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27851 PyObject
*swig_obj
[1] ;
27853 if (!args
) SWIG_fail
;
27854 swig_obj
[0] = args
;
27855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27856 if (!SWIG_IsOK(res1
)) {
27857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27859 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27860 result
= (long) ((arg1
)->m_oldItemIndex
);
27861 resultobj
= SWIG_From_long(static_cast< long >(result
));
27868 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27869 PyObject
*resultobj
= 0;
27870 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27876 PyObject
*swig_obj
[2] ;
27878 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27880 if (!SWIG_IsOK(res1
)) {
27881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27883 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27884 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27885 if (!SWIG_IsOK(ecode2
)) {
27886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
27888 arg2
= static_cast< long >(val2
);
27889 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
27891 resultobj
= SWIG_Py_Void();
27898 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27899 PyObject
*resultobj
= 0;
27900 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27904 PyObject
*swig_obj
[1] ;
27906 if (!args
) SWIG_fail
;
27907 swig_obj
[0] = args
;
27908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27909 if (!SWIG_IsOK(res1
)) {
27910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27912 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27913 result
= (long) ((arg1
)->m_itemIndex
);
27914 resultobj
= SWIG_From_long(static_cast< long >(result
));
27921 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27922 PyObject
*resultobj
= 0;
27923 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27929 PyObject
*swig_obj
[2] ;
27931 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27933 if (!SWIG_IsOK(res1
)) {
27934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27936 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27937 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27938 if (!SWIG_IsOK(ecode2
)) {
27939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
27941 arg2
= static_cast< int >(val2
);
27942 if (arg1
) (arg1
)->m_col
= arg2
;
27944 resultobj
= SWIG_Py_Void();
27951 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27952 PyObject
*resultobj
= 0;
27953 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27957 PyObject
*swig_obj
[1] ;
27959 if (!args
) SWIG_fail
;
27960 swig_obj
[0] = args
;
27961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27962 if (!SWIG_IsOK(res1
)) {
27963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27965 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27966 result
= (int) ((arg1
)->m_col
);
27967 resultobj
= SWIG_From_int(static_cast< int >(result
));
27974 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27975 PyObject
*resultobj
= 0;
27976 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27977 wxPoint
*arg2
= (wxPoint
*) 0 ;
27982 PyObject
*swig_obj
[2] ;
27984 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
27985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27986 if (!SWIG_IsOK(res1
)) {
27987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27989 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27990 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
27991 if (!SWIG_IsOK(res2
)) {
27992 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
27994 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
27995 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
27997 resultobj
= SWIG_Py_Void();
28004 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28005 PyObject
*resultobj
= 0;
28006 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28007 wxPoint
*result
= 0 ;
28010 PyObject
*swig_obj
[1] ;
28012 if (!args
) SWIG_fail
;
28013 swig_obj
[0] = args
;
28014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28015 if (!SWIG_IsOK(res1
)) {
28016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28018 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28019 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28027 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28028 PyObject
*resultobj
= 0;
28029 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28030 wxListItem
*result
= 0 ;
28033 PyObject
*swig_obj
[1] ;
28035 if (!args
) SWIG_fail
;
28036 swig_obj
[0] = args
;
28037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28038 if (!SWIG_IsOK(res1
)) {
28039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28041 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28042 result
= (wxListItem
*)& ((arg1
)->m_item
);
28044 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28052 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28053 PyObject
*resultobj
= 0;
28054 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28058 PyObject
*swig_obj
[1] ;
28060 if (!args
) SWIG_fail
;
28061 swig_obj
[0] = args
;
28062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28063 if (!SWIG_IsOK(res1
)) {
28064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28066 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28069 result
= (int)(arg1
)->GetKeyCode();
28070 wxPyEndAllowThreads(__tstate
);
28071 if (PyErr_Occurred()) SWIG_fail
;
28073 resultobj
= SWIG_From_int(static_cast< int >(result
));
28080 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28081 PyObject
*resultobj
= 0;
28082 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28086 PyObject
*swig_obj
[1] ;
28088 if (!args
) SWIG_fail
;
28089 swig_obj
[0] = args
;
28090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28091 if (!SWIG_IsOK(res1
)) {
28092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28094 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28097 result
= (long)(arg1
)->GetIndex();
28098 wxPyEndAllowThreads(__tstate
);
28099 if (PyErr_Occurred()) SWIG_fail
;
28101 resultobj
= SWIG_From_long(static_cast< long >(result
));
28108 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28109 PyObject
*resultobj
= 0;
28110 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28114 PyObject
*swig_obj
[1] ;
28116 if (!args
) SWIG_fail
;
28117 swig_obj
[0] = args
;
28118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28119 if (!SWIG_IsOK(res1
)) {
28120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28122 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28125 result
= (int)(arg1
)->GetColumn();
28126 wxPyEndAllowThreads(__tstate
);
28127 if (PyErr_Occurred()) SWIG_fail
;
28129 resultobj
= SWIG_From_int(static_cast< int >(result
));
28136 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28137 PyObject
*resultobj
= 0;
28138 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28142 PyObject
*swig_obj
[1] ;
28144 if (!args
) SWIG_fail
;
28145 swig_obj
[0] = args
;
28146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28147 if (!SWIG_IsOK(res1
)) {
28148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28150 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28153 result
= (arg1
)->GetPoint();
28154 wxPyEndAllowThreads(__tstate
);
28155 if (PyErr_Occurred()) SWIG_fail
;
28157 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28164 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28165 PyObject
*resultobj
= 0;
28166 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28167 wxString
*result
= 0 ;
28170 PyObject
*swig_obj
[1] ;
28172 if (!args
) SWIG_fail
;
28173 swig_obj
[0] = args
;
28174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28175 if (!SWIG_IsOK(res1
)) {
28176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28178 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28182 wxString
const &_result_ref
= (arg1
)->GetLabel();
28183 result
= (wxString
*) &_result_ref
;
28185 wxPyEndAllowThreads(__tstate
);
28186 if (PyErr_Occurred()) SWIG_fail
;
28190 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28192 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28201 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28202 PyObject
*resultobj
= 0;
28203 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28204 wxString
*result
= 0 ;
28207 PyObject
*swig_obj
[1] ;
28209 if (!args
) SWIG_fail
;
28210 swig_obj
[0] = args
;
28211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28212 if (!SWIG_IsOK(res1
)) {
28213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28215 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28219 wxString
const &_result_ref
= (arg1
)->GetText();
28220 result
= (wxString
*) &_result_ref
;
28222 wxPyEndAllowThreads(__tstate
);
28223 if (PyErr_Occurred()) SWIG_fail
;
28227 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28229 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28238 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28239 PyObject
*resultobj
= 0;
28240 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28244 PyObject
*swig_obj
[1] ;
28246 if (!args
) SWIG_fail
;
28247 swig_obj
[0] = args
;
28248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28249 if (!SWIG_IsOK(res1
)) {
28250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28252 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28255 result
= (int)(arg1
)->GetImage();
28256 wxPyEndAllowThreads(__tstate
);
28257 if (PyErr_Occurred()) SWIG_fail
;
28259 resultobj
= SWIG_From_int(static_cast< int >(result
));
28266 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28267 PyObject
*resultobj
= 0;
28268 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28272 PyObject
*swig_obj
[1] ;
28274 if (!args
) SWIG_fail
;
28275 swig_obj
[0] = args
;
28276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28277 if (!SWIG_IsOK(res1
)) {
28278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28280 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28283 result
= (long)(arg1
)->GetData();
28284 wxPyEndAllowThreads(__tstate
);
28285 if (PyErr_Occurred()) SWIG_fail
;
28287 resultobj
= SWIG_From_long(static_cast< long >(result
));
28294 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28295 PyObject
*resultobj
= 0;
28296 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28300 PyObject
*swig_obj
[1] ;
28302 if (!args
) SWIG_fail
;
28303 swig_obj
[0] = args
;
28304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28305 if (!SWIG_IsOK(res1
)) {
28306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28308 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28311 result
= (long)(arg1
)->GetMask();
28312 wxPyEndAllowThreads(__tstate
);
28313 if (PyErr_Occurred()) SWIG_fail
;
28315 resultobj
= SWIG_From_long(static_cast< long >(result
));
28322 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28323 PyObject
*resultobj
= 0;
28324 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28325 wxListItem
*result
= 0 ;
28328 PyObject
*swig_obj
[1] ;
28330 if (!args
) SWIG_fail
;
28331 swig_obj
[0] = args
;
28332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28333 if (!SWIG_IsOK(res1
)) {
28334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28336 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28340 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28341 result
= (wxListItem
*) &_result_ref
;
28343 wxPyEndAllowThreads(__tstate
);
28344 if (PyErr_Occurred()) SWIG_fail
;
28346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28353 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28354 PyObject
*resultobj
= 0;
28355 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28359 PyObject
*swig_obj
[1] ;
28361 if (!args
) SWIG_fail
;
28362 swig_obj
[0] = args
;
28363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28364 if (!SWIG_IsOK(res1
)) {
28365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28367 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28370 result
= (long)(arg1
)->GetCacheFrom();
28371 wxPyEndAllowThreads(__tstate
);
28372 if (PyErr_Occurred()) SWIG_fail
;
28374 resultobj
= SWIG_From_long(static_cast< long >(result
));
28381 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28382 PyObject
*resultobj
= 0;
28383 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28387 PyObject
*swig_obj
[1] ;
28389 if (!args
) SWIG_fail
;
28390 swig_obj
[0] = args
;
28391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28392 if (!SWIG_IsOK(res1
)) {
28393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28395 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28398 result
= (long)(arg1
)->GetCacheTo();
28399 wxPyEndAllowThreads(__tstate
);
28400 if (PyErr_Occurred()) SWIG_fail
;
28402 resultobj
= SWIG_From_long(static_cast< long >(result
));
28409 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28410 PyObject
*resultobj
= 0;
28411 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28415 PyObject
*swig_obj
[1] ;
28417 if (!args
) SWIG_fail
;
28418 swig_obj
[0] = args
;
28419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28420 if (!SWIG_IsOK(res1
)) {
28421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28423 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28426 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28427 wxPyEndAllowThreads(__tstate
);
28428 if (PyErr_Occurred()) SWIG_fail
;
28431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28439 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28440 PyObject
*resultobj
= 0;
28441 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28447 PyObject
* obj0
= 0 ;
28448 PyObject
* obj1
= 0 ;
28449 char * kwnames
[] = {
28450 (char *) "self",(char *) "editCancelled", NULL
28453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28455 if (!SWIG_IsOK(res1
)) {
28456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28458 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28459 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28460 if (!SWIG_IsOK(ecode2
)) {
28461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28463 arg2
= static_cast< bool >(val2
);
28465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28466 (arg1
)->SetEditCanceled(arg2
);
28467 wxPyEndAllowThreads(__tstate
);
28468 if (PyErr_Occurred()) SWIG_fail
;
28470 resultobj
= SWIG_Py_Void();
28477 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28479 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28480 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28481 return SWIG_Py_Void();
28484 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28485 return SWIG_Python_InitShadowInstance(args
);
28488 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28489 PyObject
*resultobj
= 0;
28490 wxWindow
*arg1
= (wxWindow
*) 0 ;
28491 int arg2
= (int) -1 ;
28492 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28493 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28494 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28495 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28496 long arg5
= (long) wxLC_ICON
;
28497 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28498 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28499 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28500 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28501 wxPyListCtrl
*result
= 0 ;
28512 bool temp7
= false ;
28513 PyObject
* obj0
= 0 ;
28514 PyObject
* obj1
= 0 ;
28515 PyObject
* obj2
= 0 ;
28516 PyObject
* obj3
= 0 ;
28517 PyObject
* obj4
= 0 ;
28518 PyObject
* obj5
= 0 ;
28519 PyObject
* obj6
= 0 ;
28520 char * kwnames
[] = {
28521 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28526 if (!SWIG_IsOK(res1
)) {
28527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28529 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28531 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28532 if (!SWIG_IsOK(ecode2
)) {
28533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28535 arg2
= static_cast< int >(val2
);
28540 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28546 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28550 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28551 if (!SWIG_IsOK(ecode5
)) {
28552 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28554 arg5
= static_cast< long >(val5
);
28557 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28558 if (!SWIG_IsOK(res6
)) {
28559 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28562 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28564 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28568 arg7
= wxString_in_helper(obj6
);
28569 if (arg7
== NULL
) SWIG_fail
;
28574 if (!wxPyCheckForApp()) SWIG_fail
;
28575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28576 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28577 wxPyEndAllowThreads(__tstate
);
28578 if (PyErr_Occurred()) SWIG_fail
;
28580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28595 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28596 PyObject
*resultobj
= 0;
28597 wxPyListCtrl
*result
= 0 ;
28599 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28601 if (!wxPyCheckForApp()) SWIG_fail
;
28602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28603 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28604 wxPyEndAllowThreads(__tstate
);
28605 if (PyErr_Occurred()) SWIG_fail
;
28607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28614 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28615 PyObject
*resultobj
= 0;
28616 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28617 wxWindow
*arg2
= (wxWindow
*) 0 ;
28618 int arg3
= (int) -1 ;
28619 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28620 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28621 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28622 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28623 long arg6
= (long) wxLC_ICON
;
28624 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28625 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28626 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28627 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28641 bool temp8
= false ;
28642 PyObject
* obj0
= 0 ;
28643 PyObject
* obj1
= 0 ;
28644 PyObject
* obj2
= 0 ;
28645 PyObject
* obj3
= 0 ;
28646 PyObject
* obj4
= 0 ;
28647 PyObject
* obj5
= 0 ;
28648 PyObject
* obj6
= 0 ;
28649 PyObject
* obj7
= 0 ;
28650 char * kwnames
[] = {
28651 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28656 if (!SWIG_IsOK(res1
)) {
28657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28659 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28660 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28661 if (!SWIG_IsOK(res2
)) {
28662 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28664 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28666 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28667 if (!SWIG_IsOK(ecode3
)) {
28668 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28670 arg3
= static_cast< int >(val3
);
28675 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28681 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28685 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28686 if (!SWIG_IsOK(ecode6
)) {
28687 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28689 arg6
= static_cast< long >(val6
);
28692 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28693 if (!SWIG_IsOK(res7
)) {
28694 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28697 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28699 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28703 arg8
= wxString_in_helper(obj7
);
28704 if (arg8
== NULL
) SWIG_fail
;
28709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28710 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28711 wxPyEndAllowThreads(__tstate
);
28712 if (PyErr_Occurred()) SWIG_fail
;
28715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28731 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28732 PyObject
*resultobj
= 0;
28733 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28734 PyObject
*arg2
= (PyObject
*) 0 ;
28735 PyObject
*arg3
= (PyObject
*) 0 ;
28738 PyObject
* obj0
= 0 ;
28739 PyObject
* obj1
= 0 ;
28740 PyObject
* obj2
= 0 ;
28741 char * kwnames
[] = {
28742 (char *) "self",(char *) "self",(char *) "_class", NULL
28745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28747 if (!SWIG_IsOK(res1
)) {
28748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28750 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28755 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28756 wxPyEndAllowThreads(__tstate
);
28757 if (PyErr_Occurred()) SWIG_fail
;
28759 resultobj
= SWIG_Py_Void();
28766 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28767 PyObject
*resultobj
= 0;
28768 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28770 wxListItem
*result
= 0 ;
28775 PyObject
* obj0
= 0 ;
28776 PyObject
* obj1
= 0 ;
28777 char * kwnames
[] = {
28778 (char *) "self",(char *) "col", NULL
28781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28783 if (!SWIG_IsOK(res1
)) {
28784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28786 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28788 if (!SWIG_IsOK(ecode2
)) {
28789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28791 arg2
= static_cast< int >(val2
);
28793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28794 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
28795 wxPyEndAllowThreads(__tstate
);
28796 if (PyErr_Occurred()) SWIG_fail
;
28799 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28807 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28808 PyObject
*resultobj
= 0;
28809 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28811 wxListItem
*arg3
= 0 ;
28819 PyObject
* obj0
= 0 ;
28820 PyObject
* obj1
= 0 ;
28821 PyObject
* obj2
= 0 ;
28822 char * kwnames
[] = {
28823 (char *) "self",(char *) "col",(char *) "item", NULL
28826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28828 if (!SWIG_IsOK(res1
)) {
28829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28831 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28833 if (!SWIG_IsOK(ecode2
)) {
28834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
28836 arg2
= static_cast< int >(val2
);
28837 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
28838 if (!SWIG_IsOK(res3
)) {
28839 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28842 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28844 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
28846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28847 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
28848 wxPyEndAllowThreads(__tstate
);
28849 if (PyErr_Occurred()) SWIG_fail
;
28852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28860 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28861 PyObject
*resultobj
= 0;
28862 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28869 PyObject
* obj0
= 0 ;
28870 PyObject
* obj1
= 0 ;
28871 char * kwnames
[] = {
28872 (char *) "self",(char *) "col", NULL
28875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28877 if (!SWIG_IsOK(res1
)) {
28878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28880 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28882 if (!SWIG_IsOK(ecode2
)) {
28883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28885 arg2
= static_cast< int >(val2
);
28887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28888 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
28889 wxPyEndAllowThreads(__tstate
);
28890 if (PyErr_Occurred()) SWIG_fail
;
28892 resultobj
= SWIG_From_int(static_cast< int >(result
));
28899 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28900 PyObject
*resultobj
= 0;
28901 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28911 PyObject
* obj0
= 0 ;
28912 PyObject
* obj1
= 0 ;
28913 PyObject
* obj2
= 0 ;
28914 char * kwnames
[] = {
28915 (char *) "self",(char *) "col",(char *) "width", NULL
28918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28920 if (!SWIG_IsOK(res1
)) {
28921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28923 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28924 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28925 if (!SWIG_IsOK(ecode2
)) {
28926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28928 arg2
= static_cast< int >(val2
);
28929 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28930 if (!SWIG_IsOK(ecode3
)) {
28931 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
28933 arg3
= static_cast< int >(val3
);
28935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28936 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
28937 wxPyEndAllowThreads(__tstate
);
28938 if (PyErr_Occurred()) SWIG_fail
;
28941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28949 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28950 PyObject
*resultobj
= 0;
28951 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28955 PyObject
*swig_obj
[1] ;
28957 if (!args
) SWIG_fail
;
28958 swig_obj
[0] = args
;
28959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28960 if (!SWIG_IsOK(res1
)) {
28961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28963 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28966 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
28967 wxPyEndAllowThreads(__tstate
);
28968 if (PyErr_Occurred()) SWIG_fail
;
28970 resultobj
= SWIG_From_int(static_cast< int >(result
));
28977 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28978 PyObject
*resultobj
= 0;
28979 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28983 PyObject
*swig_obj
[1] ;
28985 if (!args
) SWIG_fail
;
28986 swig_obj
[0] = args
;
28987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28988 if (!SWIG_IsOK(res1
)) {
28989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28991 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28994 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
28995 wxPyEndAllowThreads(__tstate
);
28996 if (PyErr_Occurred()) SWIG_fail
;
28998 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29005 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29006 PyObject
*resultobj
= 0;
29007 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29008 wxTextCtrl
*result
= 0 ;
29011 PyObject
*swig_obj
[1] ;
29013 if (!args
) SWIG_fail
;
29014 swig_obj
[0] = args
;
29015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29016 if (!SWIG_IsOK(res1
)) {
29017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29019 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29022 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29023 wxPyEndAllowThreads(__tstate
);
29024 if (PyErr_Occurred()) SWIG_fail
;
29027 resultobj
= wxPyMake_wxObject(result
, 0);
29035 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29036 PyObject
*resultobj
= 0;
29037 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29039 int arg3
= (int) 0 ;
29040 wxListItem
*result
= 0 ;
29047 PyObject
* obj0
= 0 ;
29048 PyObject
* obj1
= 0 ;
29049 PyObject
* obj2
= 0 ;
29050 char * kwnames
[] = {
29051 (char *) "self",(char *) "itemId",(char *) "col", NULL
29054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29056 if (!SWIG_IsOK(res1
)) {
29057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29059 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29060 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29061 if (!SWIG_IsOK(ecode2
)) {
29062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29064 arg2
= static_cast< long >(val2
);
29066 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29067 if (!SWIG_IsOK(ecode3
)) {
29068 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29070 arg3
= static_cast< int >(val3
);
29073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29074 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29075 wxPyEndAllowThreads(__tstate
);
29076 if (PyErr_Occurred()) SWIG_fail
;
29079 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29087 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29088 PyObject
*resultobj
= 0;
29089 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29090 wxListItem
*arg2
= 0 ;
29096 PyObject
* obj0
= 0 ;
29097 PyObject
* obj1
= 0 ;
29098 char * kwnames
[] = {
29099 (char *) "self",(char *) "info", NULL
29102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29104 if (!SWIG_IsOK(res1
)) {
29105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29107 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29108 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29109 if (!SWIG_IsOK(res2
)) {
29110 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29113 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29115 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29118 result
= (bool)(arg1
)->SetItem(*arg2
);
29119 wxPyEndAllowThreads(__tstate
);
29120 if (PyErr_Occurred()) SWIG_fail
;
29123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29131 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29132 PyObject
*resultobj
= 0;
29133 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29136 wxString
*arg4
= 0 ;
29137 int arg5
= (int) -1 ;
29145 bool temp4
= false ;
29148 PyObject
* obj0
= 0 ;
29149 PyObject
* obj1
= 0 ;
29150 PyObject
* obj2
= 0 ;
29151 PyObject
* obj3
= 0 ;
29152 PyObject
* obj4
= 0 ;
29153 char * kwnames
[] = {
29154 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29159 if (!SWIG_IsOK(res1
)) {
29160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29162 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29163 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29164 if (!SWIG_IsOK(ecode2
)) {
29165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29167 arg2
= static_cast< long >(val2
);
29168 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29169 if (!SWIG_IsOK(ecode3
)) {
29170 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29172 arg3
= static_cast< int >(val3
);
29174 arg4
= wxString_in_helper(obj3
);
29175 if (arg4
== NULL
) SWIG_fail
;
29179 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29180 if (!SWIG_IsOK(ecode5
)) {
29181 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29183 arg5
= static_cast< int >(val5
);
29186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29187 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29188 wxPyEndAllowThreads(__tstate
);
29189 if (PyErr_Occurred()) SWIG_fail
;
29191 resultobj
= SWIG_From_long(static_cast< long >(result
));
29206 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29207 PyObject
*resultobj
= 0;
29208 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29218 PyObject
* obj0
= 0 ;
29219 PyObject
* obj1
= 0 ;
29220 PyObject
* obj2
= 0 ;
29221 char * kwnames
[] = {
29222 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29227 if (!SWIG_IsOK(res1
)) {
29228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29230 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29231 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29232 if (!SWIG_IsOK(ecode2
)) {
29233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29235 arg2
= static_cast< long >(val2
);
29236 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29237 if (!SWIG_IsOK(ecode3
)) {
29238 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29240 arg3
= static_cast< long >(val3
);
29242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29243 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29244 wxPyEndAllowThreads(__tstate
);
29245 if (PyErr_Occurred()) SWIG_fail
;
29247 resultobj
= SWIG_From_int(static_cast< int >(result
));
29254 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29255 PyObject
*resultobj
= 0;
29256 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29269 PyObject
* obj0
= 0 ;
29270 PyObject
* obj1
= 0 ;
29271 PyObject
* obj2
= 0 ;
29272 PyObject
* obj3
= 0 ;
29273 char * kwnames
[] = {
29274 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29279 if (!SWIG_IsOK(res1
)) {
29280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29282 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29283 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29284 if (!SWIG_IsOK(ecode2
)) {
29285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29287 arg2
= static_cast< long >(val2
);
29288 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29289 if (!SWIG_IsOK(ecode3
)) {
29290 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29292 arg3
= static_cast< long >(val3
);
29293 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29294 if (!SWIG_IsOK(ecode4
)) {
29295 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29297 arg4
= static_cast< long >(val4
);
29299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29300 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29301 wxPyEndAllowThreads(__tstate
);
29302 if (PyErr_Occurred()) SWIG_fail
;
29305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29313 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29314 PyObject
*resultobj
= 0;
29315 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29318 int arg4
= (int) -1 ;
29328 PyObject
* obj0
= 0 ;
29329 PyObject
* obj1
= 0 ;
29330 PyObject
* obj2
= 0 ;
29331 PyObject
* obj3
= 0 ;
29332 char * kwnames
[] = {
29333 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29338 if (!SWIG_IsOK(res1
)) {
29339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29341 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29342 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29343 if (!SWIG_IsOK(ecode2
)) {
29344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29346 arg2
= static_cast< long >(val2
);
29347 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29348 if (!SWIG_IsOK(ecode3
)) {
29349 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29351 arg3
= static_cast< int >(val3
);
29353 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29354 if (!SWIG_IsOK(ecode4
)) {
29355 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29357 arg4
= static_cast< int >(val4
);
29360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29361 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29362 wxPyEndAllowThreads(__tstate
);
29363 if (PyErr_Occurred()) SWIG_fail
;
29366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29374 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29375 PyObject
*resultobj
= 0;
29376 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29389 PyObject
* obj0
= 0 ;
29390 PyObject
* obj1
= 0 ;
29391 PyObject
* obj2
= 0 ;
29392 PyObject
* obj3
= 0 ;
29393 char * kwnames
[] = {
29394 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29399 if (!SWIG_IsOK(res1
)) {
29400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29402 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29403 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29404 if (!SWIG_IsOK(ecode2
)) {
29405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29407 arg2
= static_cast< long >(val2
);
29408 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29409 if (!SWIG_IsOK(ecode3
)) {
29410 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29412 arg3
= static_cast< long >(val3
);
29413 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29414 if (!SWIG_IsOK(ecode4
)) {
29415 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29417 arg4
= static_cast< int >(val4
);
29419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29420 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29421 wxPyEndAllowThreads(__tstate
);
29422 if (PyErr_Occurred()) SWIG_fail
;
29425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29433 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29434 PyObject
*resultobj
= 0;
29435 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29442 PyObject
* obj0
= 0 ;
29443 PyObject
* obj1
= 0 ;
29444 char * kwnames
[] = {
29445 (char *) "self",(char *) "item", NULL
29448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29450 if (!SWIG_IsOK(res1
)) {
29451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29453 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29454 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29455 if (!SWIG_IsOK(ecode2
)) {
29456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29458 arg2
= static_cast< long >(val2
);
29460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29461 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29462 wxPyEndAllowThreads(__tstate
);
29463 if (PyErr_Occurred()) SWIG_fail
;
29467 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29469 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29478 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29479 PyObject
*resultobj
= 0;
29480 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29482 wxString
*arg3
= 0 ;
29487 bool temp3
= false ;
29488 PyObject
* obj0
= 0 ;
29489 PyObject
* obj1
= 0 ;
29490 PyObject
* obj2
= 0 ;
29491 char * kwnames
[] = {
29492 (char *) "self",(char *) "item",(char *) "str", NULL
29495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29497 if (!SWIG_IsOK(res1
)) {
29498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29500 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29501 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29502 if (!SWIG_IsOK(ecode2
)) {
29503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29505 arg2
= static_cast< long >(val2
);
29507 arg3
= wxString_in_helper(obj2
);
29508 if (arg3
== NULL
) SWIG_fail
;
29512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29513 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29514 wxPyEndAllowThreads(__tstate
);
29515 if (PyErr_Occurred()) SWIG_fail
;
29517 resultobj
= SWIG_Py_Void();
29532 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29533 PyObject
*resultobj
= 0;
29534 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29541 PyObject
* obj0
= 0 ;
29542 PyObject
* obj1
= 0 ;
29543 char * kwnames
[] = {
29544 (char *) "self",(char *) "item", NULL
29547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29549 if (!SWIG_IsOK(res1
)) {
29550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29552 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29553 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29554 if (!SWIG_IsOK(ecode2
)) {
29555 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29557 arg2
= static_cast< long >(val2
);
29559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29560 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29561 wxPyEndAllowThreads(__tstate
);
29562 if (PyErr_Occurred()) SWIG_fail
;
29564 resultobj
= SWIG_From_long(static_cast< long >(result
));
29571 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29572 PyObject
*resultobj
= 0;
29573 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29583 PyObject
* obj0
= 0 ;
29584 PyObject
* obj1
= 0 ;
29585 PyObject
* obj2
= 0 ;
29586 char * kwnames
[] = {
29587 (char *) "self",(char *) "item",(char *) "data", NULL
29590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29592 if (!SWIG_IsOK(res1
)) {
29593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29595 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29596 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29597 if (!SWIG_IsOK(ecode2
)) {
29598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29600 arg2
= static_cast< long >(val2
);
29601 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29602 if (!SWIG_IsOK(ecode3
)) {
29603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29605 arg3
= static_cast< long >(val3
);
29607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29608 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29609 wxPyEndAllowThreads(__tstate
);
29610 if (PyErr_Occurred()) SWIG_fail
;
29613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29621 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29622 PyObject
*resultobj
= 0;
29623 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29630 PyObject
* obj0
= 0 ;
29631 PyObject
* obj1
= 0 ;
29632 char * kwnames
[] = {
29633 (char *) "self",(char *) "item", NULL
29636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29638 if (!SWIG_IsOK(res1
)) {
29639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29641 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29642 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29643 if (!SWIG_IsOK(ecode2
)) {
29644 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29646 arg2
= static_cast< long >(val2
);
29648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29649 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29650 wxPyEndAllowThreads(__tstate
);
29651 if (PyErr_Occurred()) SWIG_fail
;
29653 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29660 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29661 PyObject
*resultobj
= 0;
29662 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29664 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29672 PyObject
* obj0
= 0 ;
29673 PyObject
* obj1
= 0 ;
29674 PyObject
* obj2
= 0 ;
29675 char * kwnames
[] = {
29676 (char *) "self",(char *) "item",(char *) "code", NULL
29679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29681 if (!SWIG_IsOK(res1
)) {
29682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29684 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29685 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29686 if (!SWIG_IsOK(ecode2
)) {
29687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29689 arg2
= static_cast< long >(val2
);
29691 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29692 if (!SWIG_IsOK(ecode3
)) {
29693 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29695 arg3
= static_cast< int >(val3
);
29698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29699 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29700 wxPyEndAllowThreads(__tstate
);
29701 if (PyErr_Occurred()) SWIG_fail
;
29703 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29710 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29711 PyObject
*resultobj
= 0;
29712 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29714 wxPoint
*arg3
= 0 ;
29721 PyObject
* obj0
= 0 ;
29722 PyObject
* obj1
= 0 ;
29723 PyObject
* obj2
= 0 ;
29724 char * kwnames
[] = {
29725 (char *) "self",(char *) "item",(char *) "pos", NULL
29728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29730 if (!SWIG_IsOK(res1
)) {
29731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29733 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29734 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29735 if (!SWIG_IsOK(ecode2
)) {
29736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29738 arg2
= static_cast< long >(val2
);
29741 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29745 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
29746 wxPyEndAllowThreads(__tstate
);
29747 if (PyErr_Occurred()) SWIG_fail
;
29750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29758 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29759 PyObject
*resultobj
= 0;
29760 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29764 PyObject
*swig_obj
[1] ;
29766 if (!args
) SWIG_fail
;
29767 swig_obj
[0] = args
;
29768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29769 if (!SWIG_IsOK(res1
)) {
29770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29772 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29775 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
29776 wxPyEndAllowThreads(__tstate
);
29777 if (PyErr_Occurred()) SWIG_fail
;
29779 resultobj
= SWIG_From_int(static_cast< int >(result
));
29786 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29787 PyObject
*resultobj
= 0;
29788 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29792 PyObject
*swig_obj
[1] ;
29794 if (!args
) SWIG_fail
;
29795 swig_obj
[0] = args
;
29796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29797 if (!SWIG_IsOK(res1
)) {
29798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29800 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29803 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
29804 wxPyEndAllowThreads(__tstate
);
29805 if (PyErr_Occurred()) SWIG_fail
;
29807 resultobj
= SWIG_From_int(static_cast< int >(result
));
29814 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29815 PyObject
*resultobj
= 0;
29816 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29820 PyObject
*swig_obj
[1] ;
29822 if (!args
) SWIG_fail
;
29823 swig_obj
[0] = args
;
29824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29825 if (!SWIG_IsOK(res1
)) {
29826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29828 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29831 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
29832 wxPyEndAllowThreads(__tstate
);
29833 if (PyErr_Occurred()) SWIG_fail
;
29835 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
29842 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29843 PyObject
*resultobj
= 0;
29844 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29846 bool arg3
= (bool) false ;
29853 PyObject
* obj0
= 0 ;
29854 PyObject
* obj1
= 0 ;
29855 PyObject
* obj2
= 0 ;
29856 char * kwnames
[] = {
29857 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
29860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29862 if (!SWIG_IsOK(res1
)) {
29863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29865 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29866 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29867 if (!SWIG_IsOK(ecode2
)) {
29868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
29870 arg2
= static_cast< int >(val2
);
29872 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29873 if (!SWIG_IsOK(ecode3
)) {
29874 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
29876 arg3
= static_cast< bool >(val3
);
29879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29880 (arg1
)->SetItemSpacing(arg2
,arg3
);
29881 wxPyEndAllowThreads(__tstate
);
29882 if (PyErr_Occurred()) SWIG_fail
;
29884 resultobj
= SWIG_Py_Void();
29891 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29892 PyObject
*resultobj
= 0;
29893 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29897 PyObject
*swig_obj
[1] ;
29899 if (!args
) SWIG_fail
;
29900 swig_obj
[0] = args
;
29901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29902 if (!SWIG_IsOK(res1
)) {
29903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29905 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29908 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
29909 wxPyEndAllowThreads(__tstate
);
29910 if (PyErr_Occurred()) SWIG_fail
;
29912 resultobj
= SWIG_From_int(static_cast< int >(result
));
29919 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29920 PyObject
*resultobj
= 0;
29921 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29925 PyObject
*swig_obj
[1] ;
29927 if (!args
) SWIG_fail
;
29928 swig_obj
[0] = args
;
29929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29930 if (!SWIG_IsOK(res1
)) {
29931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29933 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29936 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
29937 wxPyEndAllowThreads(__tstate
);
29938 if (PyErr_Occurred()) SWIG_fail
;
29940 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29947 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29948 PyObject
*resultobj
= 0;
29949 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29950 wxColour
*arg2
= 0 ;
29954 PyObject
* obj0
= 0 ;
29955 PyObject
* obj1
= 0 ;
29956 char * kwnames
[] = {
29957 (char *) "self",(char *) "col", NULL
29960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29962 if (!SWIG_IsOK(res1
)) {
29963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29965 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29968 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29972 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
29973 wxPyEndAllowThreads(__tstate
);
29974 if (PyErr_Occurred()) SWIG_fail
;
29976 resultobj
= SWIG_Py_Void();
29983 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29984 PyObject
*resultobj
= 0;
29985 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29989 PyObject
*swig_obj
[1] ;
29991 if (!args
) SWIG_fail
;
29992 swig_obj
[0] = args
;
29993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29994 if (!SWIG_IsOK(res1
)) {
29995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29997 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30000 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30001 wxPyEndAllowThreads(__tstate
);
30002 if (PyErr_Occurred()) SWIG_fail
;
30004 resultobj
= SWIG_From_long(static_cast< long >(result
));
30011 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30012 PyObject
*resultobj
= 0;
30013 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30015 bool arg3
= (bool) true ;
30022 PyObject
* obj0
= 0 ;
30023 PyObject
* obj1
= 0 ;
30024 PyObject
* obj2
= 0 ;
30025 char * kwnames
[] = {
30026 (char *) "self",(char *) "style",(char *) "add", NULL
30029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30031 if (!SWIG_IsOK(res1
)) {
30032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30034 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30035 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30036 if (!SWIG_IsOK(ecode2
)) {
30037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30039 arg2
= static_cast< long >(val2
);
30041 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30042 if (!SWIG_IsOK(ecode3
)) {
30043 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30045 arg3
= static_cast< bool >(val3
);
30048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30049 (arg1
)->SetSingleStyle(arg2
,arg3
);
30050 wxPyEndAllowThreads(__tstate
);
30051 if (PyErr_Occurred()) SWIG_fail
;
30053 resultobj
= SWIG_Py_Void();
30060 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30061 PyObject
*resultobj
= 0;
30062 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30064 int arg3
= (int) wxLIST_NEXT_ALL
;
30065 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30075 PyObject
* obj0
= 0 ;
30076 PyObject
* obj1
= 0 ;
30077 PyObject
* obj2
= 0 ;
30078 PyObject
* obj3
= 0 ;
30079 char * kwnames
[] = {
30080 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30085 if (!SWIG_IsOK(res1
)) {
30086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30088 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30089 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30090 if (!SWIG_IsOK(ecode2
)) {
30091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30093 arg2
= static_cast< long >(val2
);
30095 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30096 if (!SWIG_IsOK(ecode3
)) {
30097 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30099 arg3
= static_cast< int >(val3
);
30102 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30103 if (!SWIG_IsOK(ecode4
)) {
30104 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30106 arg4
= static_cast< int >(val4
);
30109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30110 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30111 wxPyEndAllowThreads(__tstate
);
30112 if (PyErr_Occurred()) SWIG_fail
;
30114 resultobj
= SWIG_From_long(static_cast< long >(result
));
30121 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30122 PyObject
*resultobj
= 0;
30123 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30125 wxImageList
*result
= 0 ;
30130 PyObject
* obj0
= 0 ;
30131 PyObject
* obj1
= 0 ;
30132 char * kwnames
[] = {
30133 (char *) "self",(char *) "which", NULL
30136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30138 if (!SWIG_IsOK(res1
)) {
30139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30141 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30143 if (!SWIG_IsOK(ecode2
)) {
30144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30146 arg2
= static_cast< int >(val2
);
30148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30149 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30150 wxPyEndAllowThreads(__tstate
);
30151 if (PyErr_Occurred()) SWIG_fail
;
30154 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30162 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30163 PyObject
*resultobj
= 0;
30164 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30165 wxImageList
*arg2
= (wxImageList
*) 0 ;
30173 PyObject
* obj0
= 0 ;
30174 PyObject
* obj1
= 0 ;
30175 PyObject
* obj2
= 0 ;
30176 char * kwnames
[] = {
30177 (char *) "self",(char *) "imageList",(char *) "which", NULL
30180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30182 if (!SWIG_IsOK(res1
)) {
30183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30185 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30186 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30187 if (!SWIG_IsOK(res2
)) {
30188 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30190 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30191 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30192 if (!SWIG_IsOK(ecode3
)) {
30193 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30195 arg3
= static_cast< int >(val3
);
30197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30198 (arg1
)->SetImageList(arg2
,arg3
);
30199 wxPyEndAllowThreads(__tstate
);
30200 if (PyErr_Occurred()) SWIG_fail
;
30202 resultobj
= SWIG_Py_Void();
30209 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30210 PyObject
*resultobj
= 0;
30211 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30212 wxImageList
*arg2
= (wxImageList
*) 0 ;
30219 PyObject
* obj0
= 0 ;
30220 PyObject
* obj1
= 0 ;
30221 PyObject
* obj2
= 0 ;
30222 char * kwnames
[] = {
30223 (char *) "self",(char *) "imageList",(char *) "which", NULL
30226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30228 if (!SWIG_IsOK(res1
)) {
30229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30231 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30232 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30233 if (!SWIG_IsOK(res2
)) {
30234 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30236 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30237 if (!SWIG_IsOK(ecode3
)) {
30238 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30240 arg3
= static_cast< int >(val3
);
30242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30243 (arg1
)->AssignImageList(arg2
,arg3
);
30244 wxPyEndAllowThreads(__tstate
);
30245 if (PyErr_Occurred()) SWIG_fail
;
30247 resultobj
= SWIG_Py_Void();
30254 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30255 PyObject
*resultobj
= 0;
30256 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30260 PyObject
*swig_obj
[1] ;
30262 if (!args
) SWIG_fail
;
30263 swig_obj
[0] = args
;
30264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30265 if (!SWIG_IsOK(res1
)) {
30266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30268 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30271 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30272 wxPyEndAllowThreads(__tstate
);
30273 if (PyErr_Occurred()) SWIG_fail
;
30276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30284 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30285 PyObject
*resultobj
= 0;
30286 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30290 PyObject
*swig_obj
[1] ;
30292 if (!args
) SWIG_fail
;
30293 swig_obj
[0] = args
;
30294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30295 if (!SWIG_IsOK(res1
)) {
30296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30298 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30301 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30302 wxPyEndAllowThreads(__tstate
);
30303 if (PyErr_Occurred()) SWIG_fail
;
30306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30314 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30315 PyObject
*resultobj
= 0;
30316 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30322 PyObject
* obj0
= 0 ;
30323 PyObject
* obj1
= 0 ;
30324 char * kwnames
[] = {
30325 (char *) "self",(char *) "item", NULL
30328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30330 if (!SWIG_IsOK(res1
)) {
30331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30333 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30334 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30335 if (!SWIG_IsOK(ecode2
)) {
30336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30338 arg2
= static_cast< long >(val2
);
30340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30341 (arg1
)->RefreshItem(arg2
);
30342 wxPyEndAllowThreads(__tstate
);
30343 if (PyErr_Occurred()) SWIG_fail
;
30345 resultobj
= SWIG_Py_Void();
30352 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30353 PyObject
*resultobj
= 0;
30354 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30363 PyObject
* obj0
= 0 ;
30364 PyObject
* obj1
= 0 ;
30365 PyObject
* obj2
= 0 ;
30366 char * kwnames
[] = {
30367 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30372 if (!SWIG_IsOK(res1
)) {
30373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30375 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30376 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30377 if (!SWIG_IsOK(ecode2
)) {
30378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30380 arg2
= static_cast< long >(val2
);
30381 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30382 if (!SWIG_IsOK(ecode3
)) {
30383 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30385 arg3
= static_cast< long >(val3
);
30387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30388 (arg1
)->RefreshItems(arg2
,arg3
);
30389 wxPyEndAllowThreads(__tstate
);
30390 if (PyErr_Occurred()) SWIG_fail
;
30392 resultobj
= SWIG_Py_Void();
30399 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30400 PyObject
*resultobj
= 0;
30401 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30402 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30408 PyObject
* obj0
= 0 ;
30409 PyObject
* obj1
= 0 ;
30410 char * kwnames
[] = {
30411 (char *) "self",(char *) "flag", NULL
30414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30416 if (!SWIG_IsOK(res1
)) {
30417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30419 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30422 if (!SWIG_IsOK(ecode2
)) {
30423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30425 arg2
= static_cast< int >(val2
);
30428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30429 result
= (bool)(arg1
)->Arrange(arg2
);
30430 wxPyEndAllowThreads(__tstate
);
30431 if (PyErr_Occurred()) SWIG_fail
;
30434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30442 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30443 PyObject
*resultobj
= 0;
30444 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30451 PyObject
* obj0
= 0 ;
30452 PyObject
* obj1
= 0 ;
30453 char * kwnames
[] = {
30454 (char *) "self",(char *) "item", NULL
30457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30459 if (!SWIG_IsOK(res1
)) {
30460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30462 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30463 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30464 if (!SWIG_IsOK(ecode2
)) {
30465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30467 arg2
= static_cast< long >(val2
);
30469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30470 result
= (bool)(arg1
)->DeleteItem(arg2
);
30471 wxPyEndAllowThreads(__tstate
);
30472 if (PyErr_Occurred()) SWIG_fail
;
30475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30483 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30484 PyObject
*resultobj
= 0;
30485 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30489 PyObject
*swig_obj
[1] ;
30491 if (!args
) SWIG_fail
;
30492 swig_obj
[0] = args
;
30493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30494 if (!SWIG_IsOK(res1
)) {
30495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30497 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30500 result
= (bool)(arg1
)->DeleteAllItems();
30501 wxPyEndAllowThreads(__tstate
);
30502 if (PyErr_Occurred()) SWIG_fail
;
30505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30513 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30514 PyObject
*resultobj
= 0;
30515 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30522 PyObject
* obj0
= 0 ;
30523 PyObject
* obj1
= 0 ;
30524 char * kwnames
[] = {
30525 (char *) "self",(char *) "col", NULL
30528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30530 if (!SWIG_IsOK(res1
)) {
30531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30533 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30534 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30535 if (!SWIG_IsOK(ecode2
)) {
30536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30538 arg2
= static_cast< int >(val2
);
30540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30541 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30542 wxPyEndAllowThreads(__tstate
);
30543 if (PyErr_Occurred()) SWIG_fail
;
30546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30554 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30555 PyObject
*resultobj
= 0;
30556 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30560 PyObject
*swig_obj
[1] ;
30562 if (!args
) SWIG_fail
;
30563 swig_obj
[0] = args
;
30564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30565 if (!SWIG_IsOK(res1
)) {
30566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30568 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30571 result
= (bool)(arg1
)->DeleteAllColumns();
30572 wxPyEndAllowThreads(__tstate
);
30573 if (PyErr_Occurred()) SWIG_fail
;
30576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30584 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30585 PyObject
*resultobj
= 0;
30586 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30589 PyObject
*swig_obj
[1] ;
30591 if (!args
) SWIG_fail
;
30592 swig_obj
[0] = args
;
30593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30594 if (!SWIG_IsOK(res1
)) {
30595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30597 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30600 (arg1
)->ClearAll();
30601 wxPyEndAllowThreads(__tstate
);
30602 if (PyErr_Occurred()) SWIG_fail
;
30604 resultobj
= SWIG_Py_Void();
30611 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30612 PyObject
*resultobj
= 0;
30613 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30619 PyObject
* obj0
= 0 ;
30620 PyObject
* obj1
= 0 ;
30621 char * kwnames
[] = {
30622 (char *) "self",(char *) "item", NULL
30625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30627 if (!SWIG_IsOK(res1
)) {
30628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30630 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30631 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30632 if (!SWIG_IsOK(ecode2
)) {
30633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30635 arg2
= static_cast< long >(val2
);
30637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30638 (arg1
)->EditLabel(arg2
);
30639 wxPyEndAllowThreads(__tstate
);
30640 if (PyErr_Occurred()) SWIG_fail
;
30642 resultobj
= SWIG_Py_Void();
30649 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30650 PyObject
*resultobj
= 0;
30651 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30658 PyObject
* obj0
= 0 ;
30659 PyObject
* obj1
= 0 ;
30660 char * kwnames
[] = {
30661 (char *) "self",(char *) "item", NULL
30664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30666 if (!SWIG_IsOK(res1
)) {
30667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30669 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30670 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30671 if (!SWIG_IsOK(ecode2
)) {
30672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30674 arg2
= static_cast< long >(val2
);
30676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30677 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30678 wxPyEndAllowThreads(__tstate
);
30679 if (PyErr_Occurred()) SWIG_fail
;
30682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30690 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30691 PyObject
*resultobj
= 0;
30692 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30694 wxString
*arg3
= 0 ;
30695 bool arg4
= (bool) false ;
30701 bool temp3
= false ;
30704 PyObject
* obj0
= 0 ;
30705 PyObject
* obj1
= 0 ;
30706 PyObject
* obj2
= 0 ;
30707 PyObject
* obj3
= 0 ;
30708 char * kwnames
[] = {
30709 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30714 if (!SWIG_IsOK(res1
)) {
30715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30717 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30718 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30719 if (!SWIG_IsOK(ecode2
)) {
30720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30722 arg2
= static_cast< long >(val2
);
30724 arg3
= wxString_in_helper(obj2
);
30725 if (arg3
== NULL
) SWIG_fail
;
30729 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30730 if (!SWIG_IsOK(ecode4
)) {
30731 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30733 arg4
= static_cast< bool >(val4
);
30736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30737 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
30738 wxPyEndAllowThreads(__tstate
);
30739 if (PyErr_Occurred()) SWIG_fail
;
30741 resultobj
= SWIG_From_long(static_cast< long >(result
));
30756 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30757 PyObject
*resultobj
= 0;
30758 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30768 PyObject
* obj0
= 0 ;
30769 PyObject
* obj1
= 0 ;
30770 PyObject
* obj2
= 0 ;
30771 char * kwnames
[] = {
30772 (char *) "self",(char *) "start",(char *) "data", NULL
30775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30777 if (!SWIG_IsOK(res1
)) {
30778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30780 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30781 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30782 if (!SWIG_IsOK(ecode2
)) {
30783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
30785 arg2
= static_cast< long >(val2
);
30786 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30787 if (!SWIG_IsOK(ecode3
)) {
30788 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
30790 arg3
= static_cast< long >(val3
);
30792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30793 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
30794 wxPyEndAllowThreads(__tstate
);
30795 if (PyErr_Occurred()) SWIG_fail
;
30797 resultobj
= SWIG_From_long(static_cast< long >(result
));
30804 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30805 PyObject
*resultobj
= 0;
30806 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30808 wxPoint
*arg3
= 0 ;
30818 PyObject
* obj0
= 0 ;
30819 PyObject
* obj1
= 0 ;
30820 PyObject
* obj2
= 0 ;
30821 PyObject
* obj3
= 0 ;
30822 char * kwnames
[] = {
30823 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
30826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30828 if (!SWIG_IsOK(res1
)) {
30829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30831 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30832 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30833 if (!SWIG_IsOK(ecode2
)) {
30834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
30836 arg2
= static_cast< long >(val2
);
30839 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30841 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30842 if (!SWIG_IsOK(ecode4
)) {
30843 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
30845 arg4
= static_cast< int >(val4
);
30847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30848 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
30849 wxPyEndAllowThreads(__tstate
);
30850 if (PyErr_Occurred()) SWIG_fail
;
30852 resultobj
= SWIG_From_long(static_cast< long >(result
));
30859 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30860 PyObject
*resultobj
= 0;
30861 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30862 wxPoint
*arg2
= 0 ;
30869 int res3
= SWIG_TMPOBJ
;
30870 PyObject
* obj0
= 0 ;
30871 PyObject
* obj1
= 0 ;
30872 char * kwnames
[] = {
30873 (char *) "self",(char *) "point", NULL
30877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30879 if (!SWIG_IsOK(res1
)) {
30880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30882 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30885 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30889 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30890 wxPyEndAllowThreads(__tstate
);
30891 if (PyErr_Occurred()) SWIG_fail
;
30893 resultobj
= SWIG_From_long(static_cast< long >(result
));
30894 if (SWIG_IsTmpObj(res3
)) {
30895 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30897 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30898 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30906 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30907 PyObject
*resultobj
= 0;
30908 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30909 wxPoint
*arg2
= 0 ;
30911 long *arg4
= (long *) 0 ;
30917 int res3
= SWIG_TMPOBJ
;
30919 int res4
= SWIG_TMPOBJ
;
30920 PyObject
* obj0
= 0 ;
30921 PyObject
* obj1
= 0 ;
30922 char * kwnames
[] = {
30923 (char *) "self",(char *) "point", NULL
30928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30930 if (!SWIG_IsOK(res1
)) {
30931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30933 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30936 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30940 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
30941 wxPyEndAllowThreads(__tstate
);
30942 if (PyErr_Occurred()) SWIG_fail
;
30944 resultobj
= SWIG_From_long(static_cast< long >(result
));
30945 if (SWIG_IsTmpObj(res3
)) {
30946 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30948 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30949 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30951 if (SWIG_IsTmpObj(res4
)) {
30952 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
30954 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30955 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
30963 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30964 PyObject
*resultobj
= 0;
30965 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30966 wxListItem
*arg2
= 0 ;
30972 PyObject
* obj0
= 0 ;
30973 PyObject
* obj1
= 0 ;
30974 char * kwnames
[] = {
30975 (char *) "self",(char *) "info", NULL
30978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30980 if (!SWIG_IsOK(res1
)) {
30981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30983 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30984 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
30985 if (!SWIG_IsOK(res2
)) {
30986 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30989 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30991 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
30993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30994 result
= (long)(arg1
)->InsertItem(*arg2
);
30995 wxPyEndAllowThreads(__tstate
);
30996 if (PyErr_Occurred()) SWIG_fail
;
30998 resultobj
= SWIG_From_long(static_cast< long >(result
));
31005 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31006 PyObject
*resultobj
= 0;
31007 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31009 wxString
*arg3
= 0 ;
31010 int arg4
= (int) -1 ;
31016 bool temp3
= false ;
31019 PyObject
* obj0
= 0 ;
31020 PyObject
* obj1
= 0 ;
31021 PyObject
* obj2
= 0 ;
31022 PyObject
* obj3
= 0 ;
31023 char * kwnames
[] = {
31024 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31029 if (!SWIG_IsOK(res1
)) {
31030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31032 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31033 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31034 if (!SWIG_IsOK(ecode2
)) {
31035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31037 arg2
= static_cast< long >(val2
);
31039 arg3
= wxString_in_helper(obj2
);
31040 if (arg3
== NULL
) SWIG_fail
;
31044 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31045 if (!SWIG_IsOK(ecode4
)) {
31046 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31048 arg4
= static_cast< int >(val4
);
31051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31052 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31053 wxPyEndAllowThreads(__tstate
);
31054 if (PyErr_Occurred()) SWIG_fail
;
31056 resultobj
= SWIG_From_long(static_cast< long >(result
));
31071 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31072 PyObject
*resultobj
= 0;
31073 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31083 PyObject
* obj0
= 0 ;
31084 PyObject
* obj1
= 0 ;
31085 PyObject
* obj2
= 0 ;
31086 char * kwnames
[] = {
31087 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31092 if (!SWIG_IsOK(res1
)) {
31093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31095 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31096 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31097 if (!SWIG_IsOK(ecode2
)) {
31098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31100 arg2
= static_cast< long >(val2
);
31101 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31102 if (!SWIG_IsOK(ecode3
)) {
31103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31105 arg3
= static_cast< int >(val3
);
31107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31108 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31109 wxPyEndAllowThreads(__tstate
);
31110 if (PyErr_Occurred()) SWIG_fail
;
31112 resultobj
= SWIG_From_long(static_cast< long >(result
));
31119 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31120 PyObject
*resultobj
= 0;
31121 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31123 wxString
*arg3
= 0 ;
31130 bool temp3
= false ;
31133 PyObject
* obj0
= 0 ;
31134 PyObject
* obj1
= 0 ;
31135 PyObject
* obj2
= 0 ;
31136 PyObject
* obj3
= 0 ;
31137 char * kwnames
[] = {
31138 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31143 if (!SWIG_IsOK(res1
)) {
31144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31146 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31147 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31148 if (!SWIG_IsOK(ecode2
)) {
31149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31151 arg2
= static_cast< long >(val2
);
31153 arg3
= wxString_in_helper(obj2
);
31154 if (arg3
== NULL
) SWIG_fail
;
31157 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31158 if (!SWIG_IsOK(ecode4
)) {
31159 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31161 arg4
= static_cast< int >(val4
);
31163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31164 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31165 wxPyEndAllowThreads(__tstate
);
31166 if (PyErr_Occurred()) SWIG_fail
;
31168 resultobj
= SWIG_From_long(static_cast< long >(result
));
31183 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31184 PyObject
*resultobj
= 0;
31185 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31187 wxListItem
*arg3
= 0 ;
31195 PyObject
* obj0
= 0 ;
31196 PyObject
* obj1
= 0 ;
31197 PyObject
* obj2
= 0 ;
31198 char * kwnames
[] = {
31199 (char *) "self",(char *) "col",(char *) "info", NULL
31202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31204 if (!SWIG_IsOK(res1
)) {
31205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31207 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31208 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31209 if (!SWIG_IsOK(ecode2
)) {
31210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31212 arg2
= static_cast< long >(val2
);
31213 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31214 if (!SWIG_IsOK(res3
)) {
31215 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31218 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31220 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31223 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31224 wxPyEndAllowThreads(__tstate
);
31225 if (PyErr_Occurred()) SWIG_fail
;
31227 resultobj
= SWIG_From_long(static_cast< long >(result
));
31234 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31235 PyObject
*resultobj
= 0;
31236 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31238 wxString
*arg3
= 0 ;
31239 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31240 int arg5
= (int) -1 ;
31246 bool temp3
= false ;
31251 PyObject
* obj0
= 0 ;
31252 PyObject
* obj1
= 0 ;
31253 PyObject
* obj2
= 0 ;
31254 PyObject
* obj3
= 0 ;
31255 PyObject
* obj4
= 0 ;
31256 char * kwnames
[] = {
31257 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31262 if (!SWIG_IsOK(res1
)) {
31263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31265 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31266 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31267 if (!SWIG_IsOK(ecode2
)) {
31268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31270 arg2
= static_cast< long >(val2
);
31272 arg3
= wxString_in_helper(obj2
);
31273 if (arg3
== NULL
) SWIG_fail
;
31277 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31278 if (!SWIG_IsOK(ecode4
)) {
31279 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31281 arg4
= static_cast< int >(val4
);
31284 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31285 if (!SWIG_IsOK(ecode5
)) {
31286 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31288 arg5
= static_cast< int >(val5
);
31291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31292 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31293 wxPyEndAllowThreads(__tstate
);
31294 if (PyErr_Occurred()) SWIG_fail
;
31296 resultobj
= SWIG_From_long(static_cast< long >(result
));
31311 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31312 PyObject
*resultobj
= 0;
31313 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31319 PyObject
* obj0
= 0 ;
31320 PyObject
* obj1
= 0 ;
31321 char * kwnames
[] = {
31322 (char *) "self",(char *) "count", NULL
31325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31327 if (!SWIG_IsOK(res1
)) {
31328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31330 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31331 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31332 if (!SWIG_IsOK(ecode2
)) {
31333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31335 arg2
= static_cast< long >(val2
);
31337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31338 (arg1
)->SetItemCount(arg2
);
31339 wxPyEndAllowThreads(__tstate
);
31340 if (PyErr_Occurred()) SWIG_fail
;
31342 resultobj
= SWIG_Py_Void();
31349 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31350 PyObject
*resultobj
= 0;
31351 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31361 PyObject
* obj0
= 0 ;
31362 PyObject
* obj1
= 0 ;
31363 PyObject
* obj2
= 0 ;
31364 char * kwnames
[] = {
31365 (char *) "self",(char *) "dx",(char *) "dy", NULL
31368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31370 if (!SWIG_IsOK(res1
)) {
31371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31373 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31374 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31375 if (!SWIG_IsOK(ecode2
)) {
31376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31378 arg2
= static_cast< int >(val2
);
31379 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31380 if (!SWIG_IsOK(ecode3
)) {
31381 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31383 arg3
= static_cast< int >(val3
);
31385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31386 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31387 wxPyEndAllowThreads(__tstate
);
31388 if (PyErr_Occurred()) SWIG_fail
;
31391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31399 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31400 PyObject
*resultobj
= 0;
31401 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31403 wxColour
*arg3
= 0 ;
31409 PyObject
* obj0
= 0 ;
31410 PyObject
* obj1
= 0 ;
31411 PyObject
* obj2
= 0 ;
31412 char * kwnames
[] = {
31413 (char *) "self",(char *) "item",(char *) "col", NULL
31416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31418 if (!SWIG_IsOK(res1
)) {
31419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31421 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31422 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31423 if (!SWIG_IsOK(ecode2
)) {
31424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31426 arg2
= static_cast< long >(val2
);
31429 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31433 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31434 wxPyEndAllowThreads(__tstate
);
31435 if (PyErr_Occurred()) SWIG_fail
;
31437 resultobj
= SWIG_Py_Void();
31444 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31445 PyObject
*resultobj
= 0;
31446 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31453 PyObject
* obj0
= 0 ;
31454 PyObject
* obj1
= 0 ;
31455 char * kwnames
[] = {
31456 (char *) "self",(char *) "item", NULL
31459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31461 if (!SWIG_IsOK(res1
)) {
31462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31464 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31465 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31466 if (!SWIG_IsOK(ecode2
)) {
31467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31469 arg2
= static_cast< long >(val2
);
31471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31472 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31473 wxPyEndAllowThreads(__tstate
);
31474 if (PyErr_Occurred()) SWIG_fail
;
31476 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31483 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31484 PyObject
*resultobj
= 0;
31485 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31487 wxColour
*arg3
= 0 ;
31493 PyObject
* obj0
= 0 ;
31494 PyObject
* obj1
= 0 ;
31495 PyObject
* obj2
= 0 ;
31496 char * kwnames
[] = {
31497 (char *) "self",(char *) "item",(char *) "col", NULL
31500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31502 if (!SWIG_IsOK(res1
)) {
31503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31505 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31506 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31507 if (!SWIG_IsOK(ecode2
)) {
31508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31510 arg2
= static_cast< long >(val2
);
31513 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31517 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31518 wxPyEndAllowThreads(__tstate
);
31519 if (PyErr_Occurred()) SWIG_fail
;
31521 resultobj
= SWIG_Py_Void();
31528 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31529 PyObject
*resultobj
= 0;
31530 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31537 PyObject
* obj0
= 0 ;
31538 PyObject
* obj1
= 0 ;
31539 char * kwnames
[] = {
31540 (char *) "self",(char *) "item", NULL
31543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31545 if (!SWIG_IsOK(res1
)) {
31546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31548 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31549 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31550 if (!SWIG_IsOK(ecode2
)) {
31551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31553 arg2
= static_cast< long >(val2
);
31555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31556 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31557 wxPyEndAllowThreads(__tstate
);
31558 if (PyErr_Occurred()) SWIG_fail
;
31560 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31567 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31568 PyObject
*resultobj
= 0;
31569 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31578 PyObject
* obj0
= 0 ;
31579 PyObject
* obj1
= 0 ;
31580 PyObject
* obj2
= 0 ;
31581 char * kwnames
[] = {
31582 (char *) "self",(char *) "item",(char *) "f", NULL
31585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31587 if (!SWIG_IsOK(res1
)) {
31588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31590 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31591 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31592 if (!SWIG_IsOK(ecode2
)) {
31593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31595 arg2
= static_cast< long >(val2
);
31596 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31597 if (!SWIG_IsOK(res3
)) {
31598 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31601 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31603 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31606 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31607 wxPyEndAllowThreads(__tstate
);
31608 if (PyErr_Occurred()) SWIG_fail
;
31610 resultobj
= SWIG_Py_Void();
31617 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31618 PyObject
*resultobj
= 0;
31619 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31626 PyObject
* obj0
= 0 ;
31627 PyObject
* obj1
= 0 ;
31628 char * kwnames
[] = {
31629 (char *) "self",(char *) "item", NULL
31632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31634 if (!SWIG_IsOK(res1
)) {
31635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31637 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31638 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31639 if (!SWIG_IsOK(ecode2
)) {
31640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31642 arg2
= static_cast< long >(val2
);
31644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31645 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31646 wxPyEndAllowThreads(__tstate
);
31647 if (PyErr_Occurred()) SWIG_fail
;
31649 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31656 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31657 PyObject
*resultobj
= 0;
31658 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31659 PyObject
*arg2
= (PyObject
*) 0 ;
31663 PyObject
* obj0
= 0 ;
31664 PyObject
* obj1
= 0 ;
31665 char * kwnames
[] = {
31666 (char *) "self",(char *) "func", NULL
31669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31671 if (!SWIG_IsOK(res1
)) {
31672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31674 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31678 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31679 wxPyEndAllowThreads(__tstate
);
31680 if (PyErr_Occurred()) SWIG_fail
;
31683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31691 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31692 PyObject
*resultobj
= 0;
31693 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31694 wxWindow
*result
= 0 ;
31697 PyObject
*swig_obj
[1] ;
31699 if (!args
) SWIG_fail
;
31700 swig_obj
[0] = args
;
31701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31702 if (!SWIG_IsOK(res1
)) {
31703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31705 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31708 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31709 wxPyEndAllowThreads(__tstate
);
31710 if (PyErr_Occurred()) SWIG_fail
;
31713 resultobj
= wxPyMake_wxObject(result
, 0);
31721 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31722 PyObject
*resultobj
= 0;
31723 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31724 SwigValueWrapper
<wxVisualAttributes
> result
;
31727 PyObject
* obj0
= 0 ;
31728 char * kwnames
[] = {
31729 (char *) "variant", NULL
31732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
31734 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31735 if (!SWIG_IsOK(ecode1
)) {
31736 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31738 arg1
= static_cast< wxWindowVariant
>(val1
);
31741 if (!wxPyCheckForApp()) SWIG_fail
;
31742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31743 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
31744 wxPyEndAllowThreads(__tstate
);
31745 if (PyErr_Occurred()) SWIG_fail
;
31747 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
31754 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31756 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31757 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
31758 return SWIG_Py_Void();
31761 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31762 return SWIG_Python_InitShadowInstance(args
);
31765 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31766 PyObject
*resultobj
= 0;
31767 wxWindow
*arg1
= (wxWindow
*) 0 ;
31768 int arg2
= (int) -1 ;
31769 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31770 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31771 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31772 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31773 long arg5
= (long) wxLC_REPORT
;
31774 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31775 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31776 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
31777 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31778 wxListView
*result
= 0 ;
31789 bool temp7
= false ;
31790 PyObject
* obj0
= 0 ;
31791 PyObject
* obj1
= 0 ;
31792 PyObject
* obj2
= 0 ;
31793 PyObject
* obj3
= 0 ;
31794 PyObject
* obj4
= 0 ;
31795 PyObject
* obj5
= 0 ;
31796 PyObject
* obj6
= 0 ;
31797 char * kwnames
[] = {
31798 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31803 if (!SWIG_IsOK(res1
)) {
31804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31806 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31809 if (!SWIG_IsOK(ecode2
)) {
31810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
31812 arg2
= static_cast< int >(val2
);
31817 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31823 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31827 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31828 if (!SWIG_IsOK(ecode5
)) {
31829 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
31831 arg5
= static_cast< long >(val5
);
31834 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
31835 if (!SWIG_IsOK(res6
)) {
31836 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31841 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
31845 arg7
= wxString_in_helper(obj6
);
31846 if (arg7
== NULL
) SWIG_fail
;
31851 if (!wxPyCheckForApp()) SWIG_fail
;
31852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31853 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31854 wxPyEndAllowThreads(__tstate
);
31855 if (PyErr_Occurred()) SWIG_fail
;
31857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
31872 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31873 PyObject
*resultobj
= 0;
31874 wxListView
*result
= 0 ;
31876 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
31878 if (!wxPyCheckForApp()) SWIG_fail
;
31879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31880 result
= (wxListView
*)new wxListView();
31881 wxPyEndAllowThreads(__tstate
);
31882 if (PyErr_Occurred()) SWIG_fail
;
31884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
31891 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31892 PyObject
*resultobj
= 0;
31893 wxListView
*arg1
= (wxListView
*) 0 ;
31894 wxWindow
*arg2
= (wxWindow
*) 0 ;
31895 int arg3
= (int) -1 ;
31896 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31897 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31898 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31899 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31900 long arg6
= (long) wxLC_REPORT
;
31901 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31902 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31903 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
31904 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31918 bool temp8
= false ;
31919 PyObject
* obj0
= 0 ;
31920 PyObject
* obj1
= 0 ;
31921 PyObject
* obj2
= 0 ;
31922 PyObject
* obj3
= 0 ;
31923 PyObject
* obj4
= 0 ;
31924 PyObject
* obj5
= 0 ;
31925 PyObject
* obj6
= 0 ;
31926 PyObject
* obj7
= 0 ;
31927 char * kwnames
[] = {
31928 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31933 if (!SWIG_IsOK(res1
)) {
31934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
31936 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31937 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31938 if (!SWIG_IsOK(res2
)) {
31939 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
31941 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31943 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31944 if (!SWIG_IsOK(ecode3
)) {
31945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
31947 arg3
= static_cast< int >(val3
);
31952 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31958 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31962 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31963 if (!SWIG_IsOK(ecode6
)) {
31964 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
31966 arg6
= static_cast< long >(val6
);
31969 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
31970 if (!SWIG_IsOK(res7
)) {
31971 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31974 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31976 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
31980 arg8
= wxString_in_helper(obj7
);
31981 if (arg8
== NULL
) SWIG_fail
;
31986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31987 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
31988 wxPyEndAllowThreads(__tstate
);
31989 if (PyErr_Occurred()) SWIG_fail
;
31992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32008 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32009 PyObject
*resultobj
= 0;
32010 wxListView
*arg1
= (wxListView
*) 0 ;
32012 bool arg3
= (bool) true ;
32019 PyObject
* obj0
= 0 ;
32020 PyObject
* obj1
= 0 ;
32021 PyObject
* obj2
= 0 ;
32022 char * kwnames
[] = {
32023 (char *) "self",(char *) "n",(char *) "on", NULL
32026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32028 if (!SWIG_IsOK(res1
)) {
32029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32031 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32032 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32033 if (!SWIG_IsOK(ecode2
)) {
32034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32036 arg2
= static_cast< long >(val2
);
32038 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32039 if (!SWIG_IsOK(ecode3
)) {
32040 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32042 arg3
= static_cast< bool >(val3
);
32045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32046 (arg1
)->Select(arg2
,arg3
);
32047 wxPyEndAllowThreads(__tstate
);
32048 if (PyErr_Occurred()) SWIG_fail
;
32050 resultobj
= SWIG_Py_Void();
32057 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32058 PyObject
*resultobj
= 0;
32059 wxListView
*arg1
= (wxListView
*) 0 ;
32065 PyObject
* obj0
= 0 ;
32066 PyObject
* obj1
= 0 ;
32067 char * kwnames
[] = {
32068 (char *) "self",(char *) "index", NULL
32071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32073 if (!SWIG_IsOK(res1
)) {
32074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32076 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32077 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32078 if (!SWIG_IsOK(ecode2
)) {
32079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32081 arg2
= static_cast< long >(val2
);
32083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32084 (arg1
)->Focus(arg2
);
32085 wxPyEndAllowThreads(__tstate
);
32086 if (PyErr_Occurred()) SWIG_fail
;
32088 resultobj
= SWIG_Py_Void();
32095 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32096 PyObject
*resultobj
= 0;
32097 wxListView
*arg1
= (wxListView
*) 0 ;
32101 PyObject
*swig_obj
[1] ;
32103 if (!args
) SWIG_fail
;
32104 swig_obj
[0] = args
;
32105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32106 if (!SWIG_IsOK(res1
)) {
32107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32109 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32112 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32113 wxPyEndAllowThreads(__tstate
);
32114 if (PyErr_Occurred()) SWIG_fail
;
32116 resultobj
= SWIG_From_long(static_cast< long >(result
));
32123 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32124 PyObject
*resultobj
= 0;
32125 wxListView
*arg1
= (wxListView
*) 0 ;
32132 PyObject
* obj0
= 0 ;
32133 PyObject
* obj1
= 0 ;
32134 char * kwnames
[] = {
32135 (char *) "self",(char *) "item", NULL
32138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32140 if (!SWIG_IsOK(res1
)) {
32141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32143 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32144 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32145 if (!SWIG_IsOK(ecode2
)) {
32146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32148 arg2
= static_cast< long >(val2
);
32150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32151 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32152 wxPyEndAllowThreads(__tstate
);
32153 if (PyErr_Occurred()) SWIG_fail
;
32155 resultobj
= SWIG_From_long(static_cast< long >(result
));
32162 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32163 PyObject
*resultobj
= 0;
32164 wxListView
*arg1
= (wxListView
*) 0 ;
32168 PyObject
*swig_obj
[1] ;
32170 if (!args
) SWIG_fail
;
32171 swig_obj
[0] = args
;
32172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32173 if (!SWIG_IsOK(res1
)) {
32174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32176 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32179 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32180 wxPyEndAllowThreads(__tstate
);
32181 if (PyErr_Occurred()) SWIG_fail
;
32183 resultobj
= SWIG_From_long(static_cast< long >(result
));
32190 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32191 PyObject
*resultobj
= 0;
32192 wxListView
*arg1
= (wxListView
*) 0 ;
32199 PyObject
* obj0
= 0 ;
32200 PyObject
* obj1
= 0 ;
32201 char * kwnames
[] = {
32202 (char *) "self",(char *) "index", NULL
32205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32207 if (!SWIG_IsOK(res1
)) {
32208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32210 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32211 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32212 if (!SWIG_IsOK(ecode2
)) {
32213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32215 arg2
= static_cast< long >(val2
);
32217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32218 result
= (bool)(arg1
)->IsSelected(arg2
);
32219 wxPyEndAllowThreads(__tstate
);
32220 if (PyErr_Occurred()) SWIG_fail
;
32223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32231 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32232 PyObject
*resultobj
= 0;
32233 wxListView
*arg1
= (wxListView
*) 0 ;
32242 PyObject
* obj0
= 0 ;
32243 PyObject
* obj1
= 0 ;
32244 PyObject
* obj2
= 0 ;
32245 char * kwnames
[] = {
32246 (char *) "self",(char *) "col",(char *) "image", NULL
32249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32251 if (!SWIG_IsOK(res1
)) {
32252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32254 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32255 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32256 if (!SWIG_IsOK(ecode2
)) {
32257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32259 arg2
= static_cast< int >(val2
);
32260 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32261 if (!SWIG_IsOK(ecode3
)) {
32262 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32264 arg3
= static_cast< int >(val3
);
32266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32267 (arg1
)->SetColumnImage(arg2
,arg3
);
32268 wxPyEndAllowThreads(__tstate
);
32269 if (PyErr_Occurred()) SWIG_fail
;
32271 resultobj
= SWIG_Py_Void();
32278 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32279 PyObject
*resultobj
= 0;
32280 wxListView
*arg1
= (wxListView
*) 0 ;
32286 PyObject
* obj0
= 0 ;
32287 PyObject
* obj1
= 0 ;
32288 char * kwnames
[] = {
32289 (char *) "self",(char *) "col", NULL
32292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32294 if (!SWIG_IsOK(res1
)) {
32295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32297 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32298 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32299 if (!SWIG_IsOK(ecode2
)) {
32300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32302 arg2
= static_cast< int >(val2
);
32304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32305 (arg1
)->ClearColumnImage(arg2
);
32306 wxPyEndAllowThreads(__tstate
);
32307 if (PyErr_Occurred()) SWIG_fail
;
32309 resultobj
= SWIG_Py_Void();
32316 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32318 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32319 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32320 return SWIG_Py_Void();
32323 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32324 return SWIG_Python_InitShadowInstance(args
);
32327 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32328 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32333 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32334 PyObject
*pyobj
= 0;
32338 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32340 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32347 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32348 PyObject
*resultobj
= 0;
32349 wxTreeItemId
*result
= 0 ;
32351 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32354 result
= (wxTreeItemId
*)new wxTreeItemId();
32355 wxPyEndAllowThreads(__tstate
);
32356 if (PyErr_Occurred()) SWIG_fail
;
32358 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32365 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32366 PyObject
*resultobj
= 0;
32367 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32370 PyObject
*swig_obj
[1] ;
32372 if (!args
) SWIG_fail
;
32373 swig_obj
[0] = args
;
32374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32375 if (!SWIG_IsOK(res1
)) {
32376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32378 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32383 wxPyEndAllowThreads(__tstate
);
32384 if (PyErr_Occurred()) SWIG_fail
;
32386 resultobj
= SWIG_Py_Void();
32393 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32394 PyObject
*resultobj
= 0;
32395 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32399 PyObject
*swig_obj
[1] ;
32401 if (!args
) SWIG_fail
;
32402 swig_obj
[0] = args
;
32403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32404 if (!SWIG_IsOK(res1
)) {
32405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32407 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32410 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32411 wxPyEndAllowThreads(__tstate
);
32412 if (PyErr_Occurred()) SWIG_fail
;
32415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32423 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32424 PyObject
*resultobj
= 0;
32425 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32426 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32432 PyObject
* obj0
= 0 ;
32433 PyObject
* obj1
= 0 ;
32434 char * kwnames
[] = {
32435 (char *) "self",(char *) "other", NULL
32438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32440 if (!SWIG_IsOK(res1
)) {
32441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32443 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32444 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32445 if (!SWIG_IsOK(res2
)) {
32446 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32448 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32451 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32452 wxPyEndAllowThreads(__tstate
);
32453 if (PyErr_Occurred()) SWIG_fail
;
32456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32464 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32465 PyObject
*resultobj
= 0;
32466 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32467 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32473 PyObject
* obj0
= 0 ;
32474 PyObject
* obj1
= 0 ;
32475 char * kwnames
[] = {
32476 (char *) "self",(char *) "other", NULL
32479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32481 if (!SWIG_IsOK(res1
)) {
32482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32484 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32485 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32486 if (!SWIG_IsOK(res2
)) {
32487 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32489 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32492 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32493 wxPyEndAllowThreads(__tstate
);
32494 if (PyErr_Occurred()) SWIG_fail
;
32497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32505 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32506 PyObject
*resultobj
= 0;
32507 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32508 void *arg2
= (void *) 0 ;
32512 PyObject
*swig_obj
[2] ;
32514 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32516 if (!SWIG_IsOK(res1
)) {
32517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32519 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32520 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32521 if (!SWIG_IsOK(res2
)) {
32522 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32524 if (arg1
) (arg1
)->m_pItem
= arg2
;
32526 resultobj
= SWIG_Py_Void();
32533 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32534 PyObject
*resultobj
= 0;
32535 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32539 PyObject
*swig_obj
[1] ;
32541 if (!args
) SWIG_fail
;
32542 swig_obj
[0] = args
;
32543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32544 if (!SWIG_IsOK(res1
)) {
32545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32547 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32548 result
= (void *) ((arg1
)->m_pItem
);
32549 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32556 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32558 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32559 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32560 return SWIG_Py_Void();
32563 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32564 return SWIG_Python_InitShadowInstance(args
);
32567 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32568 PyObject
*resultobj
= 0;
32569 PyObject
*arg1
= (PyObject
*) NULL
;
32570 wxPyTreeItemData
*result
= 0 ;
32571 PyObject
* obj0
= 0 ;
32572 char * kwnames
[] = {
32573 (char *) "obj", NULL
32576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32582 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32583 wxPyEndAllowThreads(__tstate
);
32584 if (PyErr_Occurred()) SWIG_fail
;
32586 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32593 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32594 PyObject
*resultobj
= 0;
32595 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32598 PyObject
*swig_obj
[1] ;
32600 if (!args
) SWIG_fail
;
32601 swig_obj
[0] = args
;
32602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32603 if (!SWIG_IsOK(res1
)) {
32604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32606 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32611 wxPyEndAllowThreads(__tstate
);
32612 if (PyErr_Occurred()) SWIG_fail
;
32614 resultobj
= SWIG_Py_Void();
32621 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32622 PyObject
*resultobj
= 0;
32623 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32624 PyObject
*result
= 0 ;
32627 PyObject
*swig_obj
[1] ;
32629 if (!args
) SWIG_fail
;
32630 swig_obj
[0] = args
;
32631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32632 if (!SWIG_IsOK(res1
)) {
32633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32635 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32638 result
= (PyObject
*)(arg1
)->GetData();
32639 wxPyEndAllowThreads(__tstate
);
32640 if (PyErr_Occurred()) SWIG_fail
;
32642 resultobj
= result
;
32649 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32650 PyObject
*resultobj
= 0;
32651 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32652 PyObject
*arg2
= (PyObject
*) 0 ;
32655 PyObject
* obj0
= 0 ;
32656 PyObject
* obj1
= 0 ;
32657 char * kwnames
[] = {
32658 (char *) "self",(char *) "obj", NULL
32661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32663 if (!SWIG_IsOK(res1
)) {
32664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32666 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32670 (arg1
)->SetData(arg2
);
32671 wxPyEndAllowThreads(__tstate
);
32672 if (PyErr_Occurred()) SWIG_fail
;
32674 resultobj
= SWIG_Py_Void();
32681 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32682 PyObject
*resultobj
= 0;
32683 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32684 wxTreeItemId
*result
= 0 ;
32687 PyObject
*swig_obj
[1] ;
32689 if (!args
) SWIG_fail
;
32690 swig_obj
[0] = args
;
32691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32692 if (!SWIG_IsOK(res1
)) {
32693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32695 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32699 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32700 result
= (wxTreeItemId
*) &_result_ref
;
32702 wxPyEndAllowThreads(__tstate
);
32703 if (PyErr_Occurred()) SWIG_fail
;
32705 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32712 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32713 PyObject
*resultobj
= 0;
32714 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32715 wxTreeItemId
*arg2
= 0 ;
32720 PyObject
* obj0
= 0 ;
32721 PyObject
* obj1
= 0 ;
32722 char * kwnames
[] = {
32723 (char *) "self",(char *) "id", NULL
32726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32728 if (!SWIG_IsOK(res1
)) {
32729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32731 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32732 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32733 if (!SWIG_IsOK(res2
)) {
32734 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32737 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32739 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32742 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
32743 wxPyEndAllowThreads(__tstate
);
32744 if (PyErr_Occurred()) SWIG_fail
;
32746 resultobj
= SWIG_Py_Void();
32753 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32754 PyObject
*resultobj
= 0;
32755 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32758 PyObject
*swig_obj
[1] ;
32760 if (!args
) SWIG_fail
;
32761 swig_obj
[0] = args
;
32762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32763 if (!SWIG_IsOK(res1
)) {
32764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32766 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32769 wxPyTreeItemData_Destroy(arg1
);
32770 wxPyEndAllowThreads(__tstate
);
32771 if (PyErr_Occurred()) SWIG_fail
;
32773 resultobj
= SWIG_Py_Void();
32780 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32782 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32783 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
32784 return SWIG_Py_Void();
32787 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32788 return SWIG_Python_InitShadowInstance(args
);
32791 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
32794 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32795 if (!SWIG_IsOK(res
)) {
32796 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
32799 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
32801 wxTreeItemId
* temp
;
32802 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
32803 wxNullTreeItemId
= *temp
;
32804 if (SWIG_IsNewObj(res
)) delete temp
;
32813 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
32814 PyObject
*pyobj
= 0;
32816 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
32821 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32822 PyObject
*resultobj
= 0;
32823 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32824 int arg2
= (int) 0 ;
32825 wxTreeEvent
*result
= 0 ;
32831 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
32833 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
32834 if (!SWIG_IsOK(ecode1
)) {
32835 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32837 arg1
= static_cast< wxEventType
>(val1
);
32840 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
32841 if (!SWIG_IsOK(ecode2
)) {
32842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
32844 arg2
= static_cast< int >(val2
);
32847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32848 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
32849 wxPyEndAllowThreads(__tstate
);
32850 if (PyErr_Occurred()) SWIG_fail
;
32852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32859 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32860 PyObject
*resultobj
= 0;
32862 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
32863 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
32864 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
32865 wxTreeEvent
*result
= 0 ;
32873 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
32874 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
32875 if (!SWIG_IsOK(ecode1
)) {
32876 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32878 arg1
= static_cast< wxEventType
>(val1
);
32879 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
32880 if (!SWIG_IsOK(res2
)) {
32881 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
32883 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
32885 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
32886 if (!SWIG_IsOK(res3
)) {
32887 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
32890 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
32892 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
32895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32896 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
32897 wxPyEndAllowThreads(__tstate
);
32898 if (PyErr_Occurred()) SWIG_fail
;
32900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32907 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
32911 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
32913 if ((argc
>= 0) && (argc
<= 2)) {
32918 int res
= SWIG_AsVal_int(argv
[1], NULL
);
32919 _v
= SWIG_CheckState(res
);
32922 if (!_v
) goto check_1
;
32924 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
32928 if ((argc
>= 2) && (argc
<= 3)) {
32929 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
32933 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
32938 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32939 PyObject
*resultobj
= 0;
32940 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32941 wxTreeItemId result
;
32944 PyObject
*swig_obj
[1] ;
32946 if (!args
) SWIG_fail
;
32947 swig_obj
[0] = args
;
32948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32949 if (!SWIG_IsOK(res1
)) {
32950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32952 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32955 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
32956 wxPyEndAllowThreads(__tstate
);
32957 if (PyErr_Occurred()) SWIG_fail
;
32959 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32966 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32967 PyObject
*resultobj
= 0;
32968 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32969 wxTreeItemId
*arg2
= 0 ;
32974 PyObject
* obj0
= 0 ;
32975 PyObject
* obj1
= 0 ;
32976 char * kwnames
[] = {
32977 (char *) "self",(char *) "item", NULL
32980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32982 if (!SWIG_IsOK(res1
)) {
32983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32985 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32986 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32987 if (!SWIG_IsOK(res2
)) {
32988 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32991 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32993 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32996 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
32997 wxPyEndAllowThreads(__tstate
);
32998 if (PyErr_Occurred()) SWIG_fail
;
33000 resultobj
= SWIG_Py_Void();
33007 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33008 PyObject
*resultobj
= 0;
33009 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33010 wxTreeItemId result
;
33013 PyObject
*swig_obj
[1] ;
33015 if (!args
) SWIG_fail
;
33016 swig_obj
[0] = args
;
33017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33018 if (!SWIG_IsOK(res1
)) {
33019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33021 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33024 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33025 wxPyEndAllowThreads(__tstate
);
33026 if (PyErr_Occurred()) SWIG_fail
;
33028 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33035 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33036 PyObject
*resultobj
= 0;
33037 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33038 wxTreeItemId
*arg2
= 0 ;
33043 PyObject
* obj0
= 0 ;
33044 PyObject
* obj1
= 0 ;
33045 char * kwnames
[] = {
33046 (char *) "self",(char *) "item", NULL
33049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33051 if (!SWIG_IsOK(res1
)) {
33052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33054 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33055 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33056 if (!SWIG_IsOK(res2
)) {
33057 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33060 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33062 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33065 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33066 wxPyEndAllowThreads(__tstate
);
33067 if (PyErr_Occurred()) SWIG_fail
;
33069 resultobj
= SWIG_Py_Void();
33076 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33077 PyObject
*resultobj
= 0;
33078 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33082 PyObject
*swig_obj
[1] ;
33084 if (!args
) SWIG_fail
;
33085 swig_obj
[0] = args
;
33086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33087 if (!SWIG_IsOK(res1
)) {
33088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33090 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33093 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33094 wxPyEndAllowThreads(__tstate
);
33095 if (PyErr_Occurred()) SWIG_fail
;
33097 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33104 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33105 PyObject
*resultobj
= 0;
33106 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33107 wxPoint
*arg2
= 0 ;
33111 PyObject
* obj0
= 0 ;
33112 PyObject
* obj1
= 0 ;
33113 char * kwnames
[] = {
33114 (char *) "self",(char *) "pt", NULL
33117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33119 if (!SWIG_IsOK(res1
)) {
33120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33122 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33125 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33129 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33130 wxPyEndAllowThreads(__tstate
);
33131 if (PyErr_Occurred()) SWIG_fail
;
33133 resultobj
= SWIG_Py_Void();
33140 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33141 PyObject
*resultobj
= 0;
33142 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33143 wxKeyEvent
*result
= 0 ;
33146 PyObject
*swig_obj
[1] ;
33148 if (!args
) SWIG_fail
;
33149 swig_obj
[0] = args
;
33150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33151 if (!SWIG_IsOK(res1
)) {
33152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33154 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33158 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33159 result
= (wxKeyEvent
*) &_result_ref
;
33161 wxPyEndAllowThreads(__tstate
);
33162 if (PyErr_Occurred()) SWIG_fail
;
33164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33171 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33172 PyObject
*resultobj
= 0;
33173 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33177 PyObject
*swig_obj
[1] ;
33179 if (!args
) SWIG_fail
;
33180 swig_obj
[0] = args
;
33181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33182 if (!SWIG_IsOK(res1
)) {
33183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33185 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33188 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33189 wxPyEndAllowThreads(__tstate
);
33190 if (PyErr_Occurred()) SWIG_fail
;
33192 resultobj
= SWIG_From_int(static_cast< int >(result
));
33199 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33200 PyObject
*resultobj
= 0;
33201 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33202 wxKeyEvent
*arg2
= 0 ;
33207 PyObject
* obj0
= 0 ;
33208 PyObject
* obj1
= 0 ;
33209 char * kwnames
[] = {
33210 (char *) "self",(char *) "evt", NULL
33213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33215 if (!SWIG_IsOK(res1
)) {
33216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33218 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33219 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33220 if (!SWIG_IsOK(res2
)) {
33221 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33224 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33226 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33229 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33230 wxPyEndAllowThreads(__tstate
);
33231 if (PyErr_Occurred()) SWIG_fail
;
33233 resultobj
= SWIG_Py_Void();
33240 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33241 PyObject
*resultobj
= 0;
33242 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33243 wxString
*result
= 0 ;
33246 PyObject
*swig_obj
[1] ;
33248 if (!args
) SWIG_fail
;
33249 swig_obj
[0] = args
;
33250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33251 if (!SWIG_IsOK(res1
)) {
33252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33254 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33258 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33259 result
= (wxString
*) &_result_ref
;
33261 wxPyEndAllowThreads(__tstate
);
33262 if (PyErr_Occurred()) SWIG_fail
;
33266 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33268 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33277 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33278 PyObject
*resultobj
= 0;
33279 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33280 wxString
*arg2
= 0 ;
33283 bool temp2
= false ;
33284 PyObject
* obj0
= 0 ;
33285 PyObject
* obj1
= 0 ;
33286 char * kwnames
[] = {
33287 (char *) "self",(char *) "label", NULL
33290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33292 if (!SWIG_IsOK(res1
)) {
33293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33295 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33297 arg2
= wxString_in_helper(obj1
);
33298 if (arg2
== NULL
) SWIG_fail
;
33302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33303 (arg1
)->SetLabel((wxString
const &)*arg2
);
33304 wxPyEndAllowThreads(__tstate
);
33305 if (PyErr_Occurred()) SWIG_fail
;
33307 resultobj
= SWIG_Py_Void();
33322 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33323 PyObject
*resultobj
= 0;
33324 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33328 PyObject
*swig_obj
[1] ;
33330 if (!args
) SWIG_fail
;
33331 swig_obj
[0] = args
;
33332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33333 if (!SWIG_IsOK(res1
)) {
33334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33336 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33339 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33340 wxPyEndAllowThreads(__tstate
);
33341 if (PyErr_Occurred()) SWIG_fail
;
33344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33352 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33353 PyObject
*resultobj
= 0;
33354 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33360 PyObject
* obj0
= 0 ;
33361 PyObject
* obj1
= 0 ;
33362 char * kwnames
[] = {
33363 (char *) "self",(char *) "editCancelled", NULL
33366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33368 if (!SWIG_IsOK(res1
)) {
33369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33371 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33372 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33373 if (!SWIG_IsOK(ecode2
)) {
33374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33376 arg2
= static_cast< bool >(val2
);
33378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33379 (arg1
)->SetEditCanceled(arg2
);
33380 wxPyEndAllowThreads(__tstate
);
33381 if (PyErr_Occurred()) SWIG_fail
;
33383 resultobj
= SWIG_Py_Void();
33390 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33391 PyObject
*resultobj
= 0;
33392 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33393 wxString
*arg2
= 0 ;
33396 bool temp2
= false ;
33397 PyObject
* obj0
= 0 ;
33398 PyObject
* obj1
= 0 ;
33399 char * kwnames
[] = {
33400 (char *) "self",(char *) "toolTip", NULL
33403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33405 if (!SWIG_IsOK(res1
)) {
33406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33408 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33410 arg2
= wxString_in_helper(obj1
);
33411 if (arg2
== NULL
) SWIG_fail
;
33415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33416 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33417 wxPyEndAllowThreads(__tstate
);
33418 if (PyErr_Occurred()) SWIG_fail
;
33420 resultobj
= SWIG_Py_Void();
33435 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33436 PyObject
*resultobj
= 0;
33437 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33441 PyObject
*swig_obj
[1] ;
33443 if (!args
) SWIG_fail
;
33444 swig_obj
[0] = args
;
33445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33446 if (!SWIG_IsOK(res1
)) {
33447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33449 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33452 result
= (arg1
)->GetToolTip();
33453 wxPyEndAllowThreads(__tstate
);
33454 if (PyErr_Occurred()) SWIG_fail
;
33458 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33460 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33469 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33471 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33472 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33473 return SWIG_Py_Void();
33476 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33477 return SWIG_Python_InitShadowInstance(args
);
33480 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33481 PyObject
*resultobj
= 0;
33482 wxWindow
*arg1
= (wxWindow
*) 0 ;
33483 int arg2
= (int) -1 ;
33484 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33485 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33486 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33487 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33488 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33489 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33490 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33491 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33492 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33493 wxPyTreeCtrl
*result
= 0 ;
33504 bool temp7
= false ;
33505 PyObject
* obj0
= 0 ;
33506 PyObject
* obj1
= 0 ;
33507 PyObject
* obj2
= 0 ;
33508 PyObject
* obj3
= 0 ;
33509 PyObject
* obj4
= 0 ;
33510 PyObject
* obj5
= 0 ;
33511 PyObject
* obj6
= 0 ;
33512 char * kwnames
[] = {
33513 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33518 if (!SWIG_IsOK(res1
)) {
33519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33521 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33523 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33524 if (!SWIG_IsOK(ecode2
)) {
33525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33527 arg2
= static_cast< int >(val2
);
33532 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33538 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33542 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33543 if (!SWIG_IsOK(ecode5
)) {
33544 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33546 arg5
= static_cast< long >(val5
);
33549 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33550 if (!SWIG_IsOK(res6
)) {
33551 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33556 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33560 arg7
= wxString_in_helper(obj6
);
33561 if (arg7
== NULL
) SWIG_fail
;
33566 if (!wxPyCheckForApp()) SWIG_fail
;
33567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33568 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33569 wxPyEndAllowThreads(__tstate
);
33570 if (PyErr_Occurred()) SWIG_fail
;
33572 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33587 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33588 PyObject
*resultobj
= 0;
33589 wxPyTreeCtrl
*result
= 0 ;
33591 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33593 if (!wxPyCheckForApp()) SWIG_fail
;
33594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33595 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33596 wxPyEndAllowThreads(__tstate
);
33597 if (PyErr_Occurred()) SWIG_fail
;
33599 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33606 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33607 PyObject
*resultobj
= 0;
33608 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33609 wxWindow
*arg2
= (wxWindow
*) 0 ;
33610 int arg3
= (int) -1 ;
33611 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33612 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33613 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33614 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33615 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33616 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33617 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33618 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33619 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33633 bool temp8
= false ;
33634 PyObject
* obj0
= 0 ;
33635 PyObject
* obj1
= 0 ;
33636 PyObject
* obj2
= 0 ;
33637 PyObject
* obj3
= 0 ;
33638 PyObject
* obj4
= 0 ;
33639 PyObject
* obj5
= 0 ;
33640 PyObject
* obj6
= 0 ;
33641 PyObject
* obj7
= 0 ;
33642 char * kwnames
[] = {
33643 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33648 if (!SWIG_IsOK(res1
)) {
33649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33651 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33652 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33653 if (!SWIG_IsOK(res2
)) {
33654 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33656 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33658 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33659 if (!SWIG_IsOK(ecode3
)) {
33660 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33662 arg3
= static_cast< int >(val3
);
33667 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33673 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33677 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33678 if (!SWIG_IsOK(ecode6
)) {
33679 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33681 arg6
= static_cast< long >(val6
);
33684 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33685 if (!SWIG_IsOK(res7
)) {
33686 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33689 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33691 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33695 arg8
= wxString_in_helper(obj7
);
33696 if (arg8
== NULL
) SWIG_fail
;
33701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33702 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33703 wxPyEndAllowThreads(__tstate
);
33704 if (PyErr_Occurred()) SWIG_fail
;
33707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33723 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33724 PyObject
*resultobj
= 0;
33725 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33726 PyObject
*arg2
= (PyObject
*) 0 ;
33727 PyObject
*arg3
= (PyObject
*) 0 ;
33730 PyObject
* obj0
= 0 ;
33731 PyObject
* obj1
= 0 ;
33732 PyObject
* obj2
= 0 ;
33733 char * kwnames
[] = {
33734 (char *) "self",(char *) "self",(char *) "_class", NULL
33737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33739 if (!SWIG_IsOK(res1
)) {
33740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33742 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33747 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33748 wxPyEndAllowThreads(__tstate
);
33749 if (PyErr_Occurred()) SWIG_fail
;
33751 resultobj
= SWIG_Py_Void();
33758 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33759 PyObject
*resultobj
= 0;
33760 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33761 unsigned int result
;
33764 PyObject
*swig_obj
[1] ;
33766 if (!args
) SWIG_fail
;
33767 swig_obj
[0] = args
;
33768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33769 if (!SWIG_IsOK(res1
)) {
33770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33772 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33775 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
33776 wxPyEndAllowThreads(__tstate
);
33777 if (PyErr_Occurred()) SWIG_fail
;
33779 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33786 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33787 PyObject
*resultobj
= 0;
33788 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33789 unsigned int result
;
33792 PyObject
*swig_obj
[1] ;
33794 if (!args
) SWIG_fail
;
33795 swig_obj
[0] = args
;
33796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33797 if (!SWIG_IsOK(res1
)) {
33798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33800 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33803 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
33804 wxPyEndAllowThreads(__tstate
);
33805 if (PyErr_Occurred()) SWIG_fail
;
33807 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33814 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33815 PyObject
*resultobj
= 0;
33816 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33817 unsigned int arg2
;
33820 unsigned int val2
;
33822 PyObject
* obj0
= 0 ;
33823 PyObject
* obj1
= 0 ;
33824 char * kwnames
[] = {
33825 (char *) "self",(char *) "indent", NULL
33828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33830 if (!SWIG_IsOK(res1
)) {
33831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33833 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33834 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33835 if (!SWIG_IsOK(ecode2
)) {
33836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
33838 arg2
= static_cast< unsigned int >(val2
);
33840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33841 (arg1
)->SetIndent(arg2
);
33842 wxPyEndAllowThreads(__tstate
);
33843 if (PyErr_Occurred()) SWIG_fail
;
33845 resultobj
= SWIG_Py_Void();
33852 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33853 PyObject
*resultobj
= 0;
33854 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33855 unsigned int result
;
33858 PyObject
*swig_obj
[1] ;
33860 if (!args
) SWIG_fail
;
33861 swig_obj
[0] = args
;
33862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33863 if (!SWIG_IsOK(res1
)) {
33864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33866 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33869 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
33870 wxPyEndAllowThreads(__tstate
);
33871 if (PyErr_Occurred()) SWIG_fail
;
33873 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33880 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33881 PyObject
*resultobj
= 0;
33882 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33883 unsigned int arg2
;
33886 unsigned int val2
;
33888 PyObject
* obj0
= 0 ;
33889 PyObject
* obj1
= 0 ;
33890 char * kwnames
[] = {
33891 (char *) "self",(char *) "spacing", NULL
33894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33896 if (!SWIG_IsOK(res1
)) {
33897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33899 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33900 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33901 if (!SWIG_IsOK(ecode2
)) {
33902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
33904 arg2
= static_cast< unsigned int >(val2
);
33906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33907 (arg1
)->SetSpacing(arg2
);
33908 wxPyEndAllowThreads(__tstate
);
33909 if (PyErr_Occurred()) SWIG_fail
;
33911 resultobj
= SWIG_Py_Void();
33918 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33919 PyObject
*resultobj
= 0;
33920 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33921 wxImageList
*result
= 0 ;
33924 PyObject
*swig_obj
[1] ;
33926 if (!args
) SWIG_fail
;
33927 swig_obj
[0] = args
;
33928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33929 if (!SWIG_IsOK(res1
)) {
33930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33932 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33935 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
33936 wxPyEndAllowThreads(__tstate
);
33937 if (PyErr_Occurred()) SWIG_fail
;
33940 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33948 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33949 PyObject
*resultobj
= 0;
33950 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33951 wxImageList
*result
= 0 ;
33954 PyObject
*swig_obj
[1] ;
33956 if (!args
) SWIG_fail
;
33957 swig_obj
[0] = args
;
33958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33959 if (!SWIG_IsOK(res1
)) {
33960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33962 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33965 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
33966 wxPyEndAllowThreads(__tstate
);
33967 if (PyErr_Occurred()) SWIG_fail
;
33970 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33978 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33979 PyObject
*resultobj
= 0;
33980 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33981 wxImageList
*arg2
= (wxImageList
*) 0 ;
33986 PyObject
* obj0
= 0 ;
33987 PyObject
* obj1
= 0 ;
33988 char * kwnames
[] = {
33989 (char *) "self",(char *) "imageList", NULL
33992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33994 if (!SWIG_IsOK(res1
)) {
33995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33997 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33998 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33999 if (!SWIG_IsOK(res2
)) {
34000 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34002 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34005 (arg1
)->SetImageList(arg2
);
34006 wxPyEndAllowThreads(__tstate
);
34007 if (PyErr_Occurred()) SWIG_fail
;
34009 resultobj
= SWIG_Py_Void();
34016 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34017 PyObject
*resultobj
= 0;
34018 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34019 wxImageList
*arg2
= (wxImageList
*) 0 ;
34024 PyObject
* obj0
= 0 ;
34025 PyObject
* obj1
= 0 ;
34026 char * kwnames
[] = {
34027 (char *) "self",(char *) "imageList", NULL
34030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34032 if (!SWIG_IsOK(res1
)) {
34033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34035 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34036 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34037 if (!SWIG_IsOK(res2
)) {
34038 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34040 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34043 (arg1
)->SetStateImageList(arg2
);
34044 wxPyEndAllowThreads(__tstate
);
34045 if (PyErr_Occurred()) SWIG_fail
;
34047 resultobj
= SWIG_Py_Void();
34054 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34055 PyObject
*resultobj
= 0;
34056 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34057 wxImageList
*arg2
= (wxImageList
*) 0 ;
34061 PyObject
* obj0
= 0 ;
34062 PyObject
* obj1
= 0 ;
34063 char * kwnames
[] = {
34064 (char *) "self",(char *) "imageList", NULL
34067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34069 if (!SWIG_IsOK(res1
)) {
34070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34072 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34073 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34074 if (!SWIG_IsOK(res2
)) {
34075 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34079 (arg1
)->AssignImageList(arg2
);
34080 wxPyEndAllowThreads(__tstate
);
34081 if (PyErr_Occurred()) SWIG_fail
;
34083 resultobj
= SWIG_Py_Void();
34090 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34091 PyObject
*resultobj
= 0;
34092 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34093 wxImageList
*arg2
= (wxImageList
*) 0 ;
34097 PyObject
* obj0
= 0 ;
34098 PyObject
* obj1
= 0 ;
34099 char * kwnames
[] = {
34100 (char *) "self",(char *) "imageList", NULL
34103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34105 if (!SWIG_IsOK(res1
)) {
34106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34108 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34109 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34110 if (!SWIG_IsOK(res2
)) {
34111 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34115 (arg1
)->AssignStateImageList(arg2
);
34116 wxPyEndAllowThreads(__tstate
);
34117 if (PyErr_Occurred()) SWIG_fail
;
34119 resultobj
= SWIG_Py_Void();
34126 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34127 PyObject
*resultobj
= 0;
34128 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34129 wxTreeItemId
*arg2
= 0 ;
34135 PyObject
* obj0
= 0 ;
34136 PyObject
* obj1
= 0 ;
34137 char * kwnames
[] = {
34138 (char *) "self",(char *) "item", NULL
34141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34143 if (!SWIG_IsOK(res1
)) {
34144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34146 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34147 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34148 if (!SWIG_IsOK(res2
)) {
34149 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34152 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34154 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34157 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34158 wxPyEndAllowThreads(__tstate
);
34159 if (PyErr_Occurred()) SWIG_fail
;
34163 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34165 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34174 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34175 PyObject
*resultobj
= 0;
34176 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34177 wxTreeItemId
*arg2
= 0 ;
34178 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34186 PyObject
* obj0
= 0 ;
34187 PyObject
* obj1
= 0 ;
34188 PyObject
* obj2
= 0 ;
34189 char * kwnames
[] = {
34190 (char *) "self",(char *) "item",(char *) "which", NULL
34193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34195 if (!SWIG_IsOK(res1
)) {
34196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34198 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34199 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34200 if (!SWIG_IsOK(res2
)) {
34201 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34204 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34206 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34208 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34209 if (!SWIG_IsOK(ecode3
)) {
34210 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34212 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34216 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34217 wxPyEndAllowThreads(__tstate
);
34218 if (PyErr_Occurred()) SWIG_fail
;
34220 resultobj
= SWIG_From_int(static_cast< int >(result
));
34227 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34228 PyObject
*resultobj
= 0;
34229 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34230 wxTreeItemId
*arg2
= 0 ;
34231 wxPyTreeItemData
*result
= 0 ;
34236 PyObject
* obj0
= 0 ;
34237 PyObject
* obj1
= 0 ;
34238 char * kwnames
[] = {
34239 (char *) "self",(char *) "item", NULL
34242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34244 if (!SWIG_IsOK(res1
)) {
34245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34247 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34248 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34249 if (!SWIG_IsOK(res2
)) {
34250 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34253 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34255 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34258 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34259 wxPyEndAllowThreads(__tstate
);
34260 if (PyErr_Occurred()) SWIG_fail
;
34262 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34269 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34270 PyObject
*resultobj
= 0;
34271 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34272 wxTreeItemId
*arg2
= 0 ;
34273 PyObject
*result
= 0 ;
34278 PyObject
* obj0
= 0 ;
34279 PyObject
* obj1
= 0 ;
34280 char * kwnames
[] = {
34281 (char *) "self",(char *) "item", NULL
34284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34286 if (!SWIG_IsOK(res1
)) {
34287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34289 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34290 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34291 if (!SWIG_IsOK(res2
)) {
34292 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34295 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34297 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34300 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34301 wxPyEndAllowThreads(__tstate
);
34302 if (PyErr_Occurred()) SWIG_fail
;
34304 resultobj
= result
;
34311 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34312 PyObject
*resultobj
= 0;
34313 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34314 wxTreeItemId
*arg2
= 0 ;
34320 PyObject
* obj0
= 0 ;
34321 PyObject
* obj1
= 0 ;
34322 char * kwnames
[] = {
34323 (char *) "self",(char *) "item", NULL
34326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34328 if (!SWIG_IsOK(res1
)) {
34329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34331 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34332 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34333 if (!SWIG_IsOK(res2
)) {
34334 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34337 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34339 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34342 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34343 wxPyEndAllowThreads(__tstate
);
34344 if (PyErr_Occurred()) SWIG_fail
;
34346 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34353 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34354 PyObject
*resultobj
= 0;
34355 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34356 wxTreeItemId
*arg2
= 0 ;
34362 PyObject
* obj0
= 0 ;
34363 PyObject
* obj1
= 0 ;
34364 char * kwnames
[] = {
34365 (char *) "self",(char *) "item", NULL
34368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34370 if (!SWIG_IsOK(res1
)) {
34371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34373 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34374 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34375 if (!SWIG_IsOK(res2
)) {
34376 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34379 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34381 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34384 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34385 wxPyEndAllowThreads(__tstate
);
34386 if (PyErr_Occurred()) SWIG_fail
;
34388 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34395 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34396 PyObject
*resultobj
= 0;
34397 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34398 wxTreeItemId
*arg2
= 0 ;
34404 PyObject
* obj0
= 0 ;
34405 PyObject
* obj1
= 0 ;
34406 char * kwnames
[] = {
34407 (char *) "self",(char *) "item", NULL
34410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34412 if (!SWIG_IsOK(res1
)) {
34413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34415 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34416 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34417 if (!SWIG_IsOK(res2
)) {
34418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34421 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34423 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34426 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34427 wxPyEndAllowThreads(__tstate
);
34428 if (PyErr_Occurred()) SWIG_fail
;
34430 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34437 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34438 PyObject
*resultobj
= 0;
34439 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34440 wxTreeItemId
*arg2
= 0 ;
34441 wxString
*arg3
= 0 ;
34446 bool temp3
= false ;
34447 PyObject
* obj0
= 0 ;
34448 PyObject
* obj1
= 0 ;
34449 PyObject
* obj2
= 0 ;
34450 char * kwnames
[] = {
34451 (char *) "self",(char *) "item",(char *) "text", NULL
34454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34456 if (!SWIG_IsOK(res1
)) {
34457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34459 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34460 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34461 if (!SWIG_IsOK(res2
)) {
34462 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34465 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34467 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34469 arg3
= wxString_in_helper(obj2
);
34470 if (arg3
== NULL
) SWIG_fail
;
34474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34475 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34476 wxPyEndAllowThreads(__tstate
);
34477 if (PyErr_Occurred()) SWIG_fail
;
34479 resultobj
= SWIG_Py_Void();
34494 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34495 PyObject
*resultobj
= 0;
34496 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34497 wxTreeItemId
*arg2
= 0 ;
34499 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34508 PyObject
* obj0
= 0 ;
34509 PyObject
* obj1
= 0 ;
34510 PyObject
* obj2
= 0 ;
34511 PyObject
* obj3
= 0 ;
34512 char * kwnames
[] = {
34513 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34518 if (!SWIG_IsOK(res1
)) {
34519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34521 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34522 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34523 if (!SWIG_IsOK(res2
)) {
34524 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34527 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34529 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34530 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34531 if (!SWIG_IsOK(ecode3
)) {
34532 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34534 arg3
= static_cast< int >(val3
);
34536 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34537 if (!SWIG_IsOK(ecode4
)) {
34538 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34540 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34544 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34545 wxPyEndAllowThreads(__tstate
);
34546 if (PyErr_Occurred()) SWIG_fail
;
34548 resultobj
= SWIG_Py_Void();
34555 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34556 PyObject
*resultobj
= 0;
34557 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34558 wxTreeItemId
*arg2
= 0 ;
34559 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34565 PyObject
* obj0
= 0 ;
34566 PyObject
* obj1
= 0 ;
34567 PyObject
* obj2
= 0 ;
34568 char * kwnames
[] = {
34569 (char *) "self",(char *) "item",(char *) "data", NULL
34572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34574 if (!SWIG_IsOK(res1
)) {
34575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34577 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34578 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34579 if (!SWIG_IsOK(res2
)) {
34580 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34583 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34585 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34586 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34587 if (!SWIG_IsOK(res3
)) {
34588 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34592 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34593 wxPyEndAllowThreads(__tstate
);
34594 if (PyErr_Occurred()) SWIG_fail
;
34596 resultobj
= SWIG_Py_Void();
34603 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34604 PyObject
*resultobj
= 0;
34605 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34606 wxTreeItemId
*arg2
= 0 ;
34607 PyObject
*arg3
= (PyObject
*) 0 ;
34612 PyObject
* obj0
= 0 ;
34613 PyObject
* obj1
= 0 ;
34614 PyObject
* obj2
= 0 ;
34615 char * kwnames
[] = {
34616 (char *) "self",(char *) "item",(char *) "obj", NULL
34619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34621 if (!SWIG_IsOK(res1
)) {
34622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34624 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34625 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34626 if (!SWIG_IsOK(res2
)) {
34627 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34630 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34632 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34636 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34637 wxPyEndAllowThreads(__tstate
);
34638 if (PyErr_Occurred()) SWIG_fail
;
34640 resultobj
= SWIG_Py_Void();
34647 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34648 PyObject
*resultobj
= 0;
34649 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34650 wxTreeItemId
*arg2
= 0 ;
34651 bool arg3
= (bool) true ;
34658 PyObject
* obj0
= 0 ;
34659 PyObject
* obj1
= 0 ;
34660 PyObject
* obj2
= 0 ;
34661 char * kwnames
[] = {
34662 (char *) "self",(char *) "item",(char *) "has", NULL
34665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34667 if (!SWIG_IsOK(res1
)) {
34668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34670 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34671 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34672 if (!SWIG_IsOK(res2
)) {
34673 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34676 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34678 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34680 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34681 if (!SWIG_IsOK(ecode3
)) {
34682 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34684 arg3
= static_cast< bool >(val3
);
34687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34688 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34689 wxPyEndAllowThreads(__tstate
);
34690 if (PyErr_Occurred()) SWIG_fail
;
34692 resultobj
= SWIG_Py_Void();
34699 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34700 PyObject
*resultobj
= 0;
34701 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34702 wxTreeItemId
*arg2
= 0 ;
34703 bool arg3
= (bool) true ;
34710 PyObject
* obj0
= 0 ;
34711 PyObject
* obj1
= 0 ;
34712 PyObject
* obj2
= 0 ;
34713 char * kwnames
[] = {
34714 (char *) "self",(char *) "item",(char *) "bold", NULL
34717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34719 if (!SWIG_IsOK(res1
)) {
34720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34722 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34723 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34724 if (!SWIG_IsOK(res2
)) {
34725 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34728 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34730 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34732 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34733 if (!SWIG_IsOK(ecode3
)) {
34734 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34736 arg3
= static_cast< bool >(val3
);
34739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34740 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
34741 wxPyEndAllowThreads(__tstate
);
34742 if (PyErr_Occurred()) SWIG_fail
;
34744 resultobj
= SWIG_Py_Void();
34751 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34752 PyObject
*resultobj
= 0;
34753 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34754 wxTreeItemId
*arg2
= 0 ;
34755 bool arg3
= (bool) true ;
34762 PyObject
* obj0
= 0 ;
34763 PyObject
* obj1
= 0 ;
34764 PyObject
* obj2
= 0 ;
34765 char * kwnames
[] = {
34766 (char *) "self",(char *) "item",(char *) "highlight", NULL
34769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34771 if (!SWIG_IsOK(res1
)) {
34772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34774 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34775 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34776 if (!SWIG_IsOK(res2
)) {
34777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34780 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34782 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34784 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34785 if (!SWIG_IsOK(ecode3
)) {
34786 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34788 arg3
= static_cast< bool >(val3
);
34791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34792 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
34793 wxPyEndAllowThreads(__tstate
);
34794 if (PyErr_Occurred()) SWIG_fail
;
34796 resultobj
= SWIG_Py_Void();
34803 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34804 PyObject
*resultobj
= 0;
34805 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34806 wxTreeItemId
*arg2
= 0 ;
34807 wxColour
*arg3
= 0 ;
34813 PyObject
* obj0
= 0 ;
34814 PyObject
* obj1
= 0 ;
34815 PyObject
* obj2
= 0 ;
34816 char * kwnames
[] = {
34817 (char *) "self",(char *) "item",(char *) "col", NULL
34820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34822 if (!SWIG_IsOK(res1
)) {
34823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34825 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34826 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34827 if (!SWIG_IsOK(res2
)) {
34828 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34831 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34833 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34836 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34840 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34841 wxPyEndAllowThreads(__tstate
);
34842 if (PyErr_Occurred()) SWIG_fail
;
34844 resultobj
= SWIG_Py_Void();
34851 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34852 PyObject
*resultobj
= 0;
34853 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34854 wxTreeItemId
*arg2
= 0 ;
34855 wxColour
*arg3
= 0 ;
34861 PyObject
* obj0
= 0 ;
34862 PyObject
* obj1
= 0 ;
34863 PyObject
* obj2
= 0 ;
34864 char * kwnames
[] = {
34865 (char *) "self",(char *) "item",(char *) "col", NULL
34868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34870 if (!SWIG_IsOK(res1
)) {
34871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34873 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34874 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34875 if (!SWIG_IsOK(res2
)) {
34876 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34879 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34881 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34884 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34888 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34889 wxPyEndAllowThreads(__tstate
);
34890 if (PyErr_Occurred()) SWIG_fail
;
34892 resultobj
= SWIG_Py_Void();
34899 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34900 PyObject
*resultobj
= 0;
34901 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34902 wxTreeItemId
*arg2
= 0 ;
34910 PyObject
* obj0
= 0 ;
34911 PyObject
* obj1
= 0 ;
34912 PyObject
* obj2
= 0 ;
34913 char * kwnames
[] = {
34914 (char *) "self",(char *) "item",(char *) "font", NULL
34917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34919 if (!SWIG_IsOK(res1
)) {
34920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34922 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34923 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34924 if (!SWIG_IsOK(res2
)) {
34925 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34928 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34930 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34931 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
34932 if (!SWIG_IsOK(res3
)) {
34933 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34936 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34938 arg3
= reinterpret_cast< wxFont
* >(argp3
);
34940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34941 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
34942 wxPyEndAllowThreads(__tstate
);
34943 if (PyErr_Occurred()) SWIG_fail
;
34945 resultobj
= SWIG_Py_Void();
34952 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34953 PyObject
*resultobj
= 0;
34954 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34955 wxTreeItemId
*arg2
= 0 ;
34961 PyObject
* obj0
= 0 ;
34962 PyObject
* obj1
= 0 ;
34963 char * kwnames
[] = {
34964 (char *) "self",(char *) "item", NULL
34967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34969 if (!SWIG_IsOK(res1
)) {
34970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34972 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34973 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34974 if (!SWIG_IsOK(res2
)) {
34975 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34980 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34983 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
34984 wxPyEndAllowThreads(__tstate
);
34985 if (PyErr_Occurred()) SWIG_fail
;
34988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34996 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34997 PyObject
*resultobj
= 0;
34998 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34999 wxTreeItemId
*arg2
= 0 ;
35005 PyObject
* obj0
= 0 ;
35006 PyObject
* obj1
= 0 ;
35007 char * kwnames
[] = {
35008 (char *) "self",(char *) "item", NULL
35011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35013 if (!SWIG_IsOK(res1
)) {
35014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35016 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35017 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35018 if (!SWIG_IsOK(res2
)) {
35019 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35022 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35024 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35027 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35028 wxPyEndAllowThreads(__tstate
);
35029 if (PyErr_Occurred()) SWIG_fail
;
35032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35040 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35041 PyObject
*resultobj
= 0;
35042 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35043 wxTreeItemId
*arg2
= 0 ;
35049 PyObject
* obj0
= 0 ;
35050 PyObject
* obj1
= 0 ;
35051 char * kwnames
[] = {
35052 (char *) "self",(char *) "item", NULL
35055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35057 if (!SWIG_IsOK(res1
)) {
35058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35060 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35061 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35062 if (!SWIG_IsOK(res2
)) {
35063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35066 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35068 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35071 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35072 wxPyEndAllowThreads(__tstate
);
35073 if (PyErr_Occurred()) SWIG_fail
;
35076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35084 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35085 PyObject
*resultobj
= 0;
35086 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35087 wxTreeItemId
*arg2
= 0 ;
35093 PyObject
* obj0
= 0 ;
35094 PyObject
* obj1
= 0 ;
35095 char * kwnames
[] = {
35096 (char *) "self",(char *) "item", NULL
35099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35101 if (!SWIG_IsOK(res1
)) {
35102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35104 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35105 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35106 if (!SWIG_IsOK(res2
)) {
35107 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35110 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35112 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35115 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35116 wxPyEndAllowThreads(__tstate
);
35117 if (PyErr_Occurred()) SWIG_fail
;
35120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35128 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35129 PyObject
*resultobj
= 0;
35130 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35131 wxTreeItemId
*arg2
= 0 ;
35137 PyObject
* obj0
= 0 ;
35138 PyObject
* obj1
= 0 ;
35139 char * kwnames
[] = {
35140 (char *) "self",(char *) "item", NULL
35143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35145 if (!SWIG_IsOK(res1
)) {
35146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35148 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35149 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35150 if (!SWIG_IsOK(res2
)) {
35151 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35154 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35156 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35159 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35160 wxPyEndAllowThreads(__tstate
);
35161 if (PyErr_Occurred()) SWIG_fail
;
35164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35172 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35173 PyObject
*resultobj
= 0;
35174 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35175 wxTreeItemId
*arg2
= 0 ;
35176 bool arg3
= (bool) true ;
35184 PyObject
* obj0
= 0 ;
35185 PyObject
* obj1
= 0 ;
35186 PyObject
* obj2
= 0 ;
35187 char * kwnames
[] = {
35188 (char *) "self",(char *) "item",(char *) "recursively", NULL
35191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35193 if (!SWIG_IsOK(res1
)) {
35194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35196 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35197 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35198 if (!SWIG_IsOK(res2
)) {
35199 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35202 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35204 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35206 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35207 if (!SWIG_IsOK(ecode3
)) {
35208 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35210 arg3
= static_cast< bool >(val3
);
35213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35214 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35215 wxPyEndAllowThreads(__tstate
);
35216 if (PyErr_Occurred()) SWIG_fail
;
35218 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35225 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35226 PyObject
*resultobj
= 0;
35227 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35228 wxTreeItemId result
;
35231 PyObject
*swig_obj
[1] ;
35233 if (!args
) SWIG_fail
;
35234 swig_obj
[0] = args
;
35235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35236 if (!SWIG_IsOK(res1
)) {
35237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35239 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35242 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35243 wxPyEndAllowThreads(__tstate
);
35244 if (PyErr_Occurred()) SWIG_fail
;
35246 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35253 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35254 PyObject
*resultobj
= 0;
35255 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35256 wxTreeItemId result
;
35259 PyObject
*swig_obj
[1] ;
35261 if (!args
) SWIG_fail
;
35262 swig_obj
[0] = args
;
35263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35264 if (!SWIG_IsOK(res1
)) {
35265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35267 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35270 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35271 wxPyEndAllowThreads(__tstate
);
35272 if (PyErr_Occurred()) SWIG_fail
;
35274 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35281 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35282 PyObject
*resultobj
= 0;
35283 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35284 PyObject
*result
= 0 ;
35287 PyObject
*swig_obj
[1] ;
35289 if (!args
) SWIG_fail
;
35290 swig_obj
[0] = args
;
35291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35292 if (!SWIG_IsOK(res1
)) {
35293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35295 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35298 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35299 wxPyEndAllowThreads(__tstate
);
35300 if (PyErr_Occurred()) SWIG_fail
;
35302 resultobj
= result
;
35309 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35310 PyObject
*resultobj
= 0;
35311 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35312 wxTreeItemId
*arg2
= 0 ;
35313 wxTreeItemId result
;
35318 PyObject
* obj0
= 0 ;
35319 PyObject
* obj1
= 0 ;
35320 char * kwnames
[] = {
35321 (char *) "self",(char *) "item", NULL
35324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35326 if (!SWIG_IsOK(res1
)) {
35327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35329 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35330 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35331 if (!SWIG_IsOK(res2
)) {
35332 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35335 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35337 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35340 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
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_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35352 PyObject
*resultobj
= 0;
35353 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35354 wxTreeItemId
*arg2
= 0 ;
35355 PyObject
*result
= 0 ;
35360 PyObject
* obj0
= 0 ;
35361 PyObject
* obj1
= 0 ;
35362 char * kwnames
[] = {
35363 (char *) "self",(char *) "item", NULL
35366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35368 if (!SWIG_IsOK(res1
)) {
35369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35371 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35372 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35373 if (!SWIG_IsOK(res2
)) {
35374 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35377 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35379 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35382 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35383 wxPyEndAllowThreads(__tstate
);
35384 if (PyErr_Occurred()) SWIG_fail
;
35386 resultobj
= result
;
35393 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35394 PyObject
*resultobj
= 0;
35395 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35396 wxTreeItemId
*arg2
= 0 ;
35397 void *arg3
= (void *) 0 ;
35398 PyObject
*result
= 0 ;
35404 PyObject
* obj0
= 0 ;
35405 PyObject
* obj1
= 0 ;
35406 PyObject
* obj2
= 0 ;
35407 char * kwnames
[] = {
35408 (char *) "self",(char *) "item",(char *) "cookie", NULL
35411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35413 if (!SWIG_IsOK(res1
)) {
35414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35416 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35417 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35418 if (!SWIG_IsOK(res2
)) {
35419 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35422 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35424 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35425 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35426 if (!SWIG_IsOK(res3
)) {
35427 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35431 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35432 wxPyEndAllowThreads(__tstate
);
35433 if (PyErr_Occurred()) SWIG_fail
;
35435 resultobj
= result
;
35442 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35443 PyObject
*resultobj
= 0;
35444 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35445 wxTreeItemId
*arg2
= 0 ;
35446 wxTreeItemId result
;
35451 PyObject
* obj0
= 0 ;
35452 PyObject
* obj1
= 0 ;
35453 char * kwnames
[] = {
35454 (char *) "self",(char *) "item", NULL
35457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35459 if (!SWIG_IsOK(res1
)) {
35460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35462 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35463 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35464 if (!SWIG_IsOK(res2
)) {
35465 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35468 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35470 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35473 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35474 wxPyEndAllowThreads(__tstate
);
35475 if (PyErr_Occurred()) SWIG_fail
;
35477 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35484 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35485 PyObject
*resultobj
= 0;
35486 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35487 wxTreeItemId
*arg2
= 0 ;
35488 wxTreeItemId result
;
35493 PyObject
* obj0
= 0 ;
35494 PyObject
* obj1
= 0 ;
35495 char * kwnames
[] = {
35496 (char *) "self",(char *) "item", NULL
35499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35501 if (!SWIG_IsOK(res1
)) {
35502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35504 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35505 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35506 if (!SWIG_IsOK(res2
)) {
35507 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35510 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35512 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35515 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35516 wxPyEndAllowThreads(__tstate
);
35517 if (PyErr_Occurred()) SWIG_fail
;
35519 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35526 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35527 PyObject
*resultobj
= 0;
35528 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35529 wxTreeItemId
*arg2
= 0 ;
35530 wxTreeItemId result
;
35535 PyObject
* obj0
= 0 ;
35536 PyObject
* obj1
= 0 ;
35537 char * kwnames
[] = {
35538 (char *) "self",(char *) "item", NULL
35541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35543 if (!SWIG_IsOK(res1
)) {
35544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35546 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35547 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35548 if (!SWIG_IsOK(res2
)) {
35549 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35552 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35554 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35557 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35558 wxPyEndAllowThreads(__tstate
);
35559 if (PyErr_Occurred()) SWIG_fail
;
35561 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35568 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35569 PyObject
*resultobj
= 0;
35570 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35571 wxTreeItemId result
;
35574 PyObject
*swig_obj
[1] ;
35576 if (!args
) SWIG_fail
;
35577 swig_obj
[0] = args
;
35578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35579 if (!SWIG_IsOK(res1
)) {
35580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35582 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35585 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
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_GetNextVisible(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_GetNextVisible",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_GetNextVisible" "', 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_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35622 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35624 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35627 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((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_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35639 PyObject
*resultobj
= 0;
35640 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35641 wxTreeItemId
*arg2
= 0 ;
35642 wxTreeItemId result
;
35647 PyObject
* obj0
= 0 ;
35648 PyObject
* obj1
= 0 ;
35649 char * kwnames
[] = {
35650 (char *) "self",(char *) "item", NULL
35653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35655 if (!SWIG_IsOK(res1
)) {
35656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35658 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35659 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35660 if (!SWIG_IsOK(res2
)) {
35661 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35664 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35666 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35669 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35670 wxPyEndAllowThreads(__tstate
);
35671 if (PyErr_Occurred()) SWIG_fail
;
35673 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35680 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35681 PyObject
*resultobj
= 0;
35682 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35683 wxString
*arg2
= 0 ;
35684 int arg3
= (int) -1 ;
35685 int arg4
= (int) -1 ;
35686 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35687 wxTreeItemId result
;
35690 bool temp2
= false ;
35696 PyObject
* obj0
= 0 ;
35697 PyObject
* obj1
= 0 ;
35698 PyObject
* obj2
= 0 ;
35699 PyObject
* obj3
= 0 ;
35700 PyObject
* obj4
= 0 ;
35701 char * kwnames
[] = {
35702 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35707 if (!SWIG_IsOK(res1
)) {
35708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35710 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35712 arg2
= wxString_in_helper(obj1
);
35713 if (arg2
== NULL
) SWIG_fail
;
35717 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35718 if (!SWIG_IsOK(ecode3
)) {
35719 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35721 arg3
= static_cast< int >(val3
);
35724 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35725 if (!SWIG_IsOK(ecode4
)) {
35726 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35728 arg4
= static_cast< int >(val4
);
35731 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35732 if (!SWIG_IsOK(res5
)) {
35733 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
35737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35738 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
35739 wxPyEndAllowThreads(__tstate
);
35740 if (PyErr_Occurred()) SWIG_fail
;
35742 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35757 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35758 PyObject
*resultobj
= 0;
35759 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35760 wxTreeItemId
*arg2
= 0 ;
35761 wxString
*arg3
= 0 ;
35762 int arg4
= (int) -1 ;
35763 int arg5
= (int) -1 ;
35764 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35765 wxTreeItemId result
;
35770 bool temp3
= false ;
35776 PyObject
* obj0
= 0 ;
35777 PyObject
* obj1
= 0 ;
35778 PyObject
* obj2
= 0 ;
35779 PyObject
* obj3
= 0 ;
35780 PyObject
* obj4
= 0 ;
35781 PyObject
* obj5
= 0 ;
35782 char * kwnames
[] = {
35783 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35788 if (!SWIG_IsOK(res1
)) {
35789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35791 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35792 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35793 if (!SWIG_IsOK(res2
)) {
35794 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35797 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35799 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35801 arg3
= wxString_in_helper(obj2
);
35802 if (arg3
== NULL
) SWIG_fail
;
35806 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35807 if (!SWIG_IsOK(ecode4
)) {
35808 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
35810 arg4
= static_cast< int >(val4
);
35813 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35814 if (!SWIG_IsOK(ecode5
)) {
35815 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
35817 arg5
= static_cast< int >(val5
);
35820 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35821 if (!SWIG_IsOK(res6
)) {
35822 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35827 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35828 wxPyEndAllowThreads(__tstate
);
35829 if (PyErr_Occurred()) SWIG_fail
;
35831 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35846 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35847 PyObject
*resultobj
= 0;
35848 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35849 wxTreeItemId
*arg2
= 0 ;
35850 wxTreeItemId
*arg3
= 0 ;
35851 wxString
*arg4
= 0 ;
35852 int arg5
= (int) -1 ;
35853 int arg6
= (int) -1 ;
35854 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35855 wxTreeItemId result
;
35862 bool temp4
= false ;
35868 PyObject
* obj0
= 0 ;
35869 PyObject
* obj1
= 0 ;
35870 PyObject
* obj2
= 0 ;
35871 PyObject
* obj3
= 0 ;
35872 PyObject
* obj4
= 0 ;
35873 PyObject
* obj5
= 0 ;
35874 PyObject
* obj6
= 0 ;
35875 char * kwnames
[] = {
35876 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35881 if (!SWIG_IsOK(res1
)) {
35882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35884 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35885 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35886 if (!SWIG_IsOK(res2
)) {
35887 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35890 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35892 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35893 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35894 if (!SWIG_IsOK(res3
)) {
35895 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35898 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35900 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
35902 arg4
= wxString_in_helper(obj3
);
35903 if (arg4
== NULL
) SWIG_fail
;
35907 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35908 if (!SWIG_IsOK(ecode5
)) {
35909 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
35911 arg5
= static_cast< int >(val5
);
35914 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35915 if (!SWIG_IsOK(ecode6
)) {
35916 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
35918 arg6
= static_cast< int >(val6
);
35921 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35922 if (!SWIG_IsOK(res7
)) {
35923 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35928 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35929 wxPyEndAllowThreads(__tstate
);
35930 if (PyErr_Occurred()) SWIG_fail
;
35932 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35947 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35948 PyObject
*resultobj
= 0;
35949 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35950 wxTreeItemId
*arg2
= 0 ;
35952 wxString
*arg4
= 0 ;
35953 int arg5
= (int) -1 ;
35954 int arg6
= (int) -1 ;
35955 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35956 wxTreeItemId result
;
35963 bool temp4
= false ;
35969 PyObject
* obj0
= 0 ;
35970 PyObject
* obj1
= 0 ;
35971 PyObject
* obj2
= 0 ;
35972 PyObject
* obj3
= 0 ;
35973 PyObject
* obj4
= 0 ;
35974 PyObject
* obj5
= 0 ;
35975 PyObject
* obj6
= 0 ;
35976 char * kwnames
[] = {
35977 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35982 if (!SWIG_IsOK(res1
)) {
35983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35985 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35986 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35987 if (!SWIG_IsOK(res2
)) {
35988 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35991 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35993 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35994 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
35995 if (!SWIG_IsOK(ecode3
)) {
35996 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
35998 arg3
= static_cast< size_t >(val3
);
36000 arg4
= wxString_in_helper(obj3
);
36001 if (arg4
== NULL
) SWIG_fail
;
36005 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36006 if (!SWIG_IsOK(ecode5
)) {
36007 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36009 arg5
= static_cast< int >(val5
);
36012 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36013 if (!SWIG_IsOK(ecode6
)) {
36014 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36016 arg6
= static_cast< int >(val6
);
36019 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36020 if (!SWIG_IsOK(res7
)) {
36021 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36026 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36027 wxPyEndAllowThreads(__tstate
);
36028 if (PyErr_Occurred()) SWIG_fail
;
36030 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36045 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36046 PyObject
*resultobj
= 0;
36047 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36048 wxTreeItemId
*arg2
= 0 ;
36049 wxString
*arg3
= 0 ;
36050 int arg4
= (int) -1 ;
36051 int arg5
= (int) -1 ;
36052 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36053 wxTreeItemId result
;
36058 bool temp3
= false ;
36064 PyObject
* obj0
= 0 ;
36065 PyObject
* obj1
= 0 ;
36066 PyObject
* obj2
= 0 ;
36067 PyObject
* obj3
= 0 ;
36068 PyObject
* obj4
= 0 ;
36069 PyObject
* obj5
= 0 ;
36070 char * kwnames
[] = {
36071 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36076 if (!SWIG_IsOK(res1
)) {
36077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36079 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36080 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36081 if (!SWIG_IsOK(res2
)) {
36082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36085 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36087 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36089 arg3
= wxString_in_helper(obj2
);
36090 if (arg3
== NULL
) SWIG_fail
;
36094 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36095 if (!SWIG_IsOK(ecode4
)) {
36096 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36098 arg4
= static_cast< int >(val4
);
36101 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36102 if (!SWIG_IsOK(ecode5
)) {
36103 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36105 arg5
= static_cast< int >(val5
);
36108 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36109 if (!SWIG_IsOK(res6
)) {
36110 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36115 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36116 wxPyEndAllowThreads(__tstate
);
36117 if (PyErr_Occurred()) SWIG_fail
;
36119 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36134 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36135 PyObject
*resultobj
= 0;
36136 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36137 wxTreeItemId
*arg2
= 0 ;
36142 PyObject
* obj0
= 0 ;
36143 PyObject
* obj1
= 0 ;
36144 char * kwnames
[] = {
36145 (char *) "self",(char *) "item", NULL
36148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36150 if (!SWIG_IsOK(res1
)) {
36151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36153 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36154 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36155 if (!SWIG_IsOK(res2
)) {
36156 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36159 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36161 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36164 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36165 wxPyEndAllowThreads(__tstate
);
36166 if (PyErr_Occurred()) SWIG_fail
;
36168 resultobj
= SWIG_Py_Void();
36175 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36176 PyObject
*resultobj
= 0;
36177 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36178 wxTreeItemId
*arg2
= 0 ;
36183 PyObject
* obj0
= 0 ;
36184 PyObject
* obj1
= 0 ;
36185 char * kwnames
[] = {
36186 (char *) "self",(char *) "item", NULL
36189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36191 if (!SWIG_IsOK(res1
)) {
36192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36194 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36195 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36196 if (!SWIG_IsOK(res2
)) {
36197 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36200 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36202 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36205 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36206 wxPyEndAllowThreads(__tstate
);
36207 if (PyErr_Occurred()) SWIG_fail
;
36209 resultobj
= SWIG_Py_Void();
36216 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36217 PyObject
*resultobj
= 0;
36218 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36221 PyObject
*swig_obj
[1] ;
36223 if (!args
) SWIG_fail
;
36224 swig_obj
[0] = args
;
36225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36226 if (!SWIG_IsOK(res1
)) {
36227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36229 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36232 (arg1
)->DeleteAllItems();
36233 wxPyEndAllowThreads(__tstate
);
36234 if (PyErr_Occurred()) SWIG_fail
;
36236 resultobj
= SWIG_Py_Void();
36243 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36244 PyObject
*resultobj
= 0;
36245 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36246 wxTreeItemId
*arg2
= 0 ;
36251 PyObject
* obj0
= 0 ;
36252 PyObject
* obj1
= 0 ;
36253 char * kwnames
[] = {
36254 (char *) "self",(char *) "item", NULL
36257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36259 if (!SWIG_IsOK(res1
)) {
36260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36262 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36263 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36264 if (!SWIG_IsOK(res2
)) {
36265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36268 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36270 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36273 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36274 wxPyEndAllowThreads(__tstate
);
36275 if (PyErr_Occurred()) SWIG_fail
;
36277 resultobj
= SWIG_Py_Void();
36284 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36285 PyObject
*resultobj
= 0;
36286 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36287 wxTreeItemId
*arg2
= 0 ;
36292 PyObject
* obj0
= 0 ;
36293 PyObject
* obj1
= 0 ;
36294 char * kwnames
[] = {
36295 (char *) "self",(char *) "item", NULL
36298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36300 if (!SWIG_IsOK(res1
)) {
36301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36303 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36304 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36305 if (!SWIG_IsOK(res2
)) {
36306 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36309 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36311 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36314 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36315 wxPyEndAllowThreads(__tstate
);
36316 if (PyErr_Occurred()) SWIG_fail
;
36318 resultobj
= SWIG_Py_Void();
36325 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36326 PyObject
*resultobj
= 0;
36327 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36330 PyObject
*swig_obj
[1] ;
36332 if (!args
) SWIG_fail
;
36333 swig_obj
[0] = args
;
36334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36335 if (!SWIG_IsOK(res1
)) {
36336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36338 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36341 (arg1
)->ExpandAll();
36342 wxPyEndAllowThreads(__tstate
);
36343 if (PyErr_Occurred()) SWIG_fail
;
36345 resultobj
= SWIG_Py_Void();
36352 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36353 PyObject
*resultobj
= 0;
36354 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36355 wxTreeItemId
*arg2
= 0 ;
36360 PyObject
* obj0
= 0 ;
36361 PyObject
* obj1
= 0 ;
36362 char * kwnames
[] = {
36363 (char *) "self",(char *) "item", NULL
36366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36368 if (!SWIG_IsOK(res1
)) {
36369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36371 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36372 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36373 if (!SWIG_IsOK(res2
)) {
36374 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36377 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36379 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36382 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36383 wxPyEndAllowThreads(__tstate
);
36384 if (PyErr_Occurred()) SWIG_fail
;
36386 resultobj
= SWIG_Py_Void();
36393 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36394 PyObject
*resultobj
= 0;
36395 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36396 wxTreeItemId
*arg2
= 0 ;
36401 PyObject
* obj0
= 0 ;
36402 PyObject
* obj1
= 0 ;
36403 char * kwnames
[] = {
36404 (char *) "self",(char *) "item", NULL
36407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36409 if (!SWIG_IsOK(res1
)) {
36410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36412 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36413 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36414 if (!SWIG_IsOK(res2
)) {
36415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36418 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36420 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36423 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36424 wxPyEndAllowThreads(__tstate
);
36425 if (PyErr_Occurred()) SWIG_fail
;
36427 resultobj
= SWIG_Py_Void();
36434 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36435 PyObject
*resultobj
= 0;
36436 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36437 wxTreeItemId
*arg2
= 0 ;
36442 PyObject
* obj0
= 0 ;
36443 PyObject
* obj1
= 0 ;
36444 char * kwnames
[] = {
36445 (char *) "self",(char *) "item", NULL
36448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36450 if (!SWIG_IsOK(res1
)) {
36451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36453 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36454 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36455 if (!SWIG_IsOK(res2
)) {
36456 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36459 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36461 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36464 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36465 wxPyEndAllowThreads(__tstate
);
36466 if (PyErr_Occurred()) SWIG_fail
;
36468 resultobj
= SWIG_Py_Void();
36475 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36476 PyObject
*resultobj
= 0;
36477 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36480 PyObject
*swig_obj
[1] ;
36482 if (!args
) SWIG_fail
;
36483 swig_obj
[0] = args
;
36484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36485 if (!SWIG_IsOK(res1
)) {
36486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36488 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36491 (arg1
)->Unselect();
36492 wxPyEndAllowThreads(__tstate
);
36493 if (PyErr_Occurred()) SWIG_fail
;
36495 resultobj
= SWIG_Py_Void();
36502 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36503 PyObject
*resultobj
= 0;
36504 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36505 wxTreeItemId
*arg2
= 0 ;
36510 PyObject
* obj0
= 0 ;
36511 PyObject
* obj1
= 0 ;
36512 char * kwnames
[] = {
36513 (char *) "self",(char *) "item", NULL
36516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36518 if (!SWIG_IsOK(res1
)) {
36519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36521 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36522 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36523 if (!SWIG_IsOK(res2
)) {
36524 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36527 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36529 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36532 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36533 wxPyEndAllowThreads(__tstate
);
36534 if (PyErr_Occurred()) SWIG_fail
;
36536 resultobj
= SWIG_Py_Void();
36543 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36544 PyObject
*resultobj
= 0;
36545 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36548 PyObject
*swig_obj
[1] ;
36550 if (!args
) SWIG_fail
;
36551 swig_obj
[0] = args
;
36552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36553 if (!SWIG_IsOK(res1
)) {
36554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36556 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36559 (arg1
)->UnselectAll();
36560 wxPyEndAllowThreads(__tstate
);
36561 if (PyErr_Occurred()) SWIG_fail
;
36563 resultobj
= SWIG_Py_Void();
36570 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36571 PyObject
*resultobj
= 0;
36572 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36573 wxTreeItemId
*arg2
= 0 ;
36574 bool arg3
= (bool) true ;
36581 PyObject
* obj0
= 0 ;
36582 PyObject
* obj1
= 0 ;
36583 PyObject
* obj2
= 0 ;
36584 char * kwnames
[] = {
36585 (char *) "self",(char *) "item",(char *) "select", NULL
36588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36590 if (!SWIG_IsOK(res1
)) {
36591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36593 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36594 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36595 if (!SWIG_IsOK(res2
)) {
36596 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36599 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36601 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36603 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36604 if (!SWIG_IsOK(ecode3
)) {
36605 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36607 arg3
= static_cast< bool >(val3
);
36610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36611 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36612 wxPyEndAllowThreads(__tstate
);
36613 if (PyErr_Occurred()) SWIG_fail
;
36615 resultobj
= SWIG_Py_Void();
36622 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36623 PyObject
*resultobj
= 0;
36624 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36625 wxTreeItemId
*arg2
= 0 ;
36630 PyObject
* obj0
= 0 ;
36631 PyObject
* obj1
= 0 ;
36632 char * kwnames
[] = {
36633 (char *) "self",(char *) "item", NULL
36636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36638 if (!SWIG_IsOK(res1
)) {
36639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36641 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36642 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36643 if (!SWIG_IsOK(res2
)) {
36644 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36647 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36649 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36652 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36653 wxPyEndAllowThreads(__tstate
);
36654 if (PyErr_Occurred()) SWIG_fail
;
36656 resultobj
= SWIG_Py_Void();
36663 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36664 PyObject
*resultobj
= 0;
36665 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36666 wxTreeItemId
*arg2
= 0 ;
36671 PyObject
* obj0
= 0 ;
36672 PyObject
* obj1
= 0 ;
36673 char * kwnames
[] = {
36674 (char *) "self",(char *) "item", NULL
36677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36679 if (!SWIG_IsOK(res1
)) {
36680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36682 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36683 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36684 if (!SWIG_IsOK(res2
)) {
36685 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36688 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36690 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36693 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36694 wxPyEndAllowThreads(__tstate
);
36695 if (PyErr_Occurred()) SWIG_fail
;
36697 resultobj
= SWIG_Py_Void();
36704 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36705 PyObject
*resultobj
= 0;
36706 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36707 wxTreeItemId
*arg2
= 0 ;
36712 PyObject
* obj0
= 0 ;
36713 PyObject
* obj1
= 0 ;
36714 char * kwnames
[] = {
36715 (char *) "self",(char *) "item", NULL
36718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36720 if (!SWIG_IsOK(res1
)) {
36721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36723 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36724 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36725 if (!SWIG_IsOK(res2
)) {
36726 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36729 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36731 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36734 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
36735 wxPyEndAllowThreads(__tstate
);
36736 if (PyErr_Occurred()) SWIG_fail
;
36738 resultobj
= SWIG_Py_Void();
36745 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36746 PyObject
*resultobj
= 0;
36747 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36748 wxTreeItemId
*arg2
= 0 ;
36753 PyObject
* obj0
= 0 ;
36754 PyObject
* obj1
= 0 ;
36755 char * kwnames
[] = {
36756 (char *) "self",(char *) "item", NULL
36759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36761 if (!SWIG_IsOK(res1
)) {
36762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36764 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36765 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36766 if (!SWIG_IsOK(res2
)) {
36767 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36770 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36772 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36775 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
36776 wxPyEndAllowThreads(__tstate
);
36777 if (PyErr_Occurred()) SWIG_fail
;
36779 resultobj
= SWIG_Py_Void();
36786 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36787 PyObject
*resultobj
= 0;
36788 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36789 wxTextCtrl
*result
= 0 ;
36792 PyObject
*swig_obj
[1] ;
36794 if (!args
) SWIG_fail
;
36795 swig_obj
[0] = args
;
36796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36797 if (!SWIG_IsOK(res1
)) {
36798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36800 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36803 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
36804 wxPyEndAllowThreads(__tstate
);
36805 if (PyErr_Occurred()) SWIG_fail
;
36808 resultobj
= wxPyMake_wxObject(result
, 0);
36816 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36817 PyObject
*resultobj
= 0;
36818 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36819 wxTreeItemId
*arg2
= 0 ;
36824 PyObject
* obj0
= 0 ;
36825 PyObject
* obj1
= 0 ;
36826 char * kwnames
[] = {
36827 (char *) "self",(char *) "item", NULL
36830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36832 if (!SWIG_IsOK(res1
)) {
36833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36835 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36836 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36837 if (!SWIG_IsOK(res2
)) {
36838 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36841 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36843 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36846 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
36847 wxPyEndAllowThreads(__tstate
);
36848 if (PyErr_Occurred()) SWIG_fail
;
36850 resultobj
= SWIG_Py_Void();
36857 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36858 PyObject
*resultobj
= 0;
36859 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36860 wxPoint
*arg2
= 0 ;
36862 wxTreeItemId result
;
36867 int res3
= SWIG_TMPOBJ
;
36868 PyObject
* obj0
= 0 ;
36869 PyObject
* obj1
= 0 ;
36870 char * kwnames
[] = {
36871 (char *) "self",(char *) "point", NULL
36875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36877 if (!SWIG_IsOK(res1
)) {
36878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36880 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36883 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36887 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
36888 wxPyEndAllowThreads(__tstate
);
36889 if (PyErr_Occurred()) SWIG_fail
;
36891 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36892 if (SWIG_IsTmpObj(res3
)) {
36893 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
36895 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36896 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
36904 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36905 PyObject
*resultobj
= 0;
36906 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36907 wxTreeItemId
*arg2
= 0 ;
36908 bool arg3
= (bool) false ;
36909 PyObject
*result
= 0 ;
36916 PyObject
* obj0
= 0 ;
36917 PyObject
* obj1
= 0 ;
36918 PyObject
* obj2
= 0 ;
36919 char * kwnames
[] = {
36920 (char *) "self",(char *) "item",(char *) "textOnly", NULL
36923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36925 if (!SWIG_IsOK(res1
)) {
36926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36928 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36929 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36930 if (!SWIG_IsOK(res2
)) {
36931 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36934 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36936 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36938 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36939 if (!SWIG_IsOK(ecode3
)) {
36940 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
36942 arg3
= static_cast< bool >(val3
);
36945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36946 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
36947 wxPyEndAllowThreads(__tstate
);
36948 if (PyErr_Occurred()) SWIG_fail
;
36950 resultobj
= result
;
36957 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36958 PyObject
*resultobj
= 0;
36959 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
36960 SwigValueWrapper
<wxVisualAttributes
> result
;
36963 PyObject
* obj0
= 0 ;
36964 char * kwnames
[] = {
36965 (char *) "variant", NULL
36968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
36970 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
36971 if (!SWIG_IsOK(ecode1
)) {
36972 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
36974 arg1
= static_cast< wxWindowVariant
>(val1
);
36977 if (!wxPyCheckForApp()) SWIG_fail
;
36978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36979 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
36980 wxPyEndAllowThreads(__tstate
);
36981 if (PyErr_Occurred()) SWIG_fail
;
36983 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
36990 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36991 PyObject
*resultobj
= 0;
36992 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36998 PyObject
* obj0
= 0 ;
36999 PyObject
* obj1
= 0 ;
37000 char * kwnames
[] = {
37001 (char *) "self",(char *) "q", NULL
37004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37006 if (!SWIG_IsOK(res1
)) {
37007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37009 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37010 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37011 if (!SWIG_IsOK(ecode2
)) {
37012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37014 arg2
= static_cast< bool >(val2
);
37016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37017 (arg1
)->SetQuickBestSize(arg2
);
37018 wxPyEndAllowThreads(__tstate
);
37019 if (PyErr_Occurred()) SWIG_fail
;
37021 resultobj
= SWIG_Py_Void();
37028 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37029 PyObject
*resultobj
= 0;
37030 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37034 PyObject
*swig_obj
[1] ;
37036 if (!args
) SWIG_fail
;
37037 swig_obj
[0] = args
;
37038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37039 if (!SWIG_IsOK(res1
)) {
37040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37042 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37045 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37046 wxPyEndAllowThreads(__tstate
);
37047 if (PyErr_Occurred()) SWIG_fail
;
37050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37058 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37060 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37061 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37062 return SWIG_Py_Void();
37065 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37066 return SWIG_Python_InitShadowInstance(args
);
37069 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37070 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37075 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37076 PyObject
*pyobj
= 0;
37080 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37082 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37089 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37090 PyObject
*resultobj
= 0;
37091 wxWindow
*arg1
= (wxWindow
*) 0 ;
37092 int arg2
= (int) (int)-1 ;
37093 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37094 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37095 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37096 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37097 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37098 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37099 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37100 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37101 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37102 int arg8
= (int) 0 ;
37103 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37104 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37105 wxGenericDirCtrl
*result
= 0 ;
37110 bool temp3
= false ;
37115 bool temp7
= false ;
37118 bool temp9
= false ;
37119 PyObject
* obj0
= 0 ;
37120 PyObject
* obj1
= 0 ;
37121 PyObject
* obj2
= 0 ;
37122 PyObject
* obj3
= 0 ;
37123 PyObject
* obj4
= 0 ;
37124 PyObject
* obj5
= 0 ;
37125 PyObject
* obj6
= 0 ;
37126 PyObject
* obj7
= 0 ;
37127 PyObject
* obj8
= 0 ;
37128 char * kwnames
[] = {
37129 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37134 if (!SWIG_IsOK(res1
)) {
37135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37137 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37140 if (!SWIG_IsOK(ecode2
)) {
37141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37143 arg2
= static_cast< int >(val2
);
37147 arg3
= wxString_in_helper(obj2
);
37148 if (arg3
== NULL
) SWIG_fail
;
37155 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37161 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37165 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37166 if (!SWIG_IsOK(ecode6
)) {
37167 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37169 arg6
= static_cast< long >(val6
);
37173 arg7
= wxString_in_helper(obj6
);
37174 if (arg7
== NULL
) SWIG_fail
;
37179 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37180 if (!SWIG_IsOK(ecode8
)) {
37181 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37183 arg8
= static_cast< int >(val8
);
37187 arg9
= wxString_in_helper(obj8
);
37188 if (arg9
== NULL
) SWIG_fail
;
37193 if (!wxPyCheckForApp()) SWIG_fail
;
37194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37195 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37196 wxPyEndAllowThreads(__tstate
);
37197 if (PyErr_Occurred()) SWIG_fail
;
37199 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37230 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37231 PyObject
*resultobj
= 0;
37232 wxGenericDirCtrl
*result
= 0 ;
37234 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37236 if (!wxPyCheckForApp()) SWIG_fail
;
37237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37238 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37239 wxPyEndAllowThreads(__tstate
);
37240 if (PyErr_Occurred()) SWIG_fail
;
37242 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37249 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37250 PyObject
*resultobj
= 0;
37251 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37252 wxWindow
*arg2
= (wxWindow
*) 0 ;
37253 int arg3
= (int) (int)-1 ;
37254 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37255 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37256 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37257 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37258 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37259 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37260 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37261 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37262 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37263 int arg9
= (int) 0 ;
37264 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37265 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37273 bool temp4
= false ;
37278 bool temp8
= false ;
37281 bool temp10
= false ;
37282 PyObject
* obj0
= 0 ;
37283 PyObject
* obj1
= 0 ;
37284 PyObject
* obj2
= 0 ;
37285 PyObject
* obj3
= 0 ;
37286 PyObject
* obj4
= 0 ;
37287 PyObject
* obj5
= 0 ;
37288 PyObject
* obj6
= 0 ;
37289 PyObject
* obj7
= 0 ;
37290 PyObject
* obj8
= 0 ;
37291 PyObject
* obj9
= 0 ;
37292 char * kwnames
[] = {
37293 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37298 if (!SWIG_IsOK(res1
)) {
37299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37301 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37302 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37303 if (!SWIG_IsOK(res2
)) {
37304 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37306 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37308 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37309 if (!SWIG_IsOK(ecode3
)) {
37310 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37312 arg3
= static_cast< int >(val3
);
37316 arg4
= wxString_in_helper(obj3
);
37317 if (arg4
== NULL
) SWIG_fail
;
37324 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37330 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37334 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37335 if (!SWIG_IsOK(ecode7
)) {
37336 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37338 arg7
= static_cast< long >(val7
);
37342 arg8
= wxString_in_helper(obj7
);
37343 if (arg8
== NULL
) SWIG_fail
;
37348 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37349 if (!SWIG_IsOK(ecode9
)) {
37350 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37352 arg9
= static_cast< int >(val9
);
37356 arg10
= wxString_in_helper(obj9
);
37357 if (arg10
== NULL
) SWIG_fail
;
37362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37363 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37364 wxPyEndAllowThreads(__tstate
);
37365 if (PyErr_Occurred()) SWIG_fail
;
37368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37400 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37401 PyObject
*resultobj
= 0;
37402 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37403 wxString
*arg2
= 0 ;
37407 bool temp2
= false ;
37408 PyObject
* obj0
= 0 ;
37409 PyObject
* obj1
= 0 ;
37410 char * kwnames
[] = {
37411 (char *) "self",(char *) "path", NULL
37414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37416 if (!SWIG_IsOK(res1
)) {
37417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37419 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37421 arg2
= wxString_in_helper(obj1
);
37422 if (arg2
== NULL
) SWIG_fail
;
37426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37427 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37428 wxPyEndAllowThreads(__tstate
);
37429 if (PyErr_Occurred()) SWIG_fail
;
37432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37448 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37449 PyObject
*resultobj
= 0;
37450 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37451 wxString
*arg2
= 0 ;
37455 bool temp2
= false ;
37456 PyObject
* obj0
= 0 ;
37457 PyObject
* obj1
= 0 ;
37458 char * kwnames
[] = {
37459 (char *) "self",(char *) "path", NULL
37462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37464 if (!SWIG_IsOK(res1
)) {
37465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37467 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37469 arg2
= wxString_in_helper(obj1
);
37470 if (arg2
== NULL
) SWIG_fail
;
37474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37475 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
37476 wxPyEndAllowThreads(__tstate
);
37477 if (PyErr_Occurred()) SWIG_fail
;
37480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37496 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37497 PyObject
*resultobj
= 0;
37498 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37502 PyObject
*swig_obj
[1] ;
37504 if (!args
) SWIG_fail
;
37505 swig_obj
[0] = args
;
37506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37507 if (!SWIG_IsOK(res1
)) {
37508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37510 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37513 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37514 wxPyEndAllowThreads(__tstate
);
37515 if (PyErr_Occurred()) SWIG_fail
;
37519 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37521 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37530 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37531 PyObject
*resultobj
= 0;
37532 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37533 wxString
*arg2
= 0 ;
37536 bool temp2
= false ;
37537 PyObject
* obj0
= 0 ;
37538 PyObject
* obj1
= 0 ;
37539 char * kwnames
[] = {
37540 (char *) "self",(char *) "path", NULL
37543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37545 if (!SWIG_IsOK(res1
)) {
37546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37548 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37550 arg2
= wxString_in_helper(obj1
);
37551 if (arg2
== NULL
) SWIG_fail
;
37555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37556 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37557 wxPyEndAllowThreads(__tstate
);
37558 if (PyErr_Occurred()) SWIG_fail
;
37560 resultobj
= SWIG_Py_Void();
37575 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37576 PyObject
*resultobj
= 0;
37577 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37581 PyObject
*swig_obj
[1] ;
37583 if (!args
) SWIG_fail
;
37584 swig_obj
[0] = args
;
37585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37586 if (!SWIG_IsOK(res1
)) {
37587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37589 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37592 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37593 wxPyEndAllowThreads(__tstate
);
37594 if (PyErr_Occurred()) SWIG_fail
;
37598 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37600 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37609 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37610 PyObject
*resultobj
= 0;
37611 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37615 PyObject
*swig_obj
[1] ;
37617 if (!args
) SWIG_fail
;
37618 swig_obj
[0] = args
;
37619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37620 if (!SWIG_IsOK(res1
)) {
37621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37623 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37626 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37627 wxPyEndAllowThreads(__tstate
);
37628 if (PyErr_Occurred()) SWIG_fail
;
37632 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37634 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37643 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37644 PyObject
*resultobj
= 0;
37645 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37646 wxString
*arg2
= 0 ;
37649 bool temp2
= false ;
37650 PyObject
* obj0
= 0 ;
37651 PyObject
* obj1
= 0 ;
37652 char * kwnames
[] = {
37653 (char *) "self",(char *) "path", NULL
37656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37658 if (!SWIG_IsOK(res1
)) {
37659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37661 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37663 arg2
= wxString_in_helper(obj1
);
37664 if (arg2
== NULL
) SWIG_fail
;
37668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37669 (arg1
)->SetPath((wxString
const &)*arg2
);
37670 wxPyEndAllowThreads(__tstate
);
37671 if (PyErr_Occurred()) SWIG_fail
;
37673 resultobj
= SWIG_Py_Void();
37688 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37689 PyObject
*resultobj
= 0;
37690 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37696 PyObject
* obj0
= 0 ;
37697 PyObject
* obj1
= 0 ;
37698 char * kwnames
[] = {
37699 (char *) "self",(char *) "show", NULL
37702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37704 if (!SWIG_IsOK(res1
)) {
37705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37707 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37708 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37709 if (!SWIG_IsOK(ecode2
)) {
37710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37712 arg2
= static_cast< bool >(val2
);
37714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37715 (arg1
)->ShowHidden(arg2
);
37716 wxPyEndAllowThreads(__tstate
);
37717 if (PyErr_Occurred()) SWIG_fail
;
37719 resultobj
= SWIG_Py_Void();
37726 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37727 PyObject
*resultobj
= 0;
37728 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37732 PyObject
*swig_obj
[1] ;
37734 if (!args
) SWIG_fail
;
37735 swig_obj
[0] = args
;
37736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37737 if (!SWIG_IsOK(res1
)) {
37738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37740 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37743 result
= (bool)(arg1
)->GetShowHidden();
37744 wxPyEndAllowThreads(__tstate
);
37745 if (PyErr_Occurred()) SWIG_fail
;
37748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37756 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37757 PyObject
*resultobj
= 0;
37758 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37762 PyObject
*swig_obj
[1] ;
37764 if (!args
) SWIG_fail
;
37765 swig_obj
[0] = args
;
37766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37767 if (!SWIG_IsOK(res1
)) {
37768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37770 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37773 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
37774 wxPyEndAllowThreads(__tstate
);
37775 if (PyErr_Occurred()) SWIG_fail
;
37779 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37781 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37790 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37791 PyObject
*resultobj
= 0;
37792 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37793 wxString
*arg2
= 0 ;
37796 bool temp2
= false ;
37797 PyObject
* obj0
= 0 ;
37798 PyObject
* obj1
= 0 ;
37799 char * kwnames
[] = {
37800 (char *) "self",(char *) "filter", NULL
37803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37805 if (!SWIG_IsOK(res1
)) {
37806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37808 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37810 arg2
= wxString_in_helper(obj1
);
37811 if (arg2
== NULL
) SWIG_fail
;
37815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37816 (arg1
)->SetFilter((wxString
const &)*arg2
);
37817 wxPyEndAllowThreads(__tstate
);
37818 if (PyErr_Occurred()) SWIG_fail
;
37820 resultobj
= SWIG_Py_Void();
37835 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37836 PyObject
*resultobj
= 0;
37837 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37841 PyObject
*swig_obj
[1] ;
37843 if (!args
) SWIG_fail
;
37844 swig_obj
[0] = args
;
37845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37846 if (!SWIG_IsOK(res1
)) {
37847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37849 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37852 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
37853 wxPyEndAllowThreads(__tstate
);
37854 if (PyErr_Occurred()) SWIG_fail
;
37856 resultobj
= SWIG_From_int(static_cast< int >(result
));
37863 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37864 PyObject
*resultobj
= 0;
37865 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37871 PyObject
* obj0
= 0 ;
37872 PyObject
* obj1
= 0 ;
37873 char * kwnames
[] = {
37874 (char *) "self",(char *) "n", NULL
37877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37879 if (!SWIG_IsOK(res1
)) {
37880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37882 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37883 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37884 if (!SWIG_IsOK(ecode2
)) {
37885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
37887 arg2
= static_cast< int >(val2
);
37889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37890 (arg1
)->SetFilterIndex(arg2
);
37891 wxPyEndAllowThreads(__tstate
);
37892 if (PyErr_Occurred()) SWIG_fail
;
37894 resultobj
= SWIG_Py_Void();
37901 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37902 PyObject
*resultobj
= 0;
37903 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37904 wxTreeItemId result
;
37907 PyObject
*swig_obj
[1] ;
37909 if (!args
) SWIG_fail
;
37910 swig_obj
[0] = args
;
37911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37912 if (!SWIG_IsOK(res1
)) {
37913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37915 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37918 result
= (arg1
)->GetRootId();
37919 wxPyEndAllowThreads(__tstate
);
37920 if (PyErr_Occurred()) SWIG_fail
;
37922 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37929 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37930 PyObject
*resultobj
= 0;
37931 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37932 wxPyTreeCtrl
*result
= 0 ;
37935 PyObject
*swig_obj
[1] ;
37937 if (!args
) SWIG_fail
;
37938 swig_obj
[0] = args
;
37939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37940 if (!SWIG_IsOK(res1
)) {
37941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37943 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37946 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
37947 wxPyEndAllowThreads(__tstate
);
37948 if (PyErr_Occurred()) SWIG_fail
;
37951 resultobj
= wxPyMake_wxObject(result
, 0);
37959 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37960 PyObject
*resultobj
= 0;
37961 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37962 wxDirFilterListCtrl
*result
= 0 ;
37965 PyObject
*swig_obj
[1] ;
37967 if (!args
) SWIG_fail
;
37968 swig_obj
[0] = args
;
37969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37970 if (!SWIG_IsOK(res1
)) {
37971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37973 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37976 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
37977 wxPyEndAllowThreads(__tstate
);
37978 if (PyErr_Occurred()) SWIG_fail
;
37980 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37987 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37988 PyObject
*resultobj
= 0;
37989 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37990 wxTreeItemId arg2
;
37991 wxString
*arg3
= 0 ;
37993 wxTreeItemId result
;
37998 bool temp3
= false ;
38000 int res4
= SWIG_TMPOBJ
;
38001 PyObject
* obj0
= 0 ;
38002 PyObject
* obj1
= 0 ;
38003 PyObject
* obj2
= 0 ;
38004 char * kwnames
[] = {
38005 (char *) "self",(char *) "parentId",(char *) "path", NULL
38009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38011 if (!SWIG_IsOK(res1
)) {
38012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38014 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38016 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38017 if (!SWIG_IsOK(res2
)) {
38018 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38023 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38025 if (SWIG_IsNewObj(res2
)) delete temp
;
38029 arg3
= wxString_in_helper(obj2
);
38030 if (arg3
== NULL
) SWIG_fail
;
38034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38035 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38036 wxPyEndAllowThreads(__tstate
);
38037 if (PyErr_Occurred()) SWIG_fail
;
38039 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38040 if (SWIG_IsTmpObj(res4
)) {
38041 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38043 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38044 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38060 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38061 PyObject
*resultobj
= 0;
38062 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38065 PyObject
*swig_obj
[1] ;
38067 if (!args
) SWIG_fail
;
38068 swig_obj
[0] = args
;
38069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38070 if (!SWIG_IsOK(res1
)) {
38071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38073 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38076 (arg1
)->DoResize();
38077 wxPyEndAllowThreads(__tstate
);
38078 if (PyErr_Occurred()) SWIG_fail
;
38080 resultobj
= SWIG_Py_Void();
38087 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38088 PyObject
*resultobj
= 0;
38089 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38092 PyObject
*swig_obj
[1] ;
38094 if (!args
) SWIG_fail
;
38095 swig_obj
[0] = args
;
38096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38097 if (!SWIG_IsOK(res1
)) {
38098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38100 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38103 (arg1
)->ReCreateTree();
38104 wxPyEndAllowThreads(__tstate
);
38105 if (PyErr_Occurred()) SWIG_fail
;
38107 resultobj
= SWIG_Py_Void();
38114 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38116 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38117 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38118 return SWIG_Py_Void();
38121 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38122 return SWIG_Python_InitShadowInstance(args
);
38125 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38126 PyObject
*resultobj
= 0;
38127 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38128 int arg2
= (int) (int)-1 ;
38129 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38130 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38131 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38132 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38133 long arg5
= (long) 0 ;
38134 wxDirFilterListCtrl
*result
= 0 ;
38143 PyObject
* obj0
= 0 ;
38144 PyObject
* obj1
= 0 ;
38145 PyObject
* obj2
= 0 ;
38146 PyObject
* obj3
= 0 ;
38147 PyObject
* obj4
= 0 ;
38148 char * kwnames
[] = {
38149 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38154 if (!SWIG_IsOK(res1
)) {
38155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38157 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38160 if (!SWIG_IsOK(ecode2
)) {
38161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38163 arg2
= static_cast< int >(val2
);
38168 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38174 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38178 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38179 if (!SWIG_IsOK(ecode5
)) {
38180 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38182 arg5
= static_cast< long >(val5
);
38185 if (!wxPyCheckForApp()) SWIG_fail
;
38186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38187 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38188 wxPyEndAllowThreads(__tstate
);
38189 if (PyErr_Occurred()) SWIG_fail
;
38191 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38198 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38199 PyObject
*resultobj
= 0;
38200 wxDirFilterListCtrl
*result
= 0 ;
38202 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38204 if (!wxPyCheckForApp()) SWIG_fail
;
38205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38206 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38207 wxPyEndAllowThreads(__tstate
);
38208 if (PyErr_Occurred()) SWIG_fail
;
38210 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38217 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38218 PyObject
*resultobj
= 0;
38219 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38220 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38221 int arg3
= (int) (int)-1 ;
38222 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38223 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38224 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38225 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38226 long arg6
= (long) 0 ;
38238 PyObject
* obj0
= 0 ;
38239 PyObject
* obj1
= 0 ;
38240 PyObject
* obj2
= 0 ;
38241 PyObject
* obj3
= 0 ;
38242 PyObject
* obj4
= 0 ;
38243 PyObject
* obj5
= 0 ;
38244 char * kwnames
[] = {
38245 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38250 if (!SWIG_IsOK(res1
)) {
38251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38253 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38254 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38255 if (!SWIG_IsOK(res2
)) {
38256 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38258 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38260 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38261 if (!SWIG_IsOK(ecode3
)) {
38262 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38264 arg3
= static_cast< int >(val3
);
38269 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38275 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38279 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38280 if (!SWIG_IsOK(ecode6
)) {
38281 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38283 arg6
= static_cast< long >(val6
);
38286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38287 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38288 wxPyEndAllowThreads(__tstate
);
38289 if (PyErr_Occurred()) SWIG_fail
;
38292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38300 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38301 PyObject
*resultobj
= 0;
38302 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38303 wxString
*arg2
= 0 ;
38307 bool temp2
= false ;
38310 PyObject
* obj0
= 0 ;
38311 PyObject
* obj1
= 0 ;
38312 PyObject
* obj2
= 0 ;
38313 char * kwnames
[] = {
38314 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38319 if (!SWIG_IsOK(res1
)) {
38320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38322 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38324 arg2
= wxString_in_helper(obj1
);
38325 if (arg2
== NULL
) SWIG_fail
;
38328 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38329 if (!SWIG_IsOK(ecode3
)) {
38330 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38332 arg3
= static_cast< int >(val3
);
38334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38335 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38336 wxPyEndAllowThreads(__tstate
);
38337 if (PyErr_Occurred()) SWIG_fail
;
38339 resultobj
= SWIG_Py_Void();
38354 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38356 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38357 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38358 return SWIG_Py_Void();
38361 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38362 return SWIG_Python_InitShadowInstance(args
);
38365 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38366 PyObject
*resultobj
= 0;
38367 wxWindow
*arg1
= (wxWindow
*) 0 ;
38368 int arg2
= (int) (int)-1 ;
38369 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38370 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38371 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38372 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38373 long arg5
= (long) 0 ;
38374 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38375 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38376 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38377 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38378 wxPyControl
*result
= 0 ;
38389 bool temp7
= false ;
38390 PyObject
* obj0
= 0 ;
38391 PyObject
* obj1
= 0 ;
38392 PyObject
* obj2
= 0 ;
38393 PyObject
* obj3
= 0 ;
38394 PyObject
* obj4
= 0 ;
38395 PyObject
* obj5
= 0 ;
38396 PyObject
* obj6
= 0 ;
38397 char * kwnames
[] = {
38398 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38403 if (!SWIG_IsOK(res1
)) {
38404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38406 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38408 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38409 if (!SWIG_IsOK(ecode2
)) {
38410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38412 arg2
= static_cast< int >(val2
);
38417 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38423 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38427 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38428 if (!SWIG_IsOK(ecode5
)) {
38429 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38431 arg5
= static_cast< long >(val5
);
38434 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38435 if (!SWIG_IsOK(res6
)) {
38436 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38439 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38441 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38445 arg7
= wxString_in_helper(obj6
);
38446 if (arg7
== NULL
) SWIG_fail
;
38451 if (!wxPyCheckForApp()) SWIG_fail
;
38452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38453 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38454 wxPyEndAllowThreads(__tstate
);
38455 if (PyErr_Occurred()) SWIG_fail
;
38457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38472 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38473 PyObject
*resultobj
= 0;
38474 wxPyControl
*result
= 0 ;
38476 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38478 if (!wxPyCheckForApp()) SWIG_fail
;
38479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38480 result
= (wxPyControl
*)new wxPyControl();
38481 wxPyEndAllowThreads(__tstate
);
38482 if (PyErr_Occurred()) SWIG_fail
;
38484 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38491 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38492 PyObject
*resultobj
= 0;
38493 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38494 PyObject
*arg2
= (PyObject
*) 0 ;
38495 PyObject
*arg3
= (PyObject
*) 0 ;
38498 PyObject
* obj0
= 0 ;
38499 PyObject
* obj1
= 0 ;
38500 PyObject
* obj2
= 0 ;
38501 char * kwnames
[] = {
38502 (char *) "self",(char *) "self",(char *) "_class", NULL
38505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38507 if (!SWIG_IsOK(res1
)) {
38508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38510 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38515 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38516 wxPyEndAllowThreads(__tstate
);
38517 if (PyErr_Occurred()) SWIG_fail
;
38519 resultobj
= SWIG_Py_Void();
38526 SWIGINTERN PyObject
*_wrap_PyControl_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38527 PyObject
*resultobj
= 0;
38528 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38533 PyObject
* obj0
= 0 ;
38534 PyObject
* obj1
= 0 ;
38535 char * kwnames
[] = {
38536 (char *) "self",(char *) "size", NULL
38539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38541 if (!SWIG_IsOK(res1
)) {
38542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38544 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38547 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38551 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
38552 wxPyEndAllowThreads(__tstate
);
38553 if (PyErr_Occurred()) SWIG_fail
;
38555 resultobj
= SWIG_Py_Void();
38562 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38563 PyObject
*resultobj
= 0;
38564 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38565 wxDC
*arg2
= (wxDC
*) 0 ;
38571 PyObject
* obj0
= 0 ;
38572 PyObject
* obj1
= 0 ;
38573 char * kwnames
[] = {
38574 (char *) "self",(char *) "dc", NULL
38577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38579 if (!SWIG_IsOK(res1
)) {
38580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38582 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38583 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38584 if (!SWIG_IsOK(res2
)) {
38585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38587 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38590 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38591 wxPyEndAllowThreads(__tstate
);
38592 if (PyErr_Occurred()) SWIG_fail
;
38595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38603 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38604 PyObject
*resultobj
= 0;
38605 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38620 PyObject
* obj0
= 0 ;
38621 PyObject
* obj1
= 0 ;
38622 PyObject
* obj2
= 0 ;
38623 PyObject
* obj3
= 0 ;
38624 PyObject
* obj4
= 0 ;
38625 char * kwnames
[] = {
38626 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38631 if (!SWIG_IsOK(res1
)) {
38632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38634 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38635 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38636 if (!SWIG_IsOK(ecode2
)) {
38637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38639 arg2
= static_cast< int >(val2
);
38640 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38641 if (!SWIG_IsOK(ecode3
)) {
38642 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38644 arg3
= static_cast< int >(val3
);
38645 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38646 if (!SWIG_IsOK(ecode4
)) {
38647 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38649 arg4
= static_cast< int >(val4
);
38650 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38651 if (!SWIG_IsOK(ecode5
)) {
38652 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38654 arg5
= static_cast< int >(val5
);
38656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38657 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38658 wxPyEndAllowThreads(__tstate
);
38659 if (PyErr_Occurred()) SWIG_fail
;
38661 resultobj
= SWIG_Py_Void();
38668 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38669 PyObject
*resultobj
= 0;
38670 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38675 int arg6
= (int) wxSIZE_AUTO
;
38688 PyObject
* obj0
= 0 ;
38689 PyObject
* obj1
= 0 ;
38690 PyObject
* obj2
= 0 ;
38691 PyObject
* obj3
= 0 ;
38692 PyObject
* obj4
= 0 ;
38693 PyObject
* obj5
= 0 ;
38694 char * kwnames
[] = {
38695 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38700 if (!SWIG_IsOK(res1
)) {
38701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38703 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38704 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38705 if (!SWIG_IsOK(ecode2
)) {
38706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38708 arg2
= static_cast< int >(val2
);
38709 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38710 if (!SWIG_IsOK(ecode3
)) {
38711 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38713 arg3
= static_cast< int >(val3
);
38714 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38715 if (!SWIG_IsOK(ecode4
)) {
38716 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38718 arg4
= static_cast< int >(val4
);
38719 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38720 if (!SWIG_IsOK(ecode5
)) {
38721 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38723 arg5
= static_cast< int >(val5
);
38725 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38726 if (!SWIG_IsOK(ecode6
)) {
38727 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38729 arg6
= static_cast< int >(val6
);
38732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38733 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
38734 wxPyEndAllowThreads(__tstate
);
38735 if (PyErr_Occurred()) SWIG_fail
;
38737 resultobj
= SWIG_Py_Void();
38744 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38745 PyObject
*resultobj
= 0;
38746 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38755 PyObject
* obj0
= 0 ;
38756 PyObject
* obj1
= 0 ;
38757 PyObject
* obj2
= 0 ;
38758 char * kwnames
[] = {
38759 (char *) "self",(char *) "width",(char *) "height", NULL
38762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38764 if (!SWIG_IsOK(res1
)) {
38765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38767 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38768 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38769 if (!SWIG_IsOK(ecode2
)) {
38770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
38772 arg2
= static_cast< int >(val2
);
38773 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38774 if (!SWIG_IsOK(ecode3
)) {
38775 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
38777 arg3
= static_cast< int >(val3
);
38779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38780 (arg1
)->DoSetClientSize(arg2
,arg3
);
38781 wxPyEndAllowThreads(__tstate
);
38782 if (PyErr_Occurred()) SWIG_fail
;
38784 resultobj
= SWIG_Py_Void();
38791 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38792 PyObject
*resultobj
= 0;
38793 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38802 PyObject
* obj0
= 0 ;
38803 PyObject
* obj1
= 0 ;
38804 PyObject
* obj2
= 0 ;
38805 char * kwnames
[] = {
38806 (char *) "self",(char *) "x",(char *) "y", NULL
38809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38811 if (!SWIG_IsOK(res1
)) {
38812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38814 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38816 if (!SWIG_IsOK(ecode2
)) {
38817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
38819 arg2
= static_cast< int >(val2
);
38820 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38821 if (!SWIG_IsOK(ecode3
)) {
38822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
38824 arg3
= static_cast< int >(val3
);
38826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38827 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
38828 wxPyEndAllowThreads(__tstate
);
38829 if (PyErr_Occurred()) SWIG_fail
;
38831 resultobj
= SWIG_Py_Void();
38838 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38839 PyObject
*resultobj
= 0;
38840 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38841 int *arg2
= (int *) 0 ;
38842 int *arg3
= (int *) 0 ;
38846 int res2
= SWIG_TMPOBJ
;
38848 int res3
= SWIG_TMPOBJ
;
38849 PyObject
*swig_obj
[1] ;
38853 if (!args
) SWIG_fail
;
38854 swig_obj
[0] = args
;
38855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38856 if (!SWIG_IsOK(res1
)) {
38857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38859 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38862 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
38863 wxPyEndAllowThreads(__tstate
);
38864 if (PyErr_Occurred()) SWIG_fail
;
38866 resultobj
= SWIG_Py_Void();
38867 if (SWIG_IsTmpObj(res2
)) {
38868 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38870 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38871 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38873 if (SWIG_IsTmpObj(res3
)) {
38874 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38876 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38877 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38885 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38886 PyObject
*resultobj
= 0;
38887 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38888 int *arg2
= (int *) 0 ;
38889 int *arg3
= (int *) 0 ;
38893 int res2
= SWIG_TMPOBJ
;
38895 int res3
= SWIG_TMPOBJ
;
38896 PyObject
*swig_obj
[1] ;
38900 if (!args
) SWIG_fail
;
38901 swig_obj
[0] = args
;
38902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38903 if (!SWIG_IsOK(res1
)) {
38904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38906 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38909 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
38910 wxPyEndAllowThreads(__tstate
);
38911 if (PyErr_Occurred()) SWIG_fail
;
38913 resultobj
= SWIG_Py_Void();
38914 if (SWIG_IsTmpObj(res2
)) {
38915 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38917 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38918 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38920 if (SWIG_IsTmpObj(res3
)) {
38921 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38923 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38924 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38932 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38933 PyObject
*resultobj
= 0;
38934 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38935 int *arg2
= (int *) 0 ;
38936 int *arg3
= (int *) 0 ;
38940 int res2
= SWIG_TMPOBJ
;
38942 int res3
= SWIG_TMPOBJ
;
38943 PyObject
*swig_obj
[1] ;
38947 if (!args
) SWIG_fail
;
38948 swig_obj
[0] = args
;
38949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38950 if (!SWIG_IsOK(res1
)) {
38951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38953 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38956 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
38957 wxPyEndAllowThreads(__tstate
);
38958 if (PyErr_Occurred()) SWIG_fail
;
38960 resultobj
= SWIG_Py_Void();
38961 if (SWIG_IsTmpObj(res2
)) {
38962 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38964 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38965 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38967 if (SWIG_IsTmpObj(res3
)) {
38968 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38970 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38971 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38979 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38980 PyObject
*resultobj
= 0;
38981 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38985 PyObject
*swig_obj
[1] ;
38987 if (!args
) SWIG_fail
;
38988 swig_obj
[0] = args
;
38989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38990 if (!SWIG_IsOK(res1
)) {
38991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38993 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38996 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
38997 wxPyEndAllowThreads(__tstate
);
38998 if (PyErr_Occurred()) SWIG_fail
;
39000 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39007 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39008 PyObject
*resultobj
= 0;
39009 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39013 PyObject
*swig_obj
[1] ;
39015 if (!args
) SWIG_fail
;
39016 swig_obj
[0] = args
;
39017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39018 if (!SWIG_IsOK(res1
)) {
39019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39021 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39024 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39025 wxPyEndAllowThreads(__tstate
);
39026 if (PyErr_Occurred()) SWIG_fail
;
39028 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39035 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39036 PyObject
*resultobj
= 0;
39037 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39038 SwigValueWrapper
<wxVisualAttributes
> result
;
39041 PyObject
*swig_obj
[1] ;
39043 if (!args
) SWIG_fail
;
39044 swig_obj
[0] = args
;
39045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39046 if (!SWIG_IsOK(res1
)) {
39047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39049 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39052 result
= (arg1
)->GetDefaultAttributes();
39053 wxPyEndAllowThreads(__tstate
);
39054 if (PyErr_Occurred()) SWIG_fail
;
39056 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39063 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39064 PyObject
*resultobj
= 0;
39065 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39068 PyObject
*swig_obj
[1] ;
39070 if (!args
) SWIG_fail
;
39071 swig_obj
[0] = args
;
39072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39073 if (!SWIG_IsOK(res1
)) {
39074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39076 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39079 (arg1
)->OnInternalIdle();
39080 wxPyEndAllowThreads(__tstate
);
39081 if (PyErr_Occurred()) SWIG_fail
;
39083 resultobj
= SWIG_Py_Void();
39090 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39092 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39093 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39094 return SWIG_Py_Void();
39097 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39098 return SWIG_Python_InitShadowInstance(args
);
39101 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39102 PyObject
*resultobj
= 0;
39103 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39104 int arg2
= (int) 0 ;
39105 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39106 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39107 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39108 wxHelpEvent
*result
= 0 ;
39116 PyObject
* obj0
= 0 ;
39117 PyObject
* obj1
= 0 ;
39118 PyObject
* obj2
= 0 ;
39119 PyObject
* obj3
= 0 ;
39120 char * kwnames
[] = {
39121 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39126 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39127 if (!SWIG_IsOK(ecode1
)) {
39128 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39130 arg1
= static_cast< wxEventType
>(val1
);
39133 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39134 if (!SWIG_IsOK(ecode2
)) {
39135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39137 arg2
= static_cast< int >(val2
);
39142 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39146 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39147 if (!SWIG_IsOK(ecode4
)) {
39148 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39150 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39154 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39155 wxPyEndAllowThreads(__tstate
);
39156 if (PyErr_Occurred()) SWIG_fail
;
39158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39165 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39166 PyObject
*resultobj
= 0;
39167 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39171 PyObject
*swig_obj
[1] ;
39173 if (!args
) SWIG_fail
;
39174 swig_obj
[0] = args
;
39175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39176 if (!SWIG_IsOK(res1
)) {
39177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39179 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39182 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39183 wxPyEndAllowThreads(__tstate
);
39184 if (PyErr_Occurred()) SWIG_fail
;
39186 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39193 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39194 PyObject
*resultobj
= 0;
39195 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39196 wxPoint
*arg2
= 0 ;
39200 PyObject
* obj0
= 0 ;
39201 PyObject
* obj1
= 0 ;
39202 char * kwnames
[] = {
39203 (char *) "self",(char *) "pos", NULL
39206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39208 if (!SWIG_IsOK(res1
)) {
39209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39211 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39214 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39218 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39219 wxPyEndAllowThreads(__tstate
);
39220 if (PyErr_Occurred()) SWIG_fail
;
39222 resultobj
= SWIG_Py_Void();
39229 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39230 PyObject
*resultobj
= 0;
39231 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39232 wxString
*result
= 0 ;
39235 PyObject
*swig_obj
[1] ;
39237 if (!args
) SWIG_fail
;
39238 swig_obj
[0] = args
;
39239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39240 if (!SWIG_IsOK(res1
)) {
39241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39243 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39247 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39248 result
= (wxString
*) &_result_ref
;
39250 wxPyEndAllowThreads(__tstate
);
39251 if (PyErr_Occurred()) SWIG_fail
;
39255 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39257 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39266 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39267 PyObject
*resultobj
= 0;
39268 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39269 wxString
*arg2
= 0 ;
39272 bool temp2
= false ;
39273 PyObject
* obj0
= 0 ;
39274 PyObject
* obj1
= 0 ;
39275 char * kwnames
[] = {
39276 (char *) "self",(char *) "link", NULL
39279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39281 if (!SWIG_IsOK(res1
)) {
39282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39284 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39286 arg2
= wxString_in_helper(obj1
);
39287 if (arg2
== NULL
) SWIG_fail
;
39291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39292 (arg1
)->SetLink((wxString
const &)*arg2
);
39293 wxPyEndAllowThreads(__tstate
);
39294 if (PyErr_Occurred()) SWIG_fail
;
39296 resultobj
= SWIG_Py_Void();
39311 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39312 PyObject
*resultobj
= 0;
39313 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39314 wxString
*result
= 0 ;
39317 PyObject
*swig_obj
[1] ;
39319 if (!args
) SWIG_fail
;
39320 swig_obj
[0] = args
;
39321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39322 if (!SWIG_IsOK(res1
)) {
39323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39325 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39329 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39330 result
= (wxString
*) &_result_ref
;
39332 wxPyEndAllowThreads(__tstate
);
39333 if (PyErr_Occurred()) SWIG_fail
;
39337 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39339 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39348 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39349 PyObject
*resultobj
= 0;
39350 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39351 wxString
*arg2
= 0 ;
39354 bool temp2
= false ;
39355 PyObject
* obj0
= 0 ;
39356 PyObject
* obj1
= 0 ;
39357 char * kwnames
[] = {
39358 (char *) "self",(char *) "target", NULL
39361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39363 if (!SWIG_IsOK(res1
)) {
39364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39366 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39368 arg2
= wxString_in_helper(obj1
);
39369 if (arg2
== NULL
) SWIG_fail
;
39373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39374 (arg1
)->SetTarget((wxString
const &)*arg2
);
39375 wxPyEndAllowThreads(__tstate
);
39376 if (PyErr_Occurred()) SWIG_fail
;
39378 resultobj
= SWIG_Py_Void();
39393 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39394 PyObject
*resultobj
= 0;
39395 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39396 wxHelpEvent::Origin result
;
39399 PyObject
*swig_obj
[1] ;
39401 if (!args
) SWIG_fail
;
39402 swig_obj
[0] = args
;
39403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39404 if (!SWIG_IsOK(res1
)) {
39405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39407 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39410 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39411 wxPyEndAllowThreads(__tstate
);
39412 if (PyErr_Occurred()) SWIG_fail
;
39414 resultobj
= SWIG_From_int(static_cast< int >(result
));
39421 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39422 PyObject
*resultobj
= 0;
39423 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39424 wxHelpEvent::Origin arg2
;
39429 PyObject
* obj0
= 0 ;
39430 PyObject
* obj1
= 0 ;
39431 char * kwnames
[] = {
39432 (char *) "self",(char *) "origin", NULL
39435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39437 if (!SWIG_IsOK(res1
)) {
39438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39440 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39442 if (!SWIG_IsOK(ecode2
)) {
39443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39445 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39448 (arg1
)->SetOrigin(arg2
);
39449 wxPyEndAllowThreads(__tstate
);
39450 if (PyErr_Occurred()) SWIG_fail
;
39452 resultobj
= SWIG_Py_Void();
39459 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39461 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39462 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39463 return SWIG_Py_Void();
39466 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39467 return SWIG_Python_InitShadowInstance(args
);
39470 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39471 PyObject
*resultobj
= 0;
39472 wxWindow
*arg1
= (wxWindow
*) NULL
;
39473 bool arg2
= (bool) true ;
39474 wxContextHelp
*result
= 0 ;
39479 PyObject
* obj0
= 0 ;
39480 PyObject
* obj1
= 0 ;
39481 char * kwnames
[] = {
39482 (char *) "window",(char *) "doNow", NULL
39485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39488 if (!SWIG_IsOK(res1
)) {
39489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39491 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39494 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39495 if (!SWIG_IsOK(ecode2
)) {
39496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39498 arg2
= static_cast< bool >(val2
);
39501 if (!wxPyCheckForApp()) SWIG_fail
;
39502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39503 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39504 wxPyEndAllowThreads(__tstate
);
39505 if (PyErr_Occurred()) SWIG_fail
;
39507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39514 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39515 PyObject
*resultobj
= 0;
39516 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39519 PyObject
*swig_obj
[1] ;
39521 if (!args
) SWIG_fail
;
39522 swig_obj
[0] = args
;
39523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39524 if (!SWIG_IsOK(res1
)) {
39525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39527 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39532 wxPyEndAllowThreads(__tstate
);
39533 if (PyErr_Occurred()) SWIG_fail
;
39535 resultobj
= SWIG_Py_Void();
39542 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39543 PyObject
*resultobj
= 0;
39544 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39545 wxWindow
*arg2
= (wxWindow
*) NULL
;
39551 PyObject
* obj0
= 0 ;
39552 PyObject
* obj1
= 0 ;
39553 char * kwnames
[] = {
39554 (char *) "self",(char *) "window", NULL
39557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39559 if (!SWIG_IsOK(res1
)) {
39560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39562 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39564 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39565 if (!SWIG_IsOK(res2
)) {
39566 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39568 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39572 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39573 wxPyEndAllowThreads(__tstate
);
39574 if (PyErr_Occurred()) SWIG_fail
;
39577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39585 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39586 PyObject
*resultobj
= 0;
39587 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39591 PyObject
*swig_obj
[1] ;
39593 if (!args
) SWIG_fail
;
39594 swig_obj
[0] = args
;
39595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39596 if (!SWIG_IsOK(res1
)) {
39597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39599 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39602 result
= (bool)(arg1
)->EndContextHelp();
39603 wxPyEndAllowThreads(__tstate
);
39604 if (PyErr_Occurred()) SWIG_fail
;
39607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39615 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39617 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39618 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39619 return SWIG_Py_Void();
39622 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39623 return SWIG_Python_InitShadowInstance(args
);
39626 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39627 PyObject
*resultobj
= 0;
39628 wxWindow
*arg1
= (wxWindow
*) 0 ;
39629 int arg2
= (int) wxID_CONTEXT_HELP
;
39630 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39631 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39632 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39633 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39634 long arg5
= (long) wxBU_AUTODRAW
;
39635 wxContextHelpButton
*result
= 0 ;
39644 PyObject
* obj0
= 0 ;
39645 PyObject
* obj1
= 0 ;
39646 PyObject
* obj2
= 0 ;
39647 PyObject
* obj3
= 0 ;
39648 PyObject
* obj4
= 0 ;
39649 char * kwnames
[] = {
39650 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39655 if (!SWIG_IsOK(res1
)) {
39656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39658 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39660 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39661 if (!SWIG_IsOK(ecode2
)) {
39662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39664 arg2
= static_cast< int >(val2
);
39669 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39675 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39679 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39680 if (!SWIG_IsOK(ecode5
)) {
39681 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39683 arg5
= static_cast< long >(val5
);
39686 if (!wxPyCheckForApp()) SWIG_fail
;
39687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39688 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39689 wxPyEndAllowThreads(__tstate
);
39690 if (PyErr_Occurred()) SWIG_fail
;
39692 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
39699 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39701 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39702 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
39703 return SWIG_Py_Void();
39706 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39707 return SWIG_Python_InitShadowInstance(args
);
39710 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39711 PyObject
*resultobj
= 0;
39712 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39715 PyObject
*swig_obj
[1] ;
39717 if (!args
) SWIG_fail
;
39718 swig_obj
[0] = args
;
39719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39720 if (!SWIG_IsOK(res1
)) {
39721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39723 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39728 wxPyEndAllowThreads(__tstate
);
39729 if (PyErr_Occurred()) SWIG_fail
;
39731 resultobj
= SWIG_Py_Void();
39738 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39739 PyObject
*resultobj
= 0;
39740 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39741 wxHelpProvider
*result
= 0 ;
39743 PyObject
* obj0
= 0 ;
39744 char * kwnames
[] = {
39745 (char *) "helpProvider", NULL
39748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
39749 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39750 if (!SWIG_IsOK(res1
)) {
39751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39755 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
39756 wxPyEndAllowThreads(__tstate
);
39757 if (PyErr_Occurred()) SWIG_fail
;
39759 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
39766 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39767 PyObject
*resultobj
= 0;
39768 wxHelpProvider
*result
= 0 ;
39770 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
39772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39773 result
= (wxHelpProvider
*)wxHelpProvider::Get();
39774 wxPyEndAllowThreads(__tstate
);
39775 if (PyErr_Occurred()) SWIG_fail
;
39777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39784 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39785 PyObject
*resultobj
= 0;
39786 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39787 wxWindow
*arg2
= (wxWindow
*) 0 ;
39793 PyObject
* obj0
= 0 ;
39794 PyObject
* obj1
= 0 ;
39795 char * kwnames
[] = {
39796 (char *) "self",(char *) "window", NULL
39799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39801 if (!SWIG_IsOK(res1
)) {
39802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39804 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39805 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39806 if (!SWIG_IsOK(res2
)) {
39807 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
39809 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39812 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
39813 wxPyEndAllowThreads(__tstate
);
39814 if (PyErr_Occurred()) SWIG_fail
;
39818 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39820 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39829 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39830 PyObject
*resultobj
= 0;
39831 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39832 wxWindow
*arg2
= (wxWindow
*) 0 ;
39838 PyObject
* obj0
= 0 ;
39839 PyObject
* obj1
= 0 ;
39840 char * kwnames
[] = {
39841 (char *) "self",(char *) "window", NULL
39844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39846 if (!SWIG_IsOK(res1
)) {
39847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39849 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39850 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39851 if (!SWIG_IsOK(res2
)) {
39852 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39854 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39857 result
= (bool)(arg1
)->ShowHelp(arg2
);
39858 wxPyEndAllowThreads(__tstate
);
39859 if (PyErr_Occurred()) SWIG_fail
;
39862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39870 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39871 PyObject
*resultobj
= 0;
39872 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39873 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
39874 wxPoint
*arg3
= 0 ;
39875 wxHelpEvent::Origin arg4
;
39884 PyObject
* obj0
= 0 ;
39885 PyObject
* obj1
= 0 ;
39886 PyObject
* obj2
= 0 ;
39887 PyObject
* obj3
= 0 ;
39888 char * kwnames
[] = {
39889 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
39892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39894 if (!SWIG_IsOK(res1
)) {
39895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39897 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39898 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
39899 if (!SWIG_IsOK(res2
)) {
39900 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
39902 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
39905 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39907 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39908 if (!SWIG_IsOK(ecode4
)) {
39909 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39911 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39914 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
39915 wxPyEndAllowThreads(__tstate
);
39916 if (PyErr_Occurred()) SWIG_fail
;
39919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39927 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39928 PyObject
*resultobj
= 0;
39929 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39930 wxWindow
*arg2
= (wxWindow
*) 0 ;
39931 wxString
*arg3
= 0 ;
39936 bool temp3
= false ;
39937 PyObject
* obj0
= 0 ;
39938 PyObject
* obj1
= 0 ;
39939 PyObject
* obj2
= 0 ;
39940 char * kwnames
[] = {
39941 (char *) "self",(char *) "window",(char *) "text", NULL
39944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39946 if (!SWIG_IsOK(res1
)) {
39947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39949 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39950 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39951 if (!SWIG_IsOK(res2
)) {
39952 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39954 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39956 arg3
= wxString_in_helper(obj2
);
39957 if (arg3
== NULL
) SWIG_fail
;
39961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39962 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39963 wxPyEndAllowThreads(__tstate
);
39964 if (PyErr_Occurred()) SWIG_fail
;
39966 resultobj
= SWIG_Py_Void();
39981 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39982 PyObject
*resultobj
= 0;
39983 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39985 wxString
*arg3
= 0 ;
39990 bool temp3
= false ;
39991 PyObject
* obj0
= 0 ;
39992 PyObject
* obj1
= 0 ;
39993 PyObject
* obj2
= 0 ;
39994 char * kwnames
[] = {
39995 (char *) "self",(char *) "id",(char *) "text", NULL
39998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40000 if (!SWIG_IsOK(res1
)) {
40001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40003 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40004 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40005 if (!SWIG_IsOK(ecode2
)) {
40006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40008 arg2
= static_cast< int >(val2
);
40010 arg3
= wxString_in_helper(obj2
);
40011 if (arg3
== NULL
) SWIG_fail
;
40015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40016 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40017 wxPyEndAllowThreads(__tstate
);
40018 if (PyErr_Occurred()) SWIG_fail
;
40020 resultobj
= SWIG_Py_Void();
40035 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40036 PyObject
*resultobj
= 0;
40037 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40038 wxWindow
*arg2
= (wxWindow
*) 0 ;
40043 PyObject
* obj0
= 0 ;
40044 PyObject
* obj1
= 0 ;
40045 char * kwnames
[] = {
40046 (char *) "self",(char *) "window", NULL
40049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40051 if (!SWIG_IsOK(res1
)) {
40052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40054 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40055 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40056 if (!SWIG_IsOK(res2
)) {
40057 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40059 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40062 (arg1
)->RemoveHelp(arg2
);
40063 wxPyEndAllowThreads(__tstate
);
40064 if (PyErr_Occurred()) SWIG_fail
;
40066 resultobj
= SWIG_Py_Void();
40073 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40074 PyObject
*resultobj
= 0;
40075 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40078 PyObject
*swig_obj
[1] ;
40080 if (!args
) SWIG_fail
;
40081 swig_obj
[0] = args
;
40082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40083 if (!SWIG_IsOK(res1
)) {
40084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40086 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40089 wxHelpProvider_Destroy(arg1
);
40090 wxPyEndAllowThreads(__tstate
);
40091 if (PyErr_Occurred()) SWIG_fail
;
40093 resultobj
= SWIG_Py_Void();
40100 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40102 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40103 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40104 return SWIG_Py_Void();
40107 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40108 PyObject
*resultobj
= 0;
40109 wxSimpleHelpProvider
*result
= 0 ;
40111 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40114 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40115 wxPyEndAllowThreads(__tstate
);
40116 if (PyErr_Occurred()) SWIG_fail
;
40118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40125 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40127 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40128 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40129 return SWIG_Py_Void();
40132 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40133 return SWIG_Python_InitShadowInstance(args
);
40136 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40137 PyObject
*resultobj
= 0;
40138 wxBitmap
*arg1
= 0 ;
40139 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40140 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40141 wxGenericDragImage
*result
= 0 ;
40146 PyObject
* obj0
= 0 ;
40147 PyObject
* obj1
= 0 ;
40148 char * kwnames
[] = {
40149 (char *) "image",(char *) "cursor", NULL
40152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40153 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40154 if (!SWIG_IsOK(res1
)) {
40155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40158 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40160 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40162 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40163 if (!SWIG_IsOK(res2
)) {
40164 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40167 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40169 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40172 if (!wxPyCheckForApp()) SWIG_fail
;
40173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40174 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40175 wxPyEndAllowThreads(__tstate
);
40176 if (PyErr_Occurred()) SWIG_fail
;
40178 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40185 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40186 PyObject
*resultobj
= 0;
40188 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40189 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40190 wxGenericDragImage
*result
= 0 ;
40195 PyObject
* obj0
= 0 ;
40196 PyObject
* obj1
= 0 ;
40197 char * kwnames
[] = {
40198 (char *) "image",(char *) "cursor", NULL
40201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40202 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40203 if (!SWIG_IsOK(res1
)) {
40204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40207 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40209 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40211 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40212 if (!SWIG_IsOK(res2
)) {
40213 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40216 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40218 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40221 if (!wxPyCheckForApp()) SWIG_fail
;
40222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40223 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40224 wxPyEndAllowThreads(__tstate
);
40225 if (PyErr_Occurred()) SWIG_fail
;
40227 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40234 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40235 PyObject
*resultobj
= 0;
40236 wxString
*arg1
= 0 ;
40237 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40238 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40239 wxGenericDragImage
*result
= 0 ;
40240 bool temp1
= false ;
40243 PyObject
* obj0
= 0 ;
40244 PyObject
* obj1
= 0 ;
40245 char * kwnames
[] = {
40246 (char *) "str",(char *) "cursor", NULL
40249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40251 arg1
= wxString_in_helper(obj0
);
40252 if (arg1
== NULL
) SWIG_fail
;
40256 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40257 if (!SWIG_IsOK(res2
)) {
40258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40261 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40263 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40266 if (!wxPyCheckForApp()) SWIG_fail
;
40267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40268 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40269 wxPyEndAllowThreads(__tstate
);
40270 if (PyErr_Occurred()) SWIG_fail
;
40272 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40287 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40288 PyObject
*resultobj
= 0;
40289 wxPyTreeCtrl
*arg1
= 0 ;
40290 wxTreeItemId
*arg2
= 0 ;
40291 wxGenericDragImage
*result
= 0 ;
40296 PyObject
* obj0
= 0 ;
40297 PyObject
* obj1
= 0 ;
40298 char * kwnames
[] = {
40299 (char *) "treeCtrl",(char *) "id", NULL
40302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40303 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40304 if (!SWIG_IsOK(res1
)) {
40305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40308 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40310 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40311 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40312 if (!SWIG_IsOK(res2
)) {
40313 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40316 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40318 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40320 if (!wxPyCheckForApp()) SWIG_fail
;
40321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40322 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40323 wxPyEndAllowThreads(__tstate
);
40324 if (PyErr_Occurred()) SWIG_fail
;
40326 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40333 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40334 PyObject
*resultobj
= 0;
40335 wxPyListCtrl
*arg1
= 0 ;
40337 wxGenericDragImage
*result
= 0 ;
40342 PyObject
* obj0
= 0 ;
40343 PyObject
* obj1
= 0 ;
40344 char * kwnames
[] = {
40345 (char *) "listCtrl",(char *) "id", NULL
40348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40349 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40350 if (!SWIG_IsOK(res1
)) {
40351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40354 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40356 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40357 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40358 if (!SWIG_IsOK(ecode2
)) {
40359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40361 arg2
= static_cast< long >(val2
);
40363 if (!wxPyCheckForApp()) SWIG_fail
;
40364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40365 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40366 wxPyEndAllowThreads(__tstate
);
40367 if (PyErr_Occurred()) SWIG_fail
;
40369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40376 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40377 PyObject
*resultobj
= 0;
40378 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40381 PyObject
*swig_obj
[1] ;
40383 if (!args
) SWIG_fail
;
40384 swig_obj
[0] = args
;
40385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40386 if (!SWIG_IsOK(res1
)) {
40387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40389 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40394 wxPyEndAllowThreads(__tstate
);
40395 if (PyErr_Occurred()) SWIG_fail
;
40397 resultobj
= SWIG_Py_Void();
40404 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40405 PyObject
*resultobj
= 0;
40406 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40407 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40412 PyObject
* obj0
= 0 ;
40413 PyObject
* obj1
= 0 ;
40414 char * kwnames
[] = {
40415 (char *) "self",(char *) "bitmap", NULL
40418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40420 if (!SWIG_IsOK(res1
)) {
40421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40423 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40424 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40425 if (!SWIG_IsOK(res2
)) {
40426 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40428 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40431 (arg1
)->SetBackingBitmap(arg2
);
40432 wxPyEndAllowThreads(__tstate
);
40433 if (PyErr_Occurred()) SWIG_fail
;
40435 resultobj
= SWIG_Py_Void();
40442 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40443 PyObject
*resultobj
= 0;
40444 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40445 wxPoint
*arg2
= 0 ;
40446 wxWindow
*arg3
= (wxWindow
*) 0 ;
40447 bool arg4
= (bool) false ;
40448 wxRect
*arg5
= (wxRect
*) NULL
;
40459 PyObject
* obj0
= 0 ;
40460 PyObject
* obj1
= 0 ;
40461 PyObject
* obj2
= 0 ;
40462 PyObject
* obj3
= 0 ;
40463 PyObject
* obj4
= 0 ;
40464 char * kwnames
[] = {
40465 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40470 if (!SWIG_IsOK(res1
)) {
40471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40473 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40476 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40478 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40479 if (!SWIG_IsOK(res3
)) {
40480 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40482 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40484 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40485 if (!SWIG_IsOK(ecode4
)) {
40486 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40488 arg4
= static_cast< bool >(val4
);
40491 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40492 if (!SWIG_IsOK(res5
)) {
40493 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40495 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40499 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40500 wxPyEndAllowThreads(__tstate
);
40501 if (PyErr_Occurred()) SWIG_fail
;
40504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40512 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40513 PyObject
*resultobj
= 0;
40514 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40515 wxPoint
*arg2
= 0 ;
40516 wxWindow
*arg3
= (wxWindow
*) 0 ;
40517 wxWindow
*arg4
= (wxWindow
*) 0 ;
40526 PyObject
* obj0
= 0 ;
40527 PyObject
* obj1
= 0 ;
40528 PyObject
* obj2
= 0 ;
40529 PyObject
* obj3
= 0 ;
40530 char * kwnames
[] = {
40531 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40536 if (!SWIG_IsOK(res1
)) {
40537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40539 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40542 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40544 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40545 if (!SWIG_IsOK(res3
)) {
40546 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40548 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40549 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40550 if (!SWIG_IsOK(res4
)) {
40551 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40553 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40556 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40557 wxPyEndAllowThreads(__tstate
);
40558 if (PyErr_Occurred()) SWIG_fail
;
40561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40569 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40570 PyObject
*resultobj
= 0;
40571 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40575 PyObject
*swig_obj
[1] ;
40577 if (!args
) SWIG_fail
;
40578 swig_obj
[0] = args
;
40579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40580 if (!SWIG_IsOK(res1
)) {
40581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40583 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40586 result
= (bool)(arg1
)->EndDrag();
40587 wxPyEndAllowThreads(__tstate
);
40588 if (PyErr_Occurred()) SWIG_fail
;
40591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40599 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40600 PyObject
*resultobj
= 0;
40601 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40602 wxPoint
*arg2
= 0 ;
40607 PyObject
* obj0
= 0 ;
40608 PyObject
* obj1
= 0 ;
40609 char * kwnames
[] = {
40610 (char *) "self",(char *) "pt", NULL
40613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40615 if (!SWIG_IsOK(res1
)) {
40616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40618 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40621 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40625 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40626 wxPyEndAllowThreads(__tstate
);
40627 if (PyErr_Occurred()) SWIG_fail
;
40630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40638 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40639 PyObject
*resultobj
= 0;
40640 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40644 PyObject
*swig_obj
[1] ;
40646 if (!args
) SWIG_fail
;
40647 swig_obj
[0] = args
;
40648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40649 if (!SWIG_IsOK(res1
)) {
40650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40652 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40655 result
= (bool)(arg1
)->Show();
40656 wxPyEndAllowThreads(__tstate
);
40657 if (PyErr_Occurred()) SWIG_fail
;
40660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40668 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40669 PyObject
*resultobj
= 0;
40670 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40674 PyObject
*swig_obj
[1] ;
40676 if (!args
) SWIG_fail
;
40677 swig_obj
[0] = args
;
40678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40679 if (!SWIG_IsOK(res1
)) {
40680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40682 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40685 result
= (bool)(arg1
)->Hide();
40686 wxPyEndAllowThreads(__tstate
);
40687 if (PyErr_Occurred()) SWIG_fail
;
40690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40698 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40699 PyObject
*resultobj
= 0;
40700 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40701 wxPoint
*arg2
= 0 ;
40706 PyObject
* obj0
= 0 ;
40707 PyObject
* obj1
= 0 ;
40708 char * kwnames
[] = {
40709 (char *) "self",(char *) "pos", NULL
40712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40714 if (!SWIG_IsOK(res1
)) {
40715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40717 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40720 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40724 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
40725 wxPyEndAllowThreads(__tstate
);
40726 if (PyErr_Occurred()) SWIG_fail
;
40728 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
40735 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40736 PyObject
*resultobj
= 0;
40737 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40739 wxPoint
*arg3
= 0 ;
40746 PyObject
* obj0
= 0 ;
40747 PyObject
* obj1
= 0 ;
40748 PyObject
* obj2
= 0 ;
40749 char * kwnames
[] = {
40750 (char *) "self",(char *) "dc",(char *) "pos", NULL
40753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40755 if (!SWIG_IsOK(res1
)) {
40756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40758 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40759 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40760 if (!SWIG_IsOK(res2
)) {
40761 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40764 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40766 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40769 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40773 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
40774 wxPyEndAllowThreads(__tstate
);
40775 if (PyErr_Occurred()) SWIG_fail
;
40778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40786 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40787 PyObject
*resultobj
= 0;
40788 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40790 wxMemoryDC
*arg3
= 0 ;
40802 PyObject
* obj0
= 0 ;
40803 PyObject
* obj1
= 0 ;
40804 PyObject
* obj2
= 0 ;
40805 PyObject
* obj3
= 0 ;
40806 PyObject
* obj4
= 0 ;
40807 char * kwnames
[] = {
40808 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
40811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40813 if (!SWIG_IsOK(res1
)) {
40814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40816 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40817 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40818 if (!SWIG_IsOK(res2
)) {
40819 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40822 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40824 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40825 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
40826 if (!SWIG_IsOK(res3
)) {
40827 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40832 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
40835 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
40839 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
40842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40843 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
40844 wxPyEndAllowThreads(__tstate
);
40845 if (PyErr_Occurred()) SWIG_fail
;
40848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40856 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40857 PyObject
*resultobj
= 0;
40858 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40859 wxPoint
*arg2
= 0 ;
40860 wxPoint
*arg3
= 0 ;
40872 PyObject
* obj0
= 0 ;
40873 PyObject
* obj1
= 0 ;
40874 PyObject
* obj2
= 0 ;
40875 PyObject
* obj3
= 0 ;
40876 PyObject
* obj4
= 0 ;
40877 char * kwnames
[] = {
40878 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
40881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40883 if (!SWIG_IsOK(res1
)) {
40884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40886 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40889 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40893 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40895 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40896 if (!SWIG_IsOK(ecode4
)) {
40897 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
40899 arg4
= static_cast< bool >(val4
);
40900 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
40901 if (!SWIG_IsOK(ecode5
)) {
40902 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
40904 arg5
= static_cast< bool >(val5
);
40906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40907 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
40908 wxPyEndAllowThreads(__tstate
);
40909 if (PyErr_Occurred()) SWIG_fail
;
40912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40920 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40922 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40923 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
40924 return SWIG_Py_Void();
40927 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40928 return SWIG_Python_InitShadowInstance(args
);
40931 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
40932 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
40937 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
40938 PyObject
*pyobj
= 0;
40942 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40944 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40951 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40952 PyObject
*resultobj
= 0;
40953 wxWindow
*arg1
= (wxWindow
*) 0 ;
40954 int arg2
= (int) -1 ;
40955 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
40956 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
40957 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
40958 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
40959 wxSize
const &arg5_defvalue
= wxDefaultSize
;
40960 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
40961 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40962 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
40963 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
40964 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
40965 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
40966 wxDatePickerCtrl
*result
= 0 ;
40979 bool temp8
= false ;
40980 PyObject
* obj0
= 0 ;
40981 PyObject
* obj1
= 0 ;
40982 PyObject
* obj2
= 0 ;
40983 PyObject
* obj3
= 0 ;
40984 PyObject
* obj4
= 0 ;
40985 PyObject
* obj5
= 0 ;
40986 PyObject
* obj6
= 0 ;
40987 PyObject
* obj7
= 0 ;
40988 char * kwnames
[] = {
40989 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
40993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40994 if (!SWIG_IsOK(res1
)) {
40995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
40997 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40999 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41000 if (!SWIG_IsOK(ecode2
)) {
41001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41003 arg2
= static_cast< int >(val2
);
41006 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41007 if (!SWIG_IsOK(res3
)) {
41008 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41011 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41013 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41018 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41024 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41028 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41029 if (!SWIG_IsOK(ecode6
)) {
41030 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41032 arg6
= static_cast< long >(val6
);
41035 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41036 if (!SWIG_IsOK(res7
)) {
41037 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41040 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41042 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41046 arg8
= wxString_in_helper(obj7
);
41047 if (arg8
== NULL
) SWIG_fail
;
41052 if (!wxPyCheckForApp()) SWIG_fail
;
41053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41054 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41055 wxPyEndAllowThreads(__tstate
);
41056 if (PyErr_Occurred()) SWIG_fail
;
41058 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41073 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41074 PyObject
*resultobj
= 0;
41075 wxDatePickerCtrl
*result
= 0 ;
41077 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41079 if (!wxPyCheckForApp()) SWIG_fail
;
41080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41081 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41082 wxPyEndAllowThreads(__tstate
);
41083 if (PyErr_Occurred()) SWIG_fail
;
41085 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41092 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41093 PyObject
*resultobj
= 0;
41094 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41095 wxWindow
*arg2
= (wxWindow
*) 0 ;
41096 int arg3
= (int) -1 ;
41097 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41098 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41099 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41100 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41101 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41102 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41103 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41104 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41105 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41106 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41107 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41123 bool temp9
= false ;
41124 PyObject
* obj0
= 0 ;
41125 PyObject
* obj1
= 0 ;
41126 PyObject
* obj2
= 0 ;
41127 PyObject
* obj3
= 0 ;
41128 PyObject
* obj4
= 0 ;
41129 PyObject
* obj5
= 0 ;
41130 PyObject
* obj6
= 0 ;
41131 PyObject
* obj7
= 0 ;
41132 PyObject
* obj8
= 0 ;
41133 char * kwnames
[] = {
41134 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41139 if (!SWIG_IsOK(res1
)) {
41140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41142 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41143 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41144 if (!SWIG_IsOK(res2
)) {
41145 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41147 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41149 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41150 if (!SWIG_IsOK(ecode3
)) {
41151 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41153 arg3
= static_cast< int >(val3
);
41156 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41157 if (!SWIG_IsOK(res4
)) {
41158 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41161 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41163 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41168 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41174 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41178 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41179 if (!SWIG_IsOK(ecode7
)) {
41180 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41182 arg7
= static_cast< long >(val7
);
41185 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41186 if (!SWIG_IsOK(res8
)) {
41187 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41190 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41192 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41196 arg9
= wxString_in_helper(obj8
);
41197 if (arg9
== NULL
) SWIG_fail
;
41202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41203 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41204 wxPyEndAllowThreads(__tstate
);
41205 if (PyErr_Occurred()) SWIG_fail
;
41208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41224 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41225 PyObject
*resultobj
= 0;
41226 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41227 wxDateTime
*arg2
= 0 ;
41232 PyObject
* obj0
= 0 ;
41233 PyObject
* obj1
= 0 ;
41234 char * kwnames
[] = {
41235 (char *) "self",(char *) "dt", NULL
41238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41240 if (!SWIG_IsOK(res1
)) {
41241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41243 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41244 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41245 if (!SWIG_IsOK(res2
)) {
41246 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41249 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41251 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41254 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41255 wxPyEndAllowThreads(__tstate
);
41256 if (PyErr_Occurred()) SWIG_fail
;
41258 resultobj
= SWIG_Py_Void();
41265 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41266 PyObject
*resultobj
= 0;
41267 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41271 PyObject
*swig_obj
[1] ;
41273 if (!args
) SWIG_fail
;
41274 swig_obj
[0] = args
;
41275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41276 if (!SWIG_IsOK(res1
)) {
41277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41279 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41282 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41283 wxPyEndAllowThreads(__tstate
);
41284 if (PyErr_Occurred()) SWIG_fail
;
41286 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41293 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41294 PyObject
*resultobj
= 0;
41295 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41296 wxDateTime
*arg2
= 0 ;
41297 wxDateTime
*arg3
= 0 ;
41304 PyObject
* obj0
= 0 ;
41305 PyObject
* obj1
= 0 ;
41306 PyObject
* obj2
= 0 ;
41307 char * kwnames
[] = {
41308 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41313 if (!SWIG_IsOK(res1
)) {
41314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41316 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41317 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41318 if (!SWIG_IsOK(res2
)) {
41319 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41322 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41324 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41325 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41326 if (!SWIG_IsOK(res3
)) {
41327 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41330 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41332 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41335 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41336 wxPyEndAllowThreads(__tstate
);
41337 if (PyErr_Occurred()) SWIG_fail
;
41339 resultobj
= SWIG_Py_Void();
41346 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41347 PyObject
*resultobj
= 0;
41348 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41352 PyObject
*swig_obj
[1] ;
41354 if (!args
) SWIG_fail
;
41355 swig_obj
[0] = args
;
41356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41357 if (!SWIG_IsOK(res1
)) {
41358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41360 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41363 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41364 wxPyEndAllowThreads(__tstate
);
41365 if (PyErr_Occurred()) SWIG_fail
;
41367 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41374 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41375 PyObject
*resultobj
= 0;
41376 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41380 PyObject
*swig_obj
[1] ;
41382 if (!args
) SWIG_fail
;
41383 swig_obj
[0] = args
;
41384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41385 if (!SWIG_IsOK(res1
)) {
41386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41388 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41391 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41392 wxPyEndAllowThreads(__tstate
);
41393 if (PyErr_Occurred()) SWIG_fail
;
41395 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41402 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41404 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41405 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41406 return SWIG_Py_Void();
41409 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41410 return SWIG_Python_InitShadowInstance(args
);
41413 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41414 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41419 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41420 PyObject
*pyobj
= 0;
41424 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41426 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41433 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41434 PyObject
*resultobj
= 0;
41435 wxWindow
*arg1
= (wxWindow
*) 0 ;
41437 wxString
*arg3
= 0 ;
41438 wxString
*arg4
= 0 ;
41439 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41440 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41441 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41442 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41443 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41444 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41445 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41446 wxHyperlinkCtrl
*result
= 0 ;
41451 bool temp3
= false ;
41452 bool temp4
= false ;
41457 bool temp8
= false ;
41458 PyObject
* obj0
= 0 ;
41459 PyObject
* obj1
= 0 ;
41460 PyObject
* obj2
= 0 ;
41461 PyObject
* obj3
= 0 ;
41462 PyObject
* obj4
= 0 ;
41463 PyObject
* obj5
= 0 ;
41464 PyObject
* obj6
= 0 ;
41465 PyObject
* obj7
= 0 ;
41466 char * kwnames
[] = {
41467 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41472 if (!SWIG_IsOK(res1
)) {
41473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41475 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41476 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41477 if (!SWIG_IsOK(ecode2
)) {
41478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41480 arg2
= static_cast< int >(val2
);
41482 arg3
= wxString_in_helper(obj2
);
41483 if (arg3
== NULL
) SWIG_fail
;
41487 arg4
= wxString_in_helper(obj3
);
41488 if (arg4
== NULL
) SWIG_fail
;
41494 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41500 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41504 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41505 if (!SWIG_IsOK(ecode7
)) {
41506 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41508 arg7
= static_cast< long >(val7
);
41512 arg8
= wxString_in_helper(obj7
);
41513 if (arg8
== NULL
) SWIG_fail
;
41518 if (!wxPyCheckForApp()) SWIG_fail
;
41519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41520 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
41521 wxPyEndAllowThreads(__tstate
);
41522 if (PyErr_Occurred()) SWIG_fail
;
41524 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
41555 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41556 PyObject
*resultobj
= 0;
41557 wxHyperlinkCtrl
*result
= 0 ;
41559 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
41561 if (!wxPyCheckForApp()) SWIG_fail
;
41562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41563 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
41564 wxPyEndAllowThreads(__tstate
);
41565 if (PyErr_Occurred()) SWIG_fail
;
41567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
41574 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41575 PyObject
*resultobj
= 0;
41576 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41577 wxWindow
*arg2
= (wxWindow
*) 0 ;
41579 wxString
*arg4
= 0 ;
41580 wxString
*arg5
= 0 ;
41581 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
41582 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
41583 wxSize
const &arg7_defvalue
= wxDefaultSize
;
41584 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
41585 long arg8
= (long) wxHL_DEFAULT_STYLE
;
41586 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
41587 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41595 bool temp4
= false ;
41596 bool temp5
= false ;
41601 bool temp9
= false ;
41602 PyObject
* obj0
= 0 ;
41603 PyObject
* obj1
= 0 ;
41604 PyObject
* obj2
= 0 ;
41605 PyObject
* obj3
= 0 ;
41606 PyObject
* obj4
= 0 ;
41607 PyObject
* obj5
= 0 ;
41608 PyObject
* obj6
= 0 ;
41609 PyObject
* obj7
= 0 ;
41610 PyObject
* obj8
= 0 ;
41611 char * kwnames
[] = {
41612 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41617 if (!SWIG_IsOK(res1
)) {
41618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41620 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41621 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41622 if (!SWIG_IsOK(res2
)) {
41623 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41625 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41626 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41627 if (!SWIG_IsOK(ecode3
)) {
41628 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41630 arg3
= static_cast< int >(val3
);
41632 arg4
= wxString_in_helper(obj3
);
41633 if (arg4
== NULL
) SWIG_fail
;
41637 arg5
= wxString_in_helper(obj4
);
41638 if (arg5
== NULL
) SWIG_fail
;
41644 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
41650 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
41654 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
41655 if (!SWIG_IsOK(ecode8
)) {
41656 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41658 arg8
= static_cast< long >(val8
);
41662 arg9
= wxString_in_helper(obj8
);
41663 if (arg9
== NULL
) SWIG_fail
;
41668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41669 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
41670 wxPyEndAllowThreads(__tstate
);
41671 if (PyErr_Occurred()) SWIG_fail
;
41674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41706 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41707 PyObject
*resultobj
= 0;
41708 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41712 PyObject
*swig_obj
[1] ;
41714 if (!args
) SWIG_fail
;
41715 swig_obj
[0] = args
;
41716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41717 if (!SWIG_IsOK(res1
)) {
41718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41720 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41723 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
41724 wxPyEndAllowThreads(__tstate
);
41725 if (PyErr_Occurred()) SWIG_fail
;
41727 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41734 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41735 PyObject
*resultobj
= 0;
41736 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41737 wxColour
*arg2
= 0 ;
41741 PyObject
* obj0
= 0 ;
41742 PyObject
* obj1
= 0 ;
41743 char * kwnames
[] = {
41744 (char *) "self",(char *) "colour", NULL
41747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41749 if (!SWIG_IsOK(res1
)) {
41750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41752 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41755 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41759 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
41760 wxPyEndAllowThreads(__tstate
);
41761 if (PyErr_Occurred()) SWIG_fail
;
41763 resultobj
= SWIG_Py_Void();
41770 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41771 PyObject
*resultobj
= 0;
41772 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41776 PyObject
*swig_obj
[1] ;
41778 if (!args
) SWIG_fail
;
41779 swig_obj
[0] = args
;
41780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41781 if (!SWIG_IsOK(res1
)) {
41782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41784 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41787 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
41788 wxPyEndAllowThreads(__tstate
);
41789 if (PyErr_Occurred()) SWIG_fail
;
41791 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41798 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41799 PyObject
*resultobj
= 0;
41800 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41801 wxColour
*arg2
= 0 ;
41805 PyObject
* obj0
= 0 ;
41806 PyObject
* obj1
= 0 ;
41807 char * kwnames
[] = {
41808 (char *) "self",(char *) "colour", NULL
41811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41813 if (!SWIG_IsOK(res1
)) {
41814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41816 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41819 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41823 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
41824 wxPyEndAllowThreads(__tstate
);
41825 if (PyErr_Occurred()) SWIG_fail
;
41827 resultobj
= SWIG_Py_Void();
41834 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41835 PyObject
*resultobj
= 0;
41836 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41840 PyObject
*swig_obj
[1] ;
41842 if (!args
) SWIG_fail
;
41843 swig_obj
[0] = args
;
41844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41845 if (!SWIG_IsOK(res1
)) {
41846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41848 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41851 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
41852 wxPyEndAllowThreads(__tstate
);
41853 if (PyErr_Occurred()) SWIG_fail
;
41855 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41862 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41863 PyObject
*resultobj
= 0;
41864 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41865 wxColour
*arg2
= 0 ;
41869 PyObject
* obj0
= 0 ;
41870 PyObject
* obj1
= 0 ;
41871 char * kwnames
[] = {
41872 (char *) "self",(char *) "colour", NULL
41875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41877 if (!SWIG_IsOK(res1
)) {
41878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41880 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41883 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41887 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
41888 wxPyEndAllowThreads(__tstate
);
41889 if (PyErr_Occurred()) SWIG_fail
;
41891 resultobj
= SWIG_Py_Void();
41898 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41899 PyObject
*resultobj
= 0;
41900 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41904 PyObject
*swig_obj
[1] ;
41906 if (!args
) SWIG_fail
;
41907 swig_obj
[0] = args
;
41908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41909 if (!SWIG_IsOK(res1
)) {
41910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41912 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41915 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
41916 wxPyEndAllowThreads(__tstate
);
41917 if (PyErr_Occurred()) SWIG_fail
;
41921 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41923 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41932 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41933 PyObject
*resultobj
= 0;
41934 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41935 wxString
*arg2
= 0 ;
41938 bool temp2
= false ;
41939 PyObject
* obj0
= 0 ;
41940 PyObject
* obj1
= 0 ;
41941 char * kwnames
[] = {
41942 (char *) "self",(char *) "url", NULL
41945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41947 if (!SWIG_IsOK(res1
)) {
41948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41950 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41952 arg2
= wxString_in_helper(obj1
);
41953 if (arg2
== NULL
) SWIG_fail
;
41957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41958 (arg1
)->SetURL((wxString
const &)*arg2
);
41959 wxPyEndAllowThreads(__tstate
);
41960 if (PyErr_Occurred()) SWIG_fail
;
41962 resultobj
= SWIG_Py_Void();
41977 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41978 PyObject
*resultobj
= 0;
41979 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41980 bool arg2
= (bool) true ;
41985 PyObject
* obj0
= 0 ;
41986 PyObject
* obj1
= 0 ;
41987 char * kwnames
[] = {
41988 (char *) "self",(char *) "visited", NULL
41991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41993 if (!SWIG_IsOK(res1
)) {
41994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41996 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41998 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
41999 if (!SWIG_IsOK(ecode2
)) {
42000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42002 arg2
= static_cast< bool >(val2
);
42005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42006 (arg1
)->SetVisited(arg2
);
42007 wxPyEndAllowThreads(__tstate
);
42008 if (PyErr_Occurred()) SWIG_fail
;
42010 resultobj
= SWIG_Py_Void();
42017 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42018 PyObject
*resultobj
= 0;
42019 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42023 PyObject
*swig_obj
[1] ;
42025 if (!args
) SWIG_fail
;
42026 swig_obj
[0] = args
;
42027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42028 if (!SWIG_IsOK(res1
)) {
42029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42031 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42034 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42035 wxPyEndAllowThreads(__tstate
);
42036 if (PyErr_Occurred()) SWIG_fail
;
42039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42047 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42049 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42050 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42051 return SWIG_Py_Void();
42054 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42055 return SWIG_Python_InitShadowInstance(args
);
42058 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42059 PyObject
*resultobj
= 0;
42060 wxObject
*arg1
= (wxObject
*) 0 ;
42062 wxString
*arg3
= 0 ;
42063 wxHyperlinkEvent
*result
= 0 ;
42068 bool temp3
= false ;
42069 PyObject
* obj0
= 0 ;
42070 PyObject
* obj1
= 0 ;
42071 PyObject
* obj2
= 0 ;
42072 char * kwnames
[] = {
42073 (char *) "generator",(char *) "id",(char *) "url", NULL
42076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42078 if (!SWIG_IsOK(res1
)) {
42079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42081 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42083 if (!SWIG_IsOK(ecode2
)) {
42084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42086 arg2
= static_cast< int >(val2
);
42088 arg3
= wxString_in_helper(obj2
);
42089 if (arg3
== NULL
) SWIG_fail
;
42093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42094 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42095 wxPyEndAllowThreads(__tstate
);
42096 if (PyErr_Occurred()) SWIG_fail
;
42098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42113 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42114 PyObject
*resultobj
= 0;
42115 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42119 PyObject
*swig_obj
[1] ;
42121 if (!args
) SWIG_fail
;
42122 swig_obj
[0] = args
;
42123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42124 if (!SWIG_IsOK(res1
)) {
42125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42127 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42130 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42131 wxPyEndAllowThreads(__tstate
);
42132 if (PyErr_Occurred()) SWIG_fail
;
42136 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42138 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42147 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42148 PyObject
*resultobj
= 0;
42149 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42150 wxString
*arg2
= 0 ;
42153 bool temp2
= false ;
42154 PyObject
* obj0
= 0 ;
42155 PyObject
* obj1
= 0 ;
42156 char * kwnames
[] = {
42157 (char *) "self",(char *) "url", NULL
42160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42162 if (!SWIG_IsOK(res1
)) {
42163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42165 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42167 arg2
= wxString_in_helper(obj1
);
42168 if (arg2
== NULL
) SWIG_fail
;
42172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42173 (arg1
)->SetURL((wxString
const &)*arg2
);
42174 wxPyEndAllowThreads(__tstate
);
42175 if (PyErr_Occurred()) SWIG_fail
;
42177 resultobj
= SWIG_Py_Void();
42192 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42194 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42195 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42196 return SWIG_Py_Void();
42199 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42200 return SWIG_Python_InitShadowInstance(args
);
42203 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42204 PyObject
*resultobj
= 0;
42205 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42206 wxWindow
*arg2
= (wxWindow
*) 0 ;
42208 wxString
const &arg4_defvalue
= wxEmptyString
;
42209 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42210 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42211 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42212 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42213 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42214 long arg7
= (long) 0 ;
42215 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42216 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42217 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42218 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42226 bool temp4
= false ;
42233 bool temp9
= false ;
42234 PyObject
* obj0
= 0 ;
42235 PyObject
* obj1
= 0 ;
42236 PyObject
* obj2
= 0 ;
42237 PyObject
* obj3
= 0 ;
42238 PyObject
* obj4
= 0 ;
42239 PyObject
* obj5
= 0 ;
42240 PyObject
* obj6
= 0 ;
42241 PyObject
* obj7
= 0 ;
42242 PyObject
* obj8
= 0 ;
42243 char * kwnames
[] = {
42244 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42249 if (!SWIG_IsOK(res1
)) {
42250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42252 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42253 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42254 if (!SWIG_IsOK(res2
)) {
42255 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42257 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42258 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42259 if (!SWIG_IsOK(ecode3
)) {
42260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42262 arg3
= static_cast< int >(val3
);
42265 arg4
= wxString_in_helper(obj3
);
42266 if (arg4
== NULL
) SWIG_fail
;
42273 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42279 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42283 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42284 if (!SWIG_IsOK(ecode7
)) {
42285 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42287 arg7
= static_cast< long >(val7
);
42290 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42291 if (!SWIG_IsOK(res8
)) {
42292 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42295 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42297 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42301 arg9
= wxString_in_helper(obj8
);
42302 if (arg9
== NULL
) SWIG_fail
;
42307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42308 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42309 wxPyEndAllowThreads(__tstate
);
42310 if (PyErr_Occurred()) SWIG_fail
;
42313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42337 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42338 PyObject
*resultobj
= 0;
42339 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42345 PyObject
* obj0
= 0 ;
42346 PyObject
* obj1
= 0 ;
42347 char * kwnames
[] = {
42348 (char *) "self",(char *) "newmargin", NULL
42351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42353 if (!SWIG_IsOK(res1
)) {
42354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42356 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42357 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42358 if (!SWIG_IsOK(ecode2
)) {
42359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42361 arg2
= static_cast< int >(val2
);
42363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42364 (arg1
)->SetInternalMargin(arg2
);
42365 wxPyEndAllowThreads(__tstate
);
42366 if (PyErr_Occurred()) SWIG_fail
;
42368 resultobj
= SWIG_Py_Void();
42375 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42376 PyObject
*resultobj
= 0;
42377 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42381 PyObject
*swig_obj
[1] ;
42383 if (!args
) SWIG_fail
;
42384 swig_obj
[0] = args
;
42385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42386 if (!SWIG_IsOK(res1
)) {
42387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42389 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42392 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42393 wxPyEndAllowThreads(__tstate
);
42394 if (PyErr_Occurred()) SWIG_fail
;
42396 resultobj
= SWIG_From_int(static_cast< int >(result
));
42403 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42404 PyObject
*resultobj
= 0;
42405 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42411 PyObject
* obj0
= 0 ;
42412 PyObject
* obj1
= 0 ;
42413 char * kwnames
[] = {
42414 (char *) "self",(char *) "prop", NULL
42417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42419 if (!SWIG_IsOK(res1
)) {
42420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42422 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42423 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42424 if (!SWIG_IsOK(ecode2
)) {
42425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42427 arg2
= static_cast< int >(val2
);
42429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42430 (arg1
)->SetTextCtrlProportion(arg2
);
42431 wxPyEndAllowThreads(__tstate
);
42432 if (PyErr_Occurred()) SWIG_fail
;
42434 resultobj
= SWIG_Py_Void();
42441 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42442 PyObject
*resultobj
= 0;
42443 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42447 PyObject
*swig_obj
[1] ;
42449 if (!args
) SWIG_fail
;
42450 swig_obj
[0] = args
;
42451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42452 if (!SWIG_IsOK(res1
)) {
42453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42455 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42458 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42459 wxPyEndAllowThreads(__tstate
);
42460 if (PyErr_Occurred()) SWIG_fail
;
42462 resultobj
= SWIG_From_int(static_cast< int >(result
));
42469 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42470 PyObject
*resultobj
= 0;
42471 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42475 PyObject
*swig_obj
[1] ;
42477 if (!args
) SWIG_fail
;
42478 swig_obj
[0] = args
;
42479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42480 if (!SWIG_IsOK(res1
)) {
42481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42483 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42486 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
42487 wxPyEndAllowThreads(__tstate
);
42488 if (PyErr_Occurred()) SWIG_fail
;
42491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42499 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42500 PyObject
*resultobj
= 0;
42501 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42502 bool arg2
= (bool) true ;
42507 PyObject
* obj0
= 0 ;
42508 PyObject
* obj1
= 0 ;
42509 char * kwnames
[] = {
42510 (char *) "self",(char *) "grow", NULL
42513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42515 if (!SWIG_IsOK(res1
)) {
42516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42518 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42520 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42521 if (!SWIG_IsOK(ecode2
)) {
42522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42524 arg2
= static_cast< bool >(val2
);
42527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42528 (arg1
)->SetTextCtrlGrowable(arg2
);
42529 wxPyEndAllowThreads(__tstate
);
42530 if (PyErr_Occurred()) SWIG_fail
;
42532 resultobj
= SWIG_Py_Void();
42539 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42540 PyObject
*resultobj
= 0;
42541 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42545 PyObject
*swig_obj
[1] ;
42547 if (!args
) SWIG_fail
;
42548 swig_obj
[0] = args
;
42549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42550 if (!SWIG_IsOK(res1
)) {
42551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42553 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42556 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
42557 wxPyEndAllowThreads(__tstate
);
42558 if (PyErr_Occurred()) SWIG_fail
;
42561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42569 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42570 PyObject
*resultobj
= 0;
42571 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42572 bool arg2
= (bool) true ;
42577 PyObject
* obj0
= 0 ;
42578 PyObject
* obj1
= 0 ;
42579 char * kwnames
[] = {
42580 (char *) "self",(char *) "grow", NULL
42583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42585 if (!SWIG_IsOK(res1
)) {
42586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42588 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42590 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42591 if (!SWIG_IsOK(ecode2
)) {
42592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42594 arg2
= static_cast< bool >(val2
);
42597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42598 (arg1
)->SetPickerCtrlGrowable(arg2
);
42599 wxPyEndAllowThreads(__tstate
);
42600 if (PyErr_Occurred()) SWIG_fail
;
42602 resultobj
= SWIG_Py_Void();
42609 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42610 PyObject
*resultobj
= 0;
42611 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42615 PyObject
*swig_obj
[1] ;
42617 if (!args
) SWIG_fail
;
42618 swig_obj
[0] = args
;
42619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42620 if (!SWIG_IsOK(res1
)) {
42621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42623 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42626 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
42627 wxPyEndAllowThreads(__tstate
);
42628 if (PyErr_Occurred()) SWIG_fail
;
42631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42639 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42640 PyObject
*resultobj
= 0;
42641 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42642 wxTextCtrl
*result
= 0 ;
42645 PyObject
*swig_obj
[1] ;
42647 if (!args
) SWIG_fail
;
42648 swig_obj
[0] = args
;
42649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42650 if (!SWIG_IsOK(res1
)) {
42651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42653 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42656 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
42657 wxPyEndAllowThreads(__tstate
);
42658 if (PyErr_Occurred()) SWIG_fail
;
42661 resultobj
= wxPyMake_wxObject(result
, 0);
42669 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42670 PyObject
*resultobj
= 0;
42671 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42672 wxControl
*result
= 0 ;
42675 PyObject
*swig_obj
[1] ;
42677 if (!args
) SWIG_fail
;
42678 swig_obj
[0] = args
;
42679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42680 if (!SWIG_IsOK(res1
)) {
42681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42683 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42686 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
42687 wxPyEndAllowThreads(__tstate
);
42688 if (PyErr_Occurred()) SWIG_fail
;
42691 resultobj
= wxPyMake_wxObject(result
, 0);
42699 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42701 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42702 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
42703 return SWIG_Py_Void();
42706 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
42707 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
42712 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
42713 PyObject
*pyobj
= 0;
42717 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
42719 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
42726 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42727 PyObject
*resultobj
= 0;
42728 wxWindow
*arg1
= (wxWindow
*) 0 ;
42729 int arg2
= (int) -1 ;
42730 wxColour
const &arg3_defvalue
= *wxBLACK
;
42731 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
42732 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
42733 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
42734 wxSize
const &arg5_defvalue
= wxDefaultSize
;
42735 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
42736 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
42737 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
42738 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
42739 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
42740 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
42741 wxColourPickerCtrl
*result
= 0 ;
42753 bool temp8
= false ;
42754 PyObject
* obj0
= 0 ;
42755 PyObject
* obj1
= 0 ;
42756 PyObject
* obj2
= 0 ;
42757 PyObject
* obj3
= 0 ;
42758 PyObject
* obj4
= 0 ;
42759 PyObject
* obj5
= 0 ;
42760 PyObject
* obj6
= 0 ;
42761 PyObject
* obj7
= 0 ;
42762 char * kwnames
[] = {
42763 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
42767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42768 if (!SWIG_IsOK(res1
)) {
42769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
42771 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
42773 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42774 if (!SWIG_IsOK(ecode2
)) {
42775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
42777 arg2
= static_cast< int >(val2
);
42782 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
42788 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
42794 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
42798 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
42799 if (!SWIG_IsOK(ecode6
)) {
42800 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
42802 arg6
= static_cast< long >(val6
);
42805 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
42806 if (!SWIG_IsOK(res7
)) {
42807 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
42810 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
42812 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
42816 arg8
= wxString_in_helper(obj7
);
42817 if (arg8
== NULL
) SWIG_fail
;
42822 if (!wxPyCheckForApp()) SWIG_fail
;
42823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42824 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
42825 wxPyEndAllowThreads(__tstate
);
42826 if (PyErr_Occurred()) SWIG_fail
;
42828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
42843 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42844 PyObject
*resultobj
= 0;
42845 wxColourPickerCtrl
*result
= 0 ;
42847 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
42849 if (!wxPyCheckForApp()) SWIG_fail
;
42850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42851 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
42852 wxPyEndAllowThreads(__tstate
);
42853 if (PyErr_Occurred()) SWIG_fail
;
42855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
42862 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42863 PyObject
*resultobj
= 0;
42864 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
42865 wxWindow
*arg2
= (wxWindow
*) 0 ;
42867 wxColour
const &arg4_defvalue
= *wxBLACK
;
42868 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
42869 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42870 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42871 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42872 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42873 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
42874 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42875 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42876 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
42877 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42892 bool temp9
= false ;
42893 PyObject
* obj0
= 0 ;
42894 PyObject
* obj1
= 0 ;
42895 PyObject
* obj2
= 0 ;
42896 PyObject
* obj3
= 0 ;
42897 PyObject
* obj4
= 0 ;
42898 PyObject
* obj5
= 0 ;
42899 PyObject
* obj6
= 0 ;
42900 PyObject
* obj7
= 0 ;
42901 PyObject
* obj8
= 0 ;
42902 char * kwnames
[] = {
42903 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
42908 if (!SWIG_IsOK(res1
)) {
42909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
42911 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
42912 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42913 if (!SWIG_IsOK(res2
)) {
42914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42916 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42917 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42918 if (!SWIG_IsOK(ecode3
)) {
42919 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42921 arg3
= static_cast< int >(val3
);
42925 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
42931 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42937 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42941 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42942 if (!SWIG_IsOK(ecode7
)) {
42943 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
42945 arg7
= static_cast< long >(val7
);
42948 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42949 if (!SWIG_IsOK(res8
)) {
42950 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
42953 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
42955 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42959 arg9
= wxString_in_helper(obj8
);
42960 if (arg9
== NULL
) SWIG_fail
;
42965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42966 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42967 wxPyEndAllowThreads(__tstate
);
42968 if (PyErr_Occurred()) SWIG_fail
;
42971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42987 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42988 PyObject
*resultobj
= 0;
42989 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
42993 PyObject
*swig_obj
[1] ;
42995 if (!args
) SWIG_fail
;
42996 swig_obj
[0] = args
;
42997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
42998 if (!SWIG_IsOK(res1
)) {
42999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43001 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43004 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43005 wxPyEndAllowThreads(__tstate
);
43006 if (PyErr_Occurred()) SWIG_fail
;
43008 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43015 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43016 PyObject
*resultobj
= 0;
43017 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43018 wxColour
*arg2
= 0 ;
43022 PyObject
* obj0
= 0 ;
43023 PyObject
* obj1
= 0 ;
43024 char * kwnames
[] = {
43025 (char *) "self",(char *) "col", NULL
43028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43030 if (!SWIG_IsOK(res1
)) {
43031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43033 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43036 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43040 (arg1
)->SetColour((wxColour
const &)*arg2
);
43041 wxPyEndAllowThreads(__tstate
);
43042 if (PyErr_Occurred()) SWIG_fail
;
43044 resultobj
= SWIG_Py_Void();
43051 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43053 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43054 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43055 return SWIG_Py_Void();
43058 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43059 return SWIG_Python_InitShadowInstance(args
);
43062 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43063 PyObject
*resultobj
= 0;
43064 wxObject
*arg1
= (wxObject
*) 0 ;
43066 wxColour
*arg3
= 0 ;
43067 wxColourPickerEvent
*result
= 0 ;
43073 PyObject
* obj0
= 0 ;
43074 PyObject
* obj1
= 0 ;
43075 PyObject
* obj2
= 0 ;
43076 char * kwnames
[] = {
43077 (char *) "generator",(char *) "id",(char *) "col", NULL
43080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43082 if (!SWIG_IsOK(res1
)) {
43083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43085 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43086 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43087 if (!SWIG_IsOK(ecode2
)) {
43088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43090 arg2
= static_cast< int >(val2
);
43093 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43097 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43098 wxPyEndAllowThreads(__tstate
);
43099 if (PyErr_Occurred()) SWIG_fail
;
43101 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43108 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43109 PyObject
*resultobj
= 0;
43110 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43114 PyObject
*swig_obj
[1] ;
43116 if (!args
) SWIG_fail
;
43117 swig_obj
[0] = args
;
43118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43119 if (!SWIG_IsOK(res1
)) {
43120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43122 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43125 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43126 wxPyEndAllowThreads(__tstate
);
43127 if (PyErr_Occurred()) SWIG_fail
;
43129 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43136 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43137 PyObject
*resultobj
= 0;
43138 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43139 wxColour
*arg2
= 0 ;
43143 PyObject
* obj0
= 0 ;
43144 PyObject
* obj1
= 0 ;
43145 char * kwnames
[] = {
43146 (char *) "self",(char *) "c", NULL
43149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43151 if (!SWIG_IsOK(res1
)) {
43152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43154 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43157 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43161 (arg1
)->SetColour((wxColour
const &)*arg2
);
43162 wxPyEndAllowThreads(__tstate
);
43163 if (PyErr_Occurred()) SWIG_fail
;
43165 resultobj
= SWIG_Py_Void();
43172 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43174 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43175 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43176 return SWIG_Py_Void();
43179 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43180 return SWIG_Python_InitShadowInstance(args
);
43183 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43184 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43189 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43190 PyObject
*pyobj
= 0;
43194 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43196 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43203 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43204 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43209 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43210 PyObject
*pyobj
= 0;
43214 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43216 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43223 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43224 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43229 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43230 PyObject
*pyobj
= 0;
43234 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43236 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43243 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43244 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43249 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43250 PyObject
*pyobj
= 0;
43254 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43256 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43263 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43264 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43269 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43270 PyObject
*pyobj
= 0;
43274 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43276 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43283 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43284 PyObject
*resultobj
= 0;
43285 wxWindow
*arg1
= (wxWindow
*) 0 ;
43286 int arg2
= (int) -1 ;
43287 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43288 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43289 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43290 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43291 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43292 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43293 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43294 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43295 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43296 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43297 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43298 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43299 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43300 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43301 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43302 wxFilePickerCtrl
*result
= 0 ;
43307 bool temp3
= false ;
43308 bool temp4
= false ;
43309 bool temp5
= false ;
43316 bool temp10
= false ;
43317 PyObject
* obj0
= 0 ;
43318 PyObject
* obj1
= 0 ;
43319 PyObject
* obj2
= 0 ;
43320 PyObject
* obj3
= 0 ;
43321 PyObject
* obj4
= 0 ;
43322 PyObject
* obj5
= 0 ;
43323 PyObject
* obj6
= 0 ;
43324 PyObject
* obj7
= 0 ;
43325 PyObject
* obj8
= 0 ;
43326 PyObject
* obj9
= 0 ;
43327 char * kwnames
[] = {
43328 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43333 if (!SWIG_IsOK(res1
)) {
43334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43336 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43339 if (!SWIG_IsOK(ecode2
)) {
43340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43342 arg2
= static_cast< int >(val2
);
43346 arg3
= wxString_in_helper(obj2
);
43347 if (arg3
== NULL
) SWIG_fail
;
43353 arg4
= wxString_in_helper(obj3
);
43354 if (arg4
== NULL
) SWIG_fail
;
43360 arg5
= wxString_in_helper(obj4
);
43361 if (arg5
== NULL
) SWIG_fail
;
43368 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43374 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43378 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43379 if (!SWIG_IsOK(ecode8
)) {
43380 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43382 arg8
= static_cast< long >(val8
);
43385 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43386 if (!SWIG_IsOK(res9
)) {
43387 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43390 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43392 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43396 arg10
= wxString_in_helper(obj9
);
43397 if (arg10
== NULL
) SWIG_fail
;
43402 if (!wxPyCheckForApp()) SWIG_fail
;
43403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43404 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
);
43405 wxPyEndAllowThreads(__tstate
);
43406 if (PyErr_Occurred()) SWIG_fail
;
43408 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
43447 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43448 PyObject
*resultobj
= 0;
43449 wxFilePickerCtrl
*result
= 0 ;
43451 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
43453 if (!wxPyCheckForApp()) SWIG_fail
;
43454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43455 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
43456 wxPyEndAllowThreads(__tstate
);
43457 if (PyErr_Occurred()) SWIG_fail
;
43459 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
43466 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43467 PyObject
*resultobj
= 0;
43468 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43469 wxWindow
*arg2
= (wxWindow
*) 0 ;
43470 int arg3
= (int) -1 ;
43471 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43472 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43473 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
43474 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43475 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43476 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
43477 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
43478 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
43479 wxSize
const &arg8_defvalue
= wxDefaultSize
;
43480 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
43481 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
43482 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
43483 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
43484 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
43485 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
43493 bool temp4
= false ;
43494 bool temp5
= false ;
43495 bool temp6
= false ;
43502 bool temp11
= false ;
43503 PyObject
* obj0
= 0 ;
43504 PyObject
* obj1
= 0 ;
43505 PyObject
* obj2
= 0 ;
43506 PyObject
* obj3
= 0 ;
43507 PyObject
* obj4
= 0 ;
43508 PyObject
* obj5
= 0 ;
43509 PyObject
* obj6
= 0 ;
43510 PyObject
* obj7
= 0 ;
43511 PyObject
* obj8
= 0 ;
43512 PyObject
* obj9
= 0 ;
43513 PyObject
* obj10
= 0 ;
43514 char * kwnames
[] = {
43515 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
43519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43520 if (!SWIG_IsOK(res1
)) {
43521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43523 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43524 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43525 if (!SWIG_IsOK(res2
)) {
43526 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43528 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43530 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43531 if (!SWIG_IsOK(ecode3
)) {
43532 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43534 arg3
= static_cast< int >(val3
);
43538 arg4
= wxString_in_helper(obj3
);
43539 if (arg4
== NULL
) SWIG_fail
;
43545 arg5
= wxString_in_helper(obj4
);
43546 if (arg5
== NULL
) SWIG_fail
;
43552 arg6
= wxString_in_helper(obj5
);
43553 if (arg6
== NULL
) SWIG_fail
;
43560 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
43566 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
43570 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
43571 if (!SWIG_IsOK(ecode9
)) {
43572 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
43574 arg9
= static_cast< long >(val9
);
43577 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
43578 if (!SWIG_IsOK(res10
)) {
43579 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43584 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
43588 arg11
= wxString_in_helper(obj10
);
43589 if (arg11
== NULL
) SWIG_fail
;
43594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43595 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
);
43596 wxPyEndAllowThreads(__tstate
);
43597 if (PyErr_Occurred()) SWIG_fail
;
43600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43640 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43641 PyObject
*resultobj
= 0;
43642 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43646 PyObject
*swig_obj
[1] ;
43648 if (!args
) SWIG_fail
;
43649 swig_obj
[0] = args
;
43650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43651 if (!SWIG_IsOK(res1
)) {
43652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43654 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43657 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
43658 wxPyEndAllowThreads(__tstate
);
43659 if (PyErr_Occurred()) SWIG_fail
;
43663 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43665 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43674 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43675 PyObject
*resultobj
= 0;
43676 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43677 wxString
*arg2
= 0 ;
43680 bool temp2
= false ;
43681 PyObject
* obj0
= 0 ;
43682 PyObject
* obj1
= 0 ;
43683 char * kwnames
[] = {
43684 (char *) "self",(char *) "str", NULL
43687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43689 if (!SWIG_IsOK(res1
)) {
43690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43692 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43694 arg2
= wxString_in_helper(obj1
);
43695 if (arg2
== NULL
) SWIG_fail
;
43699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43700 (arg1
)->SetPath((wxString
const &)*arg2
);
43701 wxPyEndAllowThreads(__tstate
);
43702 if (PyErr_Occurred()) SWIG_fail
;
43704 resultobj
= SWIG_Py_Void();
43719 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43720 PyObject
*resultobj
= 0;
43721 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43722 wxString
*arg2
= 0 ;
43726 bool temp2
= false ;
43727 PyObject
* obj0
= 0 ;
43728 PyObject
* obj1
= 0 ;
43729 char * kwnames
[] = {
43730 (char *) "self",(char *) "path", NULL
43733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43735 if (!SWIG_IsOK(res1
)) {
43736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43738 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43740 arg2
= wxString_in_helper(obj1
);
43741 if (arg2
== NULL
) SWIG_fail
;
43745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43746 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
43747 wxPyEndAllowThreads(__tstate
);
43748 if (PyErr_Occurred()) SWIG_fail
;
43751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43767 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43768 PyObject
*resultobj
= 0;
43769 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43773 PyObject
*swig_obj
[1] ;
43775 if (!args
) SWIG_fail
;
43776 swig_obj
[0] = args
;
43777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43778 if (!SWIG_IsOK(res1
)) {
43779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43781 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43784 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
43785 wxPyEndAllowThreads(__tstate
);
43786 if (PyErr_Occurred()) SWIG_fail
;
43790 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43792 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43801 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43803 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43804 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
43805 return SWIG_Py_Void();
43808 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43809 return SWIG_Python_InitShadowInstance(args
);
43812 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43813 PyObject
*resultobj
= 0;
43814 wxWindow
*arg1
= (wxWindow
*) 0 ;
43815 int arg2
= (int) -1 ;
43816 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43817 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43818 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
43819 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43820 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43821 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43822 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43823 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43824 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
43825 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43826 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43827 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
43828 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43829 wxDirPickerCtrl
*result
= 0 ;
43834 bool temp3
= false ;
43835 bool temp4
= false ;
43842 bool temp9
= false ;
43843 PyObject
* obj0
= 0 ;
43844 PyObject
* obj1
= 0 ;
43845 PyObject
* obj2
= 0 ;
43846 PyObject
* obj3
= 0 ;
43847 PyObject
* obj4
= 0 ;
43848 PyObject
* obj5
= 0 ;
43849 PyObject
* obj6
= 0 ;
43850 PyObject
* obj7
= 0 ;
43851 PyObject
* obj8
= 0 ;
43852 char * kwnames
[] = {
43853 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43858 if (!SWIG_IsOK(res1
)) {
43859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43861 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43864 if (!SWIG_IsOK(ecode2
)) {
43865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43867 arg2
= static_cast< int >(val2
);
43871 arg3
= wxString_in_helper(obj2
);
43872 if (arg3
== NULL
) SWIG_fail
;
43878 arg4
= wxString_in_helper(obj3
);
43879 if (arg4
== NULL
) SWIG_fail
;
43886 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43892 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43896 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43897 if (!SWIG_IsOK(ecode7
)) {
43898 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
43900 arg7
= static_cast< long >(val7
);
43903 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43904 if (!SWIG_IsOK(res8
)) {
43905 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
43908 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
43910 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43914 arg9
= wxString_in_helper(obj8
);
43915 if (arg9
== NULL
) SWIG_fail
;
43920 if (!wxPyCheckForApp()) SWIG_fail
;
43921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43922 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
);
43923 wxPyEndAllowThreads(__tstate
);
43924 if (PyErr_Occurred()) SWIG_fail
;
43926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43957 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43958 PyObject
*resultobj
= 0;
43959 wxDirPickerCtrl
*result
= 0 ;
43961 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
43963 if (!wxPyCheckForApp()) SWIG_fail
;
43964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43965 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
43966 wxPyEndAllowThreads(__tstate
);
43967 if (PyErr_Occurred()) SWIG_fail
;
43969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43976 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43977 PyObject
*resultobj
= 0;
43978 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
43979 wxWindow
*arg2
= (wxWindow
*) 0 ;
43980 int arg3
= (int) -1 ;
43981 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43982 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43983 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
43984 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43985 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43986 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43987 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43988 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43989 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
43990 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43991 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43992 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
43993 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44001 bool temp4
= false ;
44002 bool temp5
= false ;
44009 bool temp10
= false ;
44010 PyObject
* obj0
= 0 ;
44011 PyObject
* obj1
= 0 ;
44012 PyObject
* obj2
= 0 ;
44013 PyObject
* obj3
= 0 ;
44014 PyObject
* obj4
= 0 ;
44015 PyObject
* obj5
= 0 ;
44016 PyObject
* obj6
= 0 ;
44017 PyObject
* obj7
= 0 ;
44018 PyObject
* obj8
= 0 ;
44019 PyObject
* obj9
= 0 ;
44020 char * kwnames
[] = {
44021 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44026 if (!SWIG_IsOK(res1
)) {
44027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44029 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44030 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44031 if (!SWIG_IsOK(res2
)) {
44032 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44034 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44036 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44037 if (!SWIG_IsOK(ecode3
)) {
44038 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44040 arg3
= static_cast< int >(val3
);
44044 arg4
= wxString_in_helper(obj3
);
44045 if (arg4
== NULL
) SWIG_fail
;
44051 arg5
= wxString_in_helper(obj4
);
44052 if (arg5
== NULL
) SWIG_fail
;
44059 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44065 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44069 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44070 if (!SWIG_IsOK(ecode8
)) {
44071 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44073 arg8
= static_cast< long >(val8
);
44076 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44077 if (!SWIG_IsOK(res9
)) {
44078 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44081 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44083 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44087 arg10
= wxString_in_helper(obj9
);
44088 if (arg10
== NULL
) SWIG_fail
;
44093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44094 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
);
44095 wxPyEndAllowThreads(__tstate
);
44096 if (PyErr_Occurred()) SWIG_fail
;
44099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44131 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44132 PyObject
*resultobj
= 0;
44133 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44137 PyObject
*swig_obj
[1] ;
44139 if (!args
) SWIG_fail
;
44140 swig_obj
[0] = args
;
44141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44142 if (!SWIG_IsOK(res1
)) {
44143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44145 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44148 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44149 wxPyEndAllowThreads(__tstate
);
44150 if (PyErr_Occurred()) SWIG_fail
;
44154 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44156 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44165 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44166 PyObject
*resultobj
= 0;
44167 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44168 wxString
*arg2
= 0 ;
44171 bool temp2
= false ;
44172 PyObject
* obj0
= 0 ;
44173 PyObject
* obj1
= 0 ;
44174 char * kwnames
[] = {
44175 (char *) "self",(char *) "str", NULL
44178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44180 if (!SWIG_IsOK(res1
)) {
44181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44183 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44185 arg2
= wxString_in_helper(obj1
);
44186 if (arg2
== NULL
) SWIG_fail
;
44190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44191 (arg1
)->SetPath((wxString
const &)*arg2
);
44192 wxPyEndAllowThreads(__tstate
);
44193 if (PyErr_Occurred()) SWIG_fail
;
44195 resultobj
= SWIG_Py_Void();
44210 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44211 PyObject
*resultobj
= 0;
44212 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44213 wxString
*arg2
= 0 ;
44217 bool temp2
= false ;
44218 PyObject
* obj0
= 0 ;
44219 PyObject
* obj1
= 0 ;
44220 char * kwnames
[] = {
44221 (char *) "self",(char *) "path", NULL
44224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44226 if (!SWIG_IsOK(res1
)) {
44227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44229 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44231 arg2
= wxString_in_helper(obj1
);
44232 if (arg2
== NULL
) SWIG_fail
;
44236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44237 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44238 wxPyEndAllowThreads(__tstate
);
44239 if (PyErr_Occurred()) SWIG_fail
;
44242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44258 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44259 PyObject
*resultobj
= 0;
44260 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44264 PyObject
*swig_obj
[1] ;
44266 if (!args
) SWIG_fail
;
44267 swig_obj
[0] = args
;
44268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44269 if (!SWIG_IsOK(res1
)) {
44270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44272 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44275 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44276 wxPyEndAllowThreads(__tstate
);
44277 if (PyErr_Occurred()) SWIG_fail
;
44281 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44283 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44292 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44294 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44295 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44296 return SWIG_Py_Void();
44299 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44300 return SWIG_Python_InitShadowInstance(args
);
44303 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44304 PyObject
*resultobj
= 0;
44306 wxObject
*arg2
= (wxObject
*) 0 ;
44308 wxString
*arg4
= 0 ;
44309 wxFileDirPickerEvent
*result
= 0 ;
44316 bool temp4
= false ;
44317 PyObject
* obj0
= 0 ;
44318 PyObject
* obj1
= 0 ;
44319 PyObject
* obj2
= 0 ;
44320 PyObject
* obj3
= 0 ;
44321 char * kwnames
[] = {
44322 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44326 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44327 if (!SWIG_IsOK(ecode1
)) {
44328 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44330 arg1
= static_cast< wxEventType
>(val1
);
44331 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44332 if (!SWIG_IsOK(res2
)) {
44333 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44335 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44336 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44337 if (!SWIG_IsOK(ecode3
)) {
44338 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44340 arg3
= static_cast< int >(val3
);
44342 arg4
= wxString_in_helper(obj3
);
44343 if (arg4
== NULL
) SWIG_fail
;
44347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44348 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44349 wxPyEndAllowThreads(__tstate
);
44350 if (PyErr_Occurred()) SWIG_fail
;
44352 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
44367 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44368 PyObject
*resultobj
= 0;
44369 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44373 PyObject
*swig_obj
[1] ;
44375 if (!args
) SWIG_fail
;
44376 swig_obj
[0] = args
;
44377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44378 if (!SWIG_IsOK(res1
)) {
44379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44381 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44384 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
44385 wxPyEndAllowThreads(__tstate
);
44386 if (PyErr_Occurred()) SWIG_fail
;
44390 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44392 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44401 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44402 PyObject
*resultobj
= 0;
44403 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44404 wxString
*arg2
= 0 ;
44407 bool temp2
= false ;
44408 PyObject
* obj0
= 0 ;
44409 PyObject
* obj1
= 0 ;
44410 char * kwnames
[] = {
44411 (char *) "self",(char *) "p", NULL
44414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44416 if (!SWIG_IsOK(res1
)) {
44417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44419 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44421 arg2
= wxString_in_helper(obj1
);
44422 if (arg2
== NULL
) SWIG_fail
;
44426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44427 (arg1
)->SetPath((wxString
const &)*arg2
);
44428 wxPyEndAllowThreads(__tstate
);
44429 if (PyErr_Occurred()) SWIG_fail
;
44431 resultobj
= SWIG_Py_Void();
44446 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44448 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44449 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
44450 return SWIG_Py_Void();
44453 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44454 return SWIG_Python_InitShadowInstance(args
);
44457 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
44458 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
44463 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
44464 PyObject
*pyobj
= 0;
44468 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44470 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44477 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44478 PyObject
*resultobj
= 0;
44479 wxWindow
*arg1
= (wxWindow
*) 0 ;
44480 int arg2
= (int) -1 ;
44481 wxFont
const &arg3_defvalue
= *wxNORMAL_FONT
;
44482 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
44483 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
44484 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
44485 wxSize
const &arg5_defvalue
= wxDefaultSize
;
44486 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
44487 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
44488 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
44489 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
44490 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
44491 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
44492 wxFontPickerCtrl
*result
= 0 ;
44505 bool temp8
= false ;
44506 PyObject
* obj0
= 0 ;
44507 PyObject
* obj1
= 0 ;
44508 PyObject
* obj2
= 0 ;
44509 PyObject
* obj3
= 0 ;
44510 PyObject
* obj4
= 0 ;
44511 PyObject
* obj5
= 0 ;
44512 PyObject
* obj6
= 0 ;
44513 PyObject
* obj7
= 0 ;
44514 char * kwnames
[] = {
44515 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
44519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44520 if (!SWIG_IsOK(res1
)) {
44521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44523 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44525 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44526 if (!SWIG_IsOK(ecode2
)) {
44527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44529 arg2
= static_cast< int >(val2
);
44532 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44533 if (!SWIG_IsOK(res3
)) {
44534 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44537 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44539 arg3
= reinterpret_cast< wxFont
* >(argp3
);
44544 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
44550 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
44554 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
44555 if (!SWIG_IsOK(ecode6
)) {
44556 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
44558 arg6
= static_cast< long >(val6
);
44561 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
44562 if (!SWIG_IsOK(res7
)) {
44563 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44566 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44568 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
44572 arg8
= wxString_in_helper(obj7
);
44573 if (arg8
== NULL
) SWIG_fail
;
44578 if (!wxPyCheckForApp()) SWIG_fail
;
44579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44580 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
44581 wxPyEndAllowThreads(__tstate
);
44582 if (PyErr_Occurred()) SWIG_fail
;
44584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44599 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44600 PyObject
*resultobj
= 0;
44601 wxFontPickerCtrl
*result
= 0 ;
44603 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
44605 if (!wxPyCheckForApp()) SWIG_fail
;
44606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44607 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
44608 wxPyEndAllowThreads(__tstate
);
44609 if (PyErr_Occurred()) SWIG_fail
;
44611 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44618 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44619 PyObject
*resultobj
= 0;
44620 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44621 wxWindow
*arg2
= (wxWindow
*) 0 ;
44622 int arg3
= (int) -1 ;
44623 wxFont
const &arg4_defvalue
= *wxNORMAL_FONT
;
44624 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
44625 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44626 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44627 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44628 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44629 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
44630 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44631 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44632 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
44633 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44649 bool temp9
= false ;
44650 PyObject
* obj0
= 0 ;
44651 PyObject
* obj1
= 0 ;
44652 PyObject
* obj2
= 0 ;
44653 PyObject
* obj3
= 0 ;
44654 PyObject
* obj4
= 0 ;
44655 PyObject
* obj5
= 0 ;
44656 PyObject
* obj6
= 0 ;
44657 PyObject
* obj7
= 0 ;
44658 PyObject
* obj8
= 0 ;
44659 char * kwnames
[] = {
44660 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44665 if (!SWIG_IsOK(res1
)) {
44666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44668 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44669 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44670 if (!SWIG_IsOK(res2
)) {
44671 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44673 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44675 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44676 if (!SWIG_IsOK(ecode3
)) {
44677 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44679 arg3
= static_cast< int >(val3
);
44682 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
44683 if (!SWIG_IsOK(res4
)) {
44684 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44689 arg4
= reinterpret_cast< wxFont
* >(argp4
);
44694 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44700 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44704 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44705 if (!SWIG_IsOK(ecode7
)) {
44706 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
44708 arg7
= static_cast< long >(val7
);
44711 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44712 if (!SWIG_IsOK(res8
)) {
44713 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
44716 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
44718 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44722 arg9
= wxString_in_helper(obj8
);
44723 if (arg9
== NULL
) SWIG_fail
;
44728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44729 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
44730 wxPyEndAllowThreads(__tstate
);
44731 if (PyErr_Occurred()) SWIG_fail
;
44734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44750 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44751 PyObject
*resultobj
= 0;
44752 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44756 PyObject
*swig_obj
[1] ;
44758 if (!args
) SWIG_fail
;
44759 swig_obj
[0] = args
;
44760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44761 if (!SWIG_IsOK(res1
)) {
44762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
44764 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44767 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
44768 wxPyEndAllowThreads(__tstate
);
44769 if (PyErr_Occurred()) SWIG_fail
;
44771 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
44778 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44779 PyObject
*resultobj
= 0;
44780 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44786 PyObject
* obj0
= 0 ;
44787 PyObject
* obj1
= 0 ;
44788 char * kwnames
[] = {
44789 (char *) "self",(char *) "f", NULL
44792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44794 if (!SWIG_IsOK(res1
)) {
44795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44797 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44798 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
44799 if (!SWIG_IsOK(res2
)) {
44800 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44803 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44805 arg2
= reinterpret_cast< wxFont
* >(argp2
);
44807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44808 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
44809 wxPyEndAllowThreads(__tstate
);
44810 if (PyErr_Occurred()) SWIG_fail
;
44812 resultobj
= SWIG_Py_Void();
44819 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44820 PyObject
*resultobj
= 0;
44821 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44822 unsigned int arg2
;
44825 unsigned int val2
;
44827 PyObject
* obj0
= 0 ;
44828 PyObject
* obj1
= 0 ;
44829 char * kwnames
[] = {
44830 (char *) "self",(char *) "max", NULL
44833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44835 if (!SWIG_IsOK(res1
)) {
44836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44838 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44839 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44840 if (!SWIG_IsOK(ecode2
)) {
44841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
44843 arg2
= static_cast< unsigned int >(val2
);
44845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44846 (arg1
)->SetMaxPointSize(arg2
);
44847 wxPyEndAllowThreads(__tstate
);
44848 if (PyErr_Occurred()) SWIG_fail
;
44850 resultobj
= SWIG_Py_Void();
44857 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44858 PyObject
*resultobj
= 0;
44859 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44860 unsigned int result
;
44863 PyObject
*swig_obj
[1] ;
44865 if (!args
) SWIG_fail
;
44866 swig_obj
[0] = args
;
44867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44868 if (!SWIG_IsOK(res1
)) {
44869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
44871 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44874 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
44875 wxPyEndAllowThreads(__tstate
);
44876 if (PyErr_Occurred()) SWIG_fail
;
44878 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
44885 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44887 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44888 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
44889 return SWIG_Py_Void();
44892 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44893 return SWIG_Python_InitShadowInstance(args
);
44896 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44897 PyObject
*resultobj
= 0;
44898 wxObject
*arg1
= (wxObject
*) 0 ;
44901 wxFontPickerEvent
*result
= 0 ;
44908 PyObject
* obj0
= 0 ;
44909 PyObject
* obj1
= 0 ;
44910 PyObject
* obj2
= 0 ;
44911 char * kwnames
[] = {
44912 (char *) "generator",(char *) "id",(char *) "f", NULL
44915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
44917 if (!SWIG_IsOK(res1
)) {
44918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
44920 arg1
= reinterpret_cast< wxObject
* >(argp1
);
44921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44922 if (!SWIG_IsOK(ecode2
)) {
44923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
44925 arg2
= static_cast< int >(val2
);
44926 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44927 if (!SWIG_IsOK(res3
)) {
44928 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
44931 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
44933 arg3
= reinterpret_cast< wxFont
* >(argp3
);
44935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44936 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
44937 wxPyEndAllowThreads(__tstate
);
44938 if (PyErr_Occurred()) SWIG_fail
;
44940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
44947 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44948 PyObject
*resultobj
= 0;
44949 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
44953 PyObject
*swig_obj
[1] ;
44955 if (!args
) SWIG_fail
;
44956 swig_obj
[0] = args
;
44957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
44958 if (!SWIG_IsOK(res1
)) {
44959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
44961 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
44963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44964 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
44965 wxPyEndAllowThreads(__tstate
);
44966 if (PyErr_Occurred()) SWIG_fail
;
44968 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
44975 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44976 PyObject
*resultobj
= 0;
44977 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
44983 PyObject
* obj0
= 0 ;
44984 PyObject
* obj1
= 0 ;
44985 char * kwnames
[] = {
44986 (char *) "self",(char *) "c", NULL
44989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
44991 if (!SWIG_IsOK(res1
)) {
44992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
44994 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
44995 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
44996 if (!SWIG_IsOK(res2
)) {
44997 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45000 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45002 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45005 (arg1
)->SetFont((wxFont
const &)*arg2
);
45006 wxPyEndAllowThreads(__tstate
);
45007 if (PyErr_Occurred()) SWIG_fail
;
45009 resultobj
= SWIG_Py_Void();
45016 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45018 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45019 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45020 return SWIG_Py_Void();
45023 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45024 return SWIG_Python_InitShadowInstance(args
);
45027 static PyMethodDef SwigMethods
[] = {
45028 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45029 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
45030 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45031 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
45032 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
45033 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45034 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
45035 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
45036 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45037 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
45038 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45039 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
45040 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
45041 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
45042 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
45043 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
45044 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45045 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45046 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45047 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45048 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45049 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45050 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
45051 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
45052 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
45053 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
45054 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45055 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
45056 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45057 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
45058 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
45059 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45060 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
45061 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45062 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
45063 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
45064 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45065 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
45066 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
45067 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45068 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
45069 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45070 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
45071 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45072 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
45073 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
45074 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45075 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
45076 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45077 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
45078 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45079 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
45080 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
45081 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
45082 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45083 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
45084 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
45085 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45086 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45087 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
45088 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45089 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45090 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45091 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
45092 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45093 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
45094 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
45095 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
45096 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
45097 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
45098 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
45099 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
45100 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
45101 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
45102 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45103 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
45104 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
45105 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45106 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
45107 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45108 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45109 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
45110 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45111 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
45112 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
45113 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45114 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
45115 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45116 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
45117 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45118 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
45119 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
45120 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45121 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
45122 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45123 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45124 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
45125 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
45126 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45127 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
45128 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45129 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
45130 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
45131 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45132 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
45133 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
45134 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45135 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
45136 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45137 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45138 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45139 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
45140 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
45141 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45142 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
45143 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45144 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
45145 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45146 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45147 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45148 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
45149 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
45150 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45151 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
45152 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45153 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45154 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45155 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45156 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45157 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45158 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45159 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45160 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45161 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45162 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
45163 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45164 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45165 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45166 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45167 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
45168 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45169 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45170 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45171 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45172 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45173 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
45174 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
45175 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45176 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
45177 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45178 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45179 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45180 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
45181 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
45182 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45183 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
45184 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
45185 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45186 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45187 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45188 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45189 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45190 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45191 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45192 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45193 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45194 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
45195 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
45196 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
45197 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
45198 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
45199 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
45200 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
45201 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45202 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
45203 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
45204 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
45205 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
45206 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
45207 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
45208 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
45209 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
45210 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
45211 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
45212 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45213 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
45214 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
45215 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45216 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
45217 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45218 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
45219 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45220 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45221 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45222 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45223 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
45224 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
45225 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
45226 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
45227 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
45228 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
45229 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
45230 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
45231 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45232 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45233 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45234 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45235 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
45236 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
45237 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45238 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45239 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45240 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45241 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45242 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45243 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45244 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45245 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
45246 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45247 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45248 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45249 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45250 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45251 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
45252 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
45253 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
45254 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
45255 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
45256 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
45257 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
45258 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
45259 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
45260 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
45261 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45262 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
45263 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
45264 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
45265 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45266 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
45267 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45268 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45269 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45270 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45271 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
45272 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
45273 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45274 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
45275 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
45276 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
45277 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
45278 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
45279 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45280 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
45281 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45282 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
45283 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
45284 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
45285 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
45286 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
45287 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45288 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45289 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
45290 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
45291 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45292 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
45293 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45294 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
45295 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
45296 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
45297 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45298 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45299 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45300 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45301 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
45302 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45303 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
45304 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
45305 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45306 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
45307 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45308 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
45309 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45310 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45311 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45312 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
45313 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
45314 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45315 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45316 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
45317 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
45318 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45319 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
45320 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45321 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
45322 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
45323 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45324 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
45325 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45326 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45327 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
45328 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
45329 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45330 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
45331 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45332 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45333 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45334 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45335 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45336 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45337 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45338 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
45339 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
45340 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45341 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45342 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45343 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45344 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45345 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45346 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
45347 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
45348 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45349 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
45350 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45351 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
45352 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45353 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45354 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
45355 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
45356 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45357 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
45358 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45359 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
45360 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
45363 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
45364 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45365 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45368 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
45369 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
45370 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45371 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
45372 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45373 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
45374 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
45375 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45376 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
45377 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
45378 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
45379 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45380 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45381 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
45382 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
45383 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
45385 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45386 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45387 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
45388 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45389 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
45390 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
45391 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
45392 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
45394 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
45395 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45396 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45397 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45398 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45399 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
45400 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45401 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45402 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45404 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
45405 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45406 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
45407 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45408 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
45409 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
45411 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
45412 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45413 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45414 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
45415 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45417 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45419 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45421 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
45422 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45423 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
45424 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45425 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
45426 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45427 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
45428 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
45429 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45430 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
45431 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
45433 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45434 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
45436 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45437 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
45438 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
45439 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
45441 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
45442 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
45444 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
45446 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
45447 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
45448 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
45450 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
45451 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
45453 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
45455 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
45456 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
45457 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
45459 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
45460 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
45462 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45467 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45469 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
45470 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
45471 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
45472 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
45474 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
45475 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45476 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
45477 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
45479 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
45480 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
45481 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
45482 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45483 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
45484 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
45485 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
45486 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
45487 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
45488 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
45489 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
45490 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
45491 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
45492 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
45493 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
45494 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
45495 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
45496 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
45497 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
45498 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
45499 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
45500 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
45501 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
45502 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45503 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
45504 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45508 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
45511 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
45513 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
45515 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45517 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
45523 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
45528 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
45529 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
45546 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
45547 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
45548 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
45549 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45551 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
45552 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
45553 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
45555 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
45556 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45558 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
45559 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
45560 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
45561 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
45563 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45564 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45565 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
45566 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
45567 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45568 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
45569 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45570 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45571 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
45573 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
45574 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
45575 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
45576 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
45577 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
45578 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45579 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
45580 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
45581 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
45582 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
45583 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
45584 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
45585 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
45586 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45588 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45592 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45595 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45596 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45599 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
45600 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
45601 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
45602 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
45603 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
45604 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
45605 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
45606 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
45607 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
45608 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
45609 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
45610 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
45611 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
45612 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
45613 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
45614 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
45615 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
45616 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
45617 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
45618 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
45619 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
45620 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
45621 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
45622 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
45623 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
45624 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
45625 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
45626 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
45627 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
45628 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
45629 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
45630 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
45631 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
45632 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
45633 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
45634 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
45635 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45636 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
45637 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
45638 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
45639 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
45640 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
45641 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
45642 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
45643 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
45644 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
45645 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
45646 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
45647 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
45648 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
45649 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
45650 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
45651 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
45652 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
45653 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
45654 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
45655 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
45656 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
45657 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
45658 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
45659 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
45660 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45661 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
45662 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
45663 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45664 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
45665 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45666 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45667 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45668 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45669 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45670 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45671 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
45672 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
45673 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
45674 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45675 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45676 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45677 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45678 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45680 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45682 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45684 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45685 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45688 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
45689 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
45690 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
45691 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45692 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
45693 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
45694 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45695 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
45696 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45697 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45698 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45699 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45700 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45701 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
45702 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
45703 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45704 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45705 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45706 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45707 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
45708 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45709 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
45710 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
45711 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45714 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45715 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45717 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45718 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45719 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45720 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45721 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45722 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45724 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45725 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45726 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45727 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45729 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45731 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45732 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
45734 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
45736 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
45737 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
45739 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45740 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45741 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
45743 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45744 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
45745 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45746 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45747 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45748 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
45749 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
45750 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
45751 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
45752 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
45753 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45755 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
45756 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
45757 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
45758 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
45759 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45760 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
45761 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
45762 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45763 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
45764 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45765 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
45766 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
45767 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
45768 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
45769 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
45770 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45771 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
45772 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
45774 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
45776 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
45777 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45778 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
45779 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45780 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
45781 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
45784 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
45785 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
45786 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
45788 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
45791 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
45792 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45793 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
45794 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45795 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
45796 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
45797 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45800 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45801 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45803 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45805 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45807 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45808 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45810 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45812 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45817 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45822 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45824 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
45825 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
45826 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
45827 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45828 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45829 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45830 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45832 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45833 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
45834 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45835 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45836 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45837 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45838 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45839 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45840 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45841 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45842 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45843 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
45844 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45845 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45846 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
45847 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45848 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45849 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
45851 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45852 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
45853 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45854 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45855 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45856 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45857 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45858 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
45859 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45860 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45861 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45862 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45863 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45864 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
45865 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
45866 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
45867 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45868 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
45869 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45870 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45871 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45872 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
45873 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45874 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
45875 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
45876 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45877 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45878 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
45879 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
45880 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45881 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
45882 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45883 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
45884 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
45885 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
45886 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45887 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
45888 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
45889 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
45890 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
45891 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45892 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
45893 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45894 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45895 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
45896 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
45897 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45898 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
45899 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45900 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45901 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45903 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45906 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
45907 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
45908 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
45909 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
45910 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
45911 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
45912 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
45913 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
45914 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
45915 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45916 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
45917 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45918 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
45919 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45920 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
45921 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45922 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
45923 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45924 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
45925 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
45926 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45927 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
45928 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45929 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
45930 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
45931 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
45932 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45933 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
45934 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
45935 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
45936 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
45938 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45940 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45941 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
45945 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
45946 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
45947 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
45948 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
45949 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45951 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45954 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
45955 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45957 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45958 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
45959 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
45961 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
45962 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45963 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
45967 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
45968 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
45970 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45971 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45972 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
45973 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
45975 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
45976 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
45977 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
45978 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45979 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
45980 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45981 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
45982 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
45984 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
45986 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
45988 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45990 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
45991 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
45992 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
45993 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45994 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
45995 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
45997 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
45998 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
46001 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
46003 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
46004 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46005 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
46006 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46007 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
46008 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
46009 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
46010 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
46011 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
46013 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46014 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
46015 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46017 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46018 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
46020 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46022 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46023 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46024 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
46025 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
46027 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46029 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46030 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46031 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46032 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
46034 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
46036 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46039 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46040 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46041 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
46043 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46045 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46046 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
46048 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
46050 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
46053 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46054 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46055 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
46057 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46058 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46059 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46060 { NULL
, NULL
, 0, NULL
}
46064 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46066 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46067 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46069 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46070 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46072 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46073 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46075 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46076 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46078 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46079 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46081 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
46082 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46084 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
46085 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46087 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46088 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46090 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
46091 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
46093 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
46094 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
46096 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
46097 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
46099 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46100 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46102 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46103 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46105 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
46106 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
46108 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46109 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46111 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46112 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46114 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
46115 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
46117 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
46118 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46120 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
46121 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46123 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
46124 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46126 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
46127 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46129 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
46130 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46132 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
46133 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
46135 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46136 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46138 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46139 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46141 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46142 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46144 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46145 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46147 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46148 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46150 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46151 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46153 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46154 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46156 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46157 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46159 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46160 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46162 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
46163 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
46165 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46166 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46168 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46169 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46171 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46172 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46174 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46175 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46177 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46178 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46180 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46181 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46183 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46184 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46186 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
46187 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
46189 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46190 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46192 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46193 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46195 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46196 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46198 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46199 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46201 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46202 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46204 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46205 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46207 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46208 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46210 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46211 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46213 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46214 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46216 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46217 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46219 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
46220 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46222 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
46223 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46225 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
46226 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46228 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
46229 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46231 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
46232 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46234 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
46235 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
46237 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
46238 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46240 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
46241 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
46243 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46244 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46246 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
46247 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
46249 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
46250 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46252 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
46253 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
46255 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
46256 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
46258 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
46259 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
46261 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
46262 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
46264 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
46265 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
46267 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
46268 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
46270 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
46271 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
46273 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
46274 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
46276 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
46277 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46279 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
46280 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
46282 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
46283 return (void *)((wxControl
*) ((wxComboBox
*) x
));
46285 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
46286 return (void *)((wxControl
*) ((wxPyControl
*) x
));
46288 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
46289 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
46291 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
46292 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
46294 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46295 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46297 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
46298 return (void *)((wxControl
*) ((wxGauge
*) x
));
46300 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
46301 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
46303 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
46304 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46306 static void *_p_wxListbookTo_p_wxControl(void *x
) {
46307 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
46309 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
46310 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
46312 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
46313 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
46315 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
46316 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
46318 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
46319 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
46321 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
46322 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
46324 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
46325 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
46327 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
46328 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46330 static void *_p_wxListViewTo_p_wxControl(void *x
) {
46331 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
46333 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
46334 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
46336 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
46337 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
46339 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
46340 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
46342 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
46343 return (void *)((wxControl
*) ((wxStaticText
*) x
));
46345 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
46346 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
46348 static void *_p_wxSliderTo_p_wxControl(void *x
) {
46349 return (void *)((wxControl
*) ((wxSlider
*) x
));
46351 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
46352 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
46354 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
46355 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
46357 static void *_p_wxButtonTo_p_wxControl(void *x
) {
46358 return (void *)((wxControl
*) ((wxButton
*) x
));
46360 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
46361 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
46363 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
46364 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46366 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
46367 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
46369 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
46370 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46372 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
46373 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46375 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
46376 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46378 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
46379 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46381 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
46382 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
46384 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
46385 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
46387 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
46388 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46390 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
46391 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46393 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
46394 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46396 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
46397 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
46399 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
46400 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46402 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
46403 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46405 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
46406 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46408 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
46409 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46411 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
46412 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46414 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
46415 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46417 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
46418 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46420 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
46421 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
46423 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
46424 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
46426 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
46427 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
46429 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
46430 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
46432 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46433 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46435 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
46436 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
46438 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46439 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46441 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46442 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46444 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
46445 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
46447 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
46448 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
46450 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46451 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46453 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
46454 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
46456 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
46457 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
46459 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
46460 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
46462 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46463 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46465 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46466 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46468 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
46469 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
46471 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
46472 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
46474 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
46475 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
46477 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
46478 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46480 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
46481 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
46483 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46484 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46486 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
46487 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
46489 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
46490 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
46492 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46493 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46495 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
46496 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
46498 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
46499 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
46501 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
46502 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46504 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
46505 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
46507 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
46508 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
46510 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
46511 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
46513 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
46514 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
46516 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
46517 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
46519 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
46520 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46522 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
46523 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
46525 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
46526 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
46528 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
46529 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
46531 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
46532 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
46534 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
46535 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
46537 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
46538 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
46540 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
46541 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
46543 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
46544 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
46546 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
46547 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
46549 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
46550 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
46552 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
46553 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
46555 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
46556 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
46558 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
46559 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
46561 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
46562 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46564 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
46565 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
46567 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
46568 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46570 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
46571 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46573 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
46574 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46576 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
46577 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46579 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
46580 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
46582 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
46583 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
46585 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
46586 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
46588 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
46589 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46591 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
46592 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46594 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
46595 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
46597 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46598 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46600 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
46601 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
46603 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46604 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46606 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46607 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46609 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46610 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46612 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46613 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46615 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
46616 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
46618 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46619 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46621 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46622 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46624 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46625 return (void *)((wxObject
*) ((wxSizer
*) x
));
46627 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46628 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46630 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
46631 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
46633 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
46634 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
46636 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46637 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46639 static void *_p_wxEventTo_p_wxObject(void *x
) {
46640 return (void *)((wxObject
*) ((wxEvent
*) x
));
46642 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46643 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46645 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46646 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46648 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46649 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46651 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
46652 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
46654 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
46655 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
46657 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
46658 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
46660 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
46661 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46663 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
46664 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
46666 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46667 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46669 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46670 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46672 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46673 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46675 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46676 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46678 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46679 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46681 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46682 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46684 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
46685 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
46687 static void *_p_wxControlTo_p_wxObject(void *x
) {
46688 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46690 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
46691 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
46693 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
46694 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
46696 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
46697 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
46699 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
46700 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
46702 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
46703 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
46705 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46706 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46708 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
46709 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
46711 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
46712 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
46714 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
46715 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
46717 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
46718 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
46720 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46721 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46723 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46724 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46726 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
46727 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
46729 static void *_p_wxListViewTo_p_wxObject(void *x
) {
46730 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
46732 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
46733 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
46735 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
46736 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
46738 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
46739 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
46741 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46742 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46744 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46745 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46747 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
46748 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46750 static void *_p_wxListbookTo_p_wxObject(void *x
) {
46751 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
46753 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46754 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46756 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
46757 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
46759 static void *_p_wxSliderTo_p_wxObject(void *x
) {
46760 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
46762 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46763 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46765 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46766 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46768 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46769 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46771 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46772 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46774 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46775 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46777 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
46778 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
46780 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
46781 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
46783 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
46784 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
46786 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
46787 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
46789 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
46790 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
46792 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
46793 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
46795 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
46796 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
46798 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
46799 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
46801 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
46802 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
46804 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
46805 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
46807 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
46808 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
46810 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
46811 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
46813 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
46814 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
46816 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
46817 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46819 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
46820 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46822 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
46823 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
46825 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
46826 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
46828 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
46829 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
46831 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
46832 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
46834 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
46835 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
46837 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
46838 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
46840 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
46841 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
46843 static void *_p_wxListEventTo_p_wxObject(void *x
) {
46844 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
46846 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
46847 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
46849 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
46850 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46852 static void *_p_wxButtonTo_p_wxObject(void *x
) {
46853 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
46855 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
46856 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
46858 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
46859 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
46861 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
46862 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46864 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
46865 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46867 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
46868 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
46870 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
46871 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
46873 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
46874 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
46876 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
46877 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
46879 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
46880 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
46882 static void *_p_wxListItemTo_p_wxObject(void *x
) {
46883 return (void *)((wxObject
*) ((wxListItem
*) x
));
46885 static void *_p_wxImageTo_p_wxObject(void *x
) {
46886 return (void *)((wxObject
*) ((wxImage
*) x
));
46888 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
46889 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
46891 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
46892 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46894 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
46895 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
46897 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
46898 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
46900 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
46901 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46903 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
46904 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46906 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
46907 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46909 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
46910 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46912 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
46913 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46915 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
46916 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46918 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
46919 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46921 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
46922 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
46924 static void *_p_wxWindowTo_p_wxObject(void *x
) {
46925 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
46927 static void *_p_wxMenuTo_p_wxObject(void *x
) {
46928 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
46930 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
46931 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
46933 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
46934 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
46936 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
46937 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46939 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
46940 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
46942 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
46943 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
46945 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
46946 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
46948 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
46949 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
46951 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
46952 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
46954 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
46955 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46957 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
46958 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46960 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
46961 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46963 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
46964 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
46966 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
46967 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
46969 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
46970 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
46972 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
46973 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
46975 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
46976 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46978 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
46979 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
46981 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
46982 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46984 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
46985 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46987 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
46988 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46990 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
46991 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46993 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
46994 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46996 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
46997 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
46999 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
47000 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
47002 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
47003 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47005 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47006 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47008 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47009 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47011 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47012 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47014 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
47015 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
47017 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
47018 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47020 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
47021 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
47023 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
47024 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
47026 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
47027 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
47029 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
47030 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47032 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47033 return (void *)((wxWindow
*) ((wxControl
*) x
));
47035 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
47036 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
47038 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
47039 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
47041 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
47042 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
47044 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
47045 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47047 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
47048 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
47050 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
47051 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
47053 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
47054 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
47056 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47057 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47059 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
47060 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
47062 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
47063 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
47065 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
47066 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47068 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
47069 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47071 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
47072 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
47074 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
47075 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
47077 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
47078 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
47080 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
47081 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
47083 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
47084 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47086 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
47087 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47089 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
47090 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47092 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
47093 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47095 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
47096 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47098 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
47099 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
47101 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
47102 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
47104 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
47105 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
47107 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
47108 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
47110 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
47111 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
47113 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
47114 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47116 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
47117 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
47119 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
47120 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
47122 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
47123 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47125 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
47126 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47128 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
47129 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
47131 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
47132 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47134 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
47135 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47137 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
47138 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47140 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
47141 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47143 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
47144 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
47146 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47147 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47149 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47150 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47152 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47153 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47155 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47156 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47158 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47159 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47161 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47162 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47164 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
47165 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47167 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
47168 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47170 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
47171 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47173 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
47174 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47176 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
47177 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47179 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
47180 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47182 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47183 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47185 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47186 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47188 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47189 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47191 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47192 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47194 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
47195 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47197 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
47198 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47200 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
47201 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47203 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
47204 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47206 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
47207 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47209 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47210 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47212 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47213 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47215 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
47216 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
47218 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
47219 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47221 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
47222 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47224 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
47225 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47227 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
47228 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
47230 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47231 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47233 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47234 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47236 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
47237 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47239 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
47240 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
47242 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
47243 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
47245 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
47246 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
47248 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47249 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47251 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
47252 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
47253 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};
47254 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
47255 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
47256 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
47257 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
47258 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
47259 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
47260 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
47261 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
47262 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
47263 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
47264 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
47265 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
47266 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
47267 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
47268 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
47269 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
47270 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
47271 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
47272 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
47273 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
47274 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
47275 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
47276 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
47277 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
47278 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
47279 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
47280 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
47281 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
47282 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
47283 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
47284 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
47285 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
47286 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
47287 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
47288 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
47289 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
47290 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
47291 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
47292 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
47293 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
47294 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
47295 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
47296 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
47297 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
47298 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
47299 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
47300 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
47301 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
47302 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
47303 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
47304 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
47305 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
47306 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
47307 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
47308 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
47309 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
47310 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
47311 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
47312 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
47313 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
47314 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
47315 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
47316 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
47317 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
47318 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
47319 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
47320 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
47321 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
47322 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
47323 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
47324 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
47325 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
47326 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
47327 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
47328 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
47329 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
47330 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
47331 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
47332 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
47333 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
47334 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
47335 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
47336 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
47337 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
47338 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
47339 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
47340 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
47341 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
47342 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
47343 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
47344 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
47345 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
47346 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
47347 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
47348 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
47349 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
47350 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
47351 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
47352 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
47353 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
47354 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
47355 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
47356 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
47357 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
47358 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
47359 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
47360 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
47361 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
47362 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
47363 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
47364 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
47365 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
47366 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
47367 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
47368 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
47369 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
47370 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
47371 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
47372 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
47373 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
47374 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
47375 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
47376 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
47377 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
47378 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
47379 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
47380 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
47381 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
47382 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
47383 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
47384 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
47385 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
47386 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
47387 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
47388 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
47389 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
47390 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
47391 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
47392 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
47393 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
47394 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
47395 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
47396 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
47397 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
47398 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
47399 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
47400 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
47401 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
47402 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
47403 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
47404 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
47405 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
47406 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
47407 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
47408 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
47409 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
47410 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
47411 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
47412 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
47413 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
47414 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
47415 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
47416 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
47417 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
47418 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
47419 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
47420 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
47421 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
47422 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
47423 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
47424 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
47426 static swig_type_info
*swig_type_initial
[] = {
47429 &_swigt__p_form_ops_t
,
47432 &_swigt__p_unsigned_char
,
47433 &_swigt__p_unsigned_int
,
47434 &_swigt__p_unsigned_long
,
47436 &_swigt__p_wxANIHandler
,
47437 &_swigt__p_wxAcceleratorTable
,
47438 &_swigt__p_wxActivateEvent
,
47439 &_swigt__p_wxArrayInt
,
47440 &_swigt__p_wxArrayString
,
47441 &_swigt__p_wxBMPHandler
,
47442 &_swigt__p_wxBitmap
,
47443 &_swigt__p_wxBitmapButton
,
47444 &_swigt__p_wxBookCtrlBase
,
47445 &_swigt__p_wxBookCtrlBaseEvent
,
47446 &_swigt__p_wxBoxSizer
,
47447 &_swigt__p_wxButton
,
47448 &_swigt__p_wxCURHandler
,
47449 &_swigt__p_wxCheckBox
,
47450 &_swigt__p_wxCheckListBox
,
47451 &_swigt__p_wxChildFocusEvent
,
47452 &_swigt__p_wxChoice
,
47453 &_swigt__p_wxChoicebook
,
47454 &_swigt__p_wxChoicebookEvent
,
47455 &_swigt__p_wxClipboardTextEvent
,
47456 &_swigt__p_wxCloseEvent
,
47457 &_swigt__p_wxColour
,
47458 &_swigt__p_wxColourPickerCtrl
,
47459 &_swigt__p_wxColourPickerEvent
,
47460 &_swigt__p_wxComboBox
,
47461 &_swigt__p_wxCommandEvent
,
47462 &_swigt__p_wxContextHelp
,
47463 &_swigt__p_wxContextHelpButton
,
47464 &_swigt__p_wxContextMenuEvent
,
47465 &_swigt__p_wxControl
,
47466 &_swigt__p_wxControlWithItems
,
47467 &_swigt__p_wxCursor
,
47469 &_swigt__p_wxDateEvent
,
47470 &_swigt__p_wxDatePickerCtrl
,
47471 &_swigt__p_wxDateTime
,
47472 &_swigt__p_wxDirFilterListCtrl
,
47473 &_swigt__p_wxDirPickerCtrl
,
47474 &_swigt__p_wxDisplayChangedEvent
,
47475 &_swigt__p_wxDropFilesEvent
,
47476 &_swigt__p_wxDuplexMode
,
47477 &_swigt__p_wxEraseEvent
,
47478 &_swigt__p_wxEvent
,
47479 &_swigt__p_wxEvtHandler
,
47480 &_swigt__p_wxFSFile
,
47481 &_swigt__p_wxFileDirPickerEvent
,
47482 &_swigt__p_wxFilePickerCtrl
,
47483 &_swigt__p_wxFileSystem
,
47484 &_swigt__p_wxFlexGridSizer
,
47485 &_swigt__p_wxFocusEvent
,
47487 &_swigt__p_wxFontPickerCtrl
,
47488 &_swigt__p_wxFontPickerEvent
,
47489 &_swigt__p_wxGBSizerItem
,
47490 &_swigt__p_wxGIFHandler
,
47491 &_swigt__p_wxGauge
,
47492 &_swigt__p_wxGenericDirCtrl
,
47493 &_swigt__p_wxGenericDragImage
,
47494 &_swigt__p_wxGridBagSizer
,
47495 &_swigt__p_wxGridSizer
,
47496 &_swigt__p_wxHelpEvent
,
47497 &_swigt__p_wxHelpProvider
,
47498 &_swigt__p_wxHyperlinkCtrl
,
47499 &_swigt__p_wxHyperlinkEvent
,
47500 &_swigt__p_wxICOHandler
,
47502 &_swigt__p_wxIconizeEvent
,
47503 &_swigt__p_wxIdleEvent
,
47504 &_swigt__p_wxImage
,
47505 &_swigt__p_wxImageHandler
,
47506 &_swigt__p_wxImageList
,
47507 &_swigt__p_wxIndividualLayoutConstraint
,
47508 &_swigt__p_wxInitDialogEvent
,
47509 &_swigt__p_wxItemContainer
,
47510 &_swigt__p_wxJPEGHandler
,
47511 &_swigt__p_wxKeyEvent
,
47512 &_swigt__p_wxLayoutConstraints
,
47513 &_swigt__p_wxListBox
,
47514 &_swigt__p_wxListEvent
,
47515 &_swigt__p_wxListItem
,
47516 &_swigt__p_wxListItemAttr
,
47517 &_swigt__p_wxListView
,
47518 &_swigt__p_wxListbook
,
47519 &_swigt__p_wxListbookEvent
,
47520 &_swigt__p_wxMaximizeEvent
,
47521 &_swigt__p_wxMemoryDC
,
47523 &_swigt__p_wxMenuBar
,
47524 &_swigt__p_wxMenuEvent
,
47525 &_swigt__p_wxMenuItem
,
47526 &_swigt__p_wxMouseCaptureChangedEvent
,
47527 &_swigt__p_wxMouseEvent
,
47528 &_swigt__p_wxMoveEvent
,
47529 &_swigt__p_wxNavigationKeyEvent
,
47530 &_swigt__p_wxNcPaintEvent
,
47531 &_swigt__p_wxNotebook
,
47532 &_swigt__p_wxNotebookEvent
,
47533 &_swigt__p_wxNotifyEvent
,
47534 &_swigt__p_wxObject
,
47535 &_swigt__p_wxPCXHandler
,
47536 &_swigt__p_wxPNGHandler
,
47537 &_swigt__p_wxPNMHandler
,
47538 &_swigt__p_wxPaintEvent
,
47539 &_swigt__p_wxPaletteChangedEvent
,
47540 &_swigt__p_wxPaperSize
,
47541 &_swigt__p_wxPickerBase
,
47542 &_swigt__p_wxPoint
,
47543 &_swigt__p_wxPyApp
,
47544 &_swigt__p_wxPyCommandEvent
,
47545 &_swigt__p_wxPyControl
,
47546 &_swigt__p_wxPyEvent
,
47547 &_swigt__p_wxPyImageHandler
,
47548 &_swigt__p_wxPyListCtrl
,
47549 &_swigt__p_wxPySizer
,
47550 &_swigt__p_wxPyTreeCtrl
,
47551 &_swigt__p_wxPyTreeItemData
,
47552 &_swigt__p_wxPyValidator
,
47553 &_swigt__p_wxQueryNewPaletteEvent
,
47554 &_swigt__p_wxRadioBox
,
47555 &_swigt__p_wxRadioButton
,
47557 &_swigt__p_wxScrollBar
,
47558 &_swigt__p_wxScrollEvent
,
47559 &_swigt__p_wxScrollWinEvent
,
47560 &_swigt__p_wxSetCursorEvent
,
47561 &_swigt__p_wxShowEvent
,
47562 &_swigt__p_wxSimpleHelpProvider
,
47564 &_swigt__p_wxSizeEvent
,
47565 &_swigt__p_wxSizer
,
47566 &_swigt__p_wxSizerItem
,
47567 &_swigt__p_wxSlider
,
47568 &_swigt__p_wxSpinButton
,
47569 &_swigt__p_wxSpinCtrl
,
47570 &_swigt__p_wxSpinEvent
,
47571 &_swigt__p_wxStaticBitmap
,
47572 &_swigt__p_wxStaticBox
,
47573 &_swigt__p_wxStaticBoxSizer
,
47574 &_swigt__p_wxStaticLine
,
47575 &_swigt__p_wxStaticText
,
47576 &_swigt__p_wxStdDialogButtonSizer
,
47577 &_swigt__p_wxString
,
47578 &_swigt__p_wxSysColourChangedEvent
,
47579 &_swigt__p_wxTIFFHandler
,
47580 &_swigt__p_wxTextAttr
,
47581 &_swigt__p_wxTextCtrl
,
47582 &_swigt__p_wxTextUrlEvent
,
47583 &_swigt__p_wxToggleButton
,
47584 &_swigt__p_wxToolBar
,
47585 &_swigt__p_wxToolBarBase
,
47586 &_swigt__p_wxToolBarToolBase
,
47587 &_swigt__p_wxToolbook
,
47588 &_swigt__p_wxToolbookEvent
,
47589 &_swigt__p_wxTreeEvent
,
47590 &_swigt__p_wxTreeItemId
,
47591 &_swigt__p_wxTreebook
,
47592 &_swigt__p_wxTreebookEvent
,
47593 &_swigt__p_wxUpdateUIEvent
,
47594 &_swigt__p_wxValidator
,
47595 &_swigt__p_wxVisualAttributes
,
47596 &_swigt__p_wxWindow
,
47597 &_swigt__p_wxWindowBase
,
47598 &_swigt__p_wxWindowCreateEvent
,
47599 &_swigt__p_wxWindowDestroyEvent
,
47600 &_swigt__p_wxXPMHandler
,
47603 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
47604 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
47605 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
47606 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
47607 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
47608 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
47609 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
47610 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
47611 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
47612 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
47613 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
47614 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
47615 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}};
47616 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}};
47617 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}};
47618 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}};
47619 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
47620 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
47621 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}};
47622 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
47623 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47624 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
47625 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47626 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47627 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
47628 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47629 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
47630 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
47631 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
47632 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
47633 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
47634 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47635 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47636 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
47637 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}};
47638 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
47639 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
47640 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}};
47641 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}};
47642 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
47643 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
47644 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47645 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
47646 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47647 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47648 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
47649 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
47650 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47651 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47652 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
47653 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
47654 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47655 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
47656 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
47657 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47658 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47659 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47660 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47661 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
47662 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
47663 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
47664 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47665 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47666 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47667 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47668 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
47669 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
47670 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
47671 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47672 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
47673 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}};
47674 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
47675 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
47676 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
47677 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
47678 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}};
47679 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47680 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47681 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
47682 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47683 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47684 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
47685 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47686 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
47687 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
47688 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}};
47689 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47690 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
47691 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
47692 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
47693 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}};
47694 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47695 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}};
47696 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
47697 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
47698 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
47699 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
47700 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
47701 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47702 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
47703 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47704 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
47705 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47706 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}};
47707 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
47708 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
47709 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
47710 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
47711 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47712 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47713 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47714 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
47715 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
47716 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
47717 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
47718 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
47719 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
47720 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
47721 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
47722 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
47723 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
47724 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
47725 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
47726 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
47727 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
47728 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
47729 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
47730 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
47731 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
47732 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
47733 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
47734 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
47735 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
47736 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
47737 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}};
47738 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
47739 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}};
47740 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
47741 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
47742 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}};
47743 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47744 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
47745 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
47746 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
47747 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
47748 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
47749 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
47750 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
47751 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
47752 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
47753 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47754 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
47755 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
47756 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
47757 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
47758 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
47759 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
47760 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
47761 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47762 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
47763 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
47764 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
47765 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}};
47766 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
47767 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
47768 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47769 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47770 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
47771 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
47772 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47773 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}};
47774 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
47775 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}};
47776 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
47778 static swig_cast_info
*swig_cast_initial
[] = {
47781 _swigc__p_form_ops_t
,
47784 _swigc__p_unsigned_char
,
47785 _swigc__p_unsigned_int
,
47786 _swigc__p_unsigned_long
,
47788 _swigc__p_wxANIHandler
,
47789 _swigc__p_wxAcceleratorTable
,
47790 _swigc__p_wxActivateEvent
,
47791 _swigc__p_wxArrayInt
,
47792 _swigc__p_wxArrayString
,
47793 _swigc__p_wxBMPHandler
,
47794 _swigc__p_wxBitmap
,
47795 _swigc__p_wxBitmapButton
,
47796 _swigc__p_wxBookCtrlBase
,
47797 _swigc__p_wxBookCtrlBaseEvent
,
47798 _swigc__p_wxBoxSizer
,
47799 _swigc__p_wxButton
,
47800 _swigc__p_wxCURHandler
,
47801 _swigc__p_wxCheckBox
,
47802 _swigc__p_wxCheckListBox
,
47803 _swigc__p_wxChildFocusEvent
,
47804 _swigc__p_wxChoice
,
47805 _swigc__p_wxChoicebook
,
47806 _swigc__p_wxChoicebookEvent
,
47807 _swigc__p_wxClipboardTextEvent
,
47808 _swigc__p_wxCloseEvent
,
47809 _swigc__p_wxColour
,
47810 _swigc__p_wxColourPickerCtrl
,
47811 _swigc__p_wxColourPickerEvent
,
47812 _swigc__p_wxComboBox
,
47813 _swigc__p_wxCommandEvent
,
47814 _swigc__p_wxContextHelp
,
47815 _swigc__p_wxContextHelpButton
,
47816 _swigc__p_wxContextMenuEvent
,
47817 _swigc__p_wxControl
,
47818 _swigc__p_wxControlWithItems
,
47819 _swigc__p_wxCursor
,
47821 _swigc__p_wxDateEvent
,
47822 _swigc__p_wxDatePickerCtrl
,
47823 _swigc__p_wxDateTime
,
47824 _swigc__p_wxDirFilterListCtrl
,
47825 _swigc__p_wxDirPickerCtrl
,
47826 _swigc__p_wxDisplayChangedEvent
,
47827 _swigc__p_wxDropFilesEvent
,
47828 _swigc__p_wxDuplexMode
,
47829 _swigc__p_wxEraseEvent
,
47831 _swigc__p_wxEvtHandler
,
47832 _swigc__p_wxFSFile
,
47833 _swigc__p_wxFileDirPickerEvent
,
47834 _swigc__p_wxFilePickerCtrl
,
47835 _swigc__p_wxFileSystem
,
47836 _swigc__p_wxFlexGridSizer
,
47837 _swigc__p_wxFocusEvent
,
47839 _swigc__p_wxFontPickerCtrl
,
47840 _swigc__p_wxFontPickerEvent
,
47841 _swigc__p_wxGBSizerItem
,
47842 _swigc__p_wxGIFHandler
,
47844 _swigc__p_wxGenericDirCtrl
,
47845 _swigc__p_wxGenericDragImage
,
47846 _swigc__p_wxGridBagSizer
,
47847 _swigc__p_wxGridSizer
,
47848 _swigc__p_wxHelpEvent
,
47849 _swigc__p_wxHelpProvider
,
47850 _swigc__p_wxHyperlinkCtrl
,
47851 _swigc__p_wxHyperlinkEvent
,
47852 _swigc__p_wxICOHandler
,
47854 _swigc__p_wxIconizeEvent
,
47855 _swigc__p_wxIdleEvent
,
47857 _swigc__p_wxImageHandler
,
47858 _swigc__p_wxImageList
,
47859 _swigc__p_wxIndividualLayoutConstraint
,
47860 _swigc__p_wxInitDialogEvent
,
47861 _swigc__p_wxItemContainer
,
47862 _swigc__p_wxJPEGHandler
,
47863 _swigc__p_wxKeyEvent
,
47864 _swigc__p_wxLayoutConstraints
,
47865 _swigc__p_wxListBox
,
47866 _swigc__p_wxListEvent
,
47867 _swigc__p_wxListItem
,
47868 _swigc__p_wxListItemAttr
,
47869 _swigc__p_wxListView
,
47870 _swigc__p_wxListbook
,
47871 _swigc__p_wxListbookEvent
,
47872 _swigc__p_wxMaximizeEvent
,
47873 _swigc__p_wxMemoryDC
,
47875 _swigc__p_wxMenuBar
,
47876 _swigc__p_wxMenuEvent
,
47877 _swigc__p_wxMenuItem
,
47878 _swigc__p_wxMouseCaptureChangedEvent
,
47879 _swigc__p_wxMouseEvent
,
47880 _swigc__p_wxMoveEvent
,
47881 _swigc__p_wxNavigationKeyEvent
,
47882 _swigc__p_wxNcPaintEvent
,
47883 _swigc__p_wxNotebook
,
47884 _swigc__p_wxNotebookEvent
,
47885 _swigc__p_wxNotifyEvent
,
47886 _swigc__p_wxObject
,
47887 _swigc__p_wxPCXHandler
,
47888 _swigc__p_wxPNGHandler
,
47889 _swigc__p_wxPNMHandler
,
47890 _swigc__p_wxPaintEvent
,
47891 _swigc__p_wxPaletteChangedEvent
,
47892 _swigc__p_wxPaperSize
,
47893 _swigc__p_wxPickerBase
,
47896 _swigc__p_wxPyCommandEvent
,
47897 _swigc__p_wxPyControl
,
47898 _swigc__p_wxPyEvent
,
47899 _swigc__p_wxPyImageHandler
,
47900 _swigc__p_wxPyListCtrl
,
47901 _swigc__p_wxPySizer
,
47902 _swigc__p_wxPyTreeCtrl
,
47903 _swigc__p_wxPyTreeItemData
,
47904 _swigc__p_wxPyValidator
,
47905 _swigc__p_wxQueryNewPaletteEvent
,
47906 _swigc__p_wxRadioBox
,
47907 _swigc__p_wxRadioButton
,
47909 _swigc__p_wxScrollBar
,
47910 _swigc__p_wxScrollEvent
,
47911 _swigc__p_wxScrollWinEvent
,
47912 _swigc__p_wxSetCursorEvent
,
47913 _swigc__p_wxShowEvent
,
47914 _swigc__p_wxSimpleHelpProvider
,
47916 _swigc__p_wxSizeEvent
,
47918 _swigc__p_wxSizerItem
,
47919 _swigc__p_wxSlider
,
47920 _swigc__p_wxSpinButton
,
47921 _swigc__p_wxSpinCtrl
,
47922 _swigc__p_wxSpinEvent
,
47923 _swigc__p_wxStaticBitmap
,
47924 _swigc__p_wxStaticBox
,
47925 _swigc__p_wxStaticBoxSizer
,
47926 _swigc__p_wxStaticLine
,
47927 _swigc__p_wxStaticText
,
47928 _swigc__p_wxStdDialogButtonSizer
,
47929 _swigc__p_wxString
,
47930 _swigc__p_wxSysColourChangedEvent
,
47931 _swigc__p_wxTIFFHandler
,
47932 _swigc__p_wxTextAttr
,
47933 _swigc__p_wxTextCtrl
,
47934 _swigc__p_wxTextUrlEvent
,
47935 _swigc__p_wxToggleButton
,
47936 _swigc__p_wxToolBar
,
47937 _swigc__p_wxToolBarBase
,
47938 _swigc__p_wxToolBarToolBase
,
47939 _swigc__p_wxToolbook
,
47940 _swigc__p_wxToolbookEvent
,
47941 _swigc__p_wxTreeEvent
,
47942 _swigc__p_wxTreeItemId
,
47943 _swigc__p_wxTreebook
,
47944 _swigc__p_wxTreebookEvent
,
47945 _swigc__p_wxUpdateUIEvent
,
47946 _swigc__p_wxValidator
,
47947 _swigc__p_wxVisualAttributes
,
47948 _swigc__p_wxWindow
,
47949 _swigc__p_wxWindowBase
,
47950 _swigc__p_wxWindowCreateEvent
,
47951 _swigc__p_wxWindowDestroyEvent
,
47952 _swigc__p_wxXPMHandler
,
47956 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
47958 static swig_const_info swig_const_table
[] = {
47959 {0, 0, 0, 0.0, 0, 0}};
47964 /* -----------------------------------------------------------------------------
47965 * Type initialization:
47966 * This problem is tough by the requirement that no dynamic
47967 * memory is used. Also, since swig_type_info structures store pointers to
47968 * swig_cast_info structures and swig_cast_info structures store pointers back
47969 * to swig_type_info structures, we need some lookup code at initialization.
47970 * The idea is that swig generates all the structures that are needed.
47971 * The runtime then collects these partially filled structures.
47972 * The SWIG_InitializeModule function takes these initial arrays out of
47973 * swig_module, and does all the lookup, filling in the swig_module.types
47974 * array with the correct data and linking the correct swig_cast_info
47975 * structures together.
47977 * The generated swig_type_info structures are assigned staticly to an initial
47978 * array. We just loop though that array, and handle each type individually.
47979 * First we lookup if this type has been already loaded, and if so, use the
47980 * loaded structure instead of the generated one. Then we have to fill in the
47981 * cast linked list. The cast data is initially stored in something like a
47982 * two-dimensional array. Each row corresponds to a type (there are the same
47983 * number of rows as there are in the swig_type_initial array). Each entry in
47984 * a column is one of the swig_cast_info structures for that type.
47985 * The cast_initial array is actually an array of arrays, because each row has
47986 * a variable number of columns. So to actually build the cast linked list,
47987 * we find the array of casts associated with the type, and loop through it
47988 * adding the casts to the list. The one last trick we need to do is making
47989 * sure the type pointer in the swig_cast_info struct is correct.
47991 * First off, we lookup the cast->type name to see if it is already loaded.
47992 * There are three cases to handle:
47993 * 1) If the cast->type has already been loaded AND the type we are adding
47994 * casting info to has not been loaded (it is in this module), THEN we
47995 * replace the cast->type pointer with the type pointer that has already
47997 * 2) If BOTH types (the one we are adding casting info to, and the
47998 * cast->type) are loaded, THEN the cast info has already been loaded by
47999 * the previous module so we just ignore it.
48000 * 3) Finally, if cast->type has not already been loaded, then we add that
48001 * swig_cast_info to the linked list (because the cast->type) pointer will
48003 * ----------------------------------------------------------------------------- */
48013 #define SWIGRUNTIME_DEBUG
48017 SWIG_InitializeModule(void *clientdata
) {
48019 swig_module_info
*module_head
;
48020 static int init_run
= 0;
48022 clientdata
= clientdata
;
48024 if (init_run
) return;
48027 /* Initialize the swig_module */
48028 swig_module
.type_initial
= swig_type_initial
;
48029 swig_module
.cast_initial
= swig_cast_initial
;
48031 /* Try and load any already created modules */
48032 module_head
= SWIG_GetModule(clientdata
);
48034 swig_module
.next
= module_head
->next
;
48035 module_head
->next
= &swig_module
;
48037 /* This is the first module loaded */
48038 swig_module
.next
= &swig_module
;
48039 SWIG_SetModule(clientdata
, &swig_module
);
48042 /* Now work on filling in swig_module.types */
48043 #ifdef SWIGRUNTIME_DEBUG
48044 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
48046 for (i
= 0; i
< swig_module
.size
; ++i
) {
48047 swig_type_info
*type
= 0;
48048 swig_type_info
*ret
;
48049 swig_cast_info
*cast
;
48051 #ifdef SWIGRUNTIME_DEBUG
48052 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
48055 /* if there is another module already loaded */
48056 if (swig_module
.next
!= &swig_module
) {
48057 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
48060 /* Overwrite clientdata field */
48061 #ifdef SWIGRUNTIME_DEBUG
48062 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
48064 if (swig_module
.type_initial
[i
]->clientdata
) {
48065 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
48066 #ifdef SWIGRUNTIME_DEBUG
48067 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
48071 type
= swig_module
.type_initial
[i
];
48074 /* Insert casting types */
48075 cast
= swig_module
.cast_initial
[i
];
48076 while (cast
->type
) {
48077 /* Don't need to add information already in the list */
48079 #ifdef SWIGRUNTIME_DEBUG
48080 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
48082 if (swig_module
.next
!= &swig_module
) {
48083 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
48084 #ifdef SWIGRUNTIME_DEBUG
48085 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
48089 if (type
== swig_module
.type_initial
[i
]) {
48090 #ifdef SWIGRUNTIME_DEBUG
48091 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
48096 /* Check for casting already in the list */
48097 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
48098 #ifdef SWIGRUNTIME_DEBUG
48099 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
48101 if (!ocast
) ret
= 0;
48106 #ifdef SWIGRUNTIME_DEBUG
48107 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
48110 type
->cast
->prev
= cast
;
48111 cast
->next
= type
->cast
;
48117 /* Set entry in modules->types array equal to the type */
48118 swig_module
.types
[i
] = type
;
48120 swig_module
.types
[i
] = 0;
48122 #ifdef SWIGRUNTIME_DEBUG
48123 printf("**** SWIG_InitializeModule: Cast List ******\n");
48124 for (i
= 0; i
< swig_module
.size
; ++i
) {
48126 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
48127 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
48128 while (cast
->type
) {
48129 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
48133 printf("---- Total casts: %d\n",j
);
48135 printf("**** SWIG_InitializeModule: Cast List ******\n");
48139 /* This function will propagate the clientdata field of type to
48140 * any new swig_type_info structures that have been added into the list
48141 * of equivalent types. It is like calling
48142 * SWIG_TypeClientData(type, clientdata) a second time.
48145 SWIG_PropagateClientData(void) {
48147 swig_cast_info
*equiv
;
48148 static int init_run
= 0;
48150 if (init_run
) return;
48153 for (i
= 0; i
< swig_module
.size
; i
++) {
48154 if (swig_module
.types
[i
]->clientdata
) {
48155 equiv
= swig_module
.types
[i
]->cast
;
48157 if (!equiv
->converter
) {
48158 if (equiv
->type
&& !equiv
->type
->clientdata
)
48159 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
48161 equiv
= equiv
->next
;
48181 /* Python-specific SWIG API */
48182 #define SWIG_newvarlink() SWIG_Python_newvarlink()
48183 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
48184 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
48186 /* -----------------------------------------------------------------------------
48187 * global variable support code.
48188 * ----------------------------------------------------------------------------- */
48190 typedef struct swig_globalvar
{
48191 char *name
; /* Name of global variable */
48192 PyObject
*(*get_attr
)(void); /* Return the current value */
48193 int (*set_attr
)(PyObject
*); /* Set the value */
48194 struct swig_globalvar
*next
;
48197 typedef struct swig_varlinkobject
{
48199 swig_globalvar
*vars
;
48200 } swig_varlinkobject
;
48202 SWIGINTERN PyObject
*
48203 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
48204 return PyString_FromString("<Swig global variables>");
48207 SWIGINTERN PyObject
*
48208 swig_varlink_str(swig_varlinkobject
*v
) {
48209 PyObject
*str
= PyString_FromString("(");
48210 swig_globalvar
*var
;
48211 for (var
= v
->vars
; var
; var
=var
->next
) {
48212 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
48213 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
48215 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
48220 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
48221 PyObject
*str
= swig_varlink_str(v
);
48222 fprintf(fp
,"Swig global variables ");
48223 fprintf(fp
,"%s\n", PyString_AsString(str
));
48229 swig_varlink_dealloc(swig_varlinkobject
*v
) {
48230 swig_globalvar
*var
= v
->vars
;
48232 swig_globalvar
*n
= var
->next
;
48239 SWIGINTERN PyObject
*
48240 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
48241 PyObject
*res
= NULL
;
48242 swig_globalvar
*var
= v
->vars
;
48244 if (strcmp(var
->name
,n
) == 0) {
48245 res
= (*var
->get_attr
)();
48250 if (res
== NULL
&& !PyErr_Occurred()) {
48251 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48257 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
48259 swig_globalvar
*var
= v
->vars
;
48261 if (strcmp(var
->name
,n
) == 0) {
48262 res
= (*var
->set_attr
)(p
);
48267 if (res
== 1 && !PyErr_Occurred()) {
48268 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48273 SWIGINTERN PyTypeObject
*
48274 swig_varlink_type(void) {
48275 static char varlink__doc__
[] = "Swig var link object";
48276 static PyTypeObject varlink_type
;
48277 static int type_init
= 0;
48279 const PyTypeObject tmp
48281 PyObject_HEAD_INIT(NULL
)
48282 0, /* Number of items in variable part (ob_size) */
48283 (char *)"swigvarlink", /* Type name (tp_name) */
48284 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
48285 0, /* Itemsize (tp_itemsize) */
48286 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
48287 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
48288 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
48289 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
48290 0, /* tp_compare */
48291 (reprfunc
) swig_varlink_repr
, /* tp_repr */
48292 0, /* tp_as_number */
48293 0, /* tp_as_sequence */
48294 0, /* tp_as_mapping */
48297 (reprfunc
)swig_varlink_str
, /* tp_str */
48298 0, /* tp_getattro */
48299 0, /* tp_setattro */
48300 0, /* tp_as_buffer */
48302 varlink__doc__
, /* tp_doc */
48303 0, /* tp_traverse */
48305 0, /* tp_richcompare */
48306 0, /* tp_weaklistoffset */
48307 #if PY_VERSION_HEX >= 0x02020000
48308 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
48310 #if PY_VERSION_HEX >= 0x02030000
48313 #ifdef COUNT_ALLOCS
48314 0,0,0,0 /* tp_alloc -> tp_next */
48317 varlink_type
= tmp
;
48318 varlink_type
.ob_type
= &PyType_Type
;
48321 return &varlink_type
;
48324 /* Create a variable linking object for use later */
48325 SWIGINTERN PyObject
*
48326 SWIG_Python_newvarlink(void) {
48327 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
48331 return ((PyObject
*) result
);
48335 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
48336 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
48337 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
48339 size_t size
= strlen(name
)+1;
48340 gv
->name
= (char *)malloc(size
);
48342 strncpy(gv
->name
,name
,size
);
48343 gv
->get_attr
= get_attr
;
48344 gv
->set_attr
= set_attr
;
48345 gv
->next
= v
->vars
;
48351 SWIGINTERN PyObject
*
48353 static PyObject
*_SWIG_globals
= 0;
48354 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
48355 return _SWIG_globals
;
48358 /* -----------------------------------------------------------------------------
48359 * constants/methods manipulation
48360 * ----------------------------------------------------------------------------- */
48362 /* Install Constants */
48364 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
48367 for (i
= 0; constants
[i
].type
; ++i
) {
48368 switch(constants
[i
].type
) {
48369 case SWIG_PY_POINTER
:
48370 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
48372 case SWIG_PY_BINARY
:
48373 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
48380 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
48386 /* -----------------------------------------------------------------------------*/
48387 /* Fix SwigMethods to carry the callback ptrs when needed */
48388 /* -----------------------------------------------------------------------------*/
48391 SWIG_Python_FixMethods(PyMethodDef
*methods
,
48392 swig_const_info
*const_table
,
48393 swig_type_info
**types
,
48394 swig_type_info
**types_initial
) {
48396 for (i
= 0; methods
[i
].ml_name
; ++i
) {
48397 const char *c
= methods
[i
].ml_doc
;
48398 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
48400 swig_const_info
*ci
= 0;
48401 const char *name
= c
+ 10;
48402 for (j
= 0; const_table
[j
].type
; ++j
) {
48403 if (strncmp(const_table
[j
].name
, name
,
48404 strlen(const_table
[j
].name
)) == 0) {
48405 ci
= &(const_table
[j
]);
48410 size_t shift
= (ci
->ptype
) - types
;
48411 swig_type_info
*ty
= types_initial
[shift
];
48412 size_t ldoc
= (c
- methods
[i
].ml_doc
);
48413 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
48414 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
48417 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
48419 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
48421 strncpy(buff
, "swig_ptr: ", 10);
48423 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
48424 methods
[i
].ml_doc
= ndoc
;
48436 /* -----------------------------------------------------------------------------*
48437 * Partial Init method
48438 * -----------------------------------------------------------------------------*/
48443 SWIGEXPORT
void SWIG_init(void) {
48446 /* Fix SwigMethods to carry the callback ptrs when needed */
48447 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
48449 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
48450 d
= PyModule_GetDict(m
);
48452 SWIG_InitializeModule(0);
48453 SWIG_InstallConstants(d
,swig_const_table
);
48456 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
48457 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
48458 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
48459 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
48460 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
48461 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
48462 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
48463 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
48464 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
48465 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
48466 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
48467 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
48468 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
48469 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
48470 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
48471 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
48472 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
48473 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
48474 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
48475 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
48476 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
48477 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
48478 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
48479 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
48480 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
48481 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
48482 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
48483 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
48484 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
48485 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
48486 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
48487 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
48488 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
48489 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
48490 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
48491 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
48492 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
48493 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
48494 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
48495 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
48496 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
48497 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
48498 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
48499 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
48500 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
48501 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
48502 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
48503 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
48504 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
48505 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
48506 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
48507 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
48508 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
48509 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
48510 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
48511 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
48512 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
48513 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
48514 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
48515 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
48516 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
48517 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
48518 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
48519 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
48520 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
48521 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
48522 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
48523 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
48524 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
48525 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
48526 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
48527 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
48528 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
48529 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
48530 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
48531 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
48532 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
48533 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
48534 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
48535 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
48536 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
48537 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
48538 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
48539 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
48540 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
48541 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
48542 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
48543 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
48544 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
48545 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
48546 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
48547 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
48548 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
48549 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
48550 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
48551 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
48552 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
48553 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
48554 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
48555 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
48556 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
48557 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
48558 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
48559 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
48560 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
48561 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
48562 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
48563 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
48564 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
48565 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
48566 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
48567 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
48568 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
48569 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
48570 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
48571 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
48572 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
48573 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
48574 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
48575 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
48576 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
48577 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
48578 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
48579 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
48580 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
48581 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
48582 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
48583 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
48584 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
48585 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
48586 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
48587 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
48588 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
48589 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
48590 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
48591 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
48592 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
48593 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
48594 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
48595 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
48596 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
48597 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
48598 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
48599 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
48600 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
48601 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
48602 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
48603 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
48604 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
48605 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
48606 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
48607 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
48608 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
48609 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
48610 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
48611 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
48612 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
48613 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
48614 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
48615 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
48616 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
48617 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
48618 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
48619 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
48620 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
48621 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
48622 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
48623 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
48624 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
48625 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
48626 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
48627 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
48628 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
48629 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
48630 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
48631 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
48632 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
48633 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
48634 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
48635 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
48636 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
48637 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
48638 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
48639 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
48640 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
48641 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
48642 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
48643 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
48644 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
48645 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
48646 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
48647 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
48648 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
48649 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
48650 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
48651 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
48652 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
48653 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
48654 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
48655 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
48656 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
48657 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
48658 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
48659 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
48660 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
48661 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
48662 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
48663 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
48664 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
48665 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
48666 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
48667 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
48668 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
48669 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
48670 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
48671 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
48672 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
48673 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
48674 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
48675 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
48676 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
48677 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
48678 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
48679 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
48680 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
48681 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
48682 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
48683 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
48684 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
48685 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
48686 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
48687 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
48688 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
48689 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
48690 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
48691 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
48692 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
48693 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
48694 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
48695 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
48696 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
48697 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
48698 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
48699 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
48700 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
48701 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
48702 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
48703 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
48704 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
48705 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
48706 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
48707 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
48708 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
48709 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
48710 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
48712 // Map renamed classes back to their common name for OOR
48713 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
48715 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
48716 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
48717 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
48718 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
48719 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
48720 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
48721 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
48722 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
48723 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
48724 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
48725 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
48726 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
48727 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
48728 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
48729 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
48730 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
48731 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
48732 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
48733 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
48734 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
48735 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
48736 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
48737 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
48738 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
48739 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
48740 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
48741 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
48742 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
48743 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
48744 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
48745 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
48746 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
48747 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
48748 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
48749 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
48750 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
48751 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
48752 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
48753 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
48754 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
48755 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
48756 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
48757 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
48758 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
48759 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
48760 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
48761 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
48762 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
48763 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
48764 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
48765 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
48766 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
48767 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
48768 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
48769 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
48770 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
48772 // Map renamed classes back to their common name for OOR
48773 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
48774 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
48776 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
48777 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
48778 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
48779 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
48780 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
48781 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
48782 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
48783 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
48784 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
48785 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
48786 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
48787 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
48788 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
48790 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
48792 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
48793 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
48794 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
48795 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
48796 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
48797 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
48798 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
48799 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
48800 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
48801 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
48802 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
48803 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
48804 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
48805 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
48806 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
48807 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
48808 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
48809 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
48810 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
48811 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
48812 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
48813 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
48814 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
48815 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
48816 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
48817 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
48818 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
48819 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
48820 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
48821 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
48822 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
48823 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
48824 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
48825 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
48826 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
48827 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
48828 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
48829 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
48830 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
48831 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));